/* =========================================================================
   "מעבר לאתר": רשתות, תחזוקה, אוטומציות וסנכרונים (25.11.2026). הנתונים ב-inc/beyond.php.
   ht-by הפרקים בתיק העבודות · ht-byc הבלוק בעמוד פרויקט · ht-dm ההדגמות (המנוע ב-motion.js).
   ========================================================================= */

/* ---------- הפרקים ---------- */
.ht-by { padding-block: 60px 10px; }
.ht-by__head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.ht-by__lead { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.ht-by__grid { display: grid; gap: 18px; margin-top: 30px; }
.ht-by__text { display: grid; align-content: center; gap: 10px; }
.ht-by__stage + .ht-by__text { margin-top: 30px; }
.ht-by__name { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; }
.ht-by__line { font-size: 20px; line-height: 1.4; text-wrap: balance; }
.ht-by__steps { display: grid; gap: 12px; margin-top: 8px; }
.ht-by__steps li { position: relative; padding-inline-start: 22px; font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.ht-by__steps li::before { content: ''; position: absolute; inset-inline-start: 0; top: .42em; width: 10px; height: 10px; border: 2px solid var(--pink); border-radius: 2px; }
.ht-by__steps b { color: var(--ink); font-weight: var(--bold); }
.ht-by__foot { display: grid; gap: 4px 22px; justify-items: start; margin-top: 8px; font-size: 16px; }
.ht-by__who a { display: inline-block; padding-block: 10px; font-weight: var(--bold); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .4s var(--ease); }
.ht-by__stage { position: relative; overflow: hidden; height: min(98vw, 420px); border-radius: 30px; isolation: isolate; }
.ht-by__stage--social { background: #ffe0ec; }
.ht-by__stage--care { background: #d9f0f3; }
.ht-by__stage--auto { background: #e6e0fa; }
.ht-by__stage--sync { background: #f7e7cd; }
@media (hover: hover) and (pointer: fine) { .ht-by__who a:hover { text-decoration-color: var(--pink); } }

@media (min-width: 640px) { .ht-by__head .ht-thin { display: inline; } }
@media (min-width: 640px) and (max-width: 999px) { .ht-by__stage { height: min(56vw, 440px); } .ht-by__foot { display: flex; flex-wrap: wrap; align-items: center; } }
@media (max-width: 999px) and (max-height: 500px) { .ht-by__stage { height: 340px; } }
@media (min-width: 1000px) {
	.ht-by { padding-block: 72px 0; }
	.ht-by__lead { max-width: none; }
	.ht-by__grid { --sh: clamp(400px, calc(100svh - var(--hh) - 110px), 520px); grid-template-columns: 5fr 7fr; grid-template-rows: repeat(4, auto); gap: 26px clamp(36px, 4.4vw, 76px); margin-top: 38px; }
	.ht-by__text { grid-column: 1; grid-row: var(--row); min-height: var(--sh); gap: 12px; }
	.ht-by__stage + .ht-by__text { margin-top: 0; }
	/* כל הדגמה נעוצה עד סוף האזור והבאה עולה עליה */
	.ht-by__grid .ht-by__stage { grid-column: 2; grid-row: var(--row) / -1; align-self: start; height: var(--sh); border-radius: 40px; }
	.ht-by__name { font-size: clamp(44px, 4vw, 62px); }
	.ht-by__line { font-size: clamp(20px, 1.6vw, 24px); }
	.ht-by__steps { gap: 10px; }
	.ht-by__steps li { font-size: 18px; }
	.ht-by__foot { display: flex; flex-wrap: wrap; align-items: center; font-size: 17px; }
}
@media (min-width: 1000px) and (min-height: 560px) { .ht-by__grid .ht-by__stage { position: sticky; top: calc(var(--hh) + 22px); } }
@media (min-width: 1000px) and (max-height: 700px) { .ht-by__name { font-size: 44px; } .ht-by__steps li { font-size: 17px; line-height: 1.4; } .ht-by__steps { gap: 7px; } }

/* ---------- עמוד פרויקט ---------- */
.ht-byc { display: grid; gap: 26px; padding-block: 56px 4px; }
.ht-byc__text { display: grid; align-content: center; gap: 18px; }
.ht-byc__label { font-size: 42px; color: var(--pink-hot); }
.ht-byc__item { display: grid; gap: 4px; padding-top: 16px; border-top: 1.5px solid var(--line); }
.ht-byc__name { font-family: var(--display); font-weight: 900; font-size: 29px; line-height: 1.1; }
.ht-byc__item p { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.ht-case__pair + .ht-byc, .ht-case__wall + .ht-byc { margin-bottom: 0; }
@media (min-width: 1000px) {
	.ht-byc { padding-block: 72px 6px; }
	.ht-byc.has-demo { grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(36px, 4.4vw, 76px); }
	.ht-byc:not(.has-demo) .ht-byc__text { grid-template-columns: repeat(12, 1fr); column-gap: 30px; }
	.ht-byc:not(.has-demo) .ht-byc__label, .ht-byc:not(.has-demo) .ht-byc__more { grid-column: 1 / -1; }
	.ht-byc:not(.has-demo) .ht-byc__item { grid-column: span 6; align-content: start; }
	.ht-byc:not(.has-demo) .ht-byc__item:nth-last-child(2):nth-child(2) { grid-column: span 8; }
	.ht-byc .ht-by__stage { height: clamp(400px, calc(100svh - var(--hh) - 110px), 520px); border-radius: 40px; }
	.ht-byc__label { font-size: 52px; }
	.ht-byc__name { font-size: 34px; }
}

/* ---------- בגריד: מה עוד נעשה ללקוח ---------- */
.ht-all__cap .ht-all__plus { color: var(--pink-hot); font-weight: var(--bold); }

/* ---------- בסיס ההדגמות (זהה ל-motion.css, שלא נטען כאן) ---------- */
.pua-cur { position: absolute; top: 0; left: 0; z-index: 20; width: 26px; pointer-events: none; transition: transform .8s var(--ease); }
.pua-cur svg { display: block; width: 26px; filter: drop-shadow(0 3px 4px rgba(18, 22, 47, .3)); transition: transform .2s; }
.pua-cur path { fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.pua-cur::after { content: ''; position: absolute; left: -10px; top: -12px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--pink); opacity: 0; }
.pua-cur.is-click svg { transform: scale(.82); }
.pua-cur.is-click::after { animation: pua-ripple .5s var(--ease); }
@keyframes pua-ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
.pua:not([data-s]) .pua-cur, html:not(.js) .pua-pause { display: none; }
.pua-pause { position: absolute; z-index: 30; bottom: 6px; inset-inline-end: 6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.pua-pause::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px var(--line); transition: background-color .4s var(--ease); }
.pua-pause svg { position: relative; width: 14px; height: 14px; fill: currentColor; }
.pua-pause .is-play, .pua-pause[aria-pressed="true"] .is-pause { display: none; }
.pua-pause[aria-pressed="true"] .is-play { display: block; }
.pua-pause[hidden] { display: none; }

.ht-dm .pua-pause { inset-inline: auto 6px; bottom: 6px; }
@media (hover: hover) { .pua-pause:hover::before { background: #fff; } }

/* ---------- ההדגמות: מידות ביחס לבמה ---------- */
.ht-dm { position: absolute; inset: 0; container-type: size; }
.ht-dm__in { position: absolute; inset: 0; font-size: clamp(12.5px, 2.1cqw, 16px); line-height: 1.3; color: var(--ink); }
.ht-dm b { font-weight: var(--bold); }
.ht-dm small { font-size: max(12px, .86em); color: var(--ink-2); }
.ht-dm em, .ht-dm u, .ht-dm i { font-style: normal; text-decoration: none; }
.ht-dm img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ht-dm .m-card { position: absolute; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(18, 22, 47, .06), 0 34px 50px -30px rgba(18, 22, 47, .45); }
.ht-dm .m-h { font-family: var(--display); font-weight: 900; font-size: 1.3em; line-height: 1.1; }
.ht-dm .m-btn { display: grid; place-items: center; min-height: 40px; border-radius: 99px; background: var(--pink); color: #fff; font-weight: var(--bold); }
.ht-dm .m-toast { position: absolute; z-index: 8; inset-inline-start: 5%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 11px 13px 11px 22px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(18, 22, 47, .07), 0 26px 40px -18px rgba(18, 22, 47, .5); opacity: 0; translate: 0 26px; transition: opacity .4s, translate .7s var(--ease); }
.ht-dm .m-toast > i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; overflow: hidden; }
.ht-dm .m-toast > i.is-ok { background: #dcf5e6; color: #11663a; }
.ht-dm .m-toast > i svg { width: 22px; }
.ht-dm .m-toast > img { flex: none; width: 52px; height: 58px; margin-block: -16px -11px; object-fit: contain; object-position: bottom; }
.ht-dm .m-toast span { display: grid; white-space: nowrap; }
.ht-dm:not([data-s]) .m-toast, .ht-dm--social[data-s="live"] .m-toast, .ht-dm--auto[data-s="live"] .m-toast, .ht-dm--sync[data-s="mail"] .m-toast { opacity: 1; translate: 0 0; }
.ht-dm .m-ph { position: absolute; display: block; width: var(--w); aspect-ratio: 9 / 17.4; padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .15); background: #16161b; box-shadow: 0 40px 60px -30px rgba(18, 22, 47, .6); }
.ht-dm .m-phin { position: absolute; inset: calc(var(--w) * .035); display: block; overflow: hidden; border-radius: calc(var(--w) * .12); background: #fff; }

/* 1. רשתות */
.ht-dm .m-front { --w: min(38cqw, 48cqh); left: 8cqw; top: 8cqh; z-index: 2; rotate: -3deg; }
.ht-dm .m-back { --w: min(32cqw, 41cqh); left: calc(8cqw + min(30cqw, 38cqh)); top: 16cqh; rotate: 5deg; }
.ht-dm .m-prof { display: flex; align-items: center; gap: .5em; padding: calc(var(--w) * .1) calc(var(--w) * .06) calc(var(--w) * .05); direction: ltr; }
.ht-dm .m-prof img { flex: none; width: calc(var(--w) * .19); height: calc(var(--w) * .19); border-radius: 50%; }
.ht-dm .m-prof b { font-size: max(11px, calc(var(--w) * .085)); white-space: nowrap; }
.ht-dm .m-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; direction: ltr; }
.ht-dm .m-feed i { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #eceef5; }
.ht-dm .m-front .m-feed i:first-child img { scale: 0; opacity: 0; transition: scale .8s var(--ease), opacity .3s; }
.ht-dm--social:is([data-s="live"], :not([data-s])) .m-front .m-feed i:first-child img { scale: 1; opacity: 1; }
.ht-dm .m-cal { z-index: 3; inset-inline-start: 5%; top: 12%; width: min(43cqw, 300px); display: grid; gap: 2cqh; padding: 18px; }
.ht-dm .m-day { display: flex; align-items: center; gap: 10px; }
.ht-dm .m-day > i { flex: none; width: 34px; height: 42px; border-radius: 8px; overflow: hidden; }
.ht-dm .m-day > span { display: grid; min-width: 0; }
.ht-dm .m-day em { position: relative; margin-inline-start: auto; display: grid; }
.ht-dm .m-day u { grid-area: 1 / 1; justify-self: end; padding: 3px 10px 4px; border-radius: 99px; background: #eceef5; color: var(--ink-2); font-size: max(12px, .84em); font-weight: var(--bold); white-space: nowrap; opacity: 0; scale: .8; transition: opacity .35s, scale .5s var(--ease); }
.ht-dm .m-day u:nth-child(2) { background: #ffe0ec; color: #a8003e; }
.ht-dm .m-day u:nth-child(3) { background: #dcf5e6; color: #11663a; }
.ht-dm--social[data-s="start"] .m-day u:nth-child(1), .ht-dm--social[data-s="plan"] .m-day u:nth-child(2), .ht-dm--social:is([data-s="live"], :not([data-s])) .m-day:not(.m-d0) u:nth-child(2), .ht-dm--social:is([data-s="live"], :not([data-s])) .m-d0 u:nth-child(3) { opacity: 1; scale: 1; }
.ht-dm .m-d1 u { transition-delay: .12s; } .ht-dm .m-d2 u { transition-delay: .24s; }
.ht-dm .m-plan { transition: background-color .4s var(--ease); }
.ht-dm--social:not([data-s="start"]) .m-plan { background: var(--ink); }

/* 2. תחזוקה */
.ht-dm .m-site { left: 4%; top: 9%; width: 55%; height: 82%; overflow: hidden; display: flex; flex-direction: column; }
.ht-dm .m-chrome { flex: none; display: flex; gap: 6px; padding: 11px 14px; background: #f1eff3; direction: ltr; }
.ht-dm .m-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #d3cfda; }
.ht-dm .m-hero { flex: none; display: grid; align-content: end; gap: 8px; height: 27%; padding: 12px 16px; background: linear-gradient(115deg, #2c6b57, #74a57f); color: #fff; }
.ht-dm .m-hero b { font-family: var(--display); font-size: 1.5em; line-height: 1; }
.ht-dm .m-hero em { width: 46%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .5); }
.ht-dm .m-menu { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; min-height: 0; }
.ht-dm .m-mi { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: #f6f5f1; white-space: nowrap; }
.ht-dm .m-mi em { flex: 1; height: 6px; border-radius: 4px; background: #e6e3da; }
.ht-dm .m-new { max-height: 0; padding-block: 0; margin-top: -8px; opacity: 0; overflow: hidden; background: #ffe0ec; transition: max-height .8s var(--ease), padding .8s var(--ease), margin .8s var(--ease), opacity .5s; }
.ht-dm .m-new u { padding: 2px 9px 3px; border-radius: var(--r-tag); background: var(--pink); color: #fff; font-weight: var(--bold); font-size: max(12px, .82em); rotate: var(--tilt); }
.ht-dm--care:is([data-s="done"], [data-s="safe"], :not([data-s])) .m-new { max-height: 60px; padding-block: 8px; margin-top: 0; opacity: 1; overflow: visible; }
.ht-dm .m-safe { flex: none; display: flex; flex-wrap: wrap; gap: 5px 12px; padding: 10px 16px 12px; border-top: 1.5px solid #efede7; }
.ht-dm .m-safe em { display: inline-flex; align-items: center; gap: 5px; font-size: max(12px, .88em); font-weight: var(--bold); opacity: .4; transition: opacity .4s; }
.ht-dm .m-safe i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #d6d9e4; color: #fff; transition: background-color .4s; }
.ht-dm .m-safe svg { width: 11px; }
.ht-dm--care:is([data-s="safe"], :not([data-s])) .m-safe em { opacity: 1; }
.ht-dm--care:is([data-s="safe"], :not([data-s])) .m-safe i { background: #1b8a4b; }
.ht-dm .m-safe em:nth-child(2), .ht-dm .m-safe em:nth-child(2) i { transition-delay: .2s; } .ht-dm .m-safe em:nth-child(3), .ht-dm .m-safe em:nth-child(3) i { transition-delay: .4s; } .ht-dm .m-safe em:nth-child(4), .ht-dm .m-safe em:nth-child(4) i { transition-delay: .6s; }
.ht-dm .m-chat { z-index: 3; inset-inline-start: 4%; top: 18%; width: 38%; height: 64%; display: flex; flex-direction: column; overflow: hidden; background: #f3efe8; }
.ht-dm .m-who { flex: none; display: flex; align-items: center; gap: 9px; padding: 12px 14px; background: #fff; }
.ht-dm .m-who i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1fae5b; color: #fff; }
.ht-dm .m-log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 12px; min-height: 0; }
.ht-dm .m-log > span { max-width: 88%; text-wrap: balance; padding: 7px 12px 8px; border-radius: 14px; opacity: 0; translate: 0 10px; transition: opacity .35s, translate .5s var(--ease); }
.ht-dm .m-me { align-self: flex-start; background: #d7f3c8; border-start-start-radius: 4px !important; }
.ht-dm .m-you { align-self: flex-end; background: #fff; border-end-end-radius: 4px !important; }
.ht-dm--care:not([data-s="start"]) .m-me, .ht-dm--care:not([data-s="start"]) .m-y1, .ht-dm--care:is([data-s="done"], [data-s="safe"], :not([data-s])) .m-y2 { opacity: 1; translate: 0 0; }
.ht-dm .m-y1 { transition-delay: .6s !important; } .ht-dm--care[data-s="start"] .m-y1 { transition-delay: 0s !important; }
.ht-dm .m-y2 { transition-delay: .7s !important; } .ht-dm--care[data-s="start"] .m-y2 { transition-delay: 0s !important; }
.ht-dm .m-in { flex: none; display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0 10px 10px; padding: 6px 14px 6px 6px; border-radius: 22px; background: #fff; }
.ht-dm .m-int { text-wrap: balance; flex: 1; min-width: 0; font-size: max(12px, .9em); line-height: 1.25; opacity: 0; }
.ht-dm--care[data-s="start"] .m-int { opacity: 1; }
.ht-dm .m-go { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1fae5b; color: #fff; }

/* 3. אוטומציות */
.ht-dm .m-cam { --w: min(40cqw, 46cqh); left: 8cqw; top: 8cqh; rotate: -3deg; }
.ht-dm .m-cam .m-phin { background: #0e0e12; }
.ht-dm .m-cam img { height: 74%; margin-top: 8%; }
.ht-dm .m-focus { position: absolute; inset: 20% 16% 32%; border: 2px solid rgba(255, 255, 255, .9); border-radius: 14px; -webkit-mask: conic-gradient(#000 0 0) 0 0 / 26px 26px no-repeat, conic-gradient(#000 0 0) 100% 0 / 26px 26px no-repeat, conic-gradient(#000 0 0) 0 100% / 26px 26px no-repeat, conic-gradient(#000 0 0) 100% 100% / 26px 26px no-repeat; mask: conic-gradient(#000 0 0) 0 0 / 26px 26px no-repeat, conic-gradient(#000 0 0) 100% 0 / 26px 26px no-repeat, conic-gradient(#000 0 0) 0 100% / 26px 26px no-repeat, conic-gradient(#000 0 0) 100% 100% / 26px 26px no-repeat; transition: inset .6s var(--ease); }
.ht-dm--auto:not([data-s="start"]) .m-focus { inset: 14% 8% 26%; }
.ht-dm .m-snap { position: absolute; left: 50%; bottom: 4.5%; width: calc(var(--w) * .2); height: calc(var(--w) * .2); border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #0e0e12, 0 0 0 5px #fff; translate: -50% 0; }
.ht-dm .m-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ht-dm--auto[data-s="shot"] .m-flash { animation: m-flash .5s ease-out; }
@keyframes m-flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.ht-dm .m-steps { position: absolute; inset-inline-start: 5%; top: 9%; bottom: 24%; width: min(47cqw, 380px); display: grid; align-content: start; gap: 2.4cqh; }
.ht-dm .m-st { position: relative; display: grid; gap: 4px; padding: 12px 16px 13px 46px; border-radius: 18px; background: rgba(255, 255, 255, .5); transition: background-color .5s, box-shadow .6s; }
.ht-dm .m-st > b { font-family: var(--display); font-weight: 900; font-size: 1.12em; }
.ht-dm .m-st > span { min-height: 1.3em; color: var(--ink-2); }
.ht-dm .m-s1 > span { min-height: 2.7em; text-wrap: balance; }
.ht-dm .m-st > i { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1b8a4b; color: #fff; scale: 0; transition: scale .5s var(--ease) .25s; }
.ht-dm .m-st > i svg { width: 14px; }
.ht-dm .m-s3 > span { opacity: 0; transition: opacity .5s; }
.ht-dm .m-cols { display: flex; gap: 8px; }
.ht-dm .m-cols em { width: 24px; height: 24px; border-radius: 50%; background: var(--c); scale: 0; transition: scale .5s var(--ease); }
.ht-dm .m-cols em:nth-child(2) { transition-delay: .1s; } .ht-dm .m-cols em:nth-child(3) { transition-delay: .2s; } .ht-dm .m-cols em:nth-child(4) { transition-delay: .3s; }
.ht-dm--auto:is([data-s="color"], [data-s="seo"], [data-s="live"], :not([data-s])) :is(.m-cols em, .m-s1 > i), .ht-dm--auto:is([data-s="seo"], [data-s="live"], :not([data-s])) :is(.m-s2 > i, .m-s3 > i) { scale: 1; }
.ht-dm--auto:is([data-s="seo"], [data-s="live"], :not([data-s])) .m-s3 > span { opacity: 1; }
.ht-dm--auto:is([data-s="shot"], [data-s="color"], [data-s="seo"], [data-s="live"], :not([data-s])) .m-s1, .ht-dm--auto:is([data-s="color"], [data-s="seo"], [data-s="live"], :not([data-s])) .m-s2, .ht-dm--auto:is([data-s="seo"], [data-s="live"], :not([data-s])) .m-s3 { background: #fff; box-shadow: 0 24px 34px -22px rgba(18, 22, 47, .45); }

/* 4. סנכרונים */
.ht-dm .m-file { inset-inline-start: 5%; top: 10%; width: 36%; display: grid; gap: 2.2cqh; padding: 18px; }
.ht-dm .m-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: min(10cqh, 44px); padding-inline: 10px; margin-inline: -8px; border-radius: 11px; transition: background-color .5s; }
.ht-dm .m-row b { white-space: nowrap; }
.ht-dm .m-row em { padding: 2px 9px 3px; border-radius: 99px; background: #eceef5; color: var(--ink-2); font-size: max(12px, .84em); font-weight: var(--bold); white-space: nowrap; }
.ht-dm .m-row em.is-off { background: #f1dcd6; color: #8a2f14; } .ht-dm .m-row em.is-on { background: #dcf5e6; color: #11663a; } .ht-dm .m-row em.is-new { background: #ffe0ec; color: #a8003e; }
.ht-dm--sync[data-s="start"] .m-r1, .ht-dm--sync[data-s="r2"] .m-r2, .ht-dm--sync[data-s="r3"] .m-r3, .ht-dm--sync[data-s="r4"] .m-r4 { background: #fdf1da; }
.ht-dm .m-link { position: absolute; inset-inline-start: 41%; top: 44%; width: 8%; display: flex; justify-content: space-evenly; }
.ht-dm .m-link i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: m-go 1.2s infinite; }
.ht-dm .m-link i:nth-child(2) { animation-delay: .2s; } .ht-dm .m-link i:nth-child(3) { animation-delay: .4s; }
@keyframes m-go { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.ht-dm .m-shop { inset-inline-end: 5%; top: 9%; width: min(46%, 72cqh); display: grid; gap: 1.8cqh; padding: 18px; }
.ht-dm .m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ht-dm .m-tile { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f4f2ee; }
.ht-dm .m-tile img { transition: filter .6s, opacity .6s, scale .8s var(--ease); }
.ht-dm .m-tile em { position: absolute; inset-inline: 6px; bottom: 6px; padding: 3px 4px 4px; border-radius: 99px; background: var(--ink); color: #fff; font-size: max(11.5px, .8em); font-weight: var(--bold); text-align: center; white-space: nowrap; opacity: 0; translate: 0 8px; transition: opacity .4s, translate .5s var(--ease); }
.ht-dm .m-t3 em { background: #146c3d; } .ht-dm .m-t4 em { background: var(--pink); }
.ht-dm--sync:not([data-s="start"]) .m-t2 img { filter: grayscale(1); opacity: .32; }
.ht-dm--sync:is([data-s="start"], [data-s="r2"]) .m-t3 img { filter: grayscale(1); opacity: .32; }
.ht-dm--sync:is([data-s="start"], [data-s="r2"], [data-s="r3"]) .m-t4 img { opacity: 0; scale: .7; }
.ht-dm--sync:is([data-s="start"], [data-s="r2"], [data-s="r3"]) .m-t4 { box-shadow: inset 0 0 0 2px #e3dfd6; }
.ht-dm--sync:not([data-s="start"]) .m-t2 em, .ht-dm--sync:is([data-s="r3"], [data-s="r4"], [data-s="mail"], :not([data-s])) .m-t3 em, .ht-dm--sync:is([data-s="r4"], [data-s="mail"], :not([data-s])) .m-t4 em { opacity: 1; translate: 0 0; }

/* טלפון: אותה הדגמה בבמה כמעט מרובעת */
@container (max-width: 520px) {
	.ht-dm .m-card { border-radius: 16px; }
	.ht-dm .m-cal { inset-inline-start: 4%; top: 7%; width: 53cqw; padding: 13px; gap: 9px; }
	.ht-dm .m-day { gap: 7px; } .ht-dm .m-day > i { width: 28px; height: 35px; }
	.ht-dm .m-day u { padding-inline: 8px; }
	.ht-dm .m-front { --w: 42cqw; left: 4cqw; top: 13cqh; }
	.ht-dm .m-back { display: none; }
	.ht-dm .m-site { left: 4%; top: 4%; width: 92%; height: 56%; }
	.ht-dm .m-chrome { padding: 7px 12px; } .ht-dm .m-hero { height: 23%; padding: 8px 12px; } .ht-dm .m-hero em { display: none; } .ht-dm .m-hero b { font-size: 1.35em; }
	.ht-dm .m-menu { gap: 5px; padding: 8px 10px; } .ht-dm .m-mi { padding: 4px 10px; } .ht-dm .m-new { margin-top: -5px; padding-block: 0; }
	.ht-dm--care:is([data-s="done"], [data-s="safe"], :not([data-s])) .m-new { padding-block: 4px; }
	.ht-dm .m-safe { flex-wrap: nowrap; justify-content: space-between; gap: 4px; padding: 7px 12px 8px; } .ht-dm .m-safe i { width: 16px; height: 16px; } .ht-dm .m-safe em { gap: 4px; font-size: 12.5px; }
	.ht-dm .m-chat { inset-inline-start: 4%; top: auto; bottom: 4%; width: 92%; height: 34%; }
	.ht-dm .m-who, .ht-dm .m-y1 { display: none; } .ht-dm .m-log { padding: 8px 10px; gap: 5px; } .ht-dm .m-log > span { padding: 4px 11px 5px; } .ht-dm .m-in { margin: 0 8px 8px; min-height: 42px; margin-inline-end: 52px; }
	.ht-dm .m-cam { --w: 38cqw; left: 4cqw; top: 9cqh; }
	.ht-dm .m-steps { inset-inline-start: 4%; top: 6%; width: 52cqw; gap: 8px; }
	.ht-dm .m-st { padding: 9px 12px 10px 36px; border-radius: 14px; } .ht-dm .m-st > i { top: 9px; inset-inline-end: 9px; width: 20px; height: 20px; } .ht-dm .m-cols em { width: 20px; height: 20px; }
	.ht-dm .m-s1 > span { min-height: 4em; }
	.ht-dm .m-file { inset-inline-start: 4%; top: 6%; width: 43%; padding: 12px; gap: 9px; } .ht-dm .m-row { min-height: 42px; padding-inline: 8px; gap: 4px; } .ht-dm .m-row em { padding-inline: 7px; }
	.ht-dm .m-link { display: none; }
	.ht-dm .m-shop { inset-inline-end: 4%; top: 6%; width: 47%; padding: 10px; } .ht-dm .m-tiles { gap: 6px; } .ht-dm .m-tile em { inset-inline: 3px; bottom: 3px; padding-inline: 0; font-size: 11px; }
	.ht-dm .m-toast { inset-inline-start: 4%; bottom: 5%; padding: 9px 10px 9px 18px; } .ht-dm .m-toast > i { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .ht-dm .m-link i { animation: none; } }
/* טלפון לרוחב: הבמה נמוכה, ההודעה עוברת לאמצע ולא מכסה את הכרטיס */
@container (min-width: 521px) and (max-height: 380px) {
	.ht-dm .m-toast { inset-inline-start: auto; left: 27%; }
	.ht-dm .m-who { display: none; }
	.ht-dm--social .m-cal { top: 7%; gap: 5px; }
}
