/* The Verifier 2026: "בשבילך", the invitation, "נושא היום" and the "you're following" note (inc/foryou.php). Mobile first. */

.tvfy[hidden], .tvinv[hidden], .tvday[hidden], .tvtoast[hidden] { display: none !important; }
body.tv-2026 .tvfy a, body.tv-2026 .tvinv a, body.tv-2026 .tvday a { text-decoration: none !important; }

/* Foxiz drops its own icons (or a login link) into every follow button; ours are in the spans. */
.tvfy-chip > i, .tvfy-follow > i, .tvfy-chip > .login-toggle, .tvfy-follow > .login-toggle { display: none !important; }
.tvfy-chip::before, .tvfy-chip::after, .tvfy-follow::before, .tvfy-follow::after { content: none !important; }
.tvfy-f-on { display: none !important; }
.tvfy-f-off, .tvfy-f-on { align-items: center; gap: 6px; }
.tvfy-f-off { display: inline-flex; }
.followed > .tvfy-f-off { display: none !important; }
.followed > .tvfy-f-on { display: inline-flex !important; }
.tvfy-chip.in-progress, .tvfy-follow.in-progress { opacity: .6 !important; pointer-events: none; }
.tvfy-chip, .tvfy-follow { visibility: visible !important; } /* Foxiz hides .rb-follow until its script marks it */

/* ---------- בשבילך ---------- */
.tvfy__mine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tvfy__mine .tvs-head__sub { margin-left: 4px; }
.tvfy__chips { display: contents; }
body.tv-2026 a.tvfy__chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; background: var(--tv-chip-bg); color: var(--tv-text) !important; font-size: 13px; font-weight: 700; }
body.tv-2026 a.tvfy__chip:hover { box-shadow: inset 0 -2px 0 var(--tv-cyan); }
.tvfy__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.tvfy__row::-webkit-scrollbar { display: none; }
body.tv-2026 a.tvfy__card { flex: none; width: 264px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; color: var(--tv-text) !important; }
.tvfy__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tv-chip-bg); }
.tvfy__lbl { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--tv-accent-text); }
.tvfy__t { font-size: 16px; line-height: 1.35; font-weight: 700; }
.tvfy__d { font-size: 13px; color: var(--tv-muted); }
body.tv-2026 a.tvfy__card:hover .tvfy__t { text-decoration: underline; text-decoration-color: var(--tv-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- The invitation ---------- */
.tvinv__box { display: flex; flex-direction: column; gap: 14px; padding: 20px 16px; background: var(--tv-surface); border: 1px solid var(--tv-line); }
body.tv-2026 .tvinv__t { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.3px; color: var(--tv-text); }
.tvinv__p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.5; color: var(--tv-body); }
.tvinv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.tv-2026 .tvfy-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; width: auto; height: auto;
  background: var(--tv-chip-bg); color: var(--tv-text); border: 0; border-radius: 0; font: 700 15px var(--tv-font); line-height: 1; cursor: pointer; opacity: 1 !important;
}
body.tv-2026 .tvfy-chip.followed { background: var(--tv-cyan); color: var(--tv-navy); }
body.tv-2026 .tvfy-chip:focus-visible, body.tv-2026 .tvfy-follow:focus-visible { outline: 2px solid var(--tv-cyan); outline-offset: 2px; }
body.tv-2026 a.tvinv__all { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--tv-accent-text) !important; }

/* ---------- נושא היום ---------- */
.tvday__box {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 20px 16px 26px; background: var(--tv-surface);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-lg) 100%, 0 calc(100% - var(--tv-cut-lg)));
}
.tvday__box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--tv-band-h); background: var(--tv-band); }
.tvday__info { display: flex; flex-direction: column; gap: 10px; }
.tvday__k { align-self: flex-start; min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px; background: var(--tv-navy); color: var(--tv-cyan); font-size: 13px; font-weight: 800; }
.tvday__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -1px; color: var(--tv-text); }
.tvday__name small { font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--tv-muted); }
.tvday__count { font-size: 14px; color: var(--tv-muted); }
.tvday__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
body.tv-2026 .tvfy-follow {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; width: auto; height: auto;
  background: transparent; color: var(--tv-text); border: 2px solid var(--tv-cyan); border-radius: 0; font: 800 15px var(--tv-font); line-height: 1; cursor: pointer; opacity: 1 !important;
}
body.tv-2026 .tvfy-follow.followed { background: var(--tv-cyan); color: var(--tv-navy); }
body.tv-2026 a.tvday__all { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--tv-accent-text) !important; }
body.tv-2026 a.tvday__lead { display: flex; flex-direction: column; gap: 10px; color: var(--tv-text) !important; }
.tvday__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tvday__lbl { font-size: 13px; font-weight: 700; color: var(--tv-accent-text); }
.tvday__lbl b { display: inline-flex; align-items: center; min-height: 22px; margin-right: 4px; padding: 0 7px; background: var(--tv-cyan); color: var(--tv-navy); font-weight: 800; }
.tvday__lt { font-size: 19px; line-height: 1.3; font-weight: 800; }
.tvday__rows { display: flex; flex-direction: column; }
body.tv-2026 a.tvday__row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--tv-line); color: var(--tv-text) !important; }
.tvday__rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tvday__rh { font-size: 15px; line-height: 1.35; font-weight: 700; }
.tvday__thumb { flex: none; width: 96px; aspect-ratio: 4 / 3; object-fit: cover; }
body.tv-2026 a.tvday__lead:hover .tvday__lt, body.tv-2026 a.tvday__row:hover .tvday__rh { text-decoration: underline; text-decoration-color: var(--tv-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (min-width: 768px) {
  .tvfy__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; overflow: visible; }
  body.tv-2026 a.tvfy__card { width: auto; }
  .tvfy__t { font-size: 17px; }
  .tvinv__box { padding: 28px; }
}
@media (min-width: 1025px) {
  body.tv-2026 .tvinv__t { font-size: 40px; letter-spacing: -0.4px; }
  .tvinv__p { font-size: 17px; }
  .tvday__box { display: grid; grid-template-columns: 280px minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 28px 28px 34px; }
  .tvday__name { font-size: 52px; }
  .tvday__name small { font-size: 20px; }
  .tvday__lt { font-size: 22px; }
  .tvday__rh { font-size: 16px; }
  .tvday__rows a.tvday__row:first-child { padding-top: 0; border-top: 0; }
  .tvday__thumb { width: 120px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .tvday__box { grid-template-columns: 240px minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
  .tvday__thumb { width: 96px; }
}

/* ---------- The note after "לעקוב" (every page) ---------- */
body.tv-2026 #bookmark-notification:has(.follow-info) { display: none !important; } /* Foxiz's own; this one replaces it */
.tvtoast {
  position: fixed; z-index: 100000; left: 12px; right: 12px; bottom: 92px;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px;
  background: var(--tv-navy); color: #FFFFFF; font-family: var(--tv-font);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 12px 32px rgba(10, 16, 48, .28); transition: opacity .25s, transform .25s;
}
.tvtoast.is-out { opacity: 0; transform: translateY(8px); }
body.tv-2026[data-theme="dark"] .tvtoast { background: #1A2360; } /* navy on the dark page needs a lift */
.tvtoast__ic { flex: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--tv-cyan); color: var(--tv-navy); }
.tvtoast__t { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; }
.tvtoast__t b { font-weight: 800; }
.tvtoast__undo { flex: none; min-height: 44px; padding: 0 6px; background: none; border: 0; color: var(--tv-cyan); font: 800 14px var(--tv-font); cursor: pointer; }
.tvtoast__undo:focus-visible { outline: 2px solid var(--tv-cyan); outline-offset: 2px; }
@media (min-width: 700px) {
  .tvtoast { left: 50%; right: auto; bottom: 32px; width: 480px; transform: translateX(-50%); }
  .tvtoast.is-out { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) { .tvtoast { transition: none; } }
