/* =====================================================================
   לאה אדרי · מדריכים, טיפים וסקילים · "חדר העריכה"
   ספרייה רגועה: הדרקון המורה יושב על פס כותרות נע, סינון לפי נושא, כרטיסים,
   חלון קריאה שנפתח מהכרטיס, והזמנה לקבל את המדריך הבא. מובייל קודם.
   ===================================================================== */

/* ---------- פתיחה ---------- */
.gh{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:100vh;min-height:100svh;overflow:hidden}
.gh__grid{display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(14px,2.4vh,28px);padding-top:calc(var(--nav-h) + 16px + clamp(20px,3.6vh,40px))}
.gh__copy{display:grid;justify-items:start;gap:clamp(12px,1.8vh,20px)}
.gh__title{font-size:clamp(38px,5vw,78px);line-height:1.06}
.gh__lead{max-width:30em}
.gh__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
/* הדרקון יושב על הפס הנע: התחתית השקופה של התמונה נבלעת בפס */
.gh__art{align-self:end;justify-self:center;width:min(100%,460px,calc((100svh - 450px) * 1.34));min-width:min(100%,250px);margin:0}
.gh__art img{width:100%;height:auto;margin-bottom:-.9%}

@media (max-width:599px){
  /* בטלפון הטקסט תופס יותר גובה, אז הדרקון קטן קצת במסכים נמוכים כדי שהפס יישאר בתוך המסך */
  .gh__art{width:min(100%,460px,calc((100svh - 540px) * 1.34));min-width:min(100%,240px)}
  .gh__lead{font-size:16.5px;line-height:1.6}
  .gh__cta .btn{min-height:50px;padding-inline:20px 8px;font-size:15.5px;gap:12px}
  .gh__cta .btn__dot{width:36px;height:36px}
}
@media (min-width:900px){
  .gh__grid{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);grid-template-rows:minmax(0,1fr);align-items:center;column-gap:clamp(24px,4vw,72px)}
  .gh__copy{padding-bottom:clamp(30px,7vh,90px)}
  .gh__art{justify-self:end;width:min(100%,700px,calc((100svh - var(--nav-h) - 130px) * 1.34))}
}

/* כניסה: מוסתר רק כש-JS פעיל, ומופיע בכל מקרה אחרי כמה שניות אם משהו נתקע */
@keyframes gh-safe{to{opacity:1;transform:none}}
.js .gh__in,.js .gh__art{opacity:0;animation:gh-safe 0s 4s forwards}
.js .gh__title .ln>span{transform:translateY(112%);animation:gh-safe 0s 4s forwards}
.gh.is-live .gh__in,.gh.is-live .gh__art,.gh.is-live .gh__title .ln>span{animation:none}
.is-static .gh .gh__in,.is-static .gh__art{opacity:1;animation:none}
.is-static .gh__title .ln>span{transform:none;animation:none}

/* פס הכותרות: רצועת פילם שחורה שנעה ימינה, עם נקבים למעלה ולמטה */
.ticker{position:relative;z-index:2;display:none;height:62px;background:var(--ink);color:var(--cream);overflow:hidden}
.ticker.is-filled{display:flex;align-items:center}
.ticker::before,.ticker::after{content:"";position:absolute;z-index:1;inset-inline:0;height:5px;background:repeating-linear-gradient(90deg,var(--cream) 0 9px,transparent 9px 22px);pointer-events:none}
.ticker::before{top:6px}
.ticker::after{bottom:6px}
.ticker__track{display:flex;flex:none;width:max-content;animation:ticker var(--dur,80s) linear infinite}
.ticker:hover .ticker__track{animation-play-state:paused}
.ticker__item{display:inline-flex;align-items:center;gap:12px;padding-inline-end:26px;white-space:nowrap;font-size:15.5px;font-weight:700;line-height:1}
.ticker__item b{font-weight:700;color:var(--gold-light)}
.ticker__star{flex:none;width:13px;height:13px;margin-inline-end:4px;background:var(--gold-light);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%)}
@keyframes ticker{to{transform:translateX(50%)}}
.is-static .ticker{overflow-x:auto;scrollbar-width:none}
.is-static .ticker::-webkit-scrollbar{display:none}
.is-static .ticker__track{animation:none}

/* ---------- הספרייה ---------- */
/* גובה מינימלי: גם כשהסינון משאיר מדריך אחד, המעבר הבא לא מתחיל לפני שרואים את הכפתורים */
.lib{min-height:calc(100vh + 320px);padding-top:clamp(84px,10vw,150px)}
.lib__head{display:grid;gap:16px;justify-items:start;margin-bottom:clamp(26px,4vw,44px)}
.lib__titles{display:grid;gap:18px;justify-items:start}
.lib__head .t-lead{max-width:27em}
@media (min-width:900px){
  .lib__head{grid-template-columns:auto minmax(0,25em);align-items:end;justify-content:space-between;column-gap:40px}
}

/* כפתורי הנושאים. בטלפון הם גוללים הצידה, עד קצה המסך */
.filter{margin:0 calc(var(--gutter)*-1) clamp(20px,3vw,32px);overflow-x:auto;scroll-padding-inline:var(--gutter);overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.filter::-webkit-scrollbar{display:none}
.filter__track{position:relative;display:flex;gap:8px;width:max-content;padding:4px var(--gutter)}
.filter__chip{position:relative;z-index:1;display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:6px 18px;border:0;border-radius:999px;background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink);font-size:15.5px;font-weight:700;line-height:1.2;white-space:nowrap;transition:color .35s var(--ease),box-shadow .3s}
.filter__chip[hidden]{display:none}
.filter__chip[aria-pressed="true"]{background:var(--ink);color:var(--cream);box-shadow:none}
@media (hover:hover){.filter__chip:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}}
.filter.has-ink .filter__chip[aria-pressed="true"]{background:transparent}
.filter__ink{position:absolute;z-index:0;top:0;left:0;width:0;height:0;border-radius:999px;background:var(--ink);pointer-events:none}
.filter__n{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:var(--cream-deep);color:var(--ink);font-size:12.5px;font-weight:700;line-height:1;transition:background-color .35s,color .35s}
.filter__chip[aria-pressed="true"] .filter__n{background:var(--gold-light)}
.no-js .filter{display:none}

/* ---------- הכרטיסים ---------- */
.lib__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:600px){.lib__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media (min-width:1100px){.lib__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}

.guide{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto 1fr;align-content:start;gap:10px;padding:12px 12px 24px;border-radius:26px;background:var(--ivory);color:var(--ink);box-shadow:0 0 0 1.5px #D9CDB4;transition:translate .5s var(--ease-out),box-shadow .3s}
.guide[hidden]{display:none}
@media (hover:hover){.guide:hover{translate:0 -6px;box-shadow:0 0 0 2px var(--ink)}}
.guide:has(.guide__title a:focus-visible){outline:3px solid var(--turq);outline-offset:4px}

.guide__cover{position:relative;display:grid;place-items:center;aspect-ratio:16/10;border-radius:16px;overflow:hidden}
.guide__cover>b{font-family:var(--font-display);font-weight:900;font-size:clamp(66px,7.2vw,116px);line-height:1;letter-spacing:-.02em;color:var(--accent)}
.guide__cover>i{position:absolute;right:16px;bottom:16px;font:400 12px/1 var(--font-latin);font-style:normal;letter-spacing:.22em;color:var(--fg)}
/* תמונת הכריכה: הדרקון חתוך על רקע שקוף, יושב על תחתית הכריכה וגדל מעט בריחוף */
.guide__cover img{position:absolute;bottom:0;left:0;right:0;margin-inline:auto;width:auto;height:96%;max-width:96%;object-fit:contain;transition:scale .6s var(--ease-out);transform-origin:50% 100%}
@media (hover:hover){.guide:hover .guide__cover img{scale:1.06}}
.guide__go{position:absolute;z-index:1;left:10px;bottom:10px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--fg);color:var(--bg);transition:rotate .45s var(--ease-out)}
.guide__go svg{width:18px;height:18px}
@media (hover:hover){.guide:hover .guide__go{rotate:45deg}}
.guide__peek{display:none}

.guide__meta{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px;padding:4px 8px 0;font-size:13.5px;line-height:1.45}
.guide__meta b{font-weight:700;color:var(--pink)}
.guide__meta span{font-size:13px;color:var(--ink-soft)}
.guide__title{padding-inline:8px;font-family:var(--font-display);font-weight:700;font-size:clamp(19px,1.55vw,23px);line-height:1.32}
.guide__title a{color:inherit;text-decoration:none}
/* כל הכרטיס לחיץ דרך הקישור שבכותרת */
.guide__title a::after{content:"";position:absolute;z-index:2;inset:0;border-radius:26px}
.guide__title a:focus-visible{outline:none}
.guide__teaser{padding-inline:8px;font-size:15.5px;line-height:1.65;color:var(--ink-soft)}
.no-js .guide__title a::after,.no-reader .guide__title a::after{display:none}

/* כפתור הקריאה של המדריך המומלץ (נוסף ב-JS, הלחיצה עוברת דרך הכרטיס) */
.guide__read{display:none}

/* ---------- אריח "המדריך הבא בהפקה" (נוסף ב-JS בסוף הרשימה) ---------- */
.next-tile{position:relative;display:grid;align-content:center;justify-items:center;gap:10px;min-height:250px;padding:30px 24px;border:2px dashed #C9BBA0;border-radius:26px;color:var(--ink);text-align:center;text-decoration:none;transition:background-color .35s,border-color .35s}
.next-tile__clap{width:58px;height:auto;margin-bottom:6px;overflow:visible}
.next-tile__clap rect{fill:var(--ink)}
.next-tile__stripe{fill:var(--cream)}
.next-tile__arm{transform-box:view-box;transform-origin:6px 19px;rotate:-14deg;transition:rotate .5s var(--ease-out)}
.next-tile__latin{font:400 11.5px/1 var(--font-latin);letter-spacing:.24em;color:var(--pink)}
.next-tile__title{font-family:var(--font-display);font-weight:900;font-size:clamp(22px,1.9vw,28px);line-height:1.2}
.next-tile__text{max-width:19em;font-size:15.5px;line-height:1.6;color:var(--ink-soft);text-wrap:balance}
.next-tile__go{display:grid;place-items:center;width:44px;height:44px;margin-top:8px;border-radius:50%;background:var(--ink);color:var(--cream);transition:translate .45s var(--ease-out)}
.next-tile__go svg{width:18px;height:18px}
.next-tile:focus-visible{outline:3px solid var(--turq);outline-offset:4px}
@media (hover:hover){
  .next-tile:hover{background:var(--ivory);border-color:var(--ink)}
  .next-tile:hover .next-tile__arm{rotate:0deg}
  .next-tile:hover .next-tile__go{translate:0 4px}
}
.next-tile.is-wide{min-height:200px}

/* ---------- המדריך המומלץ: פוסטר רחב בראש הרשימה ---------- */
.guide[data-featured]{--bg:var(--ink);--fg:var(--cream);--muted:#B9B2A6;--accent:var(--gold-light);--line:#2A2E30;order:-1;grid-column:1/-1;grid-template-rows:none;grid-template-areas:"cover" "badge" "meta" "title" "teaser" "read";gap:12px;padding:14px 14px 28px;background:var(--ink);color:var(--cream);box-shadow:none}
.guide[data-featured]::before{content:"המדריך המומלץ";grid-area:badge;justify-self:start;margin:12px 8px 2px;padding:7px 15px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--gold-light);color:var(--gold-light);font-size:13.5px;font-weight:700;line-height:1.2}
.guide[data-featured] .guide__cover{grid-area:cover}
.guide[data-featured] .guide__meta{grid-area:meta}
.guide[data-featured] .guide__title{grid-area:title}
.guide[data-featured] .guide__teaser{grid-area:teaser}
.guide[data-featured] .guide__meta b{color:var(--rose)}
.guide[data-featured] .guide__meta span{color:var(--muted)}
.guide[data-featured] .guide__title{font-size:clamp(26px,2.7vw,44px);font-weight:900;line-height:1.14;letter-spacing:-.01em}
.guide[data-featured] .guide__teaser{max-width:28em;font-size:clamp(16px,1.3vw,19px);color:var(--muted)}
.guide[data-featured] .guide__read{grid-area:read;display:inline-flex;justify-self:start;margin:10px 8px 0}
.no-reader .guide[data-featured] .guide__read{display:none}
@media (hover:hover){
  .guide[data-featured]:hover{box-shadow:none}
  .guide[data-featured]:hover .guide__read::before{clip-path:circle(150% at 50% 50%)}
  .guide[data-featured]:hover .guide__read .btn__dot{transform:rotate(45deg)}
}
/* בכריכה של המומלץ: "פרומפט" שנכתב שורה אחרי שורה, במקום המספר */
.guide[data-featured] .guide__cover{aspect-ratio:auto;place-items:stretch;padding:18px 20px 46px}
.guide[data-featured] .guide__cover:not(:has(.guide__peek)){aspect-ratio:16/10;padding:0;place-items:center}
.guide[data-featured] .guide__cover:has(.guide__peek)>b{display:none}
/* למומלץ יש כפתור קריאה משלו, אז בלי החץ העגול על הכריכה */
.guide[data-featured] .guide__go{display:none}
.guide[data-featured] .guide__peek{display:grid;align-content:center;width:100%}
.guide__peek li{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:baseline;gap:12px;padding:10px 0;border-bottom:1.5px solid var(--line)}
.guide__peek li:last-child{border-bottom:0}
.guide__peek li>span{font-size:13.5px;font-weight:700;color:var(--gold-light)}
.guide__peek em{font-style:normal;font-family:var(--font-display);font-size:clamp(16.5px,1.4vw,21px);font-weight:700;line-height:1.35;color:var(--cream)}
@media (min-width:600px){
  .guide[data-featured] .guide__cover{padding:clamp(24px,3vw,40px) clamp(24px,3vw,40px) 56px}
  .guide__peek li{grid-template-columns:5.6em minmax(0,1fr);gap:14px;padding:11px 0}
}

@media (min-width:900px){
  .guide[data-featured]{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-rows:1fr repeat(5,auto) 1fr;grid-template-areas:". cover" "badge cover" "meta cover" "title cover" "teaser cover" "read cover" ". cover";column-gap:clamp(28px,4vw,64px);row-gap:12px;padding:16px;padding-inline-start:clamp(26px,3.6vw,56px)}
  .guide[data-featured]::before{margin-top:0}
  .guide[data-featured] .guide__cover{min-height:400px}
  .guide[data-featured] .guide__read{margin-top:14px}
}

/* ---------- תוכן המדריך: בחלון הקריאה, ובלי JS גם בתוך הכרטיס ---------- */
.js .guide__body{display:none}
.no-reader .guide__body{display:grid}
.guide__body{grid-column:1/-1;margin:8px 8px 0;padding-top:18px;border-top:1.5px dashed #D9CDB4}
.guide__body,.reader__body{display:grid;gap:16px;font-size:16.5px;line-height:1.75;color:var(--ink)}
.guide__body ol,.reader__body ol{display:grid;gap:14px;counter-reset:step}
.guide__body li,.reader__body li{position:relative;padding-inline-start:48px;counter-increment:step;color:var(--ink-soft)}
.guide__body li::before,.reader__body li::before{content:counter(step,decimal-leading-zero);position:absolute;top:0;inset-inline-start:0;font-family:var(--font-display);font-weight:900;font-size:19px;line-height:1.75;color:var(--pink)}
.guide__body li b,.reader__body li b{color:var(--ink)}
/* קוד ומספרים בתוך עברית: תמיד משמאל לימין, בלי שבירה באמצע */
.guide__body code,.reader__body code{direction:ltr;unicode-bidi:isolate;white-space:nowrap;padding:1px 7px;border-radius:7px;background:var(--cream-deep);color:var(--ink);font-family:var(--font-latin);font-size:.9em}
.guide__body .copy,.reader__body .copy{position:relative;padding:18px 20px 66px;border-radius:18px;background:var(--cream);box-shadow:inset 0 0 0 1.5px #D9CDB4;font-size:16px;line-height:1.7;color:var(--ink);overflow-wrap:anywhere}
.guide__body .copy[dir="ltr"],.reader__body .copy[dir="ltr"]{text-align:left}
.copy__text{display:block}
.guide__body .note,.reader__body .note{padding:16px 20px;border-radius:16px;background:var(--blush);color:var(--ink);font-weight:500}
.guide__body .note::before,.reader__body .note::before{content:"טיפ מהסט";display:block;margin-bottom:2px;font-size:13px;font-weight:700;color:var(--pink)}
.guide[data-featured] .guide__body{border-color:var(--line)}
.guide[data-featured] .guide__body,.guide[data-featured] .guide__body li,.guide[data-featured] .guide__body li b{color:var(--cream)}

.copy__btn{position:absolute;bottom:12px;left:12px;direction:rtl;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:6px 16px;border:0;border-radius:999px;background:var(--ink);color:var(--cream);font-size:14px;font-weight:700;transition:background-color .3s}
.copy__btn svg{width:16px;height:16px}
.copy__btn.is-done{background:var(--teal)}

/* ---------- חלון הקריאה ---------- */
html.is-reading,html.is-reading body{overflow:hidden}
.reader{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--ink);overflow:hidden}
.reader:not([open]){display:none}
.reader::backdrop{background:transparent}
.reader__shade{position:absolute;inset:0;background:rgb(12 14 15 / .62)}
.reader__sheet{position:absolute;inset-inline:0;bottom:0;display:grid;grid-template-rows:auto minmax(0,1fr);height:calc(100% - 26px);border-radius:28px 28px 0 0;background:var(--ivory);color:var(--ink);overflow:hidden}
.reader__bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px 12px 12px;border-bottom:1.5px solid #E6DCC8}
.reader__meta{font-size:14px;font-weight:700;line-height:1.4;color:var(--pink)}
.reader__meta span{font-weight:400;color:var(--ink-soft)}
.reader__meta span::before{content:"·";margin-inline:8px;color:#C9BBA0}
.reader__x{flex:none;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:var(--ink);color:var(--ivory);transition:rotate .4s var(--ease-out)}
.reader__x svg{width:18px;height:18px}
@media (hover:hover){.reader__x:hover{rotate:90deg}}
.reader__scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:clamp(24px,4vw,44px) clamp(20px,4vw,52px) 48px}
.reader__title{font-family:var(--font-display);font-weight:900;font-size:clamp(28px,3vw,42px);line-height:1.14;letter-spacing:-.01em}
.reader__title:focus{outline:none}
.reader__lead{margin-top:14px;font-size:clamp(17px,1.3vw,20px);line-height:1.65;color:var(--ink-soft)}
.reader__body{margin-top:clamp(22px,3vw,32px)}
.reader__end{display:grid;justify-items:start;gap:6px;margin-top:clamp(34px,4vw,48px);padding-top:28px;border-top:2px dashed #D9CDB4}
.reader__ask{font-family:var(--font-display);font-weight:900;font-size:clamp(22px,2vw,28px);line-height:1.2}
.reader__sub{font-size:16px;color:var(--ink-soft)}
.reader__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.reader__cta .btn[hidden]{display:none}
@media (max-width:599px){
  .reader__cta .btn{min-height:50px;padding-inline:20px 8px;font-size:15.5px;gap:12px}
  .reader__cta .btn__dot{width:36px;height:36px}
}
/* במחשב: גיליון שנפתח מהצד השמאלי, הספרייה נשארת גלויה מאחוריו */
@media (min-width:900px){
  .reader__sheet{top:0;right:auto;left:0;width:min(700px,92vw);height:100%;border-radius:0 32px 32px 0}
  .reader__bar{padding:16px 30px 16px 16px}
}

/* ---------- הסליל הבא ---------- */
/* לפחות מסך שלם ועוד קצת, כדי שהמעבר הבא לא יתחיל לפני שרואים את כל החלק */
.updates{display:grid;align-content:center;min-height:calc(100vh + 80px)}
.updates__grid{display:grid;gap:clamp(70px,9vw,100px);align-items:center}
.updates__copy{display:grid;justify-items:start;gap:20px}
.updates__copy .t-lead{max-width:27em;color:var(--cream)}
.updates__copy .t-body{max-width:30em}
@media (min-width:900px){.updates__grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(40px,6vw,100px)}}

.chat{--bg:var(--ivory);--fg:var(--ink);--muted:var(--ink-soft);--accent:var(--pink);--line:#E6DCC8;position:relative;display:grid;gap:18px;padding:clamp(22px,3vw,36px);border-radius:28px;background:var(--ivory);color:var(--ink)}
.chat__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:2px dashed #D9CDB4}
.chat__head b{font-family:var(--font-display);font-weight:900;font-size:clamp(21px,1.8vw,26px)}
.chat__head span{font:400 11.5px/1 var(--font-latin);letter-spacing:.24em}
.chat__bubble{justify-self:start;max-width:92%;padding:14px 18px;border-radius:22px 22px 6px 22px;background:var(--turq-light);color:var(--ink);font-size:clamp(17px,1.4vw,19px);font-weight:500;line-height:1.55}
.chat__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:4px}
.chat__note{font-size:13.5px;color:var(--ink-soft)}

/* כריכות המדריכים מאז 2.12.2026: צילום מלא של שולחן עבודה עם הדרקון בתוכו, ולא דרקון שקוף על רקע צבעוני.
   התמונה ממלאת את כל הכריכה */
.guide__cover img{inset:0;width:100%;height:100%;max-width:none;margin:0;object-fit:cover;transform-origin:50% 50%}
.guide[data-featured] .guide__cover:not(:has(.guide__peek)){overflow:hidden}

/* ---------- ליטוש 2.12.2026 ---------- */
/* פתיחה: ערימה של שלוש כריכות מצולמות, כמו תצלומים שהונחו על שולחן העריכה */
.gh__stack{position:relative;aspect-ratio:1.34/1;margin-bottom:clamp(14px,2.6vh,30px)}
.gh__stack .gh__shot{margin:0;position:absolute;width:52%;height:auto;aspect-ratio:4/3;object-fit:cover;border:6px solid var(--ivory);border-radius:14px;box-shadow:0 18px 30px -16px rgb(6 54 58 / .55),0 0 0 1px #D9CDB4}
.gh__stack .gh__shot--a{top:3%;right:2%;rotate:6deg}
.gh__stack .gh__shot--b{top:6%;left:2%;rotate:-7deg}
.gh__stack .gh__shot--c{bottom:3%;left:50%;width:56%;translate:-50% 0;rotate:-2deg}
@media (max-width:599px){.gh__stack{margin-bottom:24px}.gh__stack .gh__shot{border-width:4px;border-radius:11px}}

/* "הודעה מוכנה": כרטיס מנוקב כמו כרטיס הכניסה, ובועה כהה עם טקסט בהיר */
.chat::before,.chat::after{content:"";position:absolute;top:calc(clamp(22px,3vw,36px) + 34px);width:26px;height:26px;border-radius:50%;background:var(--teal-deep)}
.chat::before{inset-inline-start:-13px}
.chat::after{inset-inline-end:-13px}
.chat__bubble{background:var(--teal);color:var(--ivory)}

/* ---------- מעברים בין החלקים, 2.12.2026: בלי מעבר של מסך שלם ---------- */
/* הספרייה נעצרת כשהתחתית שלה מגיעה לתחתית המסך, והחלק הכהה עולה מעליה עם פינות עגולות */
.lib.is-held{position:sticky;top:min(0px,calc(100svh - var(--lib-h,99999px)))}
.updates{z-index:1;min-height:0;border-radius:clamp(26px,4vw,44px) clamp(26px,4vw,44px) 0 0}
/* התפר לפני הטופס: עיפרון מושך קו זהב מימין לשמאל. לקופסה יש גובה אמיתי, והחיתוך בתוכה */
.gseam{position:relative;z-index:1;height:40px;background:linear-gradient(var(--teal-deep) 50%,var(--pink) 50%);overflow:hidden}
.gseam__line{position:absolute;top:50%;right:0;width:calc(var(--p,0) * 100%);height:3px;margin-top:-1.5px;background:var(--gold-light)}
.gseam__pencil{position:absolute;top:50%;right:calc(var(--p,0) * 100% - 96px);margin-top:-8px}
.no-js .gseam__line{width:100%}
.no-js .gseam__pencil{display:none}

/* הדרקון הלומד יושב למטה מימין, ושלוש התמונות מאחוריו */
.gh__stack .gh__dragon{position:absolute;z-index:2;top:auto;bottom:-3%;right:-3%;left:auto;width:52%;height:auto;margin:0;translate:none;filter:drop-shadow(0 12px 14px rgb(6 54 58 / .35))}
.gh__stack .gh__shot--a{top:2%;right:5%;width:50%}
.gh__stack .gh__shot--b{top:9%;left:0;width:50%}
.gh__stack .gh__shot--c{bottom:3%;left:9%;width:50%;translate:none}
