/*
 * group.css — קבוצת הקורס (הדמיה V17, אושרה 29/10/2026).
 * הצבעים מהסקין (--c-*), כך שבהיר וכהה ופלטה של קורס מגיעים לבד. מחוץ ל"שלושה טורים": הצבעים של האתר.
 */
:root { --g-heart: #ff7a9a; }
html[data-mode="light"] { --g-heart: #e0476f; }
/*
 * הצבעים של הקבוצה במצב כהה הם בדיוק אלה של הדמיה V17 (אייל, 29.10: "בוא תנסה לעשות את הצבעים כמו שעשית בהדמיה"):
 * כרטיסים כהים ושקטים, בלי גוון של הרקע. במצב בהיר: הצבעים של הסקין.
 */
html:not([data-mode="light"]) {
  --g-card: rgba(255,255,255,.055); --g-ring: rgba(255,255,255,.12); --g-chip: rgba(255,255,255,.08); --g-tx2: #dcd8f0;
  --g-ok: #3fe3d0; --g-acc: #f2c14e; --g-side: rgba(255,255,255,.045);
}
html[data-mode="light"] {
  --g-card: var(--c-main); --g-ring: var(--c-ring); --g-chip: var(--c-chip); --g-tx2: var(--c-tx2); --g-ok: var(--c-ok); --g-acc: var(--c-acc); --g-side: var(--c-main);
}
html:not([data-skin="columns"]) {
  --c-bg: var(--night); --c-tx: var(--ink); --c-tx2: var(--mut); --c-ring: var(--edge); --c-acc: var(--gold); --c-ok: var(--teal);
  --c-chip: rgba(255,255,255,.08); --c-panel: var(--glass); --c-main: var(--glass); --c-okfg: var(--night);
}
.toast { z-index: 90; }
svg.gi { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===================== רכיבים ===================== */
.gav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; color: #fff; object-fit: cover; background: var(--g-chip); }
.gav.sm { width: 30px; height: 30px; font-size: 12.5px; }
.gav.ey { background: linear-gradient(135deg, #f6d27a, #c8901c); color: #2a1d02; }
.gstack { display: flex; flex-direction: row-reverse; flex: none; }
.gstack .gav { width: 28px; height: 28px; font-size: 12px; margin-inline-start: -8px; border: 2px solid var(--c-bg); }
.gnm { font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gtag { font-size: 10.5px; font-weight: 800; background: var(--g-acc); color: #2a1d02; border-radius: 6px; padding: 1px 6px; }
html[data-mode="light"] .gtag { color: #fff; }
.gmeta { font-size: 12px; color: var(--g-tx2); margin-top: 2px; }
.gload, .gempty { padding: 26px 16px; text-align: center; color: var(--g-tx2); font-size: 14px; }
.gcirc { width: 40px; height: 40px; border-radius: 50%; background: var(--g-chip); display: grid; place-items: center; color: var(--c-tx); flex: none; position: relative; }

/* ראש הקבוצה */
.ghead { padding: 14px 4px 6px; display: flex; align-items: center; gap: 12px; }
.ghead .t { flex: 1; min-width: 0; }
.ghead h2 { font-size: 19px; margin: 0; font-weight: 800; }
.ghead .s { font-size: 12.5px; color: var(--g-tx2); margin-top: 3px; line-height: 1.45; }
.gfeed { display: flex; flex-direction: column; gap: 12px; padding: 10px 0 18px; }

/* תיבת הכתיבה בראש הפיד */
.gcompose { background: var(--g-card); border: 1px solid var(--g-ring); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
html[data-mode="light"] .gcompose, html[data-mode="light"] .gpost { background: var(--c-main); }
.gcompose .row { display: flex; gap: 10px; align-items: center; }
.gcompose .gme { border-radius: 50%; }
.gfake { flex: 1; border-radius: 999px; background: var(--g-chip); padding: 10px 14px; color: var(--g-tx2); font-size: 14px; text-align: start; }
.gcompose .acts { display: flex; gap: 6px; border-top: 1px solid var(--g-ring); padding-top: 9px; }
.gcompose .acts button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--g-tx2); padding: 4px 0; border-radius: 8px; }
.gcompose .acts button:hover { background: var(--g-chip); }
.gcompose .acts .ph { color: var(--g-ok); }
.gcompose .acts .vd { color: var(--g-heart); }
.gavhint { font-size: 12.5px; color: var(--g-tx2); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }

/* סינון */
.gchips { display: flex; gap: 6px; flex-wrap: wrap; }
.gchips button { font-size: 13px; padding: 6px 13px; border-radius: 999px; background: var(--g-chip); color: var(--g-tx2); border: 1px solid transparent; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gchips button.on { background: color-mix(in srgb, var(--g-ok) 14%, transparent); color: var(--g-ok); border-color: color-mix(in srgb, var(--g-ok) 35%, transparent); font-weight: 700; }

/* פוסט */
.gpost { background: var(--g-card); border: 1px solid var(--g-ring); border-radius: 16px; padding: 14px 14px 4px; }
.gpost.pin { border-color: color-mix(in srgb, var(--g-acc) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--g-acc) 7%, transparent), rgba(255,255,255,.04)); }
html[data-mode="light"] .gpost.pin { background: linear-gradient(180deg, color-mix(in srgb, var(--g-acc) 7%, transparent), var(--c-main)); }
.gpost.hid { opacity: .62; }
.gpinl { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--g-acc); font-weight: 700; margin-bottom: 8px; }
.gpinl.hid { color: var(--g-tx2); }
.gpinl svg { width: 14px; height: 14px; }
.gph { display: flex; gap: 10px; align-items: center; }
.gw { flex: 1; min-width: 0; }
.gmore { color: var(--g-tx2); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.gmore:hover { background: var(--g-chip); }
.gltag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; margin-top: 10px; font-size: 12px; color: var(--g-ok); background: color-mix(in srgb, var(--g-ok) 14%, transparent); border-radius: 8px; padding: 4px 9px; max-width: 100%; }
.gltag svg { width: 14px; height: 14px; }
.gltag b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.gtx { white-space: pre-line; font-size: 14.5px; line-height: 1.65; margin: 10px 0; overflow-wrap: anywhere; }
.gtx[data-open] { cursor: pointer; }
.gtx.clip { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.gtx a, .gct a { color: var(--g-ok); text-decoration: underline; text-underline-offset: 2px; }
.gimgs { display: grid; gap: 4px; border-radius: 12px; overflow: hidden; margin: 0 -2px 10px; }
.gimgs.n2, .gimgs.n4 { grid-template-columns: 1fr 1fr; }
.gimgs.n3 { grid-template-columns: 1fr 1fr; }
.gimgs.n3 .gimg:first-child { grid-column: 1 / -1; }
.gimg { display: block; position: relative; padding: 0; background: var(--g-chip); }
.gimg img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.gimgs:not(.n1) .gimg img { aspect-ratio: 1; height: 100%; }
.gimgs.n3 .gimg:first-child img { aspect-ratio: 16 / 10; }
.gplus { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; font-size: 22px; font-weight: 800; }
.gvid { border-radius: 12px; overflow: hidden; margin: 0 -2px 10px; background: #000; }
.gvid video { display: block; width: 100%; max-height: 560px; }
.gcnt { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--g-tx2); padding: 2px 2px 8px; min-height: 26px; }
.gcnt button { color: var(--g-tx2); font-size: 12.5px; }
.ghh { display: flex; align-items: center; gap: 5px; }
.ghb { width: 18px; height: 18px; border-radius: 50%; background: var(--g-heart); display: grid; place-items: center; }
.ghb svg { width: 11px; height: 11px; fill: #2a0710; stroke: none; }
.gacts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--g-ring); }
.gacts button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 0; font-size: 13.5px; color: var(--g-tx2); font-weight: 500; border-radius: 8px; }
.gacts button:hover { background: var(--g-chip); }
.gacts button.on { color: var(--g-heart); }
.gacts button.on svg { fill: var(--g-heart); stroke: var(--g-heart); }

/* תגובות */
.gcms { border-top: 1px solid var(--g-ring); padding: 10px 0; display: flex; flex-direction: column; gap: 9px; }
.gcm { display: flex; gap: 8px; align-items: flex-start; }
.gcm.rp { margin-inline-start: 38px; }
.gcw { min-width: 0; }
.gb { background: var(--g-chip); border-radius: 14px; padding: 7px 11px; font-size: 13.5px; line-height: 1.5; min-width: 0; }
.gb .gnm { font-size: 13px; }
/* התגובה שההתראה הובילה אליה, מודגשת לרגע */
.gcm.gflash .gb { box-shadow: 0 0 0 2px var(--g-acc, #f2c14e); transition: box-shadow .3s; }
.gct { white-space: pre-line; overflow-wrap: anywhere; }
.gft { font-size: 11.5px; color: var(--g-tx2); padding: 3px 11px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.gft button { color: var(--g-tx2); font-weight: 700; font-size: 11.5px; }
.gft button.on { color: var(--g-heart); }
.gshow { font-size: 13px; color: var(--g-tx2); font-weight: 700; align-self: flex-start; }
.gcin { display: flex; gap: 8px; align-items: center; width: 100%; }
.gcin .gcph { flex: 1; border-radius: 999px; background: var(--g-chip); padding: 8px 13px; color: var(--g-tx2); font-size: 13px; text-align: start; }
.gmorebtn { align-self: center; font-size: 14px; font-weight: 700; color: var(--c-tx); background: var(--g-chip); border-radius: 999px; padding: 9px 20px; }
.gempty { background: var(--g-card); border: 1px solid var(--g-ring); border-radius: 16px; }

/* פוסט פתוח במחשב: בטור האמצעי, עם שורת התגובה בסוף */
.gbackbtn { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--g-tx2); align-self: flex-start; }
.gbackbtn svg { width: 16px; height: 16px; }
.gdbar { background: var(--g-card); border: 1px solid var(--g-ring); border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.grp { font-size: 12px; color: var(--g-tx2); }
.grp b { color: var(--g-ok); }
.grp button { color: var(--g-tx2); text-decoration: underline; font-size: 12px; }
.gcrow { display: flex; gap: 8px; align-items: flex-end; }
.gcrow textarea { flex: 1; resize: none; border: 0; border-radius: 20px; background: var(--g-chip); padding: 10px 14px; font: inherit; font-size: 14px; line-height: 1.45; color: var(--c-tx); min-height: 40px; max-height: 140px; }
.gcrow textarea:focus { outline: 1.5px solid var(--g-acc); }
.gcrow textarea::placeholder { color: var(--g-tx2); }
.gsend { width: 40px; height: 40px; border-radius: 50%; background: var(--g-ok); display: grid; place-items: center; color: var(--c-okfg, #062420); flex: none; }
.gsend:disabled { opacity: .5; }

/* ===================== עמוד מלא (טלפון), וחלון (מחשב) ===================== */
html.gpage-open { overflow: hidden; }
.gpage { position: fixed; inset: 0; z-index: 70; background: var(--c-bg); color: var(--c-tx); display: flex; flex-direction: column; }
html[data-skin="columns"]:not([data-mode="light"]) .gpage:not(.modal) { background: color-mix(in srgb, var(--c-bg) 96%, var(--c-tx)); }
.gpbox { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.gptop { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; border-bottom: 1px solid var(--g-ring); flex: none; }
.gpt { flex: 1; font-size: 16px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gpbody { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.gpfoot { flex: none; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--g-ring); display: flex; flex-direction: column; gap: 6px; background: var(--c-bg); }
.gthread { padding: 12px; }
.gthread .gpost { padding-bottom: 6px; }
.gpad { padding: 8px 14px 20px; }
.gpost-btn { background: var(--g-acc); color: #2a1d02; border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 14px; }
html[data-mode="light"] .gpost-btn { color: #fff; }
.gpost-btn:disabled { opacity: .45; cursor: default; }
/* במחשב: חלון במרכז */
.gpage.modal { background: rgba(5,4,12,.62); align-items: center; justify-content: center; padding: 24px; }
.gpage.modal > .gpbox { flex: none; width: 100%; max-width: 560px; max-height: min(86vh, 760px); background: var(--c-bg); border: 1px solid var(--g-ring); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
html[data-mode="light"] .gpage.modal > .gpbox { background: var(--c-main, #fff); }
.gpage.modal .gptop { padding-top: 12px; }

/* כתיבת פוסט */
.gcmpb { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.gfrom { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--g-ok); background: color-mix(in srgb, var(--g-ok) 14%, transparent); border-radius: 10px; padding: 8px 11px; }
.gfrom[hidden] { display: none; }
.gfrom svg { width: 16px; height: 16px; }
.gfrom span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfrom .gx { color: var(--g-tx2); display: grid; place-items: center; }
.gta { width: 100%; min-height: 150px; resize: none; border: 0; background: none; color: var(--c-tx); font: inherit; font-size: 15.5px; line-height: 1.75; padding: 0; }
.gta:focus { outline: none; }
/* מקלדת פתוחה בטלפון: השדה ממלא את מה שנשאר, והכלים וכפתור הפרסום תמיד נראים מעל המקלדת. בלי שורת ההסבר ובלי משבצת "הוספה" ריקה */
.gpage.kb .gpbody { display: flex; flex-direction: column; }
.gpage.kb .gcmpb { flex: 1; min-height: 0; padding-bottom: 10px; }
.gpage.kb .gta { flex: 1; min-height: 48px; height: auto !important; overflow-y: auto; }
.gpage.kb .gpriv { display: none; }
.gpage.kb .gatt:not(:has(.gth)) { display: none; }
.gta::placeholder { color: var(--g-tx2); }
.gatt { display: flex; gap: 10px; flex-wrap: wrap; }
.gth { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; position: relative; background: var(--g-chip); }
.gth img, .gth video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gxx { position: absolute; top: 5px; left: 5px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; display: grid; place-items: center; }
.gxx svg { width: 14px; height: 14px; }
.gpct { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 800; font-size: 15px; }
.gdu { position: absolute; bottom: 5px; right: 6px; font-size: 11px; background: rgba(0,0,0,.6); color: #fff; padding: 1px 6px; border-radius: 5px; }
.gaddt { width: 96px; height: 96px; border-radius: 12px; border: 1.5px dashed var(--g-ring); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--g-tx2); font-size: 12px; }
.gtool { display: flex; gap: 8px; border-top: 1px solid var(--g-ring); padding-top: 12px; }
/* "פרסום" בשורה התחתונה בקצה השמאלי, ליד "תמונה" ו"סרטון" (אייל, 29.10: "שים את הכפתור פרסום פה למטה") */
.gtool { align-items: center; }
.gtool .gpost-btn { margin-inline-start: auto; background: var(--g-acc); color: #2a1d02; padding: 9px 22px; font-weight: 800; font-size: 14px; }
html[data-mode="light"] .gtool .gpost-btn { color: #fff; }
.gtool button { display: flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 8px 12px; border-radius: 999px; background: var(--g-chip); color: var(--c-tx); }
.gpriv { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--g-tx2); }
.gpriv svg { width: 15px; height: 15px; }

/* התראות */
.gnts { display: flex; flex-direction: column; }
.gnt { display: flex; gap: 9px; padding: 9px 0; border-top: 1px solid var(--g-ring); font-size: 13px; line-height: 1.5; align-items: flex-start; text-align: start; width: 100%; position: relative; color: var(--c-tx); }
.gnt:first-child { border-top: 0; }
.gnt span { min-width: 0; }
.gnt small { display: block; color: var(--g-tx2); font-size: 11.5px; }
.gnt.new::before { content: ""; position: absolute; inset-inline-start: -9px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--g-ok); }
.gpad .gnt.new::before { inset-inline-start: -10px; }
.gnone { margin: 0; font-size: 13px; color: var(--g-tx2); line-height: 1.5; }

/* תפריט, דיווח ותמונה בגדול */
.gmenu { position: fixed; z-index: 85; min-width: 200px; max-width: min(320px, calc(100vw - 16px)); max-height: 60vh; overflow-y: auto; background: var(--c-bg); border: 1px solid var(--g-ring); border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.4); display: flex; flex-direction: column; }
html[data-mode="light"] .gmenu { background: var(--c-main, #fff); }
.gmenu button { text-align: start; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--c-tx); display: flex; justify-content: space-between; gap: 10px; }
.gmenu button:hover, .gmenu button:focus-visible { background: var(--g-chip); outline: none; }
.gmenu button small { color: var(--g-tx2); }
.gmenu .danger { color: var(--g-heart); }
.gsmall { flex: none !important; max-width: 380px !important; padding: 20px; gap: 8px; }
.gsmall h3 { margin: 0; font-size: 18px; }
.gsmall p { margin: 0 0 6px; font-size: 13.5px; color: var(--g-tx2); line-height: 1.5; }
.gopt { padding: 12px 14px; border-radius: 12px; background: var(--g-chip); font-size: 14.5px; font-weight: 600; text-align: start; }
.glink { align-self: center; margin-top: 6px; font-size: 13.5px; color: var(--g-tx2); text-decoration: underline; }
.glb { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 16px; }
.glb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.glb .gcirc { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; background: rgba(255,255,255,.14); color: #fff; }

/* "שתף בקבוצה" במשימה */
.gshare { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; background: var(--g-ok); color: var(--c-okfg, #062420); border-radius: 12px; padding: 12px; font-weight: 800; font-size: 15px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--g-ok) 18%, transparent); }
.gshare[hidden] { display: none; }
.gshare svg { width: 19px; height: 19px; }

/* ===================== שלושה טורים ===================== */
/* "השיעור" ו"הקבוצה" בראש הטור האמצעי, במחשב */
.mtabs { display: none; }
html[data-skin="columns"] .mtabs { display: flex; gap: 6px; padding: 0 0 14px; margin: -8px 0 16px; border-bottom: 1px solid var(--g-ring); justify-content: center; }
.mtabs button { padding: 8px 18px; border-radius: 999px; font-size: 14px; color: var(--g-tx2); display: flex; align-items: center; gap: 7px; }
.mtabs button svg { width: 18px; height: 18px; }
.mtabs button.on { background: var(--c-tx); color: var(--c-bg); font-weight: 700; }
.mtabs .nb { background: var(--g-heart); color: #2a0710; font-size: 11px; font-weight: 800; border-radius: 9px; padding: 1px 7px; }
.mtabs .nb[hidden] { display: none; }
html[data-skin="columns"] .gmain { max-width: 640px; margin: 0 auto; }
html[data-skin="columns"] .gmain .ghead { padding-top: 0; }
/* הטור השמאלי בזמן הקבוצה: הקבוצה, התראות וכללים */
.ccard.gbox { background: var(--g-side); border-color: var(--g-ring); border-radius: 18px; }
.gbox h4 { margin: 0 0 10px; font-size: 14px; }
.gmem { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--g-tx2); }
.grules { margin: 0; padding-inline-start: 18px; font-size: 13px; color: var(--g-tx2); line-height: 1.8; }
.gbox .gnts { margin-inline-start: 6px; }
/* פעמון בפס העליון ועיגולים */
.gbell { display: none; }
.gdot { position: absolute; min-width: 17px; height: 17px; border-radius: 9px; background: var(--g-heart); color: #2a0710; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; line-height: 1; }
.gdot[hidden] { display: none; }
/* תמונת פרופיל ב"המסע שלי" */
.cavb { border-radius: 50%; flex: none; padding: 0; }
.cavb img.av { object-fit: cover; }

@media (max-width: 980px) {
  html[data-skin="columns"] .mtabs { display: none; }
  html[data-skin="columns"] .app[data-tab="group"] .pan { display: block; border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0 16px 16px; }
  html[data-skin="columns"] .app[data-tab="group"] .cphb { margin-bottom: 0; }
  /* בין הבאנר לכותרת הקבוצה 14px, כמו בהדמיה V17 */
  html[data-skin="columns"] .app[data-tab="group"] .gmain .ghead { padding-top: 14px; }
  html[data-skin="columns"] .ctabs.g4 { grid-template-columns: repeat(4, 1fr); }
  .ctabs button { position: relative; }
  .ctabs .gdot { top: 5px; left: calc(50% - 22px); }
  html[data-skin="columns"] .ctop .gbell { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--g-chip); position: relative; margin-inline-start: auto; flex: none; color: var(--c-tx); }
  html[data-skin="columns"] .ctop .gbell svg { width: 20px; height: 20px; }
  .ctop .gbell .gdot { top: -2px; left: -2px; }
  html[data-skin="columns"] .ctop .ct { flex: 1; }
  .gfeed { padding-top: 8px; }
}

/* מנטורים בקורס (V22, אושרה 01/11/2026): תג "מנטור" בטורקיז, המסנן "התלמידים שלי", ופוסט של תלמיד של המנטור */
.gtag.mt { background: var(--g-ok); color: #062420; }
html[data-mode="light"] .gtag.mt { color: #062420; }
.gpinl.mt { color: var(--g-ok); }
.gpost.mentee { border-color: color-mix(in srgb, var(--g-ok) 55%, transparent); }

/* חיתוך תמונת הפרופיל לעיגול (01/11/2026) */
.gcrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(8,6,20,.82); direction: rtl; }
.gcb { width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px 18px; border-radius: 22px; background: var(--c-drawer, #1d1736); border: 1px solid var(--g-ring, rgba(255,255,255,.12)); color: var(--c-tx, #f1effa); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.gcq { margin: 0; font-size: 17px; font-weight: 700; text-align: center; }
.gcs { position: relative; width: min(340px, 100%); aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: #000; touch-action: none; cursor: grab; user-select: none; }
.gcs:active { cursor: grabbing; }
.gcs img { position: absolute; max-width: none; pointer-events: none; }
.gcmask { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent calc(var(--d) / 2), rgba(8,6,20,.62) calc(var(--d) / 2 + 1px)); }
.gcmask::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--d); height: var(--d); transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.gcz { display: flex; align-items: center; gap: 10px; width: min(300px, 100%); font-size: 20px; color: var(--g-tx2); }
.gcz input { flex: 1; accent-color: var(--g-acc, #f2c14e); }
.gcf { display: flex; gap: 10px; align-items: center; }
.gcok { padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: 16px; color: #2a1d02; text-align: center;
  background: linear-gradient(180deg, #F7E3A6 0%, #E9C46A 52%, #D2A64C 100%); box-shadow: inset 0 -5px 10px rgba(110,72,18,.22), 0 14px 34px -12px rgba(233,196,106,.55); }
.gcx { padding: 12px 16px; font-size: 15px; color: var(--g-tx2); }

/* סרטון בכיווץ ("הסרטון בדרך") וסרטון שלא עלה, ופס ההעלאה בחלון הפוסט (01/11/2026) */
.gvid.gwait, .gvid.gfail { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 150px; padding: 22px; background: var(--g-chip); color: var(--c-tx, #f1effa); text-align: start; }
.gvid.gwait b, .gvid.gfail b { display: block; color: var(--c-tx, #f1effa); font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.gvid.gwait span:last-child, .gvid.gfail span { font-size: 14px; color: var(--g-tx2); }
.gvid.gfail svg { width: 28px; height: 28px; opacity: .6; flex: none; }
.gspin { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--g-acc); animation: gspin 0.9s linear infinite; }
@keyframes gspin { to { transform: rotate(360deg); } }
.gbar { position: absolute; inset-inline-start: 0; bottom: 0; height: 4px; background: var(--g-acc); transition: width .3s; }

/* בטלפון התגובה בגופן 16 (נגד הזום של אייפון): ריפוד קטן יותר, כדי שהשדה יישאר בגובה 40 */
@media (max-width: 980px) { .gcrow textarea { padding: 8.5px 14px; } }

/* העיגול ליד "הקבוצה" (אייל, 01/11): ורוד האתר, מספר לבן מודגש, 20 לפחות, ומספר דו-ספרתי נמתח לגלולה. אותו מראה בטלפון, בטור האמצעי ובסרגל */
/* חזק מהעיגולים של הסקין (צבע הטורקיז בלשוניות ובסרגל), כדי שייראה אותו דבר בכל מקום */
html .gnum.gnum.gnum { direction: ltr; unicode-bidi: isolate; min-width: 22px; height: 22px; padding: 0; border-radius: 11px; background: var(--pink, #FF4F8F); color: #fff; font-size: 13px; font-weight: 800; line-height: 1; display: inline-grid; place-items: center; box-shadow: 0 2px 8px rgba(255, 79, 143, .45); font-style: normal; }
html .gnum.gnum.gnum[hidden] { display: none; }
.mtabs .gnum { margin-inline-start: -1px; } /* הכפתור כבר מרווח 7, כך שהמרווח מהמילה הוא 6 */

/* בטלפון (01/11): 19 עם מסגרת 2 בצבע סרגל הלשוניות, בפינה השמאלית העליונה של האייקון. "9+" נשאר "9+" ולא מתהפך */
@media (max-width: 980px) {
  html .ctabs .gnum.gnum.gnum { box-sizing: content-box; top: 3px; left: calc(50% - 31px); min-width: 19px; height: 19px; padding: 0; border-radius: 12px; font-size: 11px; border: 2px solid var(--c-bg); }
  html[data-skin="columns"]:not([data-mode="light"]) .ctabs .gnum.gnum.gnum { border-color: color-mix(in srgb, var(--c-bg) 94%, var(--c-tx)); }
}

/* במחשב (אייל, 01/11: "עיגול ההתראות במחשב צריך להיראות כמו בטלפון"): 19 עם מסגרת 2 בצבע הרקע, בפינה השמאלית העליונה של האייקון */
@media (min-width: 981px) {
  .mtabs .gic { position: relative; display: inline-flex; }
  /* העיגול בולט שמאלה מהאייקון: המילה זזה כדי שלא יכסה אותה */
  .mtabs .gic:has(.gnum:not([hidden])) { margin-inline-end: 16px; }
  html .mtabs .gnum.gnum.gnum, html .rail .gnum.gnum.gnum { box-sizing: content-box; min-width: 19px; height: 19px; padding: 0; border-radius: 12px; font-size: 11px; border: 2px solid var(--gnum-ring, var(--c-bg)); }
  html .mtabs .gnum.gnum.gnum { position: absolute; top: -10px; left: -20px; margin: 0; }
}

/* המצב הבהיר בצבעים של הקורס עצמו (הדמיה בהירה, 03/11/2026): פוסטים ותיבת הכתיבה לבנים עם צל רך */
html[data-skin="columns"][data-mode="light"][data-pal="auto"] .gpost,
html[data-skin="columns"][data-mode="light"][data-pal="auto"] .gcompose { background: #fff; box-shadow: var(--sh); border-color: rgba(30,21,56,.07); }

/* בנק ההצלחות (10/11/2026): פוסט של הצלחה מסומן בזהב, והדרגה ליד השם */
.gltag.gwin { color: #D9B97A; background: rgba(217,185,122,.14); }
html[data-mode="light"] .gltag.gwin { color: #8C6A2E; background: rgba(188,149,78,.14); }
.gtag.glv { background: linear-gradient(150deg, #F7E8C2 0%, #DFC385 35%, #BC954E 80%); color: #1C0A3D; }
html[data-mode="light"] .gtag.glv { color: #2a1a05; }
