/* guide-v3.css — שפת המדריכים החדשה (7.10.2026, אושר: "זה מהמם, אני רוצה שכל
   המדריכים יקבלו ככה שינוי בלוק").
   נטען אחרי guide-v2.css, רק בעמודים שעברו (body.g3). כל השאר נשאר על v2.
   שלושה דברים חדשים:
     1. כותרת כחול-לילה עם תמונה אמיתית וחפץ תלת-ממדי צף (.g3-hero, .g3-obj)
     2. "מקומות שקטים" בתוך המאמר: פס תמונה (.g3-band), איור מפריד (.g3-divider).
        רק שם משהו זז, ורק בתגובה לעכבר או לגלילה. אף פעם לא ליד פסקה שקוראים.
     3. "הדבר החי" (.g3-live): שאלה / סולם / תוכנית, שמעבירים תשובה לאפליקציה.
   ההתנהגות ב-/js/guide.js. המדריך למעבר: GUIDE_SYSTEM.md. */

body.g3{
  --hero-a:#22336E; --hero-b:#162250; --hero-c:#0B122C; --hero-accent:#FFD45C;
  --obj-sheen:linear-gradient(180deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 45%);
  --obj-depth:inset 0 2px 0 rgba(255,255,255,.3), inset -7px 0 0 rgba(0,0,0,.12);
  --shadow-2:0 2px 6px rgba(20,27,45,.06), 0 34px 70px -30px rgba(20,27,45,.40);
  --shadow-lift:0 4px 10px rgba(20,27,45,.06), 0 22px 40px -18px rgba(20,27,45,.34);
  --serif:'Frank Ruhl Libre',Georgia,serif;
  --brand:#2446C9; --navy:#16288A; --ink:#141B2D; --line:#DFE4EE; --ok:#2FA36B;
  /* צבע הנושא: ברירת מחדל זהב; עמוד של פינה מחליף (ניסוח מחדש: #D98A1E) */
  --topic:#FFD45C; --topic-l:#FFF4D6; --topic-d:#7A5200; --topic-line:#F2D58A;
  overflow-x:hidden;
}
body.g3 .wrap{max-width:860px;gap:14px}

/* ── 1. הכותרת ───────────────────────────────────────────────────────────── */
body.g3 .g3-hero{position:relative;overflow:hidden;isolation:isolate;border-radius:24px;color:#fff;box-shadow:var(--shadow-2);
  background:var(--hero-c);min-height:360px;display:flex;flex-direction:column;justify-content:flex-end;padding:176px 18px 20px;
  /* 7.10 — יהודה: "תדאג שזה יהיה במרכז ולא מיושר לימין או לשמאל": החפץ למעלה במרכז, הטקסט מתחתיו במרכז */
  align-items:center;text-align:center}
body.g3 .g3-hero-bg{position:absolute;inset:-18px;z-index:-2}
body.g3 .g3-hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--ph-pos,50% 30%);
  transform-origin:45% 40%;animation:g3Kb 24s ease-in-out infinite alternate}
body.g3 .g3-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(to top,rgba(11,18,44,.94) 0%,rgba(11,18,44,.78) 48%,rgba(11,18,44,.2) 100%)}
/* תמונה קטנה (520px): רק בחלק העליון בטלפון, ובצד שמאל במחשב — כדי שלא תיראה מטושטשת */
body.g3 .g3-hero.ph-small .g3-hero-bg{inset:-14px -14px auto -14px;height:270px}
body.g3 .g3-hero.ph-small::before{background:linear-gradient(to top,#0B122C 0%,#0B122C 38%,rgba(11,18,44,.55) 62%,rgba(11,18,44,.1) 100%)}
body.g3 .g3-credit{position:absolute;top:10px;left:12px;z-index:2;font-size:10.5px;font-weight:600;line-height:1.2;
  color:rgba(255,255,255,.75)!important;text-decoration:none;direction:ltr}
body.g3 .g3-credit:hover{color:#fff!important;text-decoration:underline}
body.g3 .g3-hero-txt{position:relative;z-index:1;width:100%;max-width:620px;margin-inline:auto}
body.g3 .g3-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:99px;background:rgba(255,255,255,.16);
  font-size:12.5px;font-weight:800;color:#FFF2C4;margin-bottom:10px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
body.g3 .g3-eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--topic)}
body.g3 .g3-hero h1{font-family:var(--serif);font-weight:900;font-size:1.55rem;line-height:1.28;letter-spacing:0;margin:0 0 .5rem;color:#fff;text-wrap:balance}
body.g3 .g3-hero .lede{font-size:.95rem;line-height:1.62;color:rgba(255,255,255,.86);margin:0 auto;max-width:56ch;text-wrap:pretty}
body.g3 .g3-hero .updated{font-size:.75rem;color:rgba(255,255,255,.6);margin:.5rem 0 0;font-weight:600}
body.g3 .g3-hero a:not(.g3-credit){color:#FFF2C4}
/* כניסה אחת: הטקסט עולה, החפץ נוחת */
body.g3 .g3-hero-txt > *{animation:g3Up .55s cubic-bezier(.2,.7,.2,1) both}
body.g3 .g3-hero-txt > :nth-child(2){animation-delay:.08s}
body.g3 .g3-hero-txt > :nth-child(3){animation-delay:.16s}
body.g3 .g3-hero-txt > :nth-child(4){animation-delay:.22s}
body.g3 .g3-obj{position:absolute;z-index:1;top:40px;left:0;right:0;width:max-content;margin-inline:auto;animation:g3Drop .7s .2s cubic-bezier(.34,1.56,.64,1) both}
@keyframes g3Up{from{opacity:0;transform:translateY(12px)}}
@keyframes g3Drop{from{opacity:0;transform:translateY(-18px) rotate(-6deg)}}
@keyframes g3Kb{from{transform:scale(1.02)}to{transform:scale(1.1) translate(-1.5%,-1%)}}

/* חפץ שנוטה לעבר העכבר (המשתנים מ-guide.js); הצל זז הפוך להטיה */
body.g3 [data-tilt]{transform:perspective(700px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d}
body.g3 .g3-3d{position:relative;border-radius:16px;background:var(--obj-sheen),#fff;
  box-shadow:var(--obj-depth),var(--sx,0px) var(--sy,14px) 28px -12px rgba(11,18,44,.55)}

/* ספריית החפצים (scripts/apply_guide_v3.py → OBJECTS) */
/* ab: שני עיגולים וחץ, עם השתקפות במים (ניסוח מחדש) */
body.g3 .g3-o-ab{width:136px}
body.g3 .g3-o-ab .g3-3d{direction:ltr;display:flex;align-items:center;justify-content:center;gap:8px;height:50px;border-radius:14px}
body.g3 .g3-o-ab .g3-3d b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-weight:900;font-size:17px;color:#fff;
  background:var(--obj-sheen),var(--topic);box-shadow:var(--obj-depth)}
body.g3 .g3-o-ab .g3-3d b + svg + b{background:var(--obj-sheen),var(--hero-a)}
body.g3 .g3-o-ab .wl{height:1px;margin:3px -10px 0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent)}
body.g3 .g3-o-ab .ref{margin-top:3px;transform:scaleY(-1);opacity:.32;filter:blur(.6px);
  -webkit-mask-image:linear-gradient(to top,#000,transparent 75%);mask-image:linear-gradient(to top,#000,transparent 75%)}
body.g3 .g3-o-ab .ref .g3-3d{box-shadow:none}
/* ticket (כרטיס זהב עם מספר) הוסר 7.10 — "נסה לחשוב על משהו אחר". החפצים המצוירים שבאו במקומו
   (כובע, סרגל, חוברת, שעון עצר, לוח שנה, תמרור, כרטיס שאלה) ב-/css/guide-objects.css */
/* plan: כרטיס עם פסי השלבים של התוכנית */
body.g3 .g3-o-plan .g3-3d{width:118px;padding:12px 12px 10px}
body.g3 .g3-o-plan .bar{display:flex;gap:4px;height:14px}
body.g3 .g3-o-plan .bar i{border-radius:5px;box-shadow:inset 0 2px 0 rgba(255,255,255,.35)}
body.g3 .g3-o-plan .ln{height:6px;border-radius:3px;background:#E3E7F0;margin-top:8px}
body.g3 .g3-o-plan .ln + .ln{width:62%}
/* chip: כרטיס לבן עם מילה/סימן באנגלית (השלמת משפטים, תחיליות, אוצר מילים) */
body.g3 .g3-o-chip .g3-3d{direction:ltr;display:flex;align-items:center;gap:8px;height:56px;padding:0 16px;border-radius:14px;
  font-family:Georgia,'Times New Roman',serif;font-size:21px;font-weight:700;color:var(--ink);white-space:nowrap}
body.g3 .g3-o-chip .g3-3d i{width:10px;height:10px;border-radius:50%;background:var(--topic);flex:none}
body.g3 .g3-o-chip .g3-3d em{font-style:normal;color:var(--topic-d)}
/* wave: גלי קול (האזנה) */
body.g3 .g3-o-wave .g3-3d{display:flex;align-items:center;justify-content:center;gap:5px;width:116px;height:60px}
body.g3 .g3-o-wave .g3-3d i{width:7px;border-radius:4px;background:var(--obj-sheen),var(--topic);box-shadow:var(--obj-depth)}

/* ── 2. מקומות שקטים ─────────────────────────────────────────────────────── */
/* פס תמונה בין פרקים: בלי טקסט, התמונה זזה לאט מהעמוד, ואור רך מתחת לעכבר */
body.g3 .g3-band{position:relative;overflow:hidden;isolation:isolate;height:150px;border-radius:22px;box-shadow:var(--shadow-2);background:var(--hero-b)}
body.g3 .g3-band-ph{position:absolute;left:0;right:0;top:-50px;bottom:-50px;z-index:-2;background-size:cover;background-position:var(--ph-pos,50% 50%)}
body.g3 .g3-band::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to top,rgba(11,18,44,.55),rgba(11,18,44,.08) 60%)}
body.g3 .g3-band .g3-credit{top:auto;bottom:8px}
body.g3 .g3-glow{position:absolute;inset:0;z-index:0;opacity:0;pointer-events:none;
  background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(255,236,170,.6),rgba(255,236,170,.18) 22%,rgba(255,236,170,0) 40%)}
/* איור שמצטייר פעם אחת כשנכנס למסך */
body.g3 .g3-draw path,body.g3 .g3-draw line,body.g3 .g3-draw polyline{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1)}
body.g3 .in .g3-draw path,body.g3 .in .g3-draw line,body.g3 .in .g3-draw polyline{stroke-dashoffset:0}
/* מדרגות על פס תמונה (סולם 50–150) */
body.g3 .g3-stairs{position:absolute;inset:0;z-index:1;pointer-events:none}
/* המדרגות בקופסה ביחס קבוע (60:26), כדי שלא יימתחו בפס רחב */
body.g3 .g3-stairs .box{position:absolute;left:14px;bottom:22px;width:min(58%,320px);aspect-ratio:60/26}
body.g3 .g3-stairs svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
body.g3 .g3-stairs path{fill:none;stroke:#fff;stroke-width:.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}
body.g3 .g3-stairs .lb{position:absolute;transform:translate(-50%,-100%);font-size:11.5px;font-weight:900;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7);direction:ltr;
  opacity:0;transition:opacity .3s}
body.g3 .g3-stairs .flag{position:absolute;transform:translate(-50%,-100%) scale(.6);padding:2px 9px;border-radius:9px;font-family:var(--serif);font-weight:900;font-size:16px;color:#5A3A00;
  background:var(--obj-sheen),linear-gradient(160deg,#FFE7A0,#F2B93B);box-shadow:var(--obj-depth),0 6px 14px -4px rgba(0,0,0,.5);opacity:0;
  transition:opacity .3s 1s,transform .5s 1s cubic-bezier(.34,1.56,.64,1)}
body.g3 .in .g3-stairs .lb{opacity:1}
body.g3 .in .g3-stairs .flag{opacity:1;transform:translate(-50%,-100%) scale(1)}

/* מפריד: אריחים קטנים עם איור, שמצטיירים ונוטים לעבר העכבר */
body.g3 .g3-divider{position:relative;padding:6px 0}
body.g3 .g3-tiles{display:grid;grid-template-columns:repeat(var(--n,4),1fr);gap:8px;padding:8px 2px 4px}
body.g3 .g3-tile{text-align:center}
body.g3 .g3-tile .ic{width:62px;height:62px;margin:0 auto;border-radius:18px;display:grid;place-items:center;
  background:var(--obj-sheen),var(--topic-l);border:1px solid var(--topic-line)}
body.g3 .g3-tile .ic svg{width:36px;height:36px;overflow:visible}
body.g3 .g3-tile .ic svg *{fill:none;stroke:var(--topic-d);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.g3 .g3-tile span{display:block;margin-top:9px;font-size:12px;font-weight:800;line-height:1.3;color:var(--topic-d)}
body.g3 .g3-pre .g3-tile-in{opacity:0}

/* ── 3. הדבר החי ─────────────────────────────────────────────────────────── */
body.g3 .g3-live{position:relative;overflow:hidden;isolation:isolate;border-radius:24px;color:#fff;box-shadow:var(--shadow-2);
  padding:16px 14px 14px;background:linear-gradient(180deg,var(--hero-a) 0%,var(--hero-b) 50%,var(--hero-c) 100%)}
body.g3 .g3-live[hidden]{display:none}
body.g3 .g3-live-ph{position:absolute;inset:-10px;z-index:-2;background-size:cover;background-position:50% 0;opacity:.32}
body.g3 .g3-live.has-ph::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,rgba(11,18,44,.2),rgba(11,18,44,.85) 40%,rgba(11,18,44,.96))}
body.g3 .g3-live .g3-eyebrow{margin-bottom:6px}
body.g3 .g3-live h2{font-family:var(--serif);font-weight:900;font-size:1.3rem;line-height:1.3;margin:0;color:#fff}
body.g3 .g3-live h2 em{font-style:normal;color:var(--hero-accent)}
body.g3 .g3-door{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s cubic-bezier(.2,.7,.2,1)}
body.g3 .g3-door > div{overflow:hidden}
body.g3 .g3-door.open{grid-template-rows:1fr}
body.g3 .g3-go{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:54px;margin-top:12px;border-radius:15px;
  background:#FFE7B3;color:#16288A!important;text-decoration:none;font-weight:900;font-size:17px;
  box-shadow:var(--obj-depth),0 10px 24px -10px rgba(255,212,92,.7);transition:transform .15s}
body.g3 .g3-go::before{content:"";position:absolute;inset:0;background:var(--obj-sheen);pointer-events:none}
body.g3 .g3-go:hover{transform:translateY(-1px)}
body.g3 .g3-go:active{transform:scale(.97)}
body.g3 .g3-go:focus-visible{outline:3px solid var(--hero-accent);outline-offset:3px}
body.g3 .g3-door.open .g3-go{animation:g3Pop .5s cubic-bezier(.34,1.56,.64,1) both}
@keyframes g3Pop{from{transform:translateY(16px) scale(.94)}}
body.g3 .g3-note{text-align:center;font-size:12.5px;font-weight:800;line-height:1.5;color:rgba(255,255,255,.8);margin:8px 0 0}
body.g3 .g3-note b{color:var(--hero-accent)}

/* question: שאלה אחת עם ✓/✗, הדגשת המילים שמכריעות, הסבר, ואז הכפתור */
body.g3 .g3-qc{margin-top:12px;background:#fff;color:var(--ink);border-radius:18px;padding:12px;box-shadow:var(--obj-depth),var(--shadow-lift)}
body.g3 .g3-stem{direction:ltr;text-align:left;background:#EEF1F6;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:14.5px;line-height:1.55;
  font-family:Georgia,'Times New Roman',serif}
body.g3 .g3-op{display:block;width:100%;position:relative;direction:ltr;text-align:left;border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin-top:7px;
  font:inherit;font-size:13.5px;line-height:1.45;color:var(--ink);background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
body.g3 .g3-op:hover:not([disabled]),body.g3 .g3-op:focus-visible{border-color:#9AA6C4;background:#F7F9FD}
body.g3 .g3-op:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
body.g3 .g3-op[disabled]{cursor:default}
body.g3 .g3-stem.he,body.g3 .g3-op.he{direction:rtl;text-align:right;font-family:inherit}
body.g3 .g3-op.he .tg{text-align:right}
body.g3 .g3-op .tg{display:none;direction:rtl;text-align:left;font-size:11.5px;font-weight:900;margin-top:2px}
body.g3 .g3-op.ok{border-color:var(--ok);background:#E7F5EC}
body.g3 .g3-op.ok .tg{display:block;color:#1d7a4d}
body.g3 .g3-op.bad{border-color:#4A5372;background:#EEF0F6}
body.g3 .g3-op.bad .tg{display:block;color:#4A5372}
body.g3 .g3-op.ok{animation:g3Ok .35s cubic-bezier(.34,1.56,.64,1)}
@keyframes g3Ok{from{transform:scale(.98)}}
body.g3 .g3-qc mark{background:transparent;color:inherit;border-radius:3px;padding:0;transition:background .3s,box-shadow .3s}
body.g3 .g3-qc mark.on{background:#FBD99C;box-shadow:0 0 0 2px #FBD99C}
body.g3 .g3-why .in{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--topic-l);border:1px solid var(--topic-line)}
body.g3 .g3-why .k{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:900;font-size:13.5px;color:var(--topic-d)}
body.g3 .g3-why .k span{font-size:11.5px;padding:3px 9px;border-radius:99px;background:#fff;border:1px solid var(--topic-line)}
body.g3 .g3-why p{font-size:13.5px;line-height:1.6;color:#4A3510;margin:4px 0 0}

/* scale: סולם 50–150, קו 134, וסיכה שגוררים */
body.g3 .g3-rd{display:flex;align-items:flex-end;gap:12px;margin-top:12px;min-height:74px}
body.g3 .g3-rd .num{font-family:var(--serif);font-weight:900;font-size:58px;line-height:.95;min-width:96px;text-align:center;direction:ltr;color:#fff}
body.g3 .g3-rd .num.qq{color:rgba(255,255,255,.35)}
body.g3 .g3-rd .bn{font-weight:900;font-size:17px;color:var(--hero-accent);min-height:1.5em}
body.g3 .g3-rd .ln{font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.85);margin-top:2px}
body.g3 .g3-rd .ln b{color:#fff}
body.g3 .g3-sc{position:relative;height:96px;margin:6px 6px 0;direction:ltr;touch-action:pan-y}
body.g3 .g3-sc .segs{position:absolute;left:0;right:0;top:40px;height:16px;display:flex;border-radius:99px;overflow:hidden;box-shadow:inset 0 2px 3px rgba(0,0,0,.3)}
body.g3 .g3-sc .segs i{height:100%;transition:filter .2s}
body.g3 .g3-sc .segs i.on{filter:brightness(1.6)}
body.g3 .g3-sc .mk{position:absolute;top:30px;width:2px;height:36px;margin-left:-1px;background:var(--hero-accent);pointer-events:none}
body.g3 .g3-sc .mk b{position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:12px;color:var(--hero-accent);white-space:nowrap}
body.g3 .g3-sc .tk{position:absolute;top:62px;transform:translateX(-50%);font-size:11px;font-weight:700;color:rgba(255,255,255,.6);pointer-events:none}
body.g3 .g3-sc .pin{position:absolute;top:4px;width:34px;margin-left:-17px;pointer-events:none}
body.g3 .g3-sc .pin i{display:block;width:30px;height:30px;margin:0 auto;border-radius:50% 50% 50% 0;background:var(--obj-sheen),#fff;transform:rotate(-45deg);
  box-shadow:var(--obj-depth),0 5px 12px rgba(0,0,0,.45)}
body.g3 .g3-sc .pin.idle i{animation:g3Nudge 1.6s ease-in-out infinite}
@keyframes g3Nudge{0%,100%{translate:0 0}50%{translate:0 -4px}}
/* הקלט האמיתי (נגיש למקלדת ולקורא מסך) שקוף מעל הסולם */
body.g3 .g3-sc input[type=range]{position:absolute;left:-17px;right:-17px;width:calc(100% + 34px);top:0;height:70px;margin:0;opacity:0;cursor:grab;touch-action:pan-y}
body.g3 .g3-sc input[type=range]:active{cursor:grabbing}
/* האגודל השקוף ברוחב הסיכה (34px) — כך שהנקודה שנוגעים בה היא בדיוק הערך שמוצג */
body.g3 .g3-sc input[type=range],body.g3 .g3-sl input[type=range]{-webkit-appearance:none;appearance:none;background:transparent}
body.g3 .g3-sc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:34px;height:70px}
body.g3 .g3-sc input[type=range]::-moz-range-thumb{width:34px;height:70px;border:0}
body.g3 .g3-sl input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:34px}
body.g3 .g3-sl input[type=range]::-moz-range-thumb{width:26px;height:34px;border:0}
body.g3 .g3-sc:has(input:focus-visible) .pin i{outline:3px solid var(--hero-accent);outline-offset:3px}
body.g3 .g3-sub{font-size:12.5px;color:rgba(255,255,255,.7);margin:2px 0 0}

/* plan: מתי הבחינה + כמה דקות ביום → התוכנית */
body.g3 .g3-wk{display:flex;align-items:baseline;gap:8px;margin-top:8px;font-weight:800;font-size:15px;color:rgba(255,255,255,.85)}
body.g3 .g3-wk b{font-family:var(--serif);font-weight:900;font-size:40px;color:var(--hero-accent);line-height:1;min-width:46px;text-align:center}
body.g3 .g3-sl{position:relative;height:34px;margin:4px 10px 0}
body.g3 .g3-sl .tr{position:absolute;left:0;right:0;top:15px;height:5px;border-radius:9px;background:rgba(255,255,255,.22)}
body.g3 .g3-sl .kn{position:absolute;top:5px;width:26px;height:26px;margin-right:-13px;border-radius:50%;background:var(--obj-sheen),#fff;
  box-shadow:var(--obj-depth),0 4px 10px rgba(0,0,0,.45);pointer-events:none}
body.g3 .g3-sl input[type=range]{position:absolute;inset:0 -13px;width:calc(100% + 26px);height:34px;margin:0;opacity:0;cursor:grab;direction:rtl;touch-action:pan-y}
body.g3 .g3-sl:has(input:focus-visible) .kn{outline:3px solid var(--hero-accent);outline-offset:3px}
body.g3 .g3-per{display:flex;gap:4px;height:46px;margin-top:6px}
body.g3 .g3-per div{border-radius:10px;padding:5px 7px;overflow:hidden;white-space:nowrap;box-shadow:inset 0 2px 0 rgba(255,255,255,.3);transition:flex-grow .2s}
body.g3 .g3-per b{display:block;font-size:12px;font-weight:900}
body.g3 .g3-per span{font-size:11.5px;font-weight:700;opacity:.85}
body.g3 .g3-per .p1{background:#5B7BE6}
body.g3 .g3-per .p2{background:#3A58C9}
body.g3 .g3-per .p3{background:var(--hero-accent);color:#3A2A00}
body.g3 .g3-ml{margin-top:14px;font-weight:800;font-size:14px}
body.g3 .g3-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
body.g3 .g3-chips button{font:inherit;padding:7px 12px;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);
  color:#fff;font-weight:800;font-size:13.5px;cursor:pointer}
body.g3 .g3-chips button[aria-pressed=true]{background:#FFE7B3;color:#16288A;border-color:#FFE7B3}
body.g3 .g3-chips button:focus-visible{outline:2px solid var(--hero-accent);outline-offset:2px}
body.g3 .g3-day p{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.1);font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.9)}
body.g3 .g3-day p b{color:var(--hero-accent)}

/* ── כותרות הפרקים בשפה החדשה ─────────────────────────────────────────── */
body.g3 .g-sec h2{font-family:var(--serif);font-weight:900}

/* ── מחשב ────────────────────────────────────────────────────────────────── */
@media (min-width:900px){
  body.g3 .wrap{padding:1.4rem 1.5rem 5rem}
  body.g3 .g3-hero{min-height:400px;padding:206px 40px 30px}
  body.g3 .g3-hero-txt{max-width:640px}
  body.g3 .g3-hero h1{font-size:2.1rem}
  body.g3 .g3-hero .lede{font-size:1rem}
  body.g3 .g3-obj{top:36px}
  /* תמונה קטנה (520px): במרכז, ברוחב מוגבל ונמוגה לצדדים — לא תקועה בצד אחד */
  body.g3 .g3-hero.ph-small .g3-hero-bg{inset:-14px auto auto 50%;width:min(100%,620px);height:300px;transform:translateX(-50%);
    -webkit-mask-image:radial-gradient(ellipse 50% 70% at 50% 30%,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 50% 70% at 50% 30%,#000 55%,transparent 100%)}
  body.g3 .g3-hero.ph-small::before{background:linear-gradient(to top,#0B122C 0%,#0B122C 30%,rgba(11,18,44,.5) 60%,rgba(11,18,44,.15) 100%)}
  body.g3 .g3-o-ab{width:190px}
  body.g3 .g3-o-ab .g3-3d{height:66px;gap:12px}
  body.g3 .g3-o-ab .g3-3d b{width:40px;height:40px;font-size:22px}
  body.g3 .g3-o-plan .g3-3d{width:160px;padding:16px}
  body.g3 .g3-o-chip .g3-3d{height:72px;font-size:28px;padding:0 22px}
  body.g3 .g3-o-wave .g3-3d{width:150px;height:78px}
  body.g3 .g3-band{height:190px;margin-left:-40px;margin-right:-40px}
  body.g3 .g3-band.ph-small{height:170px;max-width:560px;width:100%;margin-left:auto;margin-right:auto}
  body.g3 .g3-divider{padding:14px 40px}
  body.g3 .g3-tile .ic{width:84px;height:84px;border-radius:22px}
  body.g3 .g3-tile .ic svg{width:46px;height:46px}
  body.g3 .g3-tile span{font-size:14px}
  body.g3 .g3-live{padding:24px 28px 22px}
  body.g3 .g3-live h2{font-size:1.65rem}
  body.g3 .g3-qc{padding:16px}
  body.g3 .g3-op{font-size:14.5px;padding:10px 14px}
  body.g3 .g3-stem{font-size:15.5px}
  body.g3 .g3-go{max-width:420px;margin-left:auto;margin-right:auto}
  body.g3 .g3-sc{margin:6px 20px 0}
}
@media (max-width:640px){
  body.g3 .wrap{padding:1rem 16px 3rem}
  body.g3 .g-sec{padding:18px 18px 16px;border-radius:20px}
  body.g3 .g-sec h2{font-size:1.3rem}
}

@media (prefers-reduced-motion: reduce){
  body.g3 .g3-hero-bg img,body.g3 .g3-hero-txt > *,body.g3 .g3-obj,body.g3 .g3-sc .pin.idle i,body.g3 .g3-door.open .g3-go,body.g3 .g3-op.ok{animation:none!important}
  body.g3 [data-tilt]{transform:none!important}
  body.g3 .g3-band-ph,body.g3 [data-par]{translate:none!important}
  body.g3 .g3-draw *{transition:none!important;stroke-dashoffset:0!important}
  body.g3 .g3-stairs .lb,body.g3 .g3-stairs .flag{transition:none!important;opacity:1!important}
  body.g3 .g3-stairs .flag{transform:translate(-50%,-100%)!important}
  body.g3 .g3-door{transition:none}
  body.g3 .g3-pre .g3-tile-in{opacity:1}
}
body.g3 .g3-live h2{display:block}

/* 8.10.2026 (אודיט): קישורי התחתית היו בגובה 17px — קשה ללחוץ בטלפון. עכשיו "צ'יפ" בגובה 40px לפחות. */
body .foot{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body .foot > a{display:inline-flex;align-items:center;min-height:40px;margin:0;padding:6px 12px;border-radius:999px;
  background:#fff;border:1px solid var(--border,#DFE4EE);font-size:.88rem;font-weight:700;text-decoration:none}
body .foot > a:hover{border-color:#2446C9}
body .foot > p{flex-basis:100%}
