/* «עשיר»: חמשת הרעיונות שאחיה בחר ב-20.11.26, ופחות טקסט קטן. הכול תלוי ב-html.rich (rich.js),
   ובניגודיות גבוהה (a11y-contrast) העמוד חוזר להיות כמו שהיה */

/* ── נייר אמיתי: גרגר עדין של נייר מתחת לכל העמוד */
html.rich:not(.a11y-contrast) body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .36  0 0 0 0 .26  0 0 0 .11 0'/%3E%3C/filter%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .05' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .44  0 0 0 0 .3  0 0 0 .07 -.01'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23f%29'/%3E%3C/svg%3E");
  background-size: 320px 320px;
}

/* ── 1. אור של השעה */
html.rich:not(.a11y-contrast) .sky-host { position: relative; overflow: hidden; isolation: isolate; background: var(--sky-bot) !important; }
.sky-host > :not(.sky, .sky-chip) { position: relative; z-index: 2; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sky-fill, .sky-glow { position: absolute; inset: 0; }
.sky-stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.sky-stars circle { fill: #fff6cf; opacity: var(--o); animation: sky-tw 4.6s ease-in-out var(--d) infinite; }
@keyframes sky-tw { 50% { opacity: calc(var(--o) * 0.3); } }
.sky-sun { position: absolute; width: clamp(110px, 26vw, 220px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 254, 244, 0.95) 0 30%, rgba(255, 253, 236, 0.5) 42%, rgba(255, 252, 230, 0) 70%); }
.sky-moon { position: absolute; width: clamp(46px, 10vw, 72px); aspect-ratio: 1; translate: -50% -50%; filter: drop-shadow(0 0 22px rgba(255, 226, 90, 0.5)); }
.sky-moon i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset clamp(-16px, -3.2vw, -11px) clamp(-8px, -1.6vw, -5px) 0 0 #ffe81a; rotate: 12deg; }
.sky-town { position: absolute; inset: auto 0 0; width: 100%; height: var(--town-h, clamp(64px, 15vw, 128px)); }
.sky-wins-day .w { fill: rgba(27, 26, 23, 0.07); }
.sky-wins-night { opacity: var(--n, 0); }
.sky-wins-night .dim { fill: #ffe9a8; opacity: 0.28; }
.sky-wins-night .lit { fill: #ffe81a; }
.sky-wins-night .halo { fill: rgba(255, 232, 26, 0.16); filter: blur(5px); animation: sky-halo 5s ease-in-out infinite; }
@keyframes sky-halo { 50% { opacity: 0.55; } }

/* פתיח על נייר: הגגות בתחתית, והתוכן נגמר מעליהם */
html.rich:not(.a11y-contrast) .sky-host:not(.hub-head) { --town-h: clamp(44px, 9vw, 84px); padding-bottom: calc(var(--town-h) + clamp(18px, 2.6vw, 30px)); border-bottom: 0; }

/* השעה: «עכשיו 21:40», בפינה, על הגגות */
.sky-chip { position: absolute; z-index: 3; bottom: 8px; inset-inline-start: max(var(--gutter), calc((100% - var(--wrap)) / 2)); display: flex; align-items: center; gap: 8px;
  padding: 4px 12px 5px; border-radius: 999px; background: rgba(255, 253, 247, 0.66); color: #1b1a17; font: 16px/1.2 var(--f-ui); }
.hub-head .sky-chip { inset-inline-start: 16px; }
.sky-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(27, 26, 23, 0.18), 0 0 10px rgba(255, 255, 255, 0.9); }
.sky-chip.is-night { background: rgba(255, 255, 255, 0.1); color: #f4efe0; }
.sky-chip.is-night .sky-chip-dot { background: transparent; box-shadow: inset -3px -1px 0 0 #ffe81a; }
html.a11y-contrast :is(.sky, .sky-chip) { display: none; }

/* כשמחשיך כל הטקסט שעל השמיים מתהפך לשמנת, וגם הכותרת העליונה כל עוד הפתיח במסך.
   מה שיש לו רקע משלו (כפתור, תווית, כרטיס, קוד: sky-isle מ-rich.js) נשאר בצבעי היום, כי הטקסט שלו יושב על הרקע שלו */
html.rich:not(.a11y-contrast) .sky-host.is-dark,
html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead {
  --ink: #fbf6e8; --ink-2: #efe7d2; --ink-soft: #d9d0bb; --line-strong: rgba(251, 246, 232, 0.5); --hair: rgba(251, 246, 232, 0.22); color: var(--ink);
}
html.rich:not(.a11y-contrast) .sky-host.is-dark :is(.sky-isle, .btn),
html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead :is(.sky-isle, .btn) {
  --ink: #1b1a17; --ink-2: #2b2925; --ink-soft: #57534a; --line-strong: rgba(27, 26, 23, 0.32); --hair: rgba(27, 26, 23, 0.14);
}
/* בלי משקל, כדי שצבע שהרכיב קובע לעצמו (מרקר צהוב על דיו) יישאר שלו */
:where(html.rich:not(.a11y-contrast) .sky-host.is-dark :is(.sky-isle, .btn), html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead :is(.sky-isle, .btn)) { color: var(--ink); }
/* מרקר צהוב (mark) מתחת למילים בהירות לא נקרא: בלילה הצהוב ממלא את כל המילה והמילה בדיו */
html.rich:not(.a11y-contrast) .sky-host.is-dark mark:not(.sky-isle) { background: #ffe81a; color: #1b1a17; border-radius: 4px; }
/* דף הבית: הכותרת, המילה בדיו והכפתור, כמו בהדגמה */
html.rich:not(.a11y-contrast) .hub-head.is-dark .inkword { background: #ffe81a; color: #1b1a17; }
html.rich:not(.a11y-contrast) body .hub-head.is-dark .btn.hub-cta { background: #ffe81a; border-color: #ffe81a; color: #1b1a17; box-shadow: 0 10px 30px rgba(255, 232, 26, 0.22); }
html.rich:not(.a11y-contrast) .hub-head.is-dark .hub-keys a { border-color: rgba(255, 253, 247, 0.9); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
/* הכותרת העליונה מקבלת את צבע השמיים כל עוד הפתיח במסך */
html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead { background: var(--sky-top); border-bottom-color: rgba(255, 255, 255, 0.08); }
html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead .brand__by { color: #d8cfb9; }
html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead .brand__by b { color: #c8b6ef; }
/* «בשיחות» שליד הלוגו: בלילה הסימון הצהוב ממלא את כל המילה, כמו המילה המודגשת בפתיח */
html.rich.sky-dark.sky-top-in:not(.a11y-contrast) .masthead .fx-now { background: #ffe81a; color: #1b1a17; }

/* ── 2. חפצים אמיתיים */
/* דף הבית: הבמה של שלושת החפצים בתלת-ממד, מעל הכותרת */
.o3d { position: relative; width: min(100%, 640px); height: clamp(150px, 44vw, 188px); margin: -8px auto 2px; opacity: 0; transition: opacity 0.7s ease; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.o3d.is-on { opacity: 1; }
.o3d canvas { display: block; width: 100%; height: 100%; }
@media (min-width: 900px) { .o3d { height: 250px; margin-top: -24px; } }
html.a11y-contrast .o3d { display: none; }
/* שאר הפתיחים: החפץ מונח על הנייר עם צל, מרחף כשהוא נכנס למסך, ובעכבר נוטה לכיוון היד */
.obj-stage { position: relative; }
.obj-stage::after { content: ""; position: absolute; z-index: -1; inset-inline: 14%; bottom: calc(var(--obj-b, 0px) - 16px); height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(27, 26, 23, 0.2), rgba(27, 26, 23, 0)); pointer-events: none; }
.obj-stage.is-up > .obj { animation: obj-float 3.2s ease-in-out 0.2s 3; }
.obj-stage.is-up::after { animation: obj-shadow 3.2s ease-in-out 0.2s 3; }
@keyframes obj-float { 50% { translate: 0 -7px; } }
@keyframes obj-shadow { 50% { scale: 0.84; opacity: 0.65; } }
@media (hover: hover) and (pointer: fine) {
  .obj-stage { transform: perspective(900px) rotateX(calc(var(--ty, 0) * -4deg)) rotateY(calc(var(--tx, 0) * 6deg)); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
html.a11y-contrast .obj-stage::after { display: none; }

/* ── 3. עומק: הקיר האחורי, חיוור ודק מהאנשים שלפניו */
.dp-back { --dp-ink: #8b8475; --dp-fill: #ece5d2; --dp-sky: #dfeaf0; transition: transform 0.2s linear; }
.dp-back :is(.dp-ln, .dp-ticks line) { fill: none; stroke: var(--dp-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dp-back .dp-frame { stroke-width: 3; }
.dp-back .dp-skirt { stroke-width: 1.6; opacity: 0.7; }
.dp-back .dp-obj { fill: var(--dp-fill); stroke: var(--dp-ink); stroke-width: 2.2; stroke-linejoin: round; }
.dp-back .dp-face { fill: #fffdf7; }
.dp-back .dp-ticks line { stroke-width: 1.6; }
.dp-back .dp-hand { stroke: #1b1a17; stroke-linecap: round; }
.dp-back .dp-hh { stroke-width: 3; }
.dp-back .dp-mm { stroke-width: 2; }
.dp-back .dp-pin { fill: #ffe81a; stroke: #1b1a17; stroke-width: 1.2; }
.dp-back .dp-lid { fill: #ffe81a; stroke: var(--dp-ink); stroke-width: 1.2; }
.dp-back .dp-sill { fill: var(--dp-fill); stroke: var(--dp-ink); stroke-width: 2; }
.dp-back .dp-sky { fill: var(--dp-sky); }
.dp-back .dp-sun { fill: #fff4a8; stroke: #e0c84a; stroke-width: 1.4; }
.dp-back :is(.dp-moon, .dp-lit) { display: none; }
.dp-back .dp-far { fill: #cfc6b1; stroke: var(--dp-ink); stroke-width: 1.4; stroke-linejoin: round; }
.dp-back .dp-tree { fill: #c4cdb0; stroke: var(--dp-ink); stroke-width: 1.4; }
.dp-back .dp-bird { fill: none; stroke: var(--dp-ink); stroke-width: 1.3; stroke-linecap: round; }
.dp-back .dp-shaft { mix-blend-mode: multiply; }
.dp-back .dp-s0 { stop-color: #ffe81a; stop-opacity: 0.34; }
.dp-back .dp-s1 { stop-color: #ffe81a; stop-opacity: 0.06; }
/* בלילה החלון מראה רחוב ישן, והירח מאיר את החדר */
.dp-back.is-night .dp-sky { fill: #2a2a30; }
.dp-back.is-night :is(.dp-sun, .dp-bird) { display: none; }
.dp-back.is-night :is(.dp-moon, .dp-lit) { display: block; fill: #ffe81a; }
.dp-back.is-night .dp-far { fill: #1b1a17; stroke: #3a3833; }
.dp-back.is-night .dp-tree { fill: #24231f; stroke: #3a3833; }
.dp-back.is-night .dp-s0 { stop-color: #9fb6d6; stop-opacity: 0.3; }
.dp-back.is-night .dp-s1 { stop-color: #9fb6d6; stop-opacity: 0.05; }
/* מצטייר לפני האנשים, כמו שאר הציור. בלי תנועה הוא פשוט שם */
html.anim [data-sc] .dp-back :is(.dp-ln, .dp-frame) { stroke-dasharray: 1; animation: dp-draw 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
html.anim [data-sc] .dp-back > :not(.dp-ln, .dp-frame, defs) { animation: dp-in 0.5s ease 0.45s both; }
html.anim [data-sc] .dp-back > .dp-shaft { animation: dp-in 1.2s ease 1.2s both; }
@keyframes dp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dp-in { from { opacity: 0; } }
html.a11y-contrast .dp-back { display: none; }

/* ── 4. צבעי מים: צבע שנספג בתוך הדיו, אחרי שהקו מצויר */
.wc-scene { isolation: isolate; }
.wc-on .wash { mix-blend-mode: multiply; filter: url(#wc); opacity: 0.88; }
.wc-on .wc-under .wash { opacity: 0.55; }
.wc-on .wc-under .wet { opacity: 0.8; }
.wc-on .wc-night .wash { mix-blend-mode: screen; opacity: 0.42; }
.wc-on .wc-scene .wash { animation: wc-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.9s + var(--i, 0) * 0.14s) both; }
.wc-on .wc-scene .wc-under .wash { animation-delay: 1.5s; }
@keyframes wc-in { from { opacity: 0; } }
/* האייקונים המצוירים: כתם צבע מים מתחת לדיו */
.wc-on img.wc-ink { background: right 3px center / 46px 42px no-repeat; }
.wc-on img.wc-t0 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3CfeGaussianBlur stdDeviation='.9'/%3E%3C/filter%3E%3Cpath filter='url(%23w)' fill='%23f7d43a' fill-opacity='.5' d='M16 54C14 32 34 16 56 18C78 20 90 40 84 60C78 80 54 88 36 80C24 75 17 66 16 54Z'/%3E%3C/svg%3E"); }
.wc-on img.wc-t1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3CfeGaussianBlur stdDeviation='.9'/%3E%3C/filter%3E%3Cpath filter='url(%23w)' fill='%23b4cde2' fill-opacity='.55' d='M20 46C22 26 44 14 62 20C80 26 88 46 80 64C72 82 48 86 32 76C22 70 19 58 20 46Z'/%3E%3C/svg%3E"); }
.wc-on img.wc-t2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' seed='13'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3CfeGaussianBlur stdDeviation='.9'/%3E%3C/filter%3E%3Cpath filter='url(%23w)' fill='%23a9c99f' fill-opacity='.55' d='M14 56C12 36 30 20 52 20C76 20 88 38 86 58C84 78 60 86 40 82C26 79 15 68 14 56Z'/%3E%3C/svg%3E"); }
.wc-on img.wc-t3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' seed='21'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3CfeGaussianBlur stdDeviation='.9'/%3E%3C/filter%3E%3Cpath filter='url(%23w)' fill='%23e3957a' fill-opacity='.45' d='M18 50C18 30 38 16 58 20C78 24 88 42 82 62C76 80 52 86 34 78C24 73 18 62 18 50Z'/%3E%3C/svg%3E"); }
.wc-on img.wc-t4 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='3' seed='30'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3CfeGaussianBlur stdDeviation='.9'/%3E%3C/filter%3E%3Cpath filter='url(%23w)' fill='%23c3b7d2' fill-opacity='.55' d='M22 52C18 32 36 18 56 18C76 18 90 36 84 58C78 78 56 86 38 80C28 76 24 64 22 52Z'/%3E%3C/svg%3E"); }
html.a11y-contrast :is(.wash, .wc-under) { display: none; }
html.a11y-contrast img.wc-ink { background: none; }

/* ── 5. נסו בעצמכם: הטלפון שבציור מצלצל בלחיצה */
.scene.rt-scene { position: relative; cursor: pointer; container-type: inline-size; }
.rt { position: absolute; inset: 0; pointer-events: none; font-size: clamp(16px, 3.1cqi, 19px); }
.rt-pulse { position: absolute; left: calc(var(--rx, 52%) + var(--rw, 34%) * 0.49); top: calc(var(--ry, 16%) + var(--rh, 53%) * 0.34); width: calc(var(--rw, 34%) * 0.79); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 2px solid #ffe81a; box-shadow: 0 0 0 1.5px rgba(27, 26, 23, 0.55); opacity: 0; }
.rt.is-hint:not(.is-call) .rt-pulse { opacity: 1; animation: rt-pulse 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
@keyframes rt-pulse { 0% { opacity: 0; transform: scale(0.75); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
.rt-hint { position: absolute; top: max(8px, calc(var(--ry, 16%) - 2.6em)); left: 8px; padding: 0.3em 0.85em 0.35em; border: 0; border-radius: 999px; background: #ffe81a; color: #1b1a17;
  box-shadow: 0 0 0 1.5px #1b1a17, 0 6px 14px -6px rgba(27, 26, 23, 0.45); font: 1em/1.25 var(--f-ui); white-space: nowrap; cursor: pointer; pointer-events: auto;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), visibility 0s 0.35s; }
.rt-hint small { font-size: 1em; font-family: var(--f-body); }
.rt.is-hint:not(.is-call) .rt-hint { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rt-hint:focus-visible, .rt-btn:focus-visible { outline: 3px solid #1b1a17; outline-offset: 3px; }
/* «דוגמה» נשאר על הציור כל עוד השיחה מתנגנת */
.rt-tag { position: absolute; inset-inline-end: 3%; bottom: 4%; margin: 0; padding: 0.15em 0.7em 0.2em; border-radius: 999px; background: rgba(255, 253, 247, 0.92); color: #57534a;
  box-shadow: 0 0 0 1.5px rgba(27, 26, 23, 0.35); font: 1em/1.3 var(--f-body); opacity: 0; visibility: hidden; }
.rt.is-call:not(.is-done) .rt-tag { opacity: 1; visibility: visible; }
/* השיחה: עונים לי בדיו על נייר, המתקשרת בבועה מקווקוות */
.rt-say { position: absolute; margin: 0; right: calc(100% - var(--rx, 52%) - var(--rw, 34%) * 0.38); top: max(2%, calc(var(--ry, 16%) - 11.6%)); max-width: min(46%, calc(var(--rx, 52%) + var(--rw, 34%) * 0.38 - 3%));
  padding: 0.5em 0.8em 0.55em; font: 1em/1.35 var(--f-body); color: #1b1a17; opacity: 0; visibility: hidden; transform-origin: 100% 100%; }
.rt-say.on { opacity: 1; visibility: visible; animation: rt-pop 0.42s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes rt-pop { from { opacity: 0; transform: scale(0.55); } }
.rt-bot { background: #fffdf7; border: 2px solid #1b1a17; border-radius: 19px 19px 4px 19px; box-shadow: 0 8px 18px -10px rgba(27, 26, 23, 0.45); }
.rt-them { background: rgba(255, 253, 247, 0.96); border: 2px dashed #57534a; border-radius: 19px 19px 4px 19px; color: #2b2925; }
.rt-say::after { content: ""; position: absolute; right: -2px; bottom: -11px; width: 14px; height: 12px; background: #1b1a17; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rt-them::after { background: #57534a; }
/* הסיכום מגיע כמו ההתראה בטלפון של בעל העסק */
.rt-note { position: absolute; left: 3%; right: 3%; top: 4%; padding: 0.65em 0.9em 0.75em; background: #fffdf7; color: #1b1a17; border: 2px solid #1b1a17; border-radius: 19px 6px 19px 6px;
  box-shadow: 0 16px 30px -14px rgba(27, 26, 23, 0.5); opacity: 0; visibility: hidden; transform: translateY(-40%); }
.rt.is-done .rt-note { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: transform 0.55s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.25s ease; }
.rt-note__top { display: flex; align-items: center; gap: 0.45em; font: 1em/1.25 var(--f-ui); color: #57534a; }
.rt-dot { flex: none; width: 0.75em; height: 0.75em; border-radius: 50%; background: #ffe81a; box-shadow: 0 0 0 1.5px #1b1a17; }
.rt-note__text { margin: 0.3em 0 0.55em; font: 1em/1.4 var(--f-body); }
.rt-note__text b { font-family: var(--f-ui); font-weight: 400; }
.rt-note__acts { display: flex; flex-wrap: wrap; gap: 0.5em; }
.rt-btn { min-height: 44px; padding: 0.4em 1em; border: 2px solid #1b1a17; border-radius: 999px; background: #fffdf7; color: #1b1a17; font: 1em/1.1 var(--f-ui); cursor: pointer; }
.rt-listen { background: #ffe81a; border-radius: var(--leaf-sm); }
/* בעמוד הקיר הציור רחב, והטלפון בקצה שלו. בטלפון ההתראה ברוחב מלא, כדי שהמילים לא יידחסו */
@media (min-width: 700px) { .wall .rt-note { left: 30%; right: 1%; } }

/* ── פחות טקסט קטן */
/* «עודכן…» שבפתיח מתקפל בטלפון: הכותרת היא המילים הראשונות שלו, והשאר באותן מילים בלחיצה */
.meta-fold > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; list-style: none; }
.meta-fold > summary::-webkit-details-marker { display: none; }
.meta-fold > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; }
.meta-fold[open] > summary::after { rotate: -135deg; translate: 0 2px; }

/* בטלפון אין טקסט מתחת ל-16 פיקסלים (חוץ מ«מבית אחיה אוטומציה» שבלוגו) */
@media (max-width: 699.98px) {
  html.rich :is(.foot, .foot__products, .crumbs, .fx-dial, .kicker:not(.sec-head .kicker), .sticky-pick b, .sticky-pick small, .page-meta:not(.article-body > .page-meta, .more-details > .page-meta), .article > .page-meta,
    .final__act small, .article-body table, .tab:not(.tpl .tab), .article-body caption, .drawn .gist span, .article-body thead th, .article-body tbody th, .assure, .assure li small, .endcta-tag,
    .drawn .tags span, .way__got, .article-body cite, .btn--dial small, .btn--listen small, .btn--watch small,
    .article-body .table-scroll td, .article-body .table-scroll th, .facts p, .steps p, .relay p, .player small, .player__time, .drawn .key, .sticky-cta small, .sticky-cta small b,
    .hint:not(.article-body > .hint, .more-details > .hint), .more-family a > span > span, .sim__code, .founder small, .fine, .sim__meta, .drawn .pills b, .people, .daypage__rows li, .daypage__rows .is-new small, .daypage__sent,
    .levels__kick, .lv-does, .levels__t tbody th, .lv-say, .lv-out, .lv-say b, .lv-out b, .levels__t tbody td, .lv-price td small, .levels__t tfoot .btn, .plan__for, .plan__features li,
    .extras span, .extras small, .stamp, .session__log time, .session__log li span, .session__after, .lv-here, .acts span, .trades-row li, .parts li, .homescreen__note,
    .fork__row span, .fork__row b, .drawn p:not(.gist-lead, .article-body p), .drawn li:not(.checks > li, .article-body li), .unknown__call p span, .unknown__state, .unknown__known p span, .unknown__known small, .channel small, .faqset__label, .code__note,
    .hub-keys .hub-keys__brand, .hub-keys small, .say figcaption, .portrait__name small, .call__line, .said__who, .call__then, .clauses .n, .langboard small, .langboard__foot,
    .chips li, .fold > summary, .store small, .ping, .ping b, .ping b small, .tiles li, .strip li, .strip small, .door__what, .sim__title, .posts__meta, .posts__ex,
    .bizcard__head small, .bizcard__rows dt, .bizcard__rows dd, .bizcard__talk p, .specline__item p, .callscreen__who small, .band .more-details--band p,
    .trades b, .trades small, .who__not-label, .nots li:not(.article-body li), .settings__list small, .settings__badge, .source-card__text small, .spectrum__points small, .spectrum__ends,
    .homescreen__code p:not(.tab), .signup-box label, .channels__note, .code code, .article-body .code code, .gift__tag small, .gift__note, .hi__note,
    .hi-slip figcaption, .hi-proof figcaption, .hi__foot, .hole--sm, .stair__txt small, .needs__h, .needs li small, .aside-note, .vid__label, .card--video figcaption:not(.tab),
    .transcript, .kosher__from small, .kosher__mail p:last-child, .field label, .decide__way span, .paid__row, .wa__bar b, .wa__bar small, .wa__msg, .wa__msg b, .wa__time, .wa__btn,
    .band__quote footer, .shot figcaption, .reel__btn, .same-list small, .rcpt li:not(.main), .rcpt .main em, .rcpt-foot, .more, .tag__tiers small, .tag__note, .tag__agent, .plan__flag, .plan__sub,
    .plan__inherits, .plan__addon, .plan-table, .plan-table thead th, .plan-table thead th small, .plan-table tbody th[scope="row"], .same-list--titles b, .faq .same-list__head,
    .plan-compare__note, .quota__cap, .quota__keys, .clog__what, .clog__tag, .trial__keeps li, .addon__facts li, .newpair__rows dd, .showing__line time, .showing__line li,
    .showing__note p, .share-desktop, .setup-road li, .setup .signup-fine, .signup-assistance, .ck, .ck button, .week__bar, .week__note, .stackviz li, .stackviz small,
    .vmcompare__label, .vmcompare__tape small, .vmcompare__note small, .voice__txt em, .foot nav a, .foot__copy,
    .daypage__rows time, .week__days li, .langboard em, .decide__way em, .band .more-details--band summary, .fam-sheet small, .signup-box .hint,
    .session__door small, .session__door time, .kosher__stamp, .showing__tag small, .drawn .pills > li, .fork__q, .dial__say) { font-size: 1rem; }
  /* החוגה של המוצרים: שם המוצר בתוך החור, לפי גודל החוגה ולא פחות מ-16 */
  html.rich .dial__wheel .hole b { font-size: max(1rem, calc(var(--S) * 0.031)); }
  html.rich:root :is(.btn ~ .linkbtn, .linkbtn:has(~ .btn), .gate__other, .pay__back, .callchips__seen, .carrier-more, .item__acts > .linkbtn, .weekrow .linkbtn, #push-more .linkbtn, #sub-billing .linkbtn, #sub-cancel .linkbtn, .askchange__btns .linkbtn, .helpline .linkbtn, .apps-rule .linkbtn, #agent-foot .linkbtn, #ag-hook-more .linkbtn, #ag-leads-live .linkbtn, .voicebar__acts .linkbtn) { font-size: 1rem; }
  html.rich :is(.article-body code, .page-head code:not(.homescreen__code code), code.c) { font-size: max(1rem, 0.9em); }
  /* מה שלא קיבל גודל משלו: small רגיל (85% מהשורה) לא יורד מ-16 */
  :where(html.rich main) small { font-size: max(1rem, 0.85em); }
  html.rich :is(.signup-fine, .signup-assistance) { font-size: 1rem !important; }
  html.rich .article-body p { margin-top: 18px; }
  html.rich .article-body li + li { margin-top: 12px; }
}

@media (min-width: 360.02px) and (max-width: 699.98px) { html.rich .door__go { font-size: 1rem; } }

/* במחשב: שורות קצרות (עד ~66 תווים), טקסט גדול יותר ויותר אוויר, לא עמודה של עיתון */
@media (min-width: 700px) {
  html.rich .article-body :is(p, li) { font-size: 1.15625rem; line-height: 1.8; }
  html.rich :is(.article-body :is(p, ul, ol, blockquote), details > p) { max-width: 36rem; }
  html.rich .article-body p { margin-top: 20px; }
  html.rich .article-body li + li { margin-top: 14px; }
  html.rich .article-body h2 { margin-top: 80px; font-size: clamp(1.75rem, 3vw, 2.5rem); }
  html.rich .article-body h3 { margin-top: 40px; font-size: 1.375rem; }
}

/* בלי תנועה: אין ריחוף, פעימה, כוכבים מנצנצים או צבע שנספג. הכול פשוט במקום */
@media (prefers-reduced-motion: reduce) {
  .sky-stars circle, .sky-wins-night .halo, .wc-on .wash, .obj-stage.is-up > .obj, .obj-stage.is-up::after, .rt-pulse, .rt-say.on, html.anim [data-sc] .dp-back * { animation: none !important; }
  .o3d, .obj-stage, .rt-hint, .rt.is-done .rt-note, .dp-back { transition: none !important; }
}
