@font-face { font-family: 'Heebo'; font-weight: 400; src: url(../fonts/heebo-hebrew-400-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-weight: 400; src: url(../fonts/heebo-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AA; }
@font-face { font-family: 'Heebo'; font-weight: 500; src: url(../fonts/heebo-hebrew-500-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-weight: 500; src: url(../fonts/heebo-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AA; }
@font-face { font-family: 'Heebo'; font-weight: 700; src: url(../fonts/heebo-hebrew-700-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-weight: 700; src: url(../fonts/heebo-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AA; }
@font-face { font-family: 'Heebo'; font-weight: 800; src: url(../fonts/heebo-hebrew-800-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-weight: 800; src: url(../fonts/heebo-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AA; }
@font-face { font-family: 'Frank'; font-weight: 500; src: url(../fonts/frank-ruhl-libre-hebrew-500-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Frank'; font-weight: 500; src: url(../fonts/frank-ruhl-libre-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Frank'; font-weight: 700; src: url(../fonts/frank-ruhl-libre-hebrew-700-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Frank'; font-weight: 700; src: url(../fonts/frank-ruhl-libre-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Frank'; font-weight: 900; src: url(../fonts/frank-ruhl-libre-hebrew-900-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: 'Frank'; font-weight: 900; src: url(../fonts/frank-ruhl-libre-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #0b111c;
  --bg2: #0f1726;
  --surface: #141e30;
  --surface2: #1a263b;
  --line: #24324b;
  --line2: #31425f;
  --text: #e9eef6;
  --muted: #8f9db4;
  --dim: #66748c;
  --blue: #3b7cff;
  --blue2: #2a5fd0;
  --gold: #d6b36a;
  --good: #3fbf7f;
  --bad: #ef5a4f;
  --warn: #e7a83c;
  --radius: 14px;
  --nav-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: 'Heebo', system-ui, sans-serif; font-size: 15px; line-height: 1.5;
  direction: rtl; min-height: 100vh; overscroll-behavior: none;
  background: radial-gradient(1200px 600px at 50% -200px, #18264200 0%, #0b111c 70%), var(--bg);
  -webkit-user-select: none; user-select: none;
}
button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, .serif { font-family: 'Frank', 'Heebo', serif; }
h1 { font-weight: 900; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.good { color: var(--good); }
.bad { color: var(--bad); }
.warn { color: var(--warn); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; display: inline-block; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; position: relative; }

/* ---------- מסך פתיחה ---------- */
.title-screen { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 22px calc(32px + var(--safe-b)); gap: 18px; }
.seal { width: 74px; height: 74px; margin: 0 auto 6px; }
.title-screen h1 { font-size: 46px; margin: 0; text-align: center; letter-spacing: -0.5px; line-height: 1.05; }
.title-screen .sub { text-align: center; color: var(--gold); font-family: 'Frank'; font-size: 18px; margin-top: -8px; }
.title-screen p { color: var(--muted); text-align: center; margin: 0 6px; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.btn {
  border: 1px solid var(--line2); background: var(--surface2); border-radius: 12px; padding: 13px 16px;
  font-weight: 700; text-align: center; transition: transform .08s, background .15s; width: 100%;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: linear-gradient(180deg, #4a88ff, #2c62d8); border-color: #4a88ff; color: #fff; box-shadow: 0 6px 20px -8px #3b7cffaa; }
.btn.gold { background: linear-gradient(180deg, #e2c07a, #b8914a); border-color: #e2c07a; color: #1a1408; }
.btn.danger { background: #3a1a1c; border-color: #6b2a2b; color: #ffb3ad; }
.btn.ghost { background: transparent; }
.btn.small { padding: 8px 12px; font-size: 13.5px; width: auto; border-radius: 10px; }
.btn:disabled { opacity: .42; filter: grayscale(.5); }
.btn .sub { display: block; font-weight: 400; font-size: 12.5px; opacity: .8; margin-top: 2px; }

/* ---------- כרטיסים ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.card.tight { padding: 10px 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.section { padding: 14px 14px 0; }
.section > h2 { font-size: 20px; margin: 6px 2px 10px; display: flex; align-items: center; gap: 8px; }
.section > h2 .hint { font-family: 'Heebo'; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-inline-start: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.gap { height: 12px; }
.spacer { flex: 1; }

/* ---------- כותרת עליונה ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; padding: calc(10px + var(--safe-t)) 14px 10px;
  background: linear-gradient(180deg, #0b111cf5, #0b111ce8); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .date { font-family: 'Frank'; font-weight: 700; font-size: 20px; }
.topbar .pm { font-size: 12.5px; color: var(--muted); }
.chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 12.5px;
  background: var(--surface2); border: 1px solid var(--line); white-space: nowrap;
}
.chip b { font-weight: 700; }
.chip.good { border-color: #2c6b4c; color: #8be3b5; background: #12271d; }
.chip.bad { border-color: #6b2c2a; color: #ffaaa3; background: #2a1414; }
.chip.warn { border-color: #6b5226; color: #f5cf86; background: #2a2012; }
.dots { letter-spacing: 1px; color: var(--gold); }
.dots i { font-style: normal; color: var(--line2); }

/* ---------- ניווט תחתון ---------- */
.nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b); background: #0d1422f2; backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  display: flex; max-width: 560px; margin: 0 auto;
}
.nav button { flex: 1; background: none; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; color: var(--muted); position: relative; }
.nav button svg { width: 22px; height: 22px; }
.nav button.on { color: var(--text); }
.nav button.on::before { content: ''; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); }
.nav .badge { position: absolute; top: 7px; inset-inline-end: calc(50% - 20px); background: var(--bad); color: #fff; font-size: 10px; border-radius: 99px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 4px; font-weight: 700; }
.page { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 90px); }

/* ---------- סיום חודש ---------- */
.endbar { position: fixed; bottom: calc(var(--nav-h) + var(--safe-b)); left: 0; right: 0; z-index: 25; padding: 10px 14px; max-width: 560px; margin: 0 auto; background: linear-gradient(180deg, #0b111c00, #0b111cee 35%); }

/* ---------- מדדים ---------- */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; position: relative; }
.stat .lbl { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.stat .val { font-size: 22px; font-weight: 800; margin-top: 1px; font-variant-numeric: tabular-nums; }
.stat .val small { font-size: 13px; font-weight: 500; color: var(--muted); }
.stat .delta { font-size: 12px; }
.q { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line2); font-size: 11px; color: var(--muted); background: none; padding: 0; flex: none; }
.meter { height: 7px; background: #0b1220; border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.meter > span { display: block; height: 100%; border-radius: 99px; }
.meter.big { height: 12px; }
.mark61 { position: relative; }
.mark61::after { content: ''; position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--gold); inset-inline-start: calc(61 / 120 * 100%); }

/* ---------- אירועים ---------- */
.event-card { display: block; width: 100%; text-align: start; background: linear-gradient(180deg, var(--surface2), var(--surface)); border: 1px solid var(--line2); border-radius: var(--radius); padding: 13px 14px; position: relative; overflow: hidden; }
.event-card::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--catc, var(--blue)); }
.event-card .t { font-family: 'Frank'; font-weight: 700; font-size: 18px; margin: 3px 0 2px; }
.event-card .x { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat { font-size: 11.5px; font-weight: 700; letter-spacing: .3px; color: var(--catc, var(--blue)); }
.cat-security { --catc: #ef6a5a; } .cat-economy { --catc: #e7b04c; } .cat-coalition { --catc: #b48cff; } .cat-society { --catc: #4fc3c8; } .cat-diplomacy { --catc: #5d9bff; }

/* ---------- גיליון (מודאל) ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: #04070ccc; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet {
  width: 100%; max-width: 560px; max-height: 94vh; overflow-y: auto; background: var(--bg2); border: 1px solid var(--line2);
  border-bottom: 0; border-radius: 20px 20px 0 0; padding: 8px 16px calc(22px + var(--safe-b)); animation: up .24s cubic-bezier(.2,.8,.2,1);
}
.sheet .grab { width: 40px; height: 4px; border-radius: 9px; background: var(--line2); margin: 4px auto 10px; }
.sheet h2 { font-size: 25px; margin: 4px 0 8px; line-height: 1.2; }
.sheet .lead { font-size: 15.5px; line-height: 1.65; color: #d5dceb; user-select: text; }
.sheet .close { position: sticky; top: 0; float: left; background: var(--surface2); border: 1px solid var(--line); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.choice { display: block; width: 100%; text-align: start; background: var(--surface); border: 1px solid var(--line2); border-radius: 13px; padding: 12px 13px; margin-top: 10px; }
.choice:active { background: var(--surface2); }
.choice .ct { font-weight: 700; font-size: 15.5px; }
.choice .cd { color: var(--muted); font-size: 13px; margin-top: 1px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { font-size: 11.5px; padding: 2px 7px; border-radius: 7px; border: 1px solid; white-space: nowrap; }
.tag.g { color: #8be3b5; border-color: #24563f; background: #10231a; }
.tag.b { color: #ffaaa3; border-color: #5a2624; background: #241212; }
.tag.r { color: #c9b6ff; border-color: #3c3160; background: #1a1630; }

/* ---------- מליאה ---------- */
.hemi { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); justify-content: center; }
.legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-inline-end: 4px; vertical-align: middle; }

/* ---------- מפלגות ---------- */
.party { display: flex; gap: 11px; align-items: center; width: 100%; text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 11px 12px; }
.party .sw { width: 10px; align-self: stretch; border-radius: 6px; background: var(--c); flex: none; }
.party .nm { font-weight: 700; }
.party .ld { font-size: 12.5px; color: var(--muted); }
.party .seats { font-size: 22px; font-weight: 800; min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.status { font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: var(--surface2); border: 1px solid var(--line2); white-space: nowrap; }
.status.in { background: #12271d; border-color: #2c6b4c; color: #8be3b5; }
.status.outside { background: #172338; border-color: #2d4b7c; color: #9fc0ff; }
.status.veto { background: #2a1414; border-color: #6b2c2a; color: #ffaaa3; }

.demand { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.demand:last-child { border-bottom: 0; }
.tog { width: 46px; height: 28px; border-radius: 99px; border: 1px solid var(--line2); background: #0b1220; position: relative; flex: none; margin-top: 2px; }
.tog::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: all .15s; }
.tog.on { background: var(--blue2); border-color: var(--blue); }
.tog.on::after { inset-inline-start: 21px; background: #fff; }
.tog:disabled { opacity: .35; }
.w { color: var(--gold); font-size: 12px; letter-spacing: 1px; }

select { background: var(--surface2); color: var(--text); border: 1px solid var(--line2); border-radius: 9px; padding: 6px 8px; font-family: inherit; font-size: 13px; }

/* ---------- תקציב ---------- */
.bud { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.bud:last-child { border-bottom: 0; }
.bud .nm { font-weight: 600; font-size: 14.5px; }
.bud .ds { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line2); background: var(--surface2); font-size: 18px; line-height: 1; display: grid; place-items: center; }
.stepper .v { min-width: 66px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper .v.ch { color: var(--gold); }
.proj { background: linear-gradient(180deg, #172338, #121b2c); border: 1px solid #2d4b7c; border-radius: 14px; padding: 13px; }
.bigv { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.explain { background: #10192a; border: 1px dashed var(--line2); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: #cdd6e6; }
.explain b { color: var(--gold); font-weight: 700; }

/* ---------- חדשות ---------- */
.news { list-style: none; margin: 0; padding: 0; }
.news li { padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 8px; }
.news li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--dim); }
.news li.good::before { background: var(--good); } .news li.bad::before { background: var(--bad); }
.news .when { color: var(--dim); font-size: 12px; margin-inline-start: auto; white-space: nowrap; }
.ticker { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0f1726; font-size: 13px; padding: 6px 0; position: relative; }
.ticker .lbl { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; background: var(--bad); color: #fff; font-weight: 800; padding: 6px 10px; z-index: 2; font-size: 12px; }
.ticker .run { display: inline-block; padding-inline-start: 100%; animation: tick 40s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* ---------- טבלאות דוח ---------- */
.rep { width: 100%; border-collapse: collapse; font-size: 14px; }
.rep td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.rep td:nth-child(2), .rep td:nth-child(3) { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.arrow-up::before { content: '▲ '; font-size: 10px; } .arrow-down::before { content: '▼ '; font-size: 10px; }

.front { display: grid; grid-template-columns: 92px 1fr 64px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.front:last-child { border-bottom: 0; }
.front .lvl { font-size: 12px; text-align: end; }

.toast { position: fixed; bottom: calc(var(--nav-h) + var(--safe-b) + 80px); left: 50%; transform: translateX(-50%); z-index: 80; background: #1b2639f5; border: 1px solid var(--line2); padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: 90vw; box-shadow: 0 10px 30px -10px #000; animation: up .2s; text-align: center; }

.grade { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.grade .g { font-family: 'Frank'; font-weight: 900; font-size: 20px; }
.grade .d { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }
.pill-real { font-size: 12.5px; color: #c9d4e8; background: #121c2e; border-inline-start: 3px solid var(--gold); padding: 7px 10px; border-radius: 8px; margin-top: 8px; user-select: text; }
.disabled-note { font-size: 12px; color: var(--warn); margin-top: 4px; }
.banner { border-radius: 12px; padding: 10px 12px; font-size: 13.5px; border: 1px solid; }
.banner.warn { background: #2a2012; border-color: #6b5226; color: #f5d595; }
.banner.bad { background: #2a1414; border-color: #6b2c2a; color: #ffbdb7; }
.banner.info { background: #142139; border-color: #2d4b7c; color: #bcd2ff; }

.tcols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tcol-h { font-size: 11.5px; font-weight: 700; margin-bottom: -2px; }
.tcol-h.g { color: var(--good); } .tcol-h.b { color: var(--bad); }
.tcol .tags { margin-top: 4px; }
.tcol .tag { white-space: normal; }
.gapbar { font-size: 11.5px; padding: 1px 6px; border-radius: 6px; margin-inline-start: 6px; }
.gapbar.b { background: #2a1414; color: #ffaaa3; } .gapbar.g { background: #12271d; color: #8be3b5; } .gapbar.n { background: var(--surface2); color: var(--muted); }
.odds { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 8px; }
.odds .meter { flex: 1; }
.outcome { font-family: 'Frank'; font-weight: 900; font-size: 30px; }

/* ---------- חדשות ---------- */
.newsbar { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 9px; padding: 0; border: 1px solid var(--line2); background: #0f1726; border-radius: 10px; overflow: hidden; text-align: start; height: 34px; }
.nb-lbl { flex: none; align-self: stretch; display: grid; place-items: center; padding: 0 10px; font-weight: 800; font-size: 12px; background: var(--surface2); color: var(--muted); }
.nb-lbl.hot { background: var(--bad); color: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .75; } }
.nb-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; font-weight: 600; }
.nb-count { flex: none; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.nb-arrow { flex: none; color: var(--muted); font-size: 18px; padding-inline-end: 10px; }
.filters { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; border: 1px solid var(--line2); background: var(--surface); border-radius: 99px; padding: 6px 13px; font-size: 13px; color: var(--muted); }
.fchip.on { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.month-h { font-family: 'Frank'; font-weight: 700; font-size: 15px; color: var(--muted); margin: 14px 2px 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.art { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 10px; }
.art.brk { border-color: #5a2624; background: linear-gradient(180deg, #1d1416, var(--surface) 60%); }
.art-top { display: flex; align-items: center; gap: 8px; }
.brk-tag { background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 5px; }
.new-dot { margin-inline-start: auto; font-size: 11px; color: var(--blue); font-weight: 700; }
.art-h { font-family: 'Frank'; font-weight: 700; font-size: 19px; line-height: 1.3; margin-top: 5px; user-select: text; }
.art-b { color: #c4cddd; font-size: 14px; margin-top: 5px; line-height: 1.55; user-select: text; }
.pollbox { margin-top: 10px; background: #111a2b; border-radius: 10px; padding: 8px 10px; }
.pollbox .meter { margin-top: 5px; }
.reacts { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 4px; }
.react { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; }
.react + .react { border-top: 1px dashed var(--line); }
.avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; text-shadow: 0 1px 2px #0006; }
.r-who { font-size: 12.5px; font-weight: 700; }
.r-who .muted { font-weight: 400; }
.r-txt { font-size: 14px; margin-top: 1px; color: #dfe6f2; user-select: text; }
.decided { margin-top: 10px; font-size: 13px; color: #c9b6ff; background: #1a1630; border: 1px solid #3c3160; border-radius: 9px; padding: 6px 10px; }
.headline { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.headline .hl-t { font-weight: 700; font-size: 14.5px; line-height: 1.35; }

.briefs { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 4px; margin-bottom: 10px; }
.briefs-h { font-family: 'Frank'; font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.brief { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.brief:first-of-type { border-top: 0; }
.brief .cat { font-size: 11px; }
.brief.good span:last-child::before { content: '▲ '; color: var(--good); font-size: 10px; }
.brief.bad span:last-child::before { content: '▼ '; color: var(--bad); font-size: 10px; }

/* ---------- עמוד כתבה ---------- */
.art-sum { display: block; width: 100%; text-align: start; color: inherit; }
.art-sum:active { background: var(--surface2); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-foot { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; font-size: 12px; color: var(--muted); align-items: center; }
.art-foot .pend { color: #fff; background: var(--blue2); border-radius: 6px; padding: 2px 8px; font-weight: 700; }
.art-foot .dec { color: #c9b6ff; }
.art-foot .more { margin-inline-start: auto; color: var(--blue); font-weight: 700; }
.art-full { padding: 4px 2px 12px; }
.art-title { font-family: 'Frank'; font-weight: 900; font-size: 27px; line-height: 1.22; margin: 8px 0 10px; user-select: text; }
.art-lead { font-size: 16px; line-height: 1.7; color: #d5dceb; margin: 0 0 10px; user-select: text; }
.art-full + * , .decision-box + *, .card + .card, .advisors + .card { margin-top: 12px; }
.decision-box { background: linear-gradient(180deg, #1a1630, #141e30); border: 1px solid #3c3160; border-radius: 16px; padding: 14px; }
.impact-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.impact { font-size: 11.5px; padding: 2px 8px; border-radius: 7px; border: 1px solid var(--line2); }
.impact.g { color: #8be3b5; border-color: #24563f; background: #10231a; }
.impact.b { color: #ffaaa3; border-color: #5a2624; background: #241212; }
.impact.n { color: var(--muted); }
.advisors .advisor { display: flex; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); }
.advisors .advisor:first-of-type { border-top: 0; }
.adv-cost { font-size: 12.5px; color: #ffbdb7; margin-top: 5px; }
.pref { font-size: 12.5px; margin-top: 4px; color: #c9d4e8; }
.bg-card { border-color: #4a3d20; background: linear-gradient(180deg, #1c1810, var(--surface)); }
.gl-chip { font-size: 12px; border: 1px solid #6b5226; background: #2a2012; color: #f5d595; border-radius: 8px; padding: 3px 9px; }

.rl-warn { margin-top: 8px; font-size: 12.5px; color: #ffbdb7; background: #2a1414; border: 1px solid #6b2c2a; border-radius: 9px; padding: 6px 9px; display: flex; flex-direction: column; gap: 2px; }
.rl-list { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 8px; font-size: 12px; }
.rl-chip { font-size: 11.5px; padding: 2px 7px; border-radius: 7px; border: 1px solid; }
.rl-chip.quit { color: #ffaaa3; border-color: #5a2624; background: #241212; }
.rl-chip.freeze { color: #f5cf86; border-color: #6b5226; background: #2a2012; }
.rl-chip.threat { color: var(--muted); border-color: var(--line2); background: var(--surface2); }
.trait { padding: 8px 0; border-top: 1px solid var(--line); }
.trait:first-of-type { border-top: 0; }
.mode-card { text-align: start; }
.mode-card .t { font-family: 'Frank'; font-weight: 700; font-size: 19px; }
.shared-tag { font-size: 11px; color: #9fc0ff; border: 1px solid #2d4b7c; border-radius: 6px; padding: 1px 6px; }

.live-tag { background: #b3121f; color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 5px; animation: pulse 1.6s ease-in-out infinite; }
.update-bar { position: fixed; top: calc(8px + var(--safe-t)); left: 50%; transform: translateX(-50%); z-index: 90; background: var(--blue2); color: #fff; border: 0; border-radius: 99px; padding: 9px 16px; font-weight: 700; font-size: 13.5px; box-shadow: 0 8px 24px -8px #000; }
.steps { padding-inline-start: 20px; margin: 6px 0; }
.steps li { margin: 6px 0; }
