/* ═══════════════════════════════════════════════════════════════════════
   דף הבית — השער שבראש הדף: "שאל את הרב" לצד "הרגלי לימוד"
   (index.html, section.lp-gate · assets/js/home-gate.js)
   הכרטיס של הרגלי הלימוד נשאר בעיצוב שהיה (lp-card), ולומד חוזר רואה בתוכו
   את הרצף, האחוזים מהספר והשבוע שלו. "שאל את הרב" — כמו בעיצוב החדש.
   ═══════════════════════════════════════════════════════════════════════ */
.lp.lp-gate { max-width: 1240px; }
.lpg { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.45fr); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.lp-gate.is-learner .lp-card { order: -1; }
.lp-gate.is-learner .lpg { grid-template-columns: minmax(0, 1.45fr) minmax(0, .92fr); }
.lp-gate .lp-card { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); padding: clamp(22px, 3vw, 36px); gap: clamp(14px, 2vw, 26px); align-content: center; }
.lp-gate .lp h2, .lp-gate h2 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); }
.lp-gate .lp-sub { font-size: 1rem; margin-bottom: 16px; }
.lp-gate .lp-feats { grid-column: 1 / -1; margin: 0; }
.lp-gate .lp-feats li { font-size: .86rem; padding: 9px 11px; }
.lp-gate .lp-feats li b { font-size: .92rem; }
.lp-gate .lp-vis { min-height: 300px; }
.lp-gate .lp-phone { width: min(250px, 100%); }
.lp-gate .lp-ph-top { font-size: .76rem; gap: 6px; }
.lp-gate .lp-ph-top > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-gate .lp-ph-fl { flex: none; }
.lp-gate .lp-ph-t { font-size: .98rem; }
.lp-gate .lp-bubble { font-size: .82rem; inset-inline-end: -12px; top: -8px; }
.lp-gate.is-learner h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); margin: 12px 0 8px; }
.lp-gate .lp-mascot svg { width: 112px; height: auto; }
.lp-gate .lp-btn { padding: 14px 20px; font-size: 1.02rem; }
.lp-gate .lp-cta .lp-btn.main { flex: 1 1 auto; }

/* ── לומד חוזר: הנתונים שלו בתוך הכרטיס ── */
.lpg-me { margin: 4px 0 16px; }
.lpg-hi { color: #C9D2E3; font-weight: 700; font-size: 1rem; margin: 2px 0 10px; }
.lpg-top { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.lpg-ring { position: relative; width: 96px; height: 96px; flex: none; }
.lpg-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lpg-ring circle { fill: none; stroke-width: 9; }
.lpg-ring .bg { stroke: rgba(255, 255, 255, .12); } .lpg-ring .fg { stroke: url(#lpgRingG); stroke-linecap: round; transition: stroke-dashoffset .9s ease; }
.lpg-ring span { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; font-weight: 900; font-size: 1.32rem; line-height: 1; color: #fff; }
.lpg-ring span svg { transform: none; width: 1.3em; height: 1.3em; }
.lpg-ring small { display: block; font-size: .64rem; font-weight: 700; color: #C9D2E3; margin-top: 4px; }
.lpg-streak { flex: 1; min-width: 0; }
.lpg-streak small { display: block; color: #8D99B3; font-size: .78rem; font-weight: 700; margin-top: 2px; }
.lpg-streak b { display: block; font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 900; line-height: 1; color: #fff; }
.lpg-streak > span { color: #F2D58B; font-weight: 800; font-size: .95rem; }
.lpg-ms { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.lpg-ms span { font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #8D99B3; }
.lpg-ms span.on { background: rgba(240, 198, 104, .2); color: #F2D58B; }
.lpg-book { padding: 10px 13px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 10px; }
.lpg-book small { display: block; color: #8D99B3; font-size: .76rem; font-weight: 700; }
.lpg-book b { display: block; font-size: 1.02rem; margin: 1px 0 7px; color: #fff; }
.lpg-bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.lpg-bar i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, #2FBF84, #7be0b4); }
.lpg-state { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .86rem; margin-bottom: 12px; }
.lpg-state.done { background: rgba(47, 191, 132, .18); color: #9ff0c9; } .lpg-state.todo { background: rgba(240, 198, 104, .16); color: #F2D58B; } .lpg-state.rest { background: rgba(147, 197, 253, .16); color: #cfe3ff; }
.lpg-state svg { width: 1.1em; height: 1.1em; }
.lpg-week small { display: block; color: #8D99B3; font-size: .76rem; font-weight: 700; margin-bottom: 6px; }
.lpg-week ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.lpg-week li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; color: #8D99B3; }
.lpg-week i { width: 100%; max-width: 38px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-style: normal; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.lpg-week i svg { width: 60%; height: 60%; }
.lpg-week .did i { background: linear-gradient(135deg, #2FBF84, #23a06e); border-color: transparent; }
.lpg-week .rest i { background: rgba(147, 197, 253, .14); border-color: rgba(147, 197, 253, .3); }
.lpg-week .now i { border: 2px dashed #F2C14E; } .lpg-week .now span { color: #F2D58B; }
.lpg-seder { margin: 10px 0 0; font-size: .86rem; color: #C9D2E3; } .lpg-seder a { color: #fff; font-weight: 800; }

/* ═══ שאל את הרב ═══ */
.hg-ask { position: relative; overflow: hidden; border-radius: 30px; color: #fff; display: flex; flex-direction: column; font-family: 'Heebo', 'Rubik', system-ui, sans-serif;
  background: radial-gradient(120% 90% at 100% 0%, rgba(240, 198, 104, .16) 0%, rgba(240, 198, 104, 0) 55%), linear-gradient(160deg, #142041 0%, #0d1529 62%, #0a1020 100%);
  border: 1px solid rgba(240, 198, 104, .3); box-shadow: 0 24px 60px rgba(10, 14, 30, .35), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.hg-ask * { box-sizing: border-box; }
.hg-glow { position: absolute; inset: auto auto -140px -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(231, 15, 87, .3), rgba(231, 15, 87, 0) 68%); pointer-events: none; }
.hg-in { position: relative; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.hg-eyebrow { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #E6EBF4; border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: .85rem; }
.hg-t { margin: 14px 0 6px; font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.hg-t::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; margin-top: 12px; background: linear-gradient(90deg, #F0C668, #D4A843); }
.hg-sub { margin: 6px 0 18px; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; color: #C9D2E3; }
.hg-form { margin: 0; }
.hg-q { display: flex; gap: 10px; align-items: stretch; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 0 4px rgba(240, 198, 104, .14); }
.hg-q textarea { flex: 1; min-width: 0; border: 0; resize: none; font: 500 1.05rem/1.6 'Heebo', sans-serif; color: #15203A; padding: 10px 12px; background: transparent; min-height: 52px; max-height: 220px; }
.hg-q textarea:focus { outline: none; }
.hg-q textarea::placeholder { color: #8a94a8; }
.hg-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; padding: 13px 20px; font: 800 1rem 'Heebo', sans-serif; cursor: pointer; white-space: nowrap; background: #E70F57; color: #fff; box-shadow: 0 4px 0 #9e0a3b, 0 12px 26px rgba(231, 15, 87, .32); transition: transform .15s, background .15s; align-self: flex-end; }
.hg-btn:hover { transform: translateY(-2px); background: #f01a62; } .hg-btn:disabled { opacity: .55; transform: none; }
.hg-more { margin-top: 14px; padding: 15px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); animation: hgIn .25s ease; }
.hg-more[hidden], .hg-recent[hidden], .hg-q[hidden], .lp-gate [hidden] { display: none !important; }
@keyframes hgIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 9px; }
.hg-f { display: flex; flex-direction: column; gap: 5px; font-size: .84rem; font-weight: 700; color: #DCE3EF; }
.hg-f b, .hg-chk b { color: #ff6b98; } .hg-f i, .hg-chk i { font-style: normal; font-weight: 500; color: #8D99B3; }
.hg-f input, .hg-f select { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .95); color: #15203A; border-radius: 12px; padding: 10px 12px; font: 500 .96rem 'Heebo', sans-serif; width: 100%; }
.hg-f input:focus, .hg-f select:focus { outline: none; box-shadow: 0 0 0 3px rgba(240, 198, 104, .45); }
.hg-chk { display: flex; gap: 9px; align-items: flex-start; font-size: .86rem; line-height: 1.5; color: #C9D2E3; margin: 6px 0; cursor: pointer; }
.hg-chk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #E70F57; flex: none; }
.hg-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip-path: inset(50%); }
.hg-msg:empty { display: none; }
.hg-msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: .94rem; line-height: 1.6; }
.hg-msg.ok { background: rgba(47, 191, 132, .16); color: #b6f3d6; border: 1px solid rgba(47, 191, 132, .4); }
.hg-msg.err { background: rgba(231, 15, 87, .14); color: #ffc2d4; border: 1px solid rgba(231, 15, 87, .4); }
.hg-msg a { color: #fff; }
.hg-recent { margin-top: 20px; }
.hg-recent-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; font-size: .85rem; font-weight: 800; color: #F0C668; }
.hg-recent-h a { color: #C9D2E3; text-decoration: none; font-weight: 700; } .hg-recent-h a:hover { color: #fff; }
.hg-list { display: flex; flex-direction: column; gap: 8px; }
.hg-rq { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); text-decoration: none; color: #fff; transition: background .15s, border-color .15s; }
.hg-rq:hover { background: rgba(255, 255, 255, .1); border-color: rgba(240, 198, 104, .35); }
.hg-rq img, .hg-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid rgba(240, 198, 104, .6); }
.hg-av { display: grid; place-items: center; background: linear-gradient(135deg, #2a3a63, #15203A); color: #F0C668; font-weight: 900; font-size: 1rem; }
.hg-rq-b { display: flex; flex-direction: column; min-width: 0; }
.hg-rq-b b { font-size: .93rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-rq-b small { font-size: .76rem; color: #8D99B3; }
.hg-foot { margin: auto 0 0; padding-top: 16px; font-size: .82rem; color: #8D99B3; }
.hg-foot a { color: #C9D2E3; }
.hg-ask :focus-visible, .lp-gate :focus-visible { outline: 3px solid #F0C668; outline-offset: 2px; }

/* ═══ פתיחת אתר לרב — באנר מונפש לכל הרוחב, מתחת ל"שאל את הרב" ═══
   צבעי RGB עדינים: מסגרת שמסתובבת, אורורה שזזה ברקע, וחלון "האתר שלכם" שמתמלא. */
@property --rspA { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.rsp { --rgb: #ff9ec4, #ffd6a0, #a8f0d2, #9fd2ff, #cdb6ff, #ff9ec4;
  grid-column: 1 / -1; position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; color: #fff; font-family: 'Heebo', 'Rubik', system-ui, sans-serif;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(22px, 3.4vw, 42px);
  background: linear-gradient(135deg, #141c40 0%, #0e1532 55%, #0a0f22 100%);
  box-shadow: 0 24px 60px rgba(10, 14, 30, .35), 0 0 46px rgba(159, 210, 255, .12); }
/* מסגרת RGB מסתובבת */
.rsp::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--rspA), var(--rgb));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .8; animation: rspSpin 8s linear infinite; }
.rsp * { box-sizing: border-box; }
/* אורורה: שלושה כתמי אור רכים — אדום, ירוק, כחול — שזזים לאט */
.rsp-aur { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rsp-aur i { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .34; mix-blend-mode: screen; }
.rsp-aur i:nth-child(1) { background: rgb(255, 110, 160); top: -30%; inset-inline-start: -8%; animation: rspDriftA 14s ease-in-out infinite alternate; }
.rsp-aur i:nth-child(2) { background: rgb(90, 230, 170); bottom: -40%; inset-inline-start: 30%; animation: rspDriftB 17s ease-in-out infinite alternate; }
.rsp-aur i:nth-child(3) { background: rgb(100, 160, 255); top: -20%; inset-inline-end: -10%; animation: rspDriftC 12s ease-in-out infinite alternate; }
/* ניצוצות צבעוניים שעולים */
.rsp-stars { position: absolute; inset: 0; pointer-events: none; }
.rsp-stars i { position: absolute; bottom: -6px; width: 5px; height: 5px; border-radius: 50%; background: #ff9ec4; box-shadow: 0 0 10px currentColor; color: #ff9ec4; opacity: 0; animation: rspRise 7s linear infinite; }
.rsp-stars i:nth-child(3n+2) { background: #a8f0d2; color: #a8f0d2; } .rsp-stars i:nth-child(3n) { background: #9fd2ff; color: #9fd2ff; }
.rsp-stars i:nth-child(1) { inset-inline-start: 6%; } .rsp-stars i:nth-child(2) { inset-inline-start: 15%; animation-delay: 2.2s; width: 3px; height: 3px; }
.rsp-stars i:nth-child(3) { inset-inline-start: 26%; animation-delay: 4.1s; } .rsp-stars i:nth-child(4) { inset-inline-start: 37%; animation-delay: 1.1s; width: 4px; height: 4px; }
.rsp-stars i:nth-child(5) { inset-inline-start: 48%; animation-delay: 5.3s; } .rsp-stars i:nth-child(6) { inset-inline-start: 57%; animation-delay: 3.2s; width: 3px; height: 3px; }
.rsp-stars i:nth-child(7) { inset-inline-start: 66%; animation-delay: .5s; } .rsp-stars i:nth-child(8) { inset-inline-start: 77%; animation-delay: 4.7s; width: 4px; height: 4px; }
.rsp-stars i:nth-child(9) { inset-inline-start: 86%; animation-delay: 2.8s; } .rsp-stars i:nth-child(10) { inset-inline-start: 94%; animation-delay: 6s; width: 3px; height: 3px; }

.rsp-tx { position: relative; min-width: 0; }
.rsp-eyebrow { display: inline-flex; gap: 9px; align-items: center; background: rgba(255, 255, 255, .07); color: #EEF1F8; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: .85rem; }
.rsp-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: conic-gradient(var(--rgb)); animation: rspPulse 2s ease-in-out infinite, rspSpinT 4s linear infinite; }
.rsp .rsp-t { margin: 14px 0 8px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; font-weight: 900; letter-spacing: -.015em; color: #fff; }
.rsp .rsp-t em { font-style: normal; background: linear-gradient(90deg, var(--rgb)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rspShine 6s linear infinite; filter: drop-shadow(0 0 14px rgba(205, 182, 255, .35)); }
.rsp-sub { margin: 0 0 16px; font-size: clamp(1rem, 1.35vw, 1.1rem); line-height: 1.65; color: #C9D2E3; max-width: 46ch; }
.rsp-chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rsp-chips li { --c: #ff9ec4; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font-weight: 700; font-size: .9rem; color: #EEF1F8; animation: rspPop .5s cubic-bezier(.2, .9, .3, 1.3) both; transition: transform .2s, background .2s, box-shadow .2s; }
.rsp-chips li:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 30%, transparent); }
.rsp-chips li i { font-style: normal; color: var(--c); display: inline-flex; animation: rspWave 3s ease-in-out infinite; }
.rsp-chips li:nth-child(2) { --c: #ffd6a0; animation-delay: .12s; } .rsp-chips li:nth-child(2) i { animation-delay: .3s; }
.rsp-chips li:nth-child(3) { --c: #a8f0d2; animation-delay: .24s; } .rsp-chips li:nth-child(3) i { animation-delay: .6s; }
.rsp-chips li:nth-child(4) { --c: #9fd2ff; animation-delay: .36s; } .rsp-chips li:nth-child(4) i { animation-delay: .9s; }
.rsp-chips li:nth-child(5) { --c: #cdb6ff; animation-delay: .48s; } .rsp-chips li:nth-child(5) i { animation-delay: 1.2s; }
.rsp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
/* כפתור בגרדיאנט RGB עדין שזורם, עם הבזק אור */
.rsp-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; border-radius: 16px; padding: 15px 26px; font-weight: 900; font-size: 1.08rem; text-decoration: none; color: #15203A;
  background: linear-gradient(90deg, #ffc4d9, #ffe2b5, #c6f5df, #c4ddff, #e2d1ff, #ffc4d9); background-size: 300% 100%; animation: rspShine 7s linear infinite;
  box-shadow: 0 5px 0 rgba(21, 32, 58, .6), 0 14px 34px rgba(196, 221, 255, .28), 0 0 0 1px rgba(255, 255, 255, .5) inset; transition: transform .15s, box-shadow .15s; }
.rsp-btn::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); transform: skewX(-20deg); animation: rspSweep 3.6s ease-in-out infinite; }
.rsp-btn b { display: inline-block; animation: rspNudge 1.8s ease-in-out infinite; }
.rsp-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(21, 32, 58, .6), 0 18px 40px rgba(255, 196, 217, .4), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.rsp-alt { color: #C9D2E3; font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(201, 210, 227, .5); }
.rsp-alt:hover { color: #fff; border-color: #fff; }
.rsp-note { margin: 14px 2px 0; color: #8D99B3; font-size: .85rem; font-weight: 600; }
.rsp :focus-visible { outline: 3px solid #9fd2ff; outline-offset: 2px; }

/* חלון "האתר שלכם" — התוכן נכנס אחד אחרי השני, הסרטון עולה ומתפרסם */
.rsp-vis { position: relative; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.rsp-vis::before { content: ""; position: absolute; width: min(330px, 86%); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from var(--rspA), var(--rgb)); filter: blur(46px); opacity: .45; animation: rspSpin 10s linear infinite; }
.rsp-win { position: relative; width: min(360px, 100%); background: #fff; color: #15203A; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .07); transform: rotate(-2deg); animation: rspFloat 6s ease-in-out infinite; }
.rsp-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #EEF1F6; border-bottom: 1px solid #E1E5EC; }
.rsp-dots { display: inline-flex; gap: 5px; flex: none; } .rsp-dots i { width: 9px; height: 9px; border-radius: 50%; background: #FF8FA8; } .rsp-dots i:nth-child(2) { background: #FFD37A; } .rsp-dots i:nth-child(3) { background: #7FE0B4; }
.rsp-url { flex: 1; min-width: 0; direction: ltr; text-align: left; font-size: .74rem; color: #6B7385; background: #fff; border-radius: 8px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsp-url b { color: #6a5acd; }
.rsp-url::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: #6a5acd; animation: rspCaret 1s steps(1) infinite; }
.rsp-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; color: #fff; background: linear-gradient(120deg, #1b2556, #2b2f6e, #1d4e6e, #1b2556); background-size: 300% 100%; animation: rspShine 10s linear infinite; }
.rsp-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #15203A; background: linear-gradient(135deg, #ffe2b5, #ffc4d9); border: 2px solid #fff; box-shadow: 0 0 0 0 rgba(255, 196, 217, .7); animation: rspRing 3s ease-out infinite; }
.rsp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rsp-who b { font-size: .95rem; } .rsp-who small { font-size: .72rem; color: #C9D2E3; }
.rsp-follow { flex: none; font-size: .72rem; font-weight: 800; color: #15203A; background: linear-gradient(90deg, #ffc4d9, #c4ddff); border-radius: 999px; padding: 4px 10px; animation: rspBeat 3s ease-in-out infinite; }
.rsp-feed { display: flex; flex-direction: column; gap: 7px; padding: 11px 12px 4px; }
.rsp-item { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 12px; background: #F6F8FB; border: 1px solid #EBEEF3; animation: rspItem 9s ease-in-out infinite both; }
.rsp-item:nth-child(2) { animation-delay: .9s; } .rsp-item:nth-child(3) { animation-delay: 1.8s; }
.rsp-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rsp-item b { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rsp-item small { font-size: .7rem; color: #6B7385; }
.rsp-th { width: 42px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center; font-size: .9rem; color: #fff; }
.rsp-th.v { background: linear-gradient(135deg, #ff8fb1, #e0567f); } .rsp-th.a { background: linear-gradient(135deg, #6fdcb0, #2fa88a); } .rsp-th.b { background: linear-gradient(135deg, #8fbfff, #6a7ff0); }
.rsp-up { display: flex; flex-direction: column; gap: 5px; padding: 8px 14px 13px; font-size: .74rem; font-weight: 800; color: #5b6bd6; }
.rsp-up-bar { height: 7px; border-radius: 7px; background: #EEF0FB; overflow: hidden; }
.rsp-up-bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, #ff9ec4, #ffd6a0, #a8f0d2, #9fd2ff, #cdb6ff); animation: rspUp 9s ease-in-out infinite; }
/* ההודעה "פורסם!" קופצת כשהפס מגיע לסוף */
.rsp-toast { position: absolute; inset-inline: 12px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: #15203A; color: #fff; box-shadow: 0 12px 26px rgba(21, 32, 58, .35); font-size: .8rem; font-weight: 800; animation: rspToast 9s ease-in-out infinite both; }
.rsp-toast b { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #15203A; background: linear-gradient(135deg, #a8f0d2, #9fd2ff); }
.rsp-toast small { display: block; font-size: .7rem; font-weight: 600; color: #C9D2E3; }
.rsp-float { position: absolute; font-size: 1.7rem; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); animation: rspBob 4.5s ease-in-out infinite; }
.rsp-float.f1 { top: -5%; inset-inline-end: -3%; color: #ff9ec4; } .rsp-float.f2 { bottom: 6%; inset-inline-end: 0; color: #a8f0d2; animation-delay: 1.4s; } .rsp-float.f3 { top: 40%; inset-inline-start: -2%; color: #9fd2ff; animation-delay: 2.6s; }

@keyframes rspSpin { to { --rspA: 360deg; } }
@keyframes rspSpinT { to { transform: rotate(360deg); } }
@keyframes rspDriftA { to { transform: translate(40%, 30%) scale(1.15); } }
@keyframes rspDriftB { to { transform: translate(-35%, -25%) scale(.9); } }
@keyframes rspDriftC { to { transform: translate(-30%, 40%) scale(1.2); } }
@keyframes rspRise { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: .9; } 80% { opacity: .5; } 100% { opacity: 0; transform: translateY(-340px) scale(1); } }
@keyframes rspPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(205, 182, 255, .6); } 50% { box-shadow: 0 0 0 6px rgba(205, 182, 255, 0); } }
@keyframes rspShine { to { background-position: 300% 0; } }
@keyframes rspPop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rspWave { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-3px) rotate(-8deg); } 50% { transform: translateY(0) rotate(0); } }
@keyframes rspSweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes rspNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes rspFloat { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-8px); } }
@keyframes rspCaret { 50% { opacity: 0; } }
@keyframes rspRing { 0% { box-shadow: 0 0 0 0 rgba(255, 196, 217, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 196, 217, 0); } }
@keyframes rspBeat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } 90% { transform: scale(.96); } }
@keyframes rspItem { 0% { opacity: 0; transform: translateX(-14px); } 7%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes rspUp { 0%, 20% { width: 0; } 68%, 100% { width: 100%; } }
@keyframes rspToast { 0%, 68% { opacity: 0; transform: translateY(16px) scale(.94); } 73%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes rspBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) {
  .rsp *, .rsp *::before, .rsp *::after, .rsp::before { animation: none !important; }
  .rsp-up-bar i { width: 70%; }
  .rsp-toast, .rsp-stars { display: none; }
}

@media (max-width: 1060px) {
  .lpg, .lp-gate.is-learner .lpg { grid-template-columns: 1fr; }
  .lp-gate.is-learner .lp-card { order: -1; }
  /* בעמודה אחת: הבאנר מיד אחרי "שאל את הרב" */
  .rsp { order: 1; }
  .lp-gate:not(.is-learner) .lp-card { order: 2; }
}
@media (max-width: 860px) {
  .lp-gate .lp-card { grid-template-columns: 1fr; }
  .rsp { grid-template-columns: 1fr; }
  .rsp-vis { min-height: 0; padding: 6px 0 4px; }
  .rsp-float { display: none; }
}
@media (max-width: 560px) {
  .rsp-btn { flex: 1 1 100%; justify-content: center; }
  .rsp-win { transform: none; animation: none; }
}
@media (max-width: 560px) {
  .hg-q { flex-direction: column; } .hg-btn { align-self: stretch; }
  .hg-row { grid-template-columns: 1fr; }
  .lpg-ring { width: 84px; height: 84px; }
}
