:root {
  --ink: #111b21;
  --ink-2: #3b4a54;
  --muted: #667781;
  --line: #e9edef;
  --bg: #ffffff;
  --soft: #f0f2f5;
  --brand: #ff5a36;
  --brand-2: #ff2d6f;
  --seen: #c4ccd2;
  --badge: #ff5a36;
  --font: "Rubik", "Assistant", "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e9edef; --ink-2: #c3ccd2; --muted: #8696a0; --line: #222d34;
    --bg: #0b141a; --soft: #1b262d; --seen: #43525c;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.demo-banner { background: #fff6d6; color: #5c4600; text-align: center; font-size: 13px; padding: 6px 16px; }

/* =============== מסך "עדכונים" =============== */
.app { max-width: 640px; margin: 0 auto; min-height: 100dvh; }

.appbar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 14px 16px 8px; display: flex; align-items: center; gap: 10px; }
.appbar h1 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.appbar h1 em { font-style: normal; color: var(--brand); }
.appbar .sub { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.live { display: inline-flex; align-items: center; gap: 5px; color: #12a150; font-weight: 600; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #12a150; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.sec-h { font-size: 19px; font-weight: 700; padding: 12px 16px 10px; margin: 0; }

/* עיגול עם טבעת מחולקת לקטעים, קטע לכל עדכון */
.av { position: relative; flex: none; width: var(--s, 52px); height: var(--s, 52px); }
.av > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.av .face {
  position: absolute; inset: 4px; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); font-size: calc(var(--s, 52px) * .4); overflow: hidden;
}
.av.plain .face { inset: 0; }
.face.logo { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; }

/* שורת כרטיסי הסטטוס */
.cards { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cards::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: none; width: 104px; height: 176px; border-radius: 14px; overflow: hidden; cursor: pointer;
  border: 0; padding: 0; background: var(--c, #243640); color: #fff; text-align: center; scroll-snap-align: start;
}
.card .prev-txt {
  position: absolute; inset: 52px 8px 34px; display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 600; line-height: 1.3; overflow: hidden;
}
.card img.prev-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.card .av { position: absolute; top: 8px; right: 8px; --s: 40px; z-index: 2; }
.card .av .face { border: 2px solid var(--c, #243640); inset: 3px; }
.card .nm { position: absolute; bottom: 8px; inset-inline: 8px; z-index: 2; font-size: 13px; font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .spon { position: absolute; bottom: 26px; right: 8px; z-index: 2; font-size: 10.5px; opacity: .85; }

/* רשימת ערוצים */
.chan { display: flex; align-items: center; gap: 13px; padding: 10px 16px; width: 100%; background: none; border: 0; text-align: right; cursor: pointer; }
.chan:hover { background: var(--soft); }
.chan .mid { flex: 1; min-width: 0; }
.chan b { display: block; font-size: 16.5px; font-weight: 600; }
.chan .last { display: block; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan .end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.chan .t { font-size: 12px; color: var(--muted); }
.chan .t.new { color: var(--badge); font-weight: 600; }
.chan .badge { background: var(--badge); color: #fff; font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; }

.advertise { margin: 22px 16px 10px; background: var(--soft); border-radius: 18px; padding: 20px; }
.advertise h2 { margin: 0 0 6px; font-size: 19px; }
.advertise p { margin: 0 0 8px; color: var(--ink-2); }
.advertise ul { margin: 0 0 14px; padding: 0 18px 0 0; color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 99px; border: 0; cursor: pointer; }
footer { text-align: center; font-size: 12.5px; color: var(--muted); padding: 10px 16px 30px; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.skeleton { background: linear-gradient(90deg, var(--soft), var(--bg), var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

/* =============== צופה הסטטוס =============== */
.viewer { position: fixed; inset: 0; z-index: 100; background: #0b141a; display: none; align-items: center; justify-content: center; gap: 24px; }
.viewer.open { display: flex; }

.stage {
  position: relative; width: 100%; max-width: 460px; height: 100dvh; overflow: hidden; color: #fff;
  user-select: none; -webkit-user-select: none; touch-action: none; background: var(--solid, #243640);
}
@media (min-width: 700px) { .stage { height: min(94dvh, 880px); border-radius: 8px; } }

.bars { position: absolute; top: 8px; inset-inline: 8px; display: flex; gap: 4px; z-index: 4; transition: opacity .2s; }
.bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; }
.bars i b { display: block; height: 100%; width: 0; background: #fff; }

.s-head { position: absolute; top: 18px; inset-inline: 4px 8px; display: flex; align-items: center; gap: 6px; z-index: 4; transition: opacity .2s; }
.s-head .av { --s: 38px; }
.s-head .who { flex: 1; min-width: 0; line-height: 1.25; padding-inline-start: 4px; }
.s-head .who b { display: block; font-size: 16px; font-weight: 600; }
.s-head .who small { font-size: 13px; opacity: .85; }
.ico { background: none; border: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 22px; display: grid; place-items: center; flex: none; }
.ico:hover { background: rgba(255,255,255,.1); }
.ico svg { width: 24px; height: 24px; fill: currentColor; }

/* טקסט במרכז המסך, כמו סטטוס טקסט */
.s-text {
  position: absolute; inset: 76px 26px 120px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; z-index: 2; gap: 14px;
}
.s-text h2 { margin: 0; font-size: clamp(27px, 7.4vw, 36px); font-weight: 600; line-height: 1.25; }
.s-text p { margin: 0; font-size: clamp(18px, 4.8vw, 22px); line-height: 1.45; opacity: .95; }
.s-text .tip { font-size: 17px; opacity: .92; }
.s-text.fade > * { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; } }

/* סטטוס עם תמונה: התמונה במרכז והכיתוב למטה */
.s-img { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; background: #000; }
.s-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.s-caption { position: absolute; inset-inline: 0; bottom: 92px; z-index: 3; text-align: center; padding: 14px 20px; background: rgba(0,0,0,.45); }
.s-caption b { display: block; font-size: 18px; margin-bottom: 4px; }
.s-caption span { font-size: 15.5px; opacity: .95; }

/* שורת "השב" למטה */
.s-foot { position: absolute; bottom: 0; inset-inline: 0; padding: 0 10px 14px; z-index: 4; transition: opacity .2s; }
.chev { display: block; margin: 0 auto 6px; background: none; border: 0; color: #fff; cursor: pointer; opacity: .9; }
.chev svg { width: 26px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s infinite; }
@keyframes nudge { 50% { transform: translateY(-3px); } }
.reply-row { display: flex; align-items: center; gap: 8px; }
.reply {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; border-radius: 23px; padding: 0 16px;
  background: rgba(0,0,0,.28); border: 0; color: rgba(255,255,255,.85); cursor: pointer; font-size: 16px; text-align: right;
}
.reply .em { font-size: 20px; opacity: .9; }
.heart { width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.28); border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; }
.heart svg { width: 24px; height: 24px; }
.heart.on svg path { fill: #ff3b5c; stroke: #ff3b5c; }
.heart.pop { animation: heartPop .45s ease; }
@keyframes heartPop { 40% { transform: scale(1.35); } }
.cta { display: block; text-align: center; background: #fff; color: #111b21; font-weight: 600; font-size: 16.5px; padding: 13px; border-radius: 24px; }

.spon-tag { font-size: 12.5px; opacity: .85; }

/* לוח האימוג'י שעולה מלמטה */
.panel {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 8; padding: 18px 14px 16px;
  background: #0b141a; transform: translateY(105%); transition: transform .25s ease;
  border-radius: 18px 18px 0 0;
}
.panel.open { transform: none; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.quick button { background: none; border: 0; font-size: 38px; line-height: 1; padding: 8px 0; cursor: pointer; border-radius: 14px; transition: transform .12s; }
.quick button:hover { background: rgba(255,255,255,.08); transform: scale(1.12); }
.quick button.mine { background: rgba(255,255,255,.14); }
.panel .acts { display: flex; gap: 8px; }
.panel .acts a, .panel .acts button { flex: 1; text-align: center; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 12px; padding: 10px 6px; font-size: 14px; font-weight: 600; cursor: pointer; }
.details { max-height: 36dvh; overflow-y: auto; margin: 0 0 14px; padding: 0 4px; touch-action: pan-y; }
.details p { margin: 0 0 10px; font-size: 16px; line-height: 1.65; color: #e9edef; }
.details .src { font-size: 13px; color: #8696a0; }
.details .src a { text-decoration: underline; }

.flyer { position: absolute; z-index: 9; font-size: 70px; pointer-events: none; left: 50%; bottom: 120px; transform: translateX(-50%); animation: fly 1.1s ease-out forwards; }
@keyframes fly { 0% { transform: translate(-50%, 0) scale(.4); opacity: 0; } 25% { transform: translate(-50%, -40px) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -260px) scale(1); opacity: 0; } }

.tap { position: absolute; top: 70px; bottom: 110px; z-index: 3; }
.tap.prev { right: 0; width: 34%; }
.tap.next { left: 0; width: 66%; }

/* בזמן החזקה: כל הכפתורים נעלמים, כמו בסטטוס */
.stage.paused .bars, .stage.paused .s-head, .stage.paused .s-foot { opacity: 0; }
.stage:has(.panel.open) .s-foot { opacity: 0; pointer-events: none; }

/* מחשב: חיצים בצדדים ומודעות בצד */
.nav-arrow { display: none; }
@media (min-width: 700px) {
  .nav-arrow { display: grid; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; place-items: center; font-size: 22px; flex: none; }
  .nav-arrow:hover { background: rgba(255,255,255,.22); }
}
.v-close { position: absolute; top: 16px; left: 18px; display: none; }
@media (min-width: 700px) { .v-close { display: grid; } }
.v-side { width: 250px; display: none; flex-direction: column; gap: 12px; }
@media (min-width: 1150px) { .v-side { display: flex; } }
.v-side .lbl { color: #8696a0; font-size: 12px; font-weight: 600; }
.side-ad { display: block; border-radius: 14px; padding: 14px; color: #fff; background: var(--ad-c, #243640); }
.side-ad img { width: 100%; border-radius: 10px; margin-bottom: 10px; aspect-ratio: 16/10; object-fit: cover; }
.side-ad b { display: block; font-size: 16px; margin-bottom: 4px; }
.side-ad p { margin: 0 0 10px; font-size: 14px; opacity: .9; }
.side-ad .go { display: inline-block; background: #fff; color: #111b21; font-weight: 600; padding: 6px 14px; border-radius: 99px; font-size: 14px; }
.side-house { border: 1.5px dashed rgba(255,255,255,.3); border-radius: 14px; padding: 16px; color: #aebac1; text-align: center; font-size: 14px; }
.side-house b { color: #fff; display: block; margin-bottom: 4px; }

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

/* =============== התקנה למסך הבית =============== */
.install { border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 99px; padding: 7px 14px; font-weight: 600; font-size: 14px; cursor: pointer; flex: none; }
.install:hover { border-color: var(--brand); }
.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 200; width: min(92vw, 420px);
  background: var(--ink); color: var(--bg); border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.6;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: fadeIn .25s ease;
}
.toast b { display: block; margin-bottom: 4px; }
.toast button { float: left; background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer; }

/* =============== אייקונים בקו דק =============== */
.i { display: inline-block; vertical-align: middle; flex: none; }
.face.ic { color: #fff; }
.card .av .face.ic { border-color: var(--c, #243640); }
.reply .em { display: grid; place-items: center; opacity: .85; }
.hot-pill { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: #c0392b; font-size: 14px; font-weight: 700; padding: 3px 11px 3px 9px; border-radius: 99px; }
.panel .acts button { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.install { display: inline-flex; align-items: center; gap: 6px; }
.advertise h2 { display: flex; align-items: center; gap: 8px; }
.toast .i { vertical-align: -3px; }

/* =============== ערכת נושא וגודל טקסט מההגדרות =============== */
:root[data-theme="dark"] {
  --ink: #e9edef; --ink-2: #c3ccd2; --muted: #8696a0; --line: #222d34;
  --bg: #0b141a; --soft: #1b262d; --seen: #43525c;
}
html.fs-s body { font-size: 15px; }
html.fs-s .s-text h2 { font-size: clamp(23px, 6.4vw, 30px); }
html.fs-s .s-text p { font-size: clamp(16px, 4.2vw, 19px); }
html.fs-l body { font-size: 18px; }
html.fs-l .chan b { font-size: 18px; }
html.fs-l .chan .last { font-size: 15.5px; }
html.fs-l .s-text h2 { font-size: clamp(31px, 8.6vw, 42px); }
html.fs-l .s-text p { font-size: clamp(20px, 5.6vw, 25px); }
html.fs-l .details p { font-size: 18px; }

/* =============== תפריט שלוש נקודות =============== */
.menu-wrap { position: relative; }
.menu-btn { background: none; border: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.menu-btn:hover { background: var(--soft); }
.menu {
  position: absolute; top: 44px; left: 0; min-width: 210px; background: var(--bg); border-radius: 12px; padding: 6px 0; z-index: 30;
  box-shadow: 0 6px 24px rgba(0,0,0,.18), 0 0 0 1px var(--line); display: none;
}
.menu.open { display: block; animation: fadeIn .15s ease; }
.menu a, .menu button { display: block; width: 100%; text-align: right; padding: 12px 18px; background: none; border: 0; font-size: 15.5px; cursor: pointer; color: var(--ink); }
.menu a:hover, .menu button:hover { background: var(--soft); }

/* ערוצים מושתקים, מקופלים בתחתית הרשימה */
.muted-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px; background: none; border: 0; color: var(--muted); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.muted-toggle .i { transition: transform .2s; }
.muted-toggle.open .i { transform: rotate(180deg); }
.muted-list { display: none; opacity: .75; }
.muted-list.open { display: block; }

/* =============== עמוד הגדרות =============== */
.set-top { position: sticky; top: 0; z-index: 5; background: var(--bg); display: flex; align-items: center; gap: 8px; padding: 10px 8px; }
.set-top h1 { margin: 0; font-size: 21px; font-weight: 600; }
.set-top a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.set-top a:hover { background: var(--soft); }
.profile { display: flex; align-items: center; gap: 16px; padding: 14px 16px 18px; border-bottom: 1px solid var(--line); }
.profile b { display: block; font-size: 19px; font-weight: 600; }
.profile span { color: var(--muted); font-size: 14.5px; }
.set-sec { padding: 18px 16px 4px 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.set-row {
  display: flex; align-items: center; gap: 22px; width: 100%; padding: 14px 20px; background: none; border: 0; text-align: right;
  color: var(--ink); cursor: pointer; font-size: 16.5px;
}
.set-row:hover { background: var(--soft); }
.set-row > .i { color: var(--muted); }
.set-row .txt { flex: 1; min-width: 0; }
.set-row .txt b { display: block; font-weight: 400; }
.set-row .txt small { display: block; color: var(--muted); font-size: 14px; margin-top: 1px; }
.set-row.danger, .set-row.danger > .i { color: #d93847; }
.set-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 16px 40px; }

/* מתג הפעלה */
.switch { position: relative; width: 38px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 3px 0; border-radius: 99px; background: var(--seen); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 50%; right: -2px; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: right .2s; }
.switch input:checked + i { background: color-mix(in srgb, var(--brand) 55%, transparent); }
.switch input:checked + i::after { right: 20px; background: var(--brand); }

/* חלון בחירה */
.dlg-back { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.45); display: grid; place-items: center; padding: 16px; animation: fadeIn .15s ease; }
.dlg { width: min(100%, 360px); background: var(--bg); border-radius: 24px; padding: 22px 0 10px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.dlg h3 { margin: 0 24px 12px; font-size: 19px; font-weight: 600; }
.dlg p { margin: 0 24px 10px; color: var(--ink-2); }
.dlg label { display: flex; align-items: center; gap: 18px; padding: 12px 24px; cursor: pointer; font-size: 16px; }
.dlg label:hover { background: var(--soft); }
.dlg input[type=radio], .dlg input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }
.dlg .btns { display: flex; justify-content: flex-end; gap: 4px; padding: 10px 14px 4px; }
.dlg .btns button { background: none; border: 0; color: var(--brand); font-weight: 600; font-size: 15.5px; padding: 10px 14px; border-radius: 99px; cursor: pointer; }
.dlg .btns button:hover { background: var(--soft); }
.dlg .btns button.red { color: #d93847; }
.snack { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #323739; color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 15px; z-index: 400; animation: fadeIn .2s ease; }

/* =============== מבנה מסך "עדכונים" =============== */
body.has-nav .app { padding-bottom: 92px; }
.appbar h1 { font-size: 23px; }
.appbar .menu-btn .i { width: 24px; height: 24px; }

/* כרטיס "הוספה" ראשון, כמו "הסטטוס שלי" */
.card.add { background: var(--soft); color: var(--ink); text-decoration: none; display: block; }
.card.add::after { background: none; }
.card.add .prev-txt { color: var(--muted); font-weight: 500; }
.card.add .nm { color: var(--ink); }
.card.add .av .face { border: 2px solid var(--soft); inset: 0; }
.card.add .plus {
  position: absolute; bottom: -3px; left: -3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; border: 2px solid var(--soft);
}

/* כפתור "פרטים" בשורה, כמו "עקוב" */
.follow { flex: none; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); font-weight: 600; font-size: 14px; padding: 6px 16px; border-radius: 99px; }
a.chan { color: inherit; text-decoration: none; }
.chan .mid b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* כפתור צף */
.fab {
  position: fixed; left: max(16px, calc(50% - 304px)); bottom: 92px; z-index: 20; width: 56px; height: 56px; border-radius: 16px; border: 0;
  background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.fab:hover { filter: brightness(1.08); }

/* סרגל ניווט תחתון */
.bottom-nav {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 20; display: flex; justify-content: center; gap: 0;
  background: var(--bg); border-top: 1px solid var(--line); padding: 8px 8px calc(10px + env(safe-area-inset-bottom));
}
.bottom-nav a, .bottom-nav button {
  flex: 1; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0;
  color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.bottom-nav .pill { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; transition: background .2s; }
.bottom-nav .on .pill { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.bottom-nav .on { font-weight: 700; }

/* מסך חיפוש */
.search { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: none; overflow-y: auto; }
.search.open { display: block; animation: fadeIn .15s ease; }
.search-bar { position: sticky; top: 0; background: var(--bg); display: flex; align-items: center; gap: 6px; padding: 8px; max-width: 640px; margin: 0 auto; }
.search-bar input { flex: 1; font: inherit; font-size: 17px; color: var(--ink); background: var(--soft); border: 0; border-radius: 99px; padding: 11px 18px; outline: none; }
#search-results { max-width: 640px; margin: 0 auto; }
.search-bar input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); cursor: pointer; }

/* סרטון בסטטוס */
.s-img video { max-width: 100%; max-height: 100%; object-fit: contain; background: #000; }
.sound-btn { position: absolute; top: 70px; left: 12px; z-index: 5; background: rgba(0,0,0,.35); }

/* כיתוב בתחתית, כמו בסטטוס */
.s-caption { background: linear-gradient(transparent, rgba(0,0,0,.55) 35%); padding: 34px 20px 14px; bottom: 82px; text-align: center; }
.cap-text { font-size: 16.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.cap-text b { font-weight: 700; }
.s-caption.open { background: rgba(0,0,0,.72); max-height: 60%; overflow-y: auto; top: auto; }
.s-caption.open .cap-text { -webkit-line-clamp: unset; display: block; }
.cap-more { background: none; border: 0; color: #fff; font-weight: 700; font-size: 15px; padding: 4px 10px; cursor: pointer; opacity: .9; }
.s-caption { z-index: 4; }
