/* Hallmark · shape: app screen · genre: playful · theme: custom (DESIGN.md, the Headspace language in the field world)
 * paper: oklch(96.5% 0.014 80) · accent: oklch(50% 0.12 232) · display: Varela Round · body: Varela Round
 * nav: a bottom tab bar of five and a quick-log button · signature: the day ring inside a world that wears the season, with its own plants on the near hill · states: five seasons, sheet open and closed, mood chosen
 * axes: light/rounded-sans/cool · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: R, the stars and a second hill were kept as the night world's only ornament; a sprout inside the ring was cut */
/* Hallmark · dismissed 40 · the Levana card is cream text on forest green, about 6:1; the linter cannot read the green token, which lives in the character kit */
/* Hallmark · dismissed 49 · the flagged label is a full-width choice tile with a caption under it, built to wrap inside the screen */
/* Hallmark · waive 80 · a sun or a moon, two hills and one group of plants, no faces · the season world is the field of DESIGN.md section 6, and the cards and faces below it are the illustrations Doron asked for */
@import url("./tokens.css?v=4");
@import url("./base.css");
@import url("../characters/kit.css?v=3");

body { background: var(--color-paper-2); font-synthesis: none; }

.board { max-width: var(--container); margin-inline: auto; padding: var(--space-lg) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap-columns); align-items: start; }
.panel { position: sticky; top: var(--space-xl); display: grid; gap: var(--space-lg); }
.panel h1 { font-size: var(--text-display); font-weight: 700; line-height: 1.05; letter-spacing: var(--tracking-display); max-width: 14ch; }
.panel p { color: var(--color-ink-2); font-size: var(--text-lg); max-width: 34ch; }
.panel .note { font-size: var(--text-sm); color: var(--color-muted); }

.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); min-width: 0; }
.seg legend { padding: 0; margin-block-end: var(--space-sm); font-weight: 700; font-size: var(--text-lg); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.seg label:hover { background: var(--color-paper-3); }
.seg label:active { transform: scale(0.96); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg input:disabled + label { opacity: 0.55; cursor: not-allowed; }

/* המסך */
.phone { position: relative; isolation: isolate; width: 390px; max-width: 100%; height: min(844px, calc(100dvh - 2 * var(--space-lg))); min-height: 560px; overflow: hidden; border-radius: var(--radius-screen); background: var(--color-paper); outline: var(--rule-hair) solid var(--color-rule); }
.screen { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-block-end: calc(var(--tabbar-h) + var(--space-3xl)); }

.world { position: relative; overflow: hidden; padding: var(--space-xl) var(--space-lg) calc(var(--space-4xl) + var(--space-xl)); background: var(--world-held, var(--world)); color: var(--world-ink); border-end-start-radius: 50% var(--arc); border-end-end-radius: 50% var(--arc); transition: color var(--dur-world) var(--ease-out); --color-focus: var(--world-ink); }
.scene { position: absolute; inset: 0; pointer-events: none; }
.orb, .hill, .star { position: absolute; border-radius: 50%; }
.orb { bottom: 40px; inset-inline-end: 34px; width: 132px; height: 132px; border-radius: 0; transform: translate(var(--orb-x), var(--orb-y)) scale(var(--orb-s)); transition: transform var(--dur-world) var(--ease-out); }
.orb__sun, .orb__moon { position: absolute; inset: 0; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-world) var(--ease-out); }
.js .orb__sun { opacity: var(--sun-o); transform: scale(calc(0.6 + var(--sun-o) * 0.4)); --k-sun-disc: var(--orb); --k-sun-ray: var(--orb-ray); }
.orb__sun svg * { transition: fill var(--dur-world) var(--ease-out); }
.js .orb__moon { opacity: var(--moon-o); transform: scale(calc(0.5 + var(--moon-o) * 0.36)) rotate(calc((1 - var(--moon-o)) * -40deg)); }
.friend { position: absolute; bottom: 40px; inset-inline-start: 22px; width: 148px; height: 148px; --k-flora: var(--hill-far); --k-flora-2: var(--orb); }
.friend svg * { transition: fill var(--dur-world) var(--ease-out), stroke var(--dur-world) var(--ease-out); }
.friend > * { position: absolute; inset: 0; }
.js .friend > * { opacity: 0; transform: translateY(46%) scale(0.4); transform-origin: 50% 100%; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-world) var(--ease-out); }
.js[data-season="winter"] .friend [data-for="winter"], .js[data-season="spring"] .friend [data-for="spring"], .js[data-season="summer"] .friend [data-for="summer"], .js[data-season="autumn"] .friend [data-for="autumn"], .js[data-season="night"] .friend [data-for="night"] { opacity: 1; transform: none; transition-delay: var(--dur-micro); }
.hill { height: 190px; transition: background-color var(--dur-world) var(--ease-out); }
.hill--far { bottom: -112px; inset-inline-end: -30%; width: 112%; background: var(--hill-far); }
.hill--near { bottom: -132px; inset-inline-start: -36%; width: 120%; background: var(--hill-near); }
.star { width: 6px; height: 6px; background: var(--orb); opacity: var(--stars); transition: opacity var(--dur-world) var(--ease-out); }
.star:nth-child(1) { top: 96px; inset-inline-start: 46%; }
.star:nth-child(2) { top: 208px; inset-inline-start: 12%; width: 4px; height: 4px; }
.star:nth-child(3) { top: 300px; inset-inline-end: 22%; width: 5px; height: 5px; }

.top, .today, .actions { position: relative; z-index: var(--z-base); }
.top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-md); }
.greet { font-size: var(--text-lg); font-weight: 700; line-height: 1.3; }
.date { font-size: var(--text-sm); line-height: 1.45; }
.round { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in oklab, var(--world-ink) 14%, transparent); color: inherit; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.round:hover { background: color-mix(in oklab, var(--world-ink) 24%, transparent); }
.round:active { transform: scale(0.94); }

.today { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 148px; margin-block-start: var(--space-lg); }
.today__text { display: grid; gap: var(--space-xs); min-width: 0; transition: opacity var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.today__text.is-swapping { opacity: 0; transform: translateY(6px); }
.today h2 { font-size: var(--text-display); font-weight: 700; line-height: 1.05; letter-spacing: var(--tracking-display); }
.today p { font-size: var(--text-md); line-height: 1.5; max-width: 28ch; }

.ring { position: relative; flex-shrink: 0; width: 132px; height: 132px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.ring__track { stroke: color-mix(in oklab, var(--world-ink) 16%, transparent); }
.ring__fill { stroke: currentColor; stroke-dasharray: 326.73; stroke-dashoffset: calc(326.73px * (1 - var(--frac))); transition: stroke-dashoffset var(--dur-grow) var(--ease-out); }
.ring.is-seed .ring__fill { stroke-dashoffset: 326.73px; transition: none; }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.ring__label b { font-size: var(--text-display); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ring__label span { font-size: var(--text-sm); line-height: 1.3; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-block-start: var(--space-lg); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-md); line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-world) var(--ease-out), color var(--dur-world) var(--ease-out), border-color var(--dur-world) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--world { background: var(--world-action); color: var(--world-action-ink); }
.btn--world:hover { background: color-mix(in oklab, var(--world-action) 88%, var(--world-ink)); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: color-mix(in oklab, var(--world-ink) 12%, transparent); }
.btn--quiet { width: 100%; background: var(--color-paper-2); color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-paper-3); }

/* מתחת לקו האופק */
.stack { display: grid; gap: var(--space-xl); padding: var(--space-xl) var(--space-lg) 0; }
.stack section { display: grid; gap: var(--space-md); min-width: 0; }
.stack h3 { font-size: var(--text-section); font-weight: 700; line-height: 1.15; letter-spacing: var(--tracking-display); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.chip:hover { background: var(--color-paper-3); }
.chip:active { transform: scale(0.94); }
.chip:disabled { opacity: 0.55; cursor: not-allowed; }
.chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); animation: land var(--dur-long) var(--ease-out); }
@keyframes land { from { transform: scale(0.9); } to { transform: scale(1); } }

.levana { padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.levana__head { display: flex; align-items: center; gap: var(--space-sm); }
.keeper { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--world); transition: background-color var(--dur-world) var(--ease-out); animation: breathe 4s var(--ease-in-out) infinite alternate; }
@keyframes breathe { from { transform: scale(0.9); } to { transform: scale(1.06); } }
.levana input { width: 100%; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; }
.levana input::placeholder { color: var(--color-muted); opacity: 1; }
.levana input:focus-visible { outline-color: var(--color-focus); }
.levana input:disabled { opacity: 0.55; cursor: not-allowed; }
.levana .chip { background: var(--color-paper); }
.levana .chip:hover { background: var(--color-paper-3); }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: var(--space-sm); margin: 0 calc(-1 * var(--space-lg)); padding: 0 var(--space-lg); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-lg); overscroll-behavior-x: contain; scrollbar-width: none; }
.rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.path { display: grid; align-content: space-between; gap: var(--space-md); min-height: 148px; padding: var(--space-md); border-radius: var(--radius-card); scroll-snap-align: start; }
.path b { font-size: var(--text-title); font-weight: 700; line-height: 1.2; }
.path span { font-size: var(--text-sm); }
.path--autumn { background: var(--autumn-world); color: var(--world-ink-dark); }
.path--winter { background: var(--winter-world); color: var(--world-ink-light); }
.path--summer { background: var(--summer-world); color: var(--world-ink-dark); }

/* ניווט */
.tabs { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: var(--z-sticky-nav); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--tabbar-h); padding: 0 var(--space-xs); background: var(--color-paper); border-block-start: var(--rule-hair) solid var(--color-rule); }
.tab { display: grid; justify-items: center; align-content: center; gap: var(--space-2xs); padding: 0; border: 0; background: transparent; color: var(--color-muted); font-size: var(--text-xs); line-height: 1.2; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.tab:hover { color: var(--color-ink-2); }
.tab:active { transform: scale(0.94); }
.tab:focus-visible { outline-offset: -4px; }
.tab[aria-current="page"] { color: var(--color-ink); }
.tab svg, .round svg, .fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.fab { position: absolute; inset-block-end: calc(var(--tabbar-h) + var(--space-md)); inset-inline-end: var(--space-md); z-index: var(--z-toast); display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); cursor: pointer; transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.fab:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.fab:active { transform: scale(0.92); }
.fab[aria-expanded="true"] { transform: translateY(var(--fab-drop)) rotate(45deg); }
.fab[aria-expanded="true"]:active { transform: translateY(var(--fab-drop)) rotate(45deg) scale(0.92); }

.shade { position: absolute; inset: 0; z-index: var(--z-modal); background: color-mix(in oklab, var(--color-ink) 46%, transparent); }
.sheet { z-index: var(--z-modal); display: grid; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) calc(var(--space-3xl) + var(--space-md)); background: var(--color-paper); border-start-start-radius: var(--radius-sheet); border-start-end-radius: var(--radius-sheet); }
.sheet h3 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.1; letter-spacing: var(--tracking-display); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.opt { display: flex; align-items: center; width: 100%; min-height: 64px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-weight: 700; text-align: start; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.opt:hover { background: var(--color-paper-3); }
.opt:active { transform: scale(0.96); }
.opt:disabled { opacity: 0.55; cursor: not-allowed; }

.js .shade { opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .shade.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.js .sheet { position: absolute; inset-inline: 0; inset-block-end: 0; transform-origin: 15% 100%; transform: translateY(46%) scale(0.5); opacity: 0; visibility: hidden; transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .sheet.is-open { transform: none; opacity: 1; visibility: visible; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.js .sheet.is-open .opt { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 35ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 60rem) {
  .board { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding: var(--space-lg) var(--space-md) var(--space-xl); }
  .panel { position: static; }
  .panel h1 { font-size: var(--text-display-s); }
  .phone { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .keeper, .chip[aria-pressed="true"], .js .sheet.is-open .opt { animation: none; }
  .orb, .fab, .btn, .chip, .tab, .opt, .round, .seg label, .today__text { transition: none; }
  .js .sheet { transform: none; transition: opacity var(--dur-short) linear, visibility 0s linear var(--dur-short); }
  .js .sheet.is-open { transition: opacity var(--dur-short) linear, visibility 0s; }
  .ring__fill { transition: none; }
}

/* מעבר בין הסקיצות */
.label { font-size: var(--text-lg); font-weight: 400; line-height: 1.3; margin-block-end: var(--space-sm); }
.seg a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.seg a:hover { background: var(--color-paper-3); }
.seg a:active { transform: scale(0.96); }
.seg a[aria-current="page"] { background: var(--color-ink); color: var(--color-paper); }
@media (prefers-reduced-motion: reduce) { .seg a { transition: none; } }

/* הדמויות במסך */
#moods .chip { gap: var(--space-xs); padding-inline-start: var(--space-xs); }
.chip__face { flex-shrink: 0; width: 30px; height: 30px; transition: transform var(--dur-long) var(--ease-out); }
.chip[aria-pressed="true"] .chip__face { transform: rotate(-10deg) scale(1.12); }
.keeper[data-char] { width: 76px; height: 76px; border-radius: 0; background: none; }
.opt { gap: var(--space-sm); }
.opt__char { flex-shrink: 0; width: 44px; height: 44px; }
.path { position: relative; overflow: hidden; min-height: 176px; }
.path b, .path > span:not(.path__char) { position: relative; z-index: var(--z-base); }
.path__char { position: absolute; bottom: -14px; inset-inline-end: -6px; width: 92px; height: 92px; transform: rotate(8deg); }
.rail { grid-auto-columns: 212px; }
@media (prefers-reduced-motion: reduce) { .orb__sun, .orb__moon, .friend > *, .chip__face { transition: none; } }

/* כרטיסי "שבילים": כל כרטיס בסגנון משלו */
.rail--cards { grid-auto-columns: 236px; }
.card { position: relative; overflow: hidden; display: grid; align-content: end; justify-items: center; gap: var(--space-xs); min-height: 324px; padding: var(--space-lg) var(--space-md); border-radius: var(--radius-card); background: var(--card-bg); color: var(--world-ink-light); text-align: center; scroll-snap-align: start; }
.card__art { position: absolute; inset: 0; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--card-deep) 0%, transparent), var(--card-deep) 58%); }
.card b, .card__meta { position: relative; z-index: var(--z-base); }
.card b { font-size: var(--text-xl); font-weight: 400; line-height: 1.15; letter-spacing: var(--tracking-display); }
.card__meta { font-size: var(--text-sm); line-height: 1.4; max-width: 20ch; }
.card--night { --card-bg: var(--k-night); --card-deep: var(--scrim-night); }
.card--dome { --card-bg: var(--k-white); align-content: start; color: var(--world-ink-dark); }
.card--dome::after { content: none; }
.card--dome .card__art { inset-block-start: var(--space-2xl); }
.card--duo { --card-bg: var(--k-pink); --card-deep: var(--scrim-plum); }
.card--hills { --card-bg: var(--k-plum-light); --card-deep: var(--scrim-plum); }
.card--bloom { --card-bg: var(--k-leaf-light); --card-deep: var(--scrim-leaf); }

/* הרגשות: משבצות צבע רכות, פרצוף קטן ומילה */
.moods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xs); }
.mood { position: relative; grid-column: span 2; overflow: hidden; min-height: 96px; padding: 0; border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--world-ink-dark); cursor: pointer; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.mood:nth-child(n + 4) { grid-column: span 3; }
.mood__face { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; transition: transform var(--dur-long) var(--ease-out); }
.mood__name { position: absolute; inset-inline: 0; inset-block-end: var(--space-sm); font-size: var(--text-md); line-height: 1.2; text-align: center; }
.mood:hover .mood__face { transform: scale(1.04); }
.mood:active { transform: scale(0.96); }
.mood:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; }
.mood:disabled { opacity: 0.55; cursor: not-allowed; }
.moods:has([aria-pressed="true"]) .mood[aria-pressed="false"] { opacity: 0.4; }
.mood[aria-pressed="true"] { transform: translateY(-3px); }
.mood[aria-pressed="true"] .mood__face { transform: scale(1.12); }

/* המענה: כרטיס שנפתח מתחת, בצבע ההרגשה, עם הנעה לפעולה אחת */
.reply { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-long) var(--ease-out); }
.reply.is-open { grid-template-rows: 1fr; }
.reply__in { min-height: 0; overflow: hidden; }
.reply__card { position: relative; overflow: hidden; display: grid; gap: var(--space-sm); margin-block-start: var(--space-xs); padding: var(--space-md) var(--space-lg); padding-inline-end: var(--space-3xl); border-radius: var(--radius-tile); background: var(--reply-bg, var(--color-paper-2)); color: var(--world-ink-dark); transition: background-color var(--dur-long) var(--ease-out); }
.reply.is-open .reply__card { animation: rise var(--dur-long) var(--ease-out) backwards; }
.reply__line { font-size: var(--text-lg); line-height: 1.3; transition: opacity var(--dur-micro) var(--ease-out); }
.reply__card.is-swapping .reply__line, .reply__card.is-swapping .reply__acts, .reply__card.is-swapping .reply__art { opacity: 0; }
.reply__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); transition: opacity var(--dur-micro) var(--ease-out); }
.reply__art { position: absolute; bottom: calc(-1 * var(--space-sm)); inset-inline-end: calc(-1 * var(--space-xs)); width: 96px; height: 96px; transition: opacity var(--dur-micro) var(--ease-out); }
.reply__art svg { width: 100%; height: 100%; }
[data-reply="calm"] { --reply-bg: var(--k-leaf-light); }
[data-reply="tired"] { --reply-bg: var(--k-lilac); }
[data-reply="sensitive"] { --reply-bg: var(--k-pink); }
[data-reply="strong"] { --reply-bg: var(--k-sun); }
[data-reply="flooded"] { --reply-bg: var(--k-water-light); }
.btn--ink { min-height: 44px; padding: 0 var(--space-md); background: var(--color-ink); color: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--ink:hover { background: var(--color-ink-2); }
.link { min-height: 44px; padding: 0 var(--space-sm); border: 0; background: transparent; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; cursor: pointer; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.link:hover { opacity: 0.7; }
.link:active { transform: scale(0.96); }
.link:disabled { opacity: 0.55; cursor: not-allowed; }

/* הנגן המוקטן של קרחת היער: מעל הניווט, נשאר בכל מעבר */
.mini { position: absolute; inset-inline: var(--space-xs); inset-block-end: calc(var(--tabbar-h) + var(--space-xs)); z-index: var(--z-sticky); display: flex; align-items: center; gap: var(--space-sm); min-height: 60px; padding: var(--space-xs); border-radius: var(--radius-tile); background: var(--color-ink); color: var(--color-paper); }
html:not(.js) .mini, html:not(.js) .breath { display: none; }
.js .mini { opacity: 0; visibility: hidden; transform: translateY(130%); transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .mini.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.mini__art { flex-shrink: 0; width: 44px; height: 44px; overflow: hidden; border-radius: var(--space-sm); }
.mini__text { display: grid; flex: 1; min-width: 0; }
.mini__text b { font-size: var(--text-md); font-weight: 400; line-height: 1.25; }
.mini__text span { font-size: var(--text-sm); line-height: 1.3; color: var(--color-paper-3); }
.mini__btn { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); --color-focus: var(--color-paper); }
.mini__btn:hover { background: color-mix(in oklab, var(--color-paper) 16%, transparent); }
.mini__btn:active { transform: scale(0.9); }
.mini__btn:disabled { opacity: 0.55; cursor: not-allowed; }
.mini__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab { translate: 0 var(--fab-lift, 0px); transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-short) var(--ease-out), translate var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.phone.has-mini { --fab-lift: calc(-1 * var(--space-2xl) - var(--space-xs)); }
.phone.is-busy .fab { opacity: 0; pointer-events: none; }

/* פתק קצר */
.sheet--note { padding-block-end: var(--space-lg); }
.sheet--note textarea { width: 100%; min-height: 132px; padding: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-lg); line-height: 1.5; resize: none; outline: 2px solid transparent; outline-offset: -3px; }
.sheet--note textarea::placeholder { color: var(--color-muted); opacity: 1; }
.sheet--note textarea:focus-visible { outline-color: var(--color-focus); }
.sheet--note textarea:disabled { opacity: 0.55; cursor: not-allowed; }

/* נשימה של דקה: מסך מלא, עיגול אחד שמתרחב ומתכווץ */
.breath { position: absolute; inset: 0; z-index: var(--z-tooltip); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; gap: var(--space-lg); padding: var(--space-2xl) var(--space-lg) var(--space-xl); background: var(--k-water-light); color: var(--world-ink-dark); text-align: center; }
.js .breath { opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
.js .breath.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out), visibility 0s; }
.breath h3 { font-size: var(--text-2xl); font-weight: 400; line-height: 1.15; }
.breath__stage { display: grid; justify-items: center; gap: var(--space-xl); }
.breath__orb { position: relative; isolation: isolate; display: grid; place-items: center; width: 232px; height: 232px; border-radius: 50%; background: var(--k-water); transform: scale(0.6); }
.breath__orb::before { content: ""; position: absolute; inset: calc(-1 * var(--space-lg)); z-index: -1; border-radius: 50%; background: color-mix(in oklab, var(--k-water) 34%, var(--k-water-light)); }
.breath__orb svg { width: 120px; height: 80px; fill: none; stroke: var(--k-ink); stroke-width: 3.2; stroke-linecap: round; }
.breath.is-open .breath__orb { animation: breath 10s var(--ease-in-out) infinite; }
@keyframes breath { 0%, 100% { transform: scale(0.6); } 50% { transform: scale(1); } }
.breath__cue { min-height: 1.3em; font-size: var(--text-display-s); line-height: 1.2; transition: opacity var(--dur-long) var(--ease-out); }
.breath__cue.is-turning { opacity: 0; }

/* לבנה: היער עצמו מביט בחזרה. כל הכרטיס הוא הפנים שלה */
.levana { padding: 0; overflow: hidden; gap: 0; background: var(--k-forest); color: var(--world-ink-light); --color-focus: var(--world-ink-light); }
.levana__face { position: relative; height: 170px; }
.levana__art { position: absolute; inset: 0; overflow: hidden; }
.levana__body { display: grid; gap: var(--space-md); padding: 0 var(--space-lg) var(--space-lg); min-width: 0; }
/* לבנה מדברת: בועה עם זנב אל הפה שלה */
.bubble { position: relative; justify-self: center; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); color: var(--world-ink-dark); font-size: var(--text-2xl); line-height: 1.15; margin-block-start: calc(-1 * var(--space-lg)); }
.bubble::before { content: ""; position: absolute; top: -8px; inset-inline-start: calc(50% - 10px); width: 20px; height: 20px; border-radius: var(--space-2xs); background: var(--color-paper); transform: rotate(45deg); }
/* שדה הכתיבה: באר כהה בתוך היער, עם כפתור שליחה צהוב */
.say { display: flex; align-items: center; gap: var(--space-xs); min-height: 64px; padding: var(--space-xs); padding-inline-start: var(--space-lg); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--k-forest) 58%, var(--color-ink)); }
.levana .say input { flex: 1; min-width: 0; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--world-ink-light); font-size: var(--text-lg); outline-offset: 4px; }
.levana .say input::placeholder { color: var(--k-leaf-light); }
.say__send { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--k-sun); color: var(--world-ink-dark); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.say__send:hover { background: var(--k-amber); }
.say__send:active { transform: scale(0.9); }
.say__send:disabled { opacity: 0.55; cursor: not-allowed; }
.say__send svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* ההצעות: פתקים צבעוניים, קצת עקומים, עם איור קטן */
.ideas { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: var(--space-sm); margin: 0 calc(-1 * var(--space-lg)); padding: var(--space-xs) var(--space-lg); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-lg); overscroll-behavior-x: contain; scrollbar-width: none; }
.ideas:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.ideas li { scroll-snap-align: start; }
.idea { position: relative; overflow: hidden; display: flex; align-items: flex-start; width: 100%; height: 148px; padding: var(--space-md); border: 0; border-radius: var(--radius-tile); background: var(--idea-bg); color: var(--world-ink-dark); font-size: var(--text-md); line-height: 1.25; text-align: start; cursor: pointer; transform: rotate(var(--tilt, -2deg)); transition: transform var(--dur-long) var(--ease-out); }
.ideas li:nth-child(even) .idea { --tilt: 2deg; }
.idea:hover { transform: rotate(0deg) translateY(-3px); }
.idea:active { transform: rotate(0deg) scale(0.96); }
.idea:disabled { opacity: 0.55; cursor: not-allowed; }
.idea__text { position: relative; z-index: var(--z-base); display: block; }
.idea__art { position: absolute; bottom: -14px; inset-inline-end: -10px; width: 88px; height: 88px; }
.idea--sun { --idea-bg: var(--k-sun); }
.idea--pink { --idea-bg: var(--k-pink); }
.idea--water { --idea-bg: var(--k-water-light); }
.idea--leaf { --idea-bg: var(--k-leaf-light); }
@media (prefers-reduced-motion: reduce) { .idea, .say__send { transition: none; } }
@media (prefers-reduced-motion: reduce) { .mood, .mood__face, .reply, .reply__card, .mini, .mini__btn, .fab, .link, .btn--ink, .breath__cue { transition: none; } .reply.is-open .reply__card, .breath.is-open .breath__orb { animation: none; } .breath__orb { transform: scale(0.85); } .js .mini { transform: none; } }

/* מצבי "היום שלך" */
.today h2.is-long { font-size: var(--text-3xl); line-height: 1.1; }
.ring[hidden] { display: none; }
.ring__label b.is-time { font-size: var(--text-2xl); }
[data-track="general"] [data-jewish] { display: none; }

/* המצב הרגיש (ליל המעיין הערב, נדרש רב): המסך מצטמצם */
.calm-set { display: none; gap: var(--space-lg); }
.is-sensitive .calm-set { display: grid; animation: rise var(--dur-long) var(--ease-out) backwards; }
.is-sensitive .fold { display: none; }
.calm-set__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.calm-set__acts .btn { width: 100%; min-height: 52px; }
.rows { display: grid; margin: 0; padding: 0; list-style: none; }
.rows li + li { border-block-start: var(--rule-hair) solid var(--color-rule); }
.row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); width: 100%; min-height: 60px; padding: 0; border: 0; background: transparent; color: var(--color-ink); font-size: var(--text-lg); text-align: start; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.row:hover { color: var(--color-accent); }
.row:active { transform: scale(0.98); }
.row:disabled { opacity: 0.55; cursor: not-allowed; }
.row svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .row { transition: none; } .is-sensitive .calm-set { animation: none; } }

/* רישום וסת: מסך מלא שעולה מלמטה, ארבעה צעדים */
.flow { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: auto 1fr; background: var(--color-paper); }
html:not(.js) .flow { display: none; }
.js .flow { opacity: 0; visibility: hidden; transform: translateY(8%); transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .flow.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.flow__top { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg) var(--space-lg) 0; }
.round--ink { background: var(--color-paper-2); color: var(--color-ink); }
.round--ink:hover { background: var(--color-paper-3); }
.flow__art { width: 56px; height: 56px; transition: opacity var(--dur-short) var(--ease-out); }
.flow[data-step="done"] .flow__art { opacity: 0; }
.flow__steps { display: grid; min-height: 0; }
.step { grid-area: 1 / 1; display: grid; align-content: start; gap: var(--space-lg); padding: var(--space-lg); overflow-y: auto; scrollbar-width: none; }
.js .step { opacity: 0; visibility: hidden; transform: translateX(-28px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-long) var(--ease-out) var(--dur-micro), transform var(--dur-long) var(--ease-out) var(--dur-micro), visibility 0s; }
.js .step.is-past { transform: translateX(28px); }
.step h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.step > p { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.step .step__hint { font-size: var(--text-sm); color: var(--color-muted); }
.step .seg label { background: var(--color-paper-2); }
.step .seg input:checked + label { background: var(--color-ink); }
.step__acts { display: grid; justify-items: center; gap: var(--space-xs); }
.btn--wide { width: 100%; min-height: 56px; }
.btn--plain { background: var(--color-paper-2); color: var(--color-ink); }
.btn--plain:hover { background: var(--color-paper-3); }

.clock { display: flex; align-items: center; justify-content: center; gap: var(--space-md); padding: var(--space-md) 0; border-radius: var(--radius-card); background: var(--k-lilac); color: var(--world-ink-dark); }
.clock__unit { display: grid; justify-items: center; gap: var(--space-2xs); }
.clock__num { min-width: 2ch; font-size: var(--text-figure); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; text-align: center; }
.clock__sep { font-size: var(--text-figure); line-height: 1; }
.clock__btn { display: grid; place-items: center; width: 48px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: inherit; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.clock__btn:hover { background: color-mix(in oklab, var(--world-ink-dark) 12%, transparent); }
.clock__btn:active { transform: scale(0.88); }
.clock__btn:disabled { opacity: 0.55; cursor: not-allowed; }
.clock__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.clock__num.is-tick { animation: tick var(--dur-short) var(--ease-out); }
@keyframes tick { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* היום כפס אחד: לילה, יום, בין השמשות, לילה. הסימן הוא השעה שנבחרה. */
.daybar { position: relative; padding-block-start: var(--space-lg); }
.daybar__track { display: flex; height: 28px; overflow: hidden; border-radius: var(--radius-tile); }
.daybar__night { background: var(--k-night); }
.daybar__day { background: var(--k-sun); }
.daybar__dusk { background: var(--k-pink-deep); }
.daybar__track > :nth-child(1) { flex: 25.8; }
.daybar__track > :nth-child(2) { flex: 43.8; }
.daybar__track > :nth-child(3) { flex: 2.1; }
.daybar__track > :nth-child(4) { flex: 28.3; }
.daybar__rail { position: absolute; inset: 0; transform: translateX(calc(var(--at, 30) * 1%)); transition: transform var(--dur-world) var(--ease-out); }
.daybar__mark { position: absolute; top: var(--space-xs); bottom: calc(-1 * var(--space-2xs)); left: -3px; width: 6px; border-radius: var(--space-2xs); background: var(--color-ink); outline: 3px solid var(--color-paper); }

.done__art { height: 168px; overflow: hidden; border-radius: var(--radius-card); }
.next { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-md); color: var(--color-ink-2); }
.next li { padding-block-start: var(--space-xs); border-block-start: var(--rule-hair) solid var(--color-rule); }
@media (prefers-reduced-motion: reduce) { .flow, .step, .daybar__rail, .clock__btn { transition: none; } .clock__num.is-tick { animation: none; } .js .flow, .js .step, .js .step.is-past { transform: none; } }

/* ליל המעיין: מסך מלא בעולם הלילה */
.eve { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: 1fr auto; background: var(--k-night); color: var(--world-ink-light); --color-focus: var(--world-ink-light); --eve-well: color-mix(in oklab, var(--k-night-2) 62%, var(--k-night)); }
html:not(.js) .eve { display: none; }
.js .eve { opacity: 0; visibility: hidden; transform: translateY(6%); transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .eve.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-world) var(--ease-out), opacity var(--dur-long) var(--ease-out), visibility 0s; }
.eve__scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.eve__hero { position: relative; height: 230px; }
.eve__art { position: absolute; inset: 0; overflow: hidden; }
.eve__back { position: absolute; top: var(--space-lg); inset-inline-end: var(--space-lg); background: color-mix(in oklab, var(--world-ink-light) 16%, transparent); color: var(--world-ink-light); }
.eve__back:hover { background: color-mix(in oklab, var(--world-ink-light) 28%, transparent); }
.eve__body { display: grid; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) var(--space-xl); }
.eve__head { display: grid; gap: var(--space-xs); padding-block-end: var(--space-xs); }
.eve h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.eve__head > p { font-size: var(--text-lg); line-height: 1.4; }
.eve__time { display: flex; align-items: baseline; gap: var(--space-sm); margin-block-start: var(--space-xs); }
.eve__time b { font-size: var(--text-figure); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; color: var(--k-moon); }
.eve__time span { font-size: var(--text-md); color: var(--k-water-light); }

.pane { display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--eve-well); }
.pane h4 { margin: 0; font-size: var(--text-xl); font-weight: 400; line-height: 1.2; }
.pane__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.pane__lead { font-size: var(--text-lg); line-height: 1.35; }
.pane__note { font-size: var(--text-sm); line-height: 1.45; color: var(--k-water-light); }
.pane__acts { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.pane--soft { background: var(--k-plum); }
.pane--row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.pane--row > div { display: grid; gap: var(--space-2xs); }
.pane textarea { width: 100%; min-height: 96px; padding: var(--space-md); border: 0; border-radius: var(--radius-tile); background: color-mix(in oklab, var(--k-night) 46%, var(--k-plum)); color: var(--world-ink-light); font-size: var(--text-lg); line-height: 1.5; resize: none; outline: 2px solid transparent; outline-offset: -3px; }
.pane textarea::placeholder { color: var(--k-water-light); opacity: 1; }
.pane textarea:focus-visible { outline-color: var(--color-focus); }
.pane textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--moon { min-height: 52px; padding: 0 var(--space-lg); background: var(--k-moon); color: var(--world-ink-dark); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--moon:hover { background: var(--color-paper); }
.btn--line { min-height: 52px; padding: 0 var(--space-lg); background: transparent; color: inherit; border-color: currentColor; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--line:hover { background: color-mix(in oklab, var(--world-ink-light) 14%, transparent); }
.seg--night .chip { background: transparent; color: inherit; border: 2px solid color-mix(in oklab, var(--world-ink-light) 46%, transparent); }
.seg--night .chip:hover { background: color-mix(in oklab, var(--world-ink-light) 14%, transparent); }
.seg--night .chip[aria-pressed="true"] { background: var(--k-moon); border-color: var(--k-moon); color: var(--world-ink-dark); }

/* רשימת ההכנות: עיגול שמתמלא, בלי ספירה ובלי אחוזים */
.checks { display: grid; margin: 0; padding: 0; list-style: none; }
.check { display: flex; align-items: center; gap: var(--space-sm); width: 100%; min-height: 52px; padding: 0; border: 0; background: transparent; color: inherit; font-size: var(--text-lg); text-align: start; cursor: pointer; transition: opacity var(--dur-short) var(--ease-out); }
.check:disabled { opacity: 0.55; cursor: not-allowed; }
.check__box { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border: 2px solid var(--k-moon); border-radius: 50%; color: var(--world-ink-dark); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.check:hover .check__box { background: color-mix(in oklab, var(--k-moon) 24%, transparent); }
.check:active .check__box { transform: scale(0.88); }
.check__box svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset var(--dur-long) var(--ease-out); }
.check[aria-checked="true"] .check__box { background: var(--k-moon); transform: scale(1.08); }
.check[aria-checked="true"] .check__box svg { stroke-dashoffset: 0; }
.check[aria-checked="true"] { opacity: 0.72; }

/* הפס התחתון: פעולה אחת, ומתחתיה פתח שקט למה שלא הלך כמתוכנן */
.eve__bar { display: grid; justify-items: center; gap: var(--space-2xs); padding: var(--space-md) var(--space-lg) var(--space-lg); background: var(--k-night); border-block-start: var(--rule-hair) solid var(--k-night-2); }
.eve__bar .btn--moon { min-height: 60px; font-size: var(--text-lg); }
.kind { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-long) var(--ease-out); }
.kind.is-open { grid-template-rows: 1fr; }
.kind__in { min-height: 0; overflow: hidden; }
.kind__card { display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--k-plum-mid); }
.kind.is-open .kind__card { animation: rise var(--dur-long) var(--ease-out) backwards; }
.kind__line { font-size: var(--text-xl); line-height: 1.25; }

/* אחרי הטבילה */
.eve__after { display: none; justify-items: stretch; }
.eve.is-after .eve__after { display: grid; animation: rise var(--dur-world) var(--ease-out) backwards; }
.eve.is-after #eve-main, .eve.is-after .eve__bar, .eve.is-after .eve__hero { display: none; }
.eve.is-after { background: var(--k-plum); --eve-well: var(--k-plum-mid); }
.after__art { height: 240px; overflow: hidden; border-radius: var(--radius-card); margin-block-start: var(--space-xl); }
.eve__after > p { font-size: var(--text-lg); line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .eve, .kind, .check, .check__box, .check__box svg, .btn--moon, .btn--line { transition: none; } .kind.is-open .kind__card, .eve.is-after .eve__after { animation: none; } .js .eve { transform: none; } }

/* ============ תנועה ============ */
/* העונה נשפכת פנימה מהשמש */
.world__wash { position: absolute; inset: 0; clip-path: circle(0% at 26% 80%); animation: wash var(--dur-grow) var(--ease-out) forwards; }
@keyframes wash { to { clip-path: circle(150% at 26% 80%); } }
/* הצמחייה זזה ברוח, לאט */
.friend { transform-origin: 50% 100%; animation: sway 4s var(--ease-in-out) infinite alternate; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.star.is-twinkle { animation: twinkle 700ms var(--ease-out); }
@keyframes twinkle { 40% { transform: scale(2.2); } }

/* ההרגשות: הפרצוף מהנהן, והמענה קופץ פנימה */
.mood.is-nod .mood__face { animation: nod var(--dur-world) var(--ease-out); }
@keyframes nod { 0% { transform: scale(1.12) rotate(0deg); } 30% { transform: scale(1.18) rotate(-5deg); } 62% { transform: scale(1.14) rotate(3deg); } 100% { transform: scale(1.12) rotate(0deg); } }
.reply__card.is-fresh .reply__art { animation: pop-in var(--dur-world) var(--ease-out) backwards; animation-delay: var(--dur-micro); }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(24px) scale(0.5) rotate(-16deg); } 60% { opacity: 1; transform: translateY(-4px) scale(1.06) rotate(4deg); } 100% { transform: none; } }
.reply__card.is-fresh .reply__line { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: 80ms; }
.reply__card.is-fresh .reply__acts { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: 160ms; }

/* "סימן בשדה": האיורים קופצים למקום אחד אחרי השני */
.js .sheet.is-open .opt__char { animation: hop var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms + 180ms); }
@keyframes hop { 0% { transform: translateY(12px) scale(0.5) rotate(-14deg); } 60% { transform: translateY(-3px) scale(1.1) rotate(5deg); } 100% { transform: none; } }

/* לבנה: חץ השליחה עף למעלה וחוזר מלמטה */
.say__send.is-sent svg { animation: fly var(--dur-world) var(--ease-in-out); }
@keyframes fly { 0% { transform: none; opacity: 1; } 44% { transform: translateY(-150%); opacity: 0; } 45% { transform: translateY(150%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.idea:active .idea__art { transform: scale(1.15) rotate(-8deg); }
.idea__art { transition: transform var(--dur-long) var(--ease-out); }
.idea:hover .idea__art { transform: scale(1.08) rotate(-4deg); }

/* הנגן: שלושה פסים שזזים רק כשמתנגן */
.eq { display: flex; align-items: flex-end; gap: var(--space-3xs); height: 18px; flex-shrink: 0; }
.eq i { width: 3px; height: 100%; border-radius: var(--space-3xs); background: var(--k-sun); transform-origin: 50% 100%; animation: eq 820ms var(--ease-in-out) infinite alternate; }
.eq i:nth-child(2) { animation-delay: -300ms; animation-duration: 640ms; }
.eq i:nth-child(3) { animation-delay: -520ms; animation-duration: 980ms; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.mini.is-paused .eq i, .mini:not(.is-open) .eq i { animation-play-state: paused; }

/* רישום וסת: שמש או ירח על הסימן, וגשם שיורד פעם אחת במסך הסיום */
.daybar__mark::before { content: ""; position: absolute; top: calc(-1 * var(--space-lg)); left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--k-sun); outline: 3px solid var(--color-paper); transition: background-color var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
[data-onah="night"] .daybar__mark::before { background: var(--k-night); transform: scale(0.82); }
.done__scene { position: relative; overflow: hidden; border-radius: var(--radius-card); }
.fall { position: absolute; top: 0; width: 10px; height: 16px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: var(--k-water-light); opacity: 0; }
.fall:nth-of-type(1) { left: 18%; } .fall:nth-of-type(2) { left: 44%; } .fall:nth-of-type(3) { left: 68%; } .fall:nth-of-type(4) { left: 86%; }
.step.is-on .fall { animation: fall 1100ms var(--ease-in) 2; }
.step.is-on .fall:nth-of-type(2) { animation-delay: 240ms; } .step.is-on .fall:nth-of-type(3) { animation-delay: 90ms; } .step.is-on .fall:nth-of-type(4) { animation-delay: 420ms; }
@keyframes fall { 0% { opacity: 0; transform: translateY(-20px); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(150px); } }
.step.is-on .done__art { animation: rise var(--dur-world) var(--ease-out) backwards; }
.msg { display: grid; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-2); text-align: start; }
.msg__label { font-size: var(--text-sm); color: var(--color-muted); }
.msg__bubble { justify-self: start; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper); font-size: var(--text-lg); }
.step__acts .kind { width: 100%; }

/* ליל המעיין: אדוות, "הכול מוכן", והמים שעולים אחרי "טבלתי" */
.ripple { transform-box: fill-box; transform-origin: 50% 50%; }
.eve.is-rippling .ripple { animation: ripple 2600ms var(--ease-out); }
.eve.is-rippling .ripple + .ripple { animation-delay: 320ms; }
@keyframes ripple { 0% { transform: scale(0.3); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.ready { padding-block-start: var(--space-sm); font-size: var(--text-md); color: var(--k-moon); }
.kind.is-open .ready { animation: rise var(--dur-long) var(--ease-out) backwards; }
.eve__wash { position: absolute; inset: 0; z-index: var(--z-raised); background: var(--k-water-light); clip-path: circle(0% at 50% 92%); animation: wash-up var(--dur-grow) var(--ease-in-out) forwards; transition: opacity 500ms var(--ease-out); }
.eve__wash.is-leaving { opacity: 0; }
@keyframes wash-up { to { clip-path: circle(160% at 50% 92%); } }
.eve.is-after .after__art svg { animation: emerge 1100ms var(--ease-out) backwards; animation-delay: 200ms; }
@keyframes emerge { from { transform: translateY(46%); } to { transform: none; } }
.eve.is-open .pane { animation: rise var(--dur-world) var(--ease-out) backwards; }
.eve.is-open .pane:nth-of-type(1) { animation-delay: 120ms; } .eve.is-open .pane:nth-of-type(2) { animation-delay: 180ms; } .eve.is-open .pane:nth-of-type(3) { animation-delay: 240ms; }
.eve.is-open .eve__head { animation: rise var(--dur-world) var(--ease-out) backwards; animation-delay: 60ms; }

@media (prefers-reduced-motion: reduce) {
  .world__wash, .friend, .star.is-twinkle, .mood.is-nod .mood__face, .reply__card.is-fresh .reply__art, .reply__card.is-fresh .reply__line, .reply__card.is-fresh .reply__acts,
  .js .sheet.is-open .opt__char, .say__send.is-sent svg, .eq i, .step.is-on .fall, .step.is-on .done__art, .eve.is-rippling .ripple, .kind.is-open .ready,
  .eve__wash, .eve.is-after .after__art svg, .eve.is-open .pane, .eve.is-open .eve__head { animation: none; }
  .idea__art, .daybar__mark::before { transition: none; }
}

/* הפסק ובדיקה: שלוש בחירות גדולות, בלי צבע ובלי שיפוט */
.picks { display: grid; gap: var(--space-xs); }
.pick { display: grid; gap: var(--space-2xs); width: 100%; min-height: 72px; align-content: center; padding: var(--space-md) var(--space-lg); border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-lg); line-height: 1.3; text-align: start; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pick span { font-size: var(--text-sm); color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); }
.pick:hover { background: var(--color-paper-3); }
.pick:active { transform: scale(0.98); }
.pick:disabled { opacity: 0.55; cursor: not-allowed; }
.pick.is-picked { background: var(--color-ink); color: var(--color-paper); }
.pick.is-picked span { color: var(--color-paper-3); }
.js .step.is-on .pick { animation: rise var(--dur-long) var(--ease-out) backwards; }
.js .step.is-on .pick:nth-child(2) { animation-delay: 60ms; } .js .step.is-on .pick:nth-child(3) { animation-delay: 120ms; }
#rec .done__art { background: var(--k-leaf-light); }
@media (prefers-reduced-motion: reduce) { .pick, .pick span { transition: none; } .js .step.is-on .pick { animation: none; } }

/* ============ לשונית המעקב ============ */
.screen--track { display: none; padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-3xl)); }
.phone:not([data-tab="home"]) .screen--home { display: none; }
.phone[data-tab="track"] .screen--track { display: grid; grid-auto-rows: max-content; align-content: start; gap: var(--space-lg); animation: rise var(--dur-long) var(--ease-out) backwards; }
[data-track="jewish"] [data-general] { display: none; }
.track__top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md); }
.track__top h2 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.track__top p { font-size: var(--text-md); color: var(--color-ink-2); }
.track__nav { display: flex; gap: var(--space-xs); }

/* לוח החודש: כל יום בצבע העונה שלו */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.cal__head { padding-block-end: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.day { position: relative; display: grid; align-content: center; justify-items: center; gap: var(--space-3xs); aspect-ratio: 1 / 1.12; padding: 0; border: 0; border-radius: var(--space-sm); background: var(--day-bg, transparent); color: var(--day-ink, var(--color-ink)); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.day b { font-size: var(--text-md); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.day span { font-size: var(--text-xs); line-height: 1; opacity: 0.82; }
.day:active { transform: scale(0.9); }
.day:disabled { opacity: 0.55; cursor: not-allowed; }
.day--winter { --tint: var(--winter-world); --day-bg: var(--tint); --day-ink: var(--world-ink-light); }
.day--spring { --tint: var(--spring-world); --day-bg: var(--tint); }
.day--summer { --tint: var(--summer-world); --day-bg: var(--tint); }
.day--autumn, .day--onah { --tint: var(--autumn-world); --day-bg: var(--tint); }
.day.is-ahead { --day-bg: color-mix(in oklab, var(--tint) 42%, var(--color-paper)); --day-ink: var(--color-ink); }
.day.is-next { opacity: 0.7; }
.day--soon { outline: 2px dashed var(--winter-world); outline-offset: -3px; }
.day.is-today { box-shadow: 0 0 0 3px var(--color-paper), 0 0 0 6px var(--color-ink); z-index: var(--z-base); }
.day[aria-selected="true"] { transform: scale(1.08); z-index: var(--z-base); }
.day__mark { position: absolute; bottom: var(--space-2xs); width: 8px; height: 8px; border-radius: 50%; background: var(--color-ink); }
.day__mark--moon { width: 12px; height: 12px; background: var(--k-night); box-shadow: inset -3px -1px 0 var(--k-moon); }
.js .phone[data-tab="track"] .day { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 12ms); }
@keyframes day-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

.legend { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-ink-2); }
.legend li { display: flex; align-items: center; gap: var(--space-xs); }
[data-track="general"] .legend [data-jewish], [data-track="jewish"] .legend [data-general] { display: none; }
.sw { display: block; width: 16px; height: 16px; border-radius: var(--space-2xs); flex-shrink: 0; }
.sw--winter { background: var(--winter-world); } .sw--spring { background: var(--spring-world); } .sw--summer { background: var(--summer-world); } .sw--autumn { background: var(--autumn-world); }
.sw--onah { background: var(--autumn-world); box-shadow: inset 0 0 0 5px var(--autumn-world), inset 0 0 0 16px var(--color-ink); }
.sw--moon { border-radius: 50%; background: var(--k-night); box-shadow: inset -4px -1px 0 var(--k-moon); }
.sw--soon { outline: 2px dashed var(--winter-world); outline-offset: -2px; }

/* פירוט היום שנבחר */
.dayinfo { display: grid; justify-items: start; gap: var(--space-xs); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.dayinfo h3, .axis-box h3 { font-size: var(--text-section); font-weight: 400; line-height: 1.15; }
.dayinfo p { font-size: var(--text-lg); line-height: 1.4; }
.dayinfo .dayinfo__log { font-size: var(--text-sm); color: var(--color-muted); }
.dayinfo .btn { margin-block-start: var(--space-xs); }
.dayinfo.is-fresh > * { animation: rise var(--dur-long) var(--ease-out) backwards; }
.dayinfo.is-fresh > :nth-child(2) { animation-delay: 50ms; } .dayinfo.is-fresh > :nth-child(3) { animation-delay: 100ms; } .dayinfo.is-fresh > :nth-child(4) { animation-delay: 150ms; }

/* ציר הסטטוס: מה עכשיו ומה צפוי */
.axis-box { display: grid; gap: var(--space-sm); }
.axis { display: grid; margin: 0; padding: 0; list-style: none; }
.axis li + li { border-block-start: var(--rule-hair) solid var(--color-rule); }
.axis__row { display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 72px; padding: var(--space-sm) 0; border: 0; background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), color var(--dur-short) var(--ease-out); }
.axis__row:hover { color: var(--color-accent); }
.axis__row:active { transform: scale(0.98); }
.axis__row:disabled { opacity: 0.55; cursor: not-allowed; }
.axis__dot { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; }
.axis__dot.sw--moon { box-shadow: inset -7px -2px 0 var(--k-moon); }
.axis__dot.sw--onah { box-shadow: inset 0 0 0 9px var(--autumn-world), inset 0 0 0 28px var(--color-ink); }
.axis__text { display: grid; gap: var(--space-3xs); flex: 1; min-width: 0; }
.axis__text b { font-size: var(--text-lg); font-weight: 400; line-height: 1.25; }
.axis__text span { font-size: var(--text-sm); color: var(--color-ink-2); }
.axis__row svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.range { font-size: var(--text-lg); line-height: 1.4; }
.range__note { font-size: var(--text-sm); color: var(--color-muted); }

/* "הראי את החישוב": הדרך אל התאריך, צעד אחרי צעד */
.sheet--calc { max-height: 88%; overflow-y: auto; scrollbar-width: none; padding-block-end: var(--space-lg); }
.calc__what { font-size: var(--text-xl); line-height: 1.25; }
.calc { display: grid; margin: 0; padding: 0; list-style: none; }
.calc li { position: relative; display: grid; gap: var(--space-3xs); padding-block: 0 var(--space-md); padding-inline-start: var(--space-xl); font-size: var(--text-md); line-height: 1.4; }
.calc li::before { content: ""; position: absolute; top: var(--space-2xs); inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--step, var(--color-ink)); }
.calc li::after { content: ""; position: absolute; top: var(--space-lg); bottom: 0; inset-inline-start: 8px; width: 2px; background: var(--color-rule); }
.calc li:last-child::after { content: none; }
.calc li:last-child b { font-size: var(--text-lg); }
.calc b { font-weight: 400; }
.calc span { font-size: var(--text-sm); color: var(--color-muted); }
.js .sheet--calc.is-open .calc li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 70ms + 120ms); }
.calc__by { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-2); font-size: var(--text-sm); color: var(--color-ink-2); }
@media (prefers-reduced-motion: reduce) { .day, .axis__row { transition: none; } .phone[data-tab="track"] .screen--track, .js .phone[data-tab="track"] .day, .dayinfo.is-fresh > *, .js .sheet--calc.is-open .calc li { animation: none; } }

/* ============ המעקב כנוף: החודש הוא שדה אחד רציף, והולכים בו לצד ============ */
.seg--views label { background: var(--color-paper-2); }
.screen--track[data-view="land"] .cal, .screen--track[data-view="cal"] .land { display: none; }
.land { margin-inline: calc(-1 * var(--space-lg)); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; direction: rtl; }
.land:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.land__in { position: relative; }
.land__svg { display: block; }
.land__item { position: absolute; pointer-events: none; transform-origin: 50% 100%; }
.js .land.is-alive .land__item { animation: grow-up var(--dur-grow) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 90ms + 300ms); }
@keyframes grow-up { from { opacity: 0; transform: translateY(18px) scale(0.4); } to { opacity: 1; transform: none; } }
.land__sun { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--k-sun); pointer-events: none; }
.js .land.is-alive .land__sun { animation: sunrise 1300ms var(--ease-out) backwards; animation-delay: 500ms; }
@keyframes sunrise { from { transform: translateY(70px); } to { transform: none; } }
.walker { position: absolute; top: 0; left: 0; width: 0; pointer-events: none; transition: transform var(--dur-world) var(--ease-out); }
.walker__line { position: absolute; top: 0; left: -1px; width: 2px; background: var(--color-ink); opacity: 0.28; }
.walker__dot { position: absolute; top: 0; left: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-paper); box-shadow: inset 0 0 0 5px var(--color-ink); transition: transform var(--dur-world) var(--ease-out); }
.ticks { display: flex; }
.tick { display: grid; justify-items: center; align-content: start; gap: var(--space-3xs); flex-shrink: 0; padding: var(--space-xs) 0 var(--space-sm); border: 0; background: transparent; color: var(--color-ink); cursor: pointer; scroll-snap-align: center; transition: transform var(--dur-micro) var(--ease-out); }
.tick i { font-style: normal; font-size: var(--text-xs); line-height: 1; color: var(--color-muted); }
.tick b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: var(--text-md); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tick span { font-size: var(--text-xs); line-height: 1; color: var(--color-ink-2); }
.tick.is-next b { color: var(--color-muted); }
.tick.is-today b { box-shadow: inset 0 0 0 2px var(--color-ink); }
.tick[aria-selected="true"] b { background: var(--color-ink); color: var(--color-paper); }
.tick:active { transform: scale(0.9); }
.tick:focus-visible { outline-offset: -3px; }
.tick:disabled { opacity: 0.55; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .walker, .walker__dot, .tick, .tick b { transition: none; } .js .land.is-alive .land__item, .js .land.is-alive .land__sun { animation: none; } }

/* ============ הלוח, משודרג: רצועות עונה מחוברות ופס עונות ============ */
.screen--track[data-view="land"] .seasonbar { display: none; }
.seasonbar { position: relative; padding-block-start: var(--space-md); }
.seasonbar__track { display: flex; gap: var(--space-3xs); height: 34px; }
.sb { display: grid; place-items: center; min-width: 0; font-size: var(--text-sm); line-height: 1; color: var(--world-ink-dark); }
.sb:first-child { border-start-start-radius: var(--radius-tile); border-end-start-radius: var(--radius-tile); }
.sb:last-child { border-start-end-radius: var(--radius-tile); border-end-end-radius: var(--radius-tile); }
.sb--winter { flex: 5; background: var(--winter-world); color: var(--world-ink-light); }
.sb--spring { flex: 7; background: var(--spring-world); }
.sb--summer { flex: 9; background: var(--summer-world); }
.sb--autumn { flex: 9; background: var(--autumn-world); }
.seasonbar__now { position: absolute; top: 0; inset-inline-start: calc(var(--today, 30) * 1% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--color-ink); box-shadow: 0 0 0 3px var(--color-paper); }
.js .phone[data-tab="track"] .sb { animation: bar-in var(--dur-grow) var(--ease-out) backwards; transform-origin: 100% 50%; }
.js .phone[data-tab="track"] .sb:nth-child(2) { animation-delay: 90ms; } .js .phone[data-tab="track"] .sb:nth-child(3) { animation-delay: 180ms; } .js .phone[data-tab="track"] .sb:nth-child(4) { animation-delay: 270ms; }
@keyframes bar-in { from { opacity: 0; transform: scaleX(0.2); } to { opacity: 1; transform: none; } }
.js .phone[data-tab="track"] .seasonbar__now { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: 520ms; }

.cal { column-gap: 0; row-gap: var(--space-xs); }
.day { aspect-ratio: 1 / 1.16; border-radius: 0; gap: var(--space-3xs); }
.day.is-start { border-start-start-radius: var(--radius-tile); border-end-start-radius: var(--radius-tile); }
.day.is-end { border-start-end-radius: var(--radius-tile); border-end-end-radius: var(--radius-tile); }
.day b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.day.is-today { box-shadow: none; }
.day.is-today b { background: var(--color-ink); color: var(--color-paper); }
.day[aria-selected="true"] { transform: none; }
.day[aria-selected="true"] b { box-shadow: 0 0 0 2px var(--day-ink, var(--color-ink)); transform: scale(1.12); }
.day.is-today[aria-selected="true"] b { box-shadow: 0 0 0 2px var(--color-paper), 0 0 0 4px var(--color-ink); }
.day--soon { --day-bg: transparent; --day-ink: var(--color-ink); outline: none; border-block: 2px dashed var(--winter-world); }
.day--soon.is-start { border-inline-start: 2px dashed var(--winter-world); }
.day--soon.is-end { border-inline-end: 2px dashed var(--winter-world); }
.day--none { --day-bg: transparent; }
.day__mark { bottom: var(--space-3xs); width: 6px; height: 6px; }
.day__mark--moon { width: 11px; height: 11px; }
@media (prefers-reduced-motion: reduce) { .day b { transition: none; } .js .phone[data-tab="track"] .sb, .js .phone[data-tab="track"] .seasonbar__now { animation: none; } }

/* נוף: שם העונה בראש כל קטע */
.land__name { position: absolute; top: var(--space-sm); transform: translateX(calc(-100% - var(--space-md))); font-size: var(--text-sm); line-height: 1.2; color: var(--world-ink-dark); white-space: nowrap; pointer-events: none; }
.land { padding-block-start: var(--space-2xs); }

/* ============ לבנה: מסך השיחה ============ */
.screen--levana, .screen--me, .screen--grove { display: none; }
.phone[data-tab="levana"] .screen--levana { display: grid; grid-template-rows: auto 1fr auto; padding: 0 0 var(--tabbar-h); overflow: hidden; background: var(--k-forest); animation: rise var(--dur-long) var(--ease-out) backwards; }
.chat__top { position: relative; height: 176px; color: var(--world-ink-light); --color-focus: var(--world-ink-light); }
.chat__bar { position: relative; z-index: var(--z-base); display: flex; justify-content: space-between; gap: var(--space-xs); padding: var(--space-lg) var(--space-lg) 0; }
.chip--leaf { background: color-mix(in oklab, var(--k-forest) 62%, var(--color-ink)); color: var(--world-ink-light); }
.chip--leaf:hover { background: color-mix(in oklab, var(--k-forest) 44%, var(--color-ink)); }
.chip--leaf[aria-pressed="true"] { background: var(--k-moon); color: var(--world-ink-dark); }
.chat__log { display: grid; align-content: start; gap: var(--space-sm); min-height: 0; overflow-y: auto; scrollbar-width: none; padding: var(--space-lg) var(--space-md) var(--space-md); border-start-start-radius: var(--radius-sheet); border-start-end-radius: var(--radius-sheet); background: var(--color-paper); }
.chat__note, .chat__saw { justify-self: center; font-size: var(--text-sm); line-height: 1.4; color: var(--color-muted); text-align: center; max-width: 30ch; }
.line { display: flex; }
.line--me { justify-content: flex-end; }
.bub { max-width: 86%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); font-size: var(--text-md); line-height: 1.45; }
.bub--me { border-end-end-radius: var(--space-2xs); background: var(--k-forest); color: var(--world-ink-light); }
.bub--her { display: grid; gap: var(--space-xs); border-end-start-radius: var(--space-2xs); background: var(--color-paper-2); color: var(--color-ink); }
.ans__first { font-size: var(--text-lg); line-height: 1.35; }
.ans__more { color: var(--color-ink-2); }
.ans__src { font-size: var(--text-sm); color: var(--color-muted); }
.ans__acts { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding-block-start: var(--space-2xs); }
.bub--her .chip { background: var(--color-paper); }
.bub--her .chip:hover { background: var(--color-paper-3); }
.js .line.is-new { animation: rise var(--dur-long) var(--ease-out) backwards; }
.dots { display: flex; gap: var(--space-2xs); padding: var(--space-2xs) 0; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-muted); animation: dot 900ms var(--ease-in-out) infinite; }
.dots i:nth-child(2) { animation-delay: 150ms; } .dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.say--chat { margin: 0 var(--space-md) var(--space-md); background: var(--color-paper-2); }
.screen--levana .say--chat { background: color-mix(in oklab, var(--k-forest) 58%, var(--color-ink)); }
.say--chat input { flex: 1; min-width: 0; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--world-ink-light); font-size: var(--text-lg); outline: 2px solid transparent; outline-offset: 4px; }
.say--chat input::placeholder { color: var(--k-leaf-light); opacity: 1; }
.say--chat input:focus-visible { outline-color: var(--world-ink-light); }
.say--chat input:disabled { opacity: 0.55; cursor: not-allowed; }
.phone[data-tab="levana"] .chat__log { margin-block-end: var(--space-md); }
.phone[data-tab="levana"] { --fab-lift: calc(-1 * var(--space-3xl)); }

/* ============ אני ============ */
.phone[data-tab="me"] .screen--me { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-3xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.screen--me h2, .grove__top h2 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }

/* ============ קרחת היער ============ */
.phone[data-tab="grove"] .screen--grove { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.grove__top { display: flex; align-items: flex-start; gap: var(--space-md); }
.grove__top p { font-size: var(--text-lg); color: var(--color-ink-2); }
.grove__list { display: grid; gap: var(--space-xs); }
.grove__list h3 { font-size: var(--text-section); font-weight: 400; line-height: 1.15; }
.tracks { display: grid; margin: 0; padding: 0; list-style: none; }
.tracks li + li { border-block-start: var(--rule-hair) solid var(--color-rule); }
.tracks li[hidden] + li { border-block-start: 0; }
.trk { display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 76px; padding: var(--space-sm) 0; border: 0; background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), color var(--dur-short) var(--ease-out); }
.trk:hover { color: var(--color-accent); }
.trk:active { transform: scale(0.98); }
.trk:disabled { opacity: 0.55; cursor: not-allowed; }
.trk__art { flex-shrink: 0; width: 52px; height: 52px; padding: var(--space-xs); border-radius: var(--space-md); overflow: hidden; }
.trk__art--winter { background: var(--winter-world); --k-flora: var(--winter-far); --k-flora-2: var(--k-moon); }
.trk__art--spring { background: var(--spring-world); --k-flora: var(--spring-near); --k-flora-2: var(--k-sun); }
.trk__art--summer { background: var(--summer-world); }
.trk__art--autumn { background: var(--autumn-world); --k-flora: var(--autumn-near); --k-flora-2: var(--k-moon); }
.trk__art--night { background: var(--k-night); --k-flora: var(--k-night-2); --k-flora-2: var(--k-moon); }
.trk__text, .moment__text, .breathe__text { display: grid; gap: var(--space-3xs); flex: 1; min-width: 0; }
.trk__text b, .moment__text b, .breathe__text b { font-size: var(--text-lg); font-weight: 400; line-height: 1.25; }
.trk__text span, .breathe__text span { font-size: var(--text-sm); color: var(--color-ink-2); }
.trk > svg { flex-shrink: 0; width: 22px; height: 22px; fill: currentColor; }
.trk.is-playing b { color: var(--color-accent); }
.breathe { display: flex; align-items: center; gap: var(--space-md); width: 100%; padding: var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--k-water-light); color: var(--world-ink-dark); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.breathe:active { transform: scale(0.98); }
.breathe:disabled { opacity: 0.55; cursor: not-allowed; }
.breathe__orb { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--k-water); box-shadow: 0 0 0 8px color-mix(in oklab, var(--k-water) 34%, var(--k-water-light)); }

/* כרטיס "רגע של שקט" בבית */
.moment { position: relative; overflow: hidden; display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 96px; padding: var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--k-night); color: var(--world-ink-light); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); --color-focus: var(--world-ink-light); }
.moment:active { transform: scale(0.98); }
.moment:disabled { opacity: 0.55; cursor: not-allowed; }
.moment__art { flex-shrink: 0; width: 64px; height: 64px; overflow: hidden; border-radius: var(--space-md); }
.moment__text span { font-size: var(--text-sm); color: var(--k-water-light); }
.moment__play { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--k-moon); color: var(--world-ink-dark); transition: transform var(--dur-long) var(--ease-out); }
.moment__play svg { width: 24px; height: 24px; fill: currentColor; }

/* הנגן המוקטן נפתח לנגן מלא */
.mini__open { display: flex; align-items: center; gap: var(--space-sm); flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: start; cursor: pointer; --color-focus: var(--color-paper); }
.mini__open:disabled { opacity: 0.55; cursor: not-allowed; }
.player { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: auto 1fr auto auto auto auto; justify-items: center; gap: var(--space-lg); padding: var(--space-lg) var(--space-lg) var(--space-xl); background: var(--world); color: var(--world-ink); text-align: center; --color-focus: var(--world-ink); }
html:not(.js) .player { display: none; }
.js .player { opacity: 0; visibility: hidden; transform: translateY(40%) scale(0.9); transform-origin: 50% 100%; transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .player.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-world) var(--ease-out), opacity var(--dur-long) var(--ease-out), visibility 0s; }
.player__close { justify-self: start; }
.player__stage { position: relative; display: grid; place-items: center; width: 100%; min-height: 0; }
.pulse { position: absolute; border-radius: 50%; }
.pulse--3 { width: 300px; height: 300px; background: var(--hill-far); }
.pulse--2 { width: 216px; height: 216px; background: var(--hill-near); }
.pulse--1 { width: 128px; height: 128px; background: var(--orb); }
.player.is-open .pulse { animation: pulse 8s var(--ease-in-out) infinite alternate; }
.player.is-open .pulse--2 { animation-delay: -2.6s; } .player.is-open .pulse--1 { animation-delay: -5.2s; }
.player.is-paused .pulse { animation-play-state: paused; }
@keyframes pulse { from { transform: scale(0.9); } to { transform: scale(1.07); } }
.player__info h3 { font-size: var(--text-display-s); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); }
.player__info p { font-size: var(--text-md); }
.player__timer { display: flex; gap: var(--space-xs); }
.player__timer .chip { background: color-mix(in oklab, var(--world-ink) 14%, transparent); color: inherit; }
.player__timer .chip:hover { background: color-mix(in oklab, var(--world-ink) 24%, transparent); }
.player__timer .chip[aria-pressed="true"] { background: var(--world-ink); color: var(--world); }
.player__ctrl { display: flex; align-items: center; gap: var(--space-md); }
.player__play { display: grid; place-items: center; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: var(--world-ink); color: var(--world); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.player__play:active { transform: scale(0.92); }
.player__play:disabled { opacity: 0.55; cursor: not-allowed; }
.player__play svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.player.is-paused .player__play svg { fill: currentColor; }
.player__note { font-size: var(--text-sm); opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .trk, .breathe, .moment, .moment__play, .player, .player__play { transition: none; } .js .line.is-new, .dots i, .player.is-open .pulse, .phone[data-tab="levana"] .screen--levana, .phone[data-tab="me"] .screen--me, .phone[data-tab="grove"] .screen--grove { animation: none; } .js .player { transform: none; } }

/* בלשונית לבנה הנגן המוקטן יושב מעל שדה הכתיבה, ולא עליו */
.phone[data-tab="levana"] .mini { inset-block-end: calc(var(--tabbar-h) + var(--space-3xl)); }
.phone[data-tab="levana"].has-mini { --fab-lift: calc(-1 * var(--space-4xl) - var(--space-lg)); }

/* ============ אונבורדינג ============ */
.onb { position: absolute; inset: 0; z-index: var(--z-tooltip); display: grid; grid-template-rows: auto 1fr; background: var(--color-paper); }
html:not(.js) .onb { display: none; }
.js .onb { opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
.js .onb.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out), visibility 0s; }
.onb__world { position: relative; overflow: hidden; height: 300px; background: var(--onb-bg, var(--spring-world)); border-end-start-radius: 50% var(--arc); border-end-end-radius: 50% var(--arc); transition: background-color var(--dur-world) var(--ease-out); }
.onb[data-step="welcome"] .onb__world { height: 400px; }
.onb__scene { opacity: 0; transition: opacity var(--dur-long) var(--ease-out); --hill-far: var(--spring-far); --hill-near: var(--spring-near); }
.onb[data-step="welcome"] .onb__scene { opacity: 1; }
.onb__sun { bottom: 70px; inset-inline-end: 60px; width: 110px; height: 110px; background: var(--k-sun); border-radius: 50%; transform: none; }
.js .onb.is-open[data-step="welcome"] .onb__sun { animation: sunrise 1500ms var(--ease-out) backwards; animation-delay: 200ms; }
.onb__art { position: absolute; inset-block: var(--space-2xl) var(--space-xl); inset-inline: var(--space-2xl); display: grid; place-items: center; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.onb__art svg { width: auto; height: 100%; max-width: 100%; }
.onb__art.is-out { opacity: 0; transform: translateY(16px) scale(0.92); }
.onb[data-step="levana"] .onb__art { inset: 0; }
.onb[data-step="levana"] .onb__art svg { width: 100%; height: 100%; }
.onb__back { position: absolute; top: var(--space-lg); inset-inline-start: var(--space-lg); background: color-mix(in oklab, var(--color-ink) 14%, transparent); color: var(--color-ink); transition: opacity var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.onb[data-step="welcome"] .onb__back { opacity: 0; pointer-events: none; }
.onb[data-step="levana"] .onb__back { background: color-mix(in oklab, var(--world-ink-light) 18%, transparent); color: var(--world-ink-light); }
/* הנבט גדל עם כל צעד: זו ההתקדמות, בלי מספרים. */
.onb__sprout { position: absolute; top: var(--space-md); inset-inline-end: var(--space-lg); width: 52px; height: 52px; }
.onb[data-step="welcome"] .onb__sprout { opacity: 0; }
.onb__sprout .leaves { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--grow, 0.2)); transition: transform var(--dur-grow) var(--ease-out); }
.onb__steps .step { padding-block-start: var(--space-lg); }
.onb__lang { justify-content: center; }
.onb__lang .chip { background: var(--color-paper-2); }
.onb__lang .chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.picks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.picks--two .pick { min-height: 64px; padding: var(--space-sm) var(--space-md); font-size: var(--text-md); }
.does { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-lg); line-height: 1.35; }
.does li { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-2); }
.does li::before { content: ""; flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--k-leaf); }
.does .does__no::before { background: transparent; box-shadow: inset 0 0 0 2.5px var(--color-ink); }
.js .step.is-on .does li { animation: rise var(--dur-long) var(--ease-out) backwards; }
.js .step.is-on .does li:nth-child(2) { animation-delay: 70ms; } .js .step.is-on .does li:nth-child(3) { animation-delay: 140ms; } .js .step.is-on .does li:nth-child(4) { animation-delay: 210ms; }

/* הבית של משתמשת חדשה: כרטיס ראשי אחד ועוד שניים */
.is-new .fold:not(.keep-new) { display: none; }
@media (prefers-reduced-motion: reduce) { .onb, .onb__world, .onb__scene, .onb__art, .onb__back, .onb__sprout .leaves { transition: none; } .js .onb.is-open[data-step="welcome"] .onb__sun, .js .step.is-on .does li { animation: none; } }

/* ---------- שבילים: הפיד ---------- */
.screen--paths, .screen--find, .screen--maker { display: none; }
.phone[data-tab="paths"] .screen--paths, .phone[data-tab="find"] .screen--find { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.paths__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.paths__top h2, .maker__who h2 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.swap { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: var(--space-2xs); border-radius: var(--radius-card); background: var(--color-paper-2); }
.swap::before { content: ""; position: absolute; inset-block: var(--space-2xs); inset-inline-start: var(--space-2xs); width: calc(50% - var(--space-2xs)); border-radius: var(--radius-tile); background: var(--color-ink); transition: transform var(--dur-long) var(--ease-out); }
.swap:has(.swap__b:last-child[aria-pressed="true"])::before { transform: translateX(-100%); }
[dir="ltr"] .swap:has(.swap__b:last-child[aria-pressed="true"])::before { transform: translateX(100%); }
.swap__b { position: relative; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-tile); background: transparent; color: var(--color-ink); font-size: var(--text-md); cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.swap__b:hover { color: var(--color-accent); }
.swap__b:active { transform: scale(0.96); }
.swap__b:disabled { opacity: 0.55; cursor: not-allowed; }
.swap__b[aria-pressed="true"], .swap__b[aria-pressed="true"]:hover { color: var(--color-paper); }
.chips--run { flex-wrap: nowrap; margin-inline: calc(-1 * var(--space-lg)); padding-inline: var(--space-lg); overflow-x: auto; scrollbar-width: none; }
.chips--run .chip { flex-shrink: 0; }

.feed { display: grid; gap: var(--space-2xl); }
.post { display: grid; gap: var(--space-sm); }
.post[hidden] { display: none; }
.js .phone[data-tab="paths"] .post { animation: rise var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 90ms + 80ms); }
.post__by { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.by { display: flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), color var(--dur-short) var(--ease-out); }
.by:hover { color: var(--color-accent); }
.by:active { transform: scale(0.97); }
.by:disabled { opacity: 0.55; cursor: not-allowed; }
.by__dot { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; color: var(--world-ink-dark); font-size: var(--text-xl); line-height: 1; }
.by__dot--pink, .maker[data-hue="pink"] { --hue: var(--k-pink); }
.by__dot--sun, .maker[data-hue="sun"] { --hue: var(--k-sun); }
.by__dot--water, .maker[data-hue="water"] { --hue: var(--k-water-light); }
.by__dot { background: var(--hue); }
.by__text { display: grid; }
.by__text b { font-size: var(--text-md); font-weight: 400; line-height: 1.2; }
.by__text span { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.3; }
.by--row { width: 100%; min-height: 68px; }
.by--light, .by--light:hover { color: var(--world-ink-light); }
.by--light .by__text span { color: inherit; opacity: 0.86; }

.post__body { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-card); overflow: hidden; color: var(--world-ink-dark); text-align: start; }
.post__art { position: absolute; inset: 0; }
.post__art svg { display: block; width: 100%; height: 100%; }
.post__body--say { display: grid; align-content: end; min-height: 300px; padding: var(--space-lg); background: var(--summer-world); }
.post__body--say p { max-width: 11em; font-size: var(--text-3xl); line-height: 1.15; letter-spacing: var(--tracking-display); }
.post__body--say::before { content: ""; position: absolute; inset-block-start: calc(-1 * var(--space-xl)); inset-inline-end: calc(-1 * var(--space-xl)); width: 180px; height: 180px; border-radius: 50%; background: var(--summer-orb); }
.post__body--pic { aspect-ratio: 1; background: var(--k-pink); }
.post__body--reel { aspect-ratio: 4 / 5; background: var(--winter-world); color: var(--world-ink-light); cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.post__body--reel:active { transform: scale(0.985); }
.post__body--reel:disabled { opacity: 0.55; cursor: not-allowed; }
.reel__play { position: absolute; inset: 0; display: grid; place-items: center; }
.reel__play svg { box-sizing: content-box; width: 28px; height: 28px; padding: var(--space-md); border-radius: 50%; background: var(--k-moon); fill: var(--world-ink-dark); transition: transform var(--dur-long) var(--ease-out); }
.post__body--reel:hover .reel__play svg { transform: scale(1.1); }
.reel__time { position: absolute; inset-block-start: var(--space-md); inset-inline-end: var(--space-md); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-tile); background: var(--scrim-plum); font-size: var(--text-sm); }
.reel__cap { position: absolute; inset-inline: var(--space-md); inset-block-end: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--scrim-plum); font-size: var(--text-lg); line-height: 1.3; }

.roll { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.roll__p { position: relative; display: grid; align-content: end; gap: var(--space-xs); flex: 0 0 100%; min-height: 320px; padding: var(--space-lg) var(--space-lg) var(--space-xl); scroll-snap-align: start; }
.roll__p b { max-width: 9em; font-size: var(--text-3xl); font-weight: 400; line-height: 1.12; letter-spacing: var(--tracking-display); }
.roll__p span { font-size: var(--text-lg); line-height: 1.4; }
.roll__p i { position: absolute; inset-block-start: var(--space-md); inset-inline-start: var(--space-lg); font-size: var(--text-figure); font-style: normal; line-height: 1; opacity: 0.5; }
.roll__p--a { background: var(--night-world); color: var(--world-ink-light); }
.roll__p--a span { color: var(--k-moon); }
.roll__p--b { background: var(--k-water-light); } .roll__p--c { background: var(--k-moon); } .roll__p--d { background: var(--k-lilac); }
.roll__dots { position: absolute; inset-inline: 0; inset-block-end: var(--space-sm); display: flex; justify-content: center; gap: var(--space-2xs); pointer-events: none; }
.roll__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink); opacity: 0.3; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.roll__dots i.is-on { opacity: 0.9; transform: scale(1.5); }
.post__body--roll:has(.roll__dots i:first-child.is-on) .roll__dots i { background: var(--k-moon); }

.post__acts { display: flex; align-items: center; gap: var(--space-2xs); margin-inline-start: calc(-1 * var(--space-xs)); }
.act { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.act:hover { background: var(--color-paper-2); }
.act:active { transform: scale(0.86); }
.act:disabled { opacity: 0.55; cursor: not-allowed; }
.act svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act--save { margin-inline-start: auto; }
.act--heart[aria-pressed="true"] svg { fill: var(--k-pink-deep); stroke: var(--k-pink-deep); }
.act--save[aria-pressed="true"] svg { fill: currentColor; }
.act.is-pop svg { animation: heart var(--dur-world) var(--ease-out); }
@keyframes heart { 0% { transform: scale(0.4); } 45% { transform: scale(1.3) rotate(-8deg); } 70% { transform: scale(0.94); } 100% { transform: none; } }
.act--light { color: var(--world-ink-light); }
.act--light:hover { background: color-mix(in oklab, var(--world-ink-light) 16%, transparent); }
.post__words { font-size: var(--text-lg); line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); }
.tags li + li::before { content: "·"; margin-inline-end: var(--space-xs); }
.feed__end, .feed__none { padding-block: var(--space-lg); color: var(--color-muted); text-align: center; }

/* פרח שנפתח במקום שבו נגעו פעמיים */
.bloom { position: absolute; z-index: var(--z-raised); width: 120px; height: 120px; margin: -60px; pointer-events: none; animation: bloom-out 1100ms var(--ease-in) forwards; }
.bloom svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bloom ellipse { fill: var(--k-pink); transform-box: view-box; transform-origin: 60px 60px; animation: petal var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--p) * 45ms); }
.bloom circle { fill: var(--k-sun); transform-box: fill-box; transform-origin: center; animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: 260ms; }
@keyframes petal { from { opacity: 0; transform: rotate(var(--a)) scale(0.1); } to { opacity: 1; transform: rotate(var(--a)) scale(1); } }
.bloom ellipse { transform: rotate(var(--a)); }
@keyframes bloom-out { 0%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-18px) scale(1.08); } }

/* גילוי */
.find__box { display: flex; align-items: center; gap: var(--space-xs); flex: 1; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper-2); }
.find__box:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.find__box svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.find__box input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--color-ink); font-size: var(--text-md); }
.find__box input:focus-visible { outline: none; }
.find__box input:disabled { opacity: 0.55; cursor: not-allowed; }
.find__box input::placeholder { color: var(--color-muted); opacity: 1; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.topics li:first-child { grid-column: 1 / -1; }
.topic { position: relative; display: grid; align-content: end; width: 100%; min-height: 132px; padding: var(--space-md); border: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--hue); color: var(--world-ink-dark); font-size: var(--text-xl); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.topic:hover { transform: translateY(-2px); }
.topic:active { transform: scale(0.97); }
.topic:disabled { opacity: 0.55; cursor: not-allowed; }
.topic b { position: relative; font-weight: 400; }
.topic__art { position: absolute; inset-block-start: var(--space-sm); inset-inline-end: var(--space-sm); width: 72px; height: 72px; transition: transform var(--dur-long) var(--ease-out); }
.topic:hover .topic__art { transform: rotate(-6deg) scale(1.06); }
.topic__art svg { display: block; width: 100%; height: 100%; }
.topic--duo { min-height: 160px; --hue: var(--k-pink); } .topic--duo .topic__art { inset: 0; width: auto; height: auto; }
.topic--duo:hover .topic__art { transform: scale(1.03); }
.topic--body { --hue: var(--spring-world); } .topic--feel { --hue: var(--k-lilac); } .topic--pure { --hue: var(--k-water-light); }
.topic--pray { --hue: var(--night-world); color: var(--world-ink-light); } .topic--parent { --hue: var(--k-moon); }

/* פרופיל יוצרת */
.phone[data-tab="maker"] .screen--maker { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: 0 0 calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.maker__top { position: relative; display: flex; align-items: flex-start; height: 168px; padding: var(--space-lg); background: var(--hue, var(--k-pink)); color: var(--world-ink-dark); border-end-start-radius: 50% var(--arc); border-end-end-radius: 50% var(--arc); }
.maker__dot { position: absolute; inset-inline-start: var(--space-lg); inset-block-end: calc(-1 * var(--space-xl)); display: grid; place-items: center; width: 104px; height: 104px; border: var(--space-2xs) solid var(--color-paper); border-radius: 50%; background: var(--color-ink); color: var(--color-paper); font-size: var(--text-hero); line-height: 1; }
.maker__who { display: grid; gap: var(--space-xs); padding: var(--space-xl) var(--space-lg) 0; }
.maker__who > p { font-size: var(--text-lg); color: var(--color-ink-2); }
.maker__who .maker__bio { max-width: 22em; color: var(--color-ink); line-height: 1.5; }
.maker__follow { justify-self: start; margin-block-start: var(--space-xs); }
.maker__follow[aria-pressed="true"] { background: var(--color-paper-2); color: var(--color-ink); }
.maker__follow[aria-pressed="true"]:hover { background: var(--color-paper-3); }
.screen--maker .swap { margin-inline: var(--space-lg); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xs); margin: 0; padding: 0 var(--space-lg); list-style: none; }
.grid__t { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 5; padding: var(--space-xs); border-radius: var(--space-sm); overflow: hidden; font-size: var(--text-sm); line-height: 1.25; color: var(--world-ink-dark); }
.grid__t[hidden] { display: none; }
.js .phone[data-tab="maker"] .grid__t { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 50ms + 120ms); }
.grid__t--a { background: var(--summer-world); } .grid__t--b { background: var(--k-lilac); } .grid__t--c { background: var(--spring-world); } .grid__t--art { background: var(--k-pink); }
.grid__t > svg { position: absolute; inset-block-start: var(--space-xs); inset-inline-end: var(--space-xs); width: 18px; height: 18px; fill: var(--k-white); }

/* רילסים במסך מלא */
.reels { position: absolute; inset: 0; z-index: var(--z-toast); background: var(--night-world); color: var(--world-ink-light); --color-focus: var(--k-moon); }
.js .reels { opacity: 0; visibility: hidden; transform: scale(0.92); transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .reels.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.reels__run { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.reel--a { background: var(--winter-world); } .reel--b { background: var(--k-pink); } .reel--c { background: var(--k-night); }
.reel__bar { position: absolute; inset-inline: var(--space-lg); inset-block-start: var(--space-sm); height: 3px; border-radius: var(--space-3xs); background: color-mix(in oklab, var(--world-ink-light) 30%, transparent); overflow: hidden; }
.reel__bar i { display: block; height: 100%; background: var(--k-moon); transform: scaleX(0); transform-origin: 100% 50%; }
[dir="ltr"] .reel__bar i { transform-origin: 0 50%; }
.reels.is-open .reel.is-now .reel__bar i { animation: reel-run 14s linear forwards; }
@keyframes reel-run { to { transform: none; } }
.reel__sub { position: absolute; inset-inline: var(--space-lg) var(--space-3xl); inset-block-end: 132px; justify-self: start; width: fit-content; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-tile); background: var(--scrim-night); font-size: var(--text-xl); line-height: 1.3; }
.reel.is-now .reel__sub { animation: rise var(--dur-world) var(--ease-out) 300ms backwards; }
.reel__foot { position: absolute; inset-inline: var(--space-lg) var(--space-3xl); inset-block-end: var(--space-xl); }
.reel__foot::before { content: ""; position: absolute; inset: calc(-1 * var(--space-sm)) calc(-1 * var(--space-md)); border-radius: var(--radius-tile); background: var(--scrim-night); opacity: 0.72; }
.reel__foot .by { position: relative; }
.reels__close { position: absolute; inset-block-start: var(--space-xl); inset-inline-start: var(--space-lg); background: var(--scrim-night); color: var(--world-ink-light); }
.reels__close:hover { background: var(--scrim-plum); }
.reels__acts { position: absolute; inset-inline-end: var(--space-sm); inset-block-end: var(--space-xl); display: grid; gap: var(--space-xs); padding: var(--space-xs) var(--space-2xs); border-radius: var(--radius-card); background: var(--scrim-night); }
.reels__acts .act--save { margin: 0; }
#reels-mute[aria-pressed="true"] { opacity: 0.5; }
.phone:has(.reels.is-open) .fab, .phone:has(#keep.is-open, #send.is-open, #more.is-open) .fab { opacity: 0; pointer-events: none; }

/* גיליונות: שיתוף ודיווח */
.send__him { display: grid; gap: var(--space-xs); padding: var(--space-md); border-radius: var(--radius-card); background: var(--k-pink); color: var(--world-ink-dark); }
.send__him label { font-size: var(--text-xl); }
.send__him input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink-2); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); }
.send__him input:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.send__him input:disabled { opacity: 0.55; cursor: not-allowed; }
.send__him input::placeholder { color: var(--color-muted); opacity: 1; }
.report { display: grid; gap: var(--space-sm); }
.report[hidden] { display: none; }
.report p { font-size: var(--text-lg); }
@media (prefers-reduced-motion: reduce) {
  .swap::before, .swap__b, .by, .act, .topic, .topic__art, .reel__play svg, .post__body--reel, .roll__dots i { transition: none; }
  .js .phone[data-tab="paths"] .post, .phone[data-tab="paths"] .screen--paths, .phone[data-tab="find"] .screen--find, .phone[data-tab="maker"] .screen--maker, .js .phone[data-tab="maker"] .grid__t, .act.is-pop svg, .bloom ellipse, .bloom circle, .reel.is-now .reel__sub, .reels.is-open .reel.is-now .reel__bar i { animation: none; }
  .bloom { animation: bloom-out 900ms linear forwards; }
  .js .reels { transform: none; }
}

/* ---------- שיחת שדה: היומן ---------- */
.screen--talk { display: none; }
.phone[data-tab="talk"] .screen--talk { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.ask { position: relative; display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); overflow: hidden; background: var(--k-lilac); color: var(--world-ink-dark); --color-focus: var(--world-ink-dark); }
.ask__art { position: absolute; inset-block-start: var(--space-sm); inset-inline-end: var(--space-sm); width: 88px; height: 88px; }
.ask__art svg, .kindt__art svg, .stone__art svg, .month__art svg, .write__art svg, .entry__art svg { display: block; width: 100%; height: 100%; }
.ask__lead { font-size: var(--text-md); }
.ask h3 { max-width: 8em; font-size: var(--text-3xl); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); }
.ask__form { display: grid; gap: var(--space-sm); margin-block-start: var(--space-xs); }
.ask input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink-2); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); }
.ask input:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.ask input:disabled { opacity: 0.55; cursor: not-allowed; }
.ask input::placeholder { color: var(--color-muted); opacity: 1; }
.ask__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.ask__acts .btn { min-height: 48px; }
.ask__acts .btn--line:hover { background: color-mix(in oklab, var(--world-ink-dark) 10%, transparent); }
.ask__done { font-size: var(--text-lg); }
.ask.is-done .ask__art { animation: hop var(--dur-world) var(--ease-out); }

.kinds { display: flex; gap: var(--space-xs); margin: 0 calc(-1 * var(--space-lg)); padding: 0 var(--space-lg); list-style: none; overflow-x: auto; scrollbar-width: none; }
.kinds li { flex: 0 0 auto; }
.kindt { display: grid; align-content: space-between; width: 116px; height: 132px; padding: var(--space-sm); border: 0; border-radius: var(--radius-tile); background: var(--hue); color: var(--world-ink-dark); font-size: var(--text-md); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.kindt:hover { transform: translateY(-3px); }
.kindt:active { transform: scale(0.95); }
.kindt:disabled { opacity: 0.55; cursor: not-allowed; }
.kindt b { font-weight: 400; line-height: 1.2; }
.kindt__art { width: 56px; height: 56px; }
.js .phone[data-tab="talk"] .kinds li { animation: hop var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 60ms + 200ms); }
.kindt--note { --hue: var(--spring-world); } .kindt--hush { --hue: var(--night-world); color: var(--world-ink-light); } .kindt--think { --hue: var(--k-lilac); }
.kindt--letter { --hue: var(--k-pink); } .kindt--thanks { --hue: var(--summer-world); } .kindt--gate { --hue: var(--color-paper-3); }

.stone { display: flex; align-items: center; gap: var(--space-md); width: 100%; padding: var(--space-md) var(--space-lg); border: 0; border-radius: var(--radius-card); background: var(--autumn-world); color: var(--world-ink-dark); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.stone:hover { transform: translateY(-2px); }
.stone:active { transform: scale(0.98); }
.stone:disabled { opacity: 0.55; cursor: not-allowed; }
.stone__art { flex-shrink: 0; width: 64px; height: 64px; }
.stone__text { display: grid; gap: var(--space-2xs); font-size: var(--text-md); }
.stone__text b { font-size: var(--text-2xl); font-weight: 400; line-height: 1.15; letter-spacing: var(--tracking-display); }
.stone__said { font-size: var(--text-lg); line-height: 1.45; }
.stone__said b { font-weight: 400; display: block; font-size: var(--text-2xl); }
#stone label { font-size: var(--text-lg); }

.entries { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.entry { position: relative; display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); }
.entry[hidden] { display: none; }
.js .phone[data-tab="talk"] .entry { animation: rise var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 70ms + 260ms); }
.js .phone[data-tab="talk"] .entry.is-fresh { animation: pop-in var(--dur-world) var(--ease-out) backwards; }
.entry__when { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.entry__when i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--spring-mark)); }
.entry p { font-size: var(--text-lg); line-height: 1.45; }
.entry__q { font-size: var(--text-md); color: var(--color-ink-2); }
.entry--letter { background: var(--k-pink); color: var(--world-ink-dark); } .entry--thanks { background: var(--summer-world); color: var(--world-ink-dark); }
.entry--ask { background: var(--k-lilac); color: var(--world-ink-dark); }
.entry--letter .entry__when, .entry--thanks .entry__when, .entry--ask .entry__when, .entry--ask .entry__q { color: inherit; }
.entry--letter p, .entry--think p { font-size: var(--text-xl); line-height: 1.35; }
.entry--hush { grid-template-columns: auto 1fr; align-items: center; column-gap: var(--space-md); background: var(--night-world); color: var(--world-ink-light); --color-focus: var(--k-moon); }
.entry--hush .entry__when { grid-column: 1 / -1; color: inherit; }
.entry__play { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--k-moon); color: var(--world-ink-dark); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.entry__play:hover { background: var(--color-paper); }
.entry__play:active { transform: scale(0.9); }
.entry__play:disabled { opacity: 0.55; cursor: not-allowed; }
.entry__play svg { width: 22px; height: 22px; fill: currentColor; }
.wave { display: flex; align-items: center; gap: var(--space-3xs); height: 40px; }
.wave i { flex: 1; max-width: 4px; height: calc(var(--h) * 1%); border-radius: var(--space-3xs); background: var(--k-moon); opacity: 0.55; transform-origin: 50% 50%; }
.entry--hush.is-playing .wave i { opacity: 1; animation: eq 520ms var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * -70ms); }
.entry--kept { grid-template-columns: 1fr auto; column-gap: var(--space-md); }
.entry--kept > * { grid-column: 1; }
.entry__art { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 72px; height: 72px; border-radius: var(--space-md); overflow: hidden; background: var(--k-pink); }
.entry__from { font-size: var(--text-sm); color: var(--color-muted); }
.month { position: relative; display: grid; gap: var(--space-xs); padding: var(--space-lg); padding-inline-end: var(--space-3xl); border-radius: var(--radius-card); overflow: hidden; background: var(--spring-world); color: var(--world-ink-dark); --k-flora: var(--spring-near); --k-flora-2: var(--k-sun); }
.month__art { position: absolute; inset-block-end: 0; inset-inline-end: var(--space-xs); width: 84px; height: 84px; }
.month h3 { font-size: var(--text-2xl); font-weight: 400; line-height: 1.15; }
.month p { font-size: var(--text-lg); line-height: 1.45; }

/* עורך הכתיבה: מסך מלא, הצבע לפי סוג הכתיבה */
.write { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: auto 1fr; background: var(--hue, var(--spring-world)); color: var(--world-ink-dark); --color-focus: var(--color-ink); }
.js .write { opacity: 0; visibility: hidden; transform: translateY(8%) scale(0.96); transform-origin: 50% 100%; transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .write.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.write[data-kind="think"] { --hue: var(--k-lilac); } .write[data-kind="letter"] { --hue: var(--k-pink); } .write[data-kind="thanks"] { --hue: var(--summer-world); } .write[data-kind="gate"] { --hue: var(--color-paper-3); }
.write__top { display: flex; align-items: center; gap: var(--space-md); height: 132px; padding: var(--space-lg); }
.write__top h3 { flex: 1; font-size: var(--text-2xl); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); }
.write__art { width: 72px; height: 72px; }
.write.is-open .write__art { animation: hop var(--dur-world) var(--ease-out) 120ms backwards; }
.write__page { display: grid; grid-template-rows: auto 1fr auto auto; gap: var(--space-md); padding: var(--space-lg); border-start-start-radius: var(--radius-sheet); border-start-end-radius: var(--radius-sheet); background: var(--color-paper); color: var(--color-ink); min-height: 0; }
.write__page textarea { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: var(--color-ink); font-size: var(--text-xl); line-height: 1.5; resize: none; }
.write__page textarea:focus-visible { outline: none; }
.write__page textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.write__page textarea::placeholder { color: var(--color-muted); opacity: 1; }
.write__meta { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.write__meta svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.write__acts { display: grid; gap: var(--space-xs); }
.write__acts [hidden] { display: none; }

/* לחישה */
.hush { position: absolute; inset: 0; z-index: var(--z-tooltip); display: grid; grid-template-rows: auto auto auto 1fr auto auto auto; justify-items: center; gap: var(--space-sm); padding: var(--space-lg) var(--space-lg) var(--space-xl); background: var(--night-world); color: var(--world-ink-light); text-align: center; --color-focus: var(--k-moon); }
.js .hush { opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
.js .hush.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out), visibility 0s; }
.hush > .round { justify-self: start; background: color-mix(in oklab, var(--world-ink-light) 16%, transparent); }
.hush h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.hush__line { max-width: 16em; font-size: var(--text-lg); line-height: 1.4; color: var(--k-moon); }
.hush__stage { position: relative; display: grid; place-items: center; align-self: center; width: 240px; height: 240px; }
.hush__ring { position: absolute; border-radius: 50%; background: var(--night-far); }
.hush__ring--3 { inset: 0; opacity: 0.5; } .hush__ring--2 { inset: 28px; background: var(--k-night-2); } .hush__ring--1 { inset: 60px; background: var(--k-plum-mid); }
.hush.is-rec .hush__ring { animation: pulse 2.4s var(--ease-in-out) infinite alternate; }
.hush.is-rec .hush__ring--2 { animation-delay: -0.8s; } .hush.is-rec .hush__ring--1 { animation-delay: -1.6s; }
.hush__bars { position: relative; display: flex; align-items: center; gap: var(--space-2xs); height: 56px; }
.hush__bars i { width: 5px; height: 100%; border-radius: var(--space-3xs); background: var(--k-moon); transform: scaleY(0.12); }
.hush.is-rec .hush__bars i { animation: eq 460ms var(--ease-in-out) infinite alternate; }
.hush.is-rec .hush__bars i:nth-child(2n) { animation-duration: 620ms; } .hush.is-rec .hush__bars i:nth-child(3n) { animation-duration: 380ms; animation-delay: -200ms; }
.hush__time { font-size: var(--text-figure); line-height: 1; font-variant-numeric: tabular-nums; }
.hush__rec { display: grid; place-items: center; width: 84px; height: 84px; padding: 0; border: var(--space-2xs) solid var(--k-moon); border-radius: 50%; background: transparent; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.hush__rec:hover { transform: scale(1.05); }
.hush__rec:active { transform: scale(0.92); }
.hush__rec:disabled { opacity: 0.55; cursor: not-allowed; }
.hush__rec[hidden], .hush__acts[hidden] { display: none; }
.hush__rec i { width: 56px; height: 56px; border-radius: 50%; background: var(--k-pink); transition: transform var(--dur-long) var(--ease-out), border-radius var(--dur-long) var(--ease-out); }
.hush__rec[aria-pressed="true"] i { transform: scale(0.5); border-radius: var(--space-xs); }
.hush__acts { display: flex; gap: var(--space-xs); min-height: 84px; align-items: center; }
.phone:has(.write.is-open, .hush.is-open, #stone.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .kindt, .stone, .entry__play, .hush__rec, .hush__rec i { transition: none; }
  .phone[data-tab="talk"] .screen--talk, .js .phone[data-tab="talk"] .kinds li, .js .phone[data-tab="talk"] .entry, .js .phone[data-tab="talk"] .entry.is-fresh, .ask.is-done .ask__art, .write.is-open .write__art, .entry--hush.is-playing .wave i, .hush.is-rec .hush__ring, .hush.is-rec .hush__bars i { animation: none; }
  .js .write { transform: none; }
  .hush.is-rec .hush__bars i { transform: scaleY(0.6); }
}
/* שיחת שדה, מעט פחות צבע (דורון, 11.11.2026): הרשומות על נייר עם גוון קל, והצבע המלא נשאר לשאלת היום, לאריחי הכתיבה וללחישה. */
.entry--letter { background: color-mix(in oklab, var(--k-pink) 30%, var(--color-paper)); color: var(--color-ink); }
.entry--thanks { background: color-mix(in oklab, var(--summer-world) 34%, var(--color-paper)); color: var(--color-ink); }
.entry--ask { background: color-mix(in oklab, var(--k-lilac) 46%, var(--color-paper)); color: var(--color-ink); }
.entry--letter .entry__when, .entry--thanks .entry__when, .entry--ask .entry__when, .entry--ask .entry__q { color: var(--color-ink-2); }
.kindt--note { --hue: color-mix(in oklab, var(--spring-world) 62%, var(--color-paper)); }
.kindt--think { --hue: color-mix(in oklab, var(--k-lilac) 70%, var(--color-paper)); }
.kindt--letter { --hue: color-mix(in oklab, var(--k-pink) 62%, var(--color-paper)); }
.kindt--thanks { --hue: color-mix(in oklab, var(--summer-world) 62%, var(--color-paper)); }
.kindt--gate { --hue: var(--color-paper-2); }
.stone { background: color-mix(in oklab, var(--autumn-world) 46%, var(--color-paper)); }
.month { background: var(--color-paper-2); color: var(--color-ink); }
/* שיחת שדה בלי כחול כהה (דורון, 11.11.2026): הלחישה בתכלת רך, כמו שאר העמוד. */
.kindt--hush { --hue: color-mix(in oklab, var(--k-water-light) 62%, var(--color-paper)); color: var(--world-ink-dark); }
.entry--hush { background: color-mix(in oklab, var(--k-water-light) 40%, var(--color-paper)); color: var(--color-ink); --color-focus: var(--color-accent); }
.entry--hush .entry__when { color: var(--color-ink-2); }
.entry--hush .entry__play { background: var(--color-ink); color: var(--color-paper); }
.entry--hush .entry__play:hover { background: var(--color-ink-2); }
.entry--hush .wave i { background: var(--color-ink); opacity: 0.4; }
.entry--hush.is-playing .wave i { opacity: 0.85; }

/* ---------- שיחת שדה, גרסה ב׳: דף אחד. כותבים ישר על הנייר, והימים יורדים לאורך תלם. ---------- */
.talk-a, .talk-b { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); min-width: 0; }
[data-talk="b"] .talk-a, [data-talk="a"] .talk-b { display: none; }
.now { display: grid; gap: var(--space-sm); padding-block-end: var(--space-lg); border-block-end: var(--rule-hair) solid var(--color-rule); }
.now__ask { display: flex; align-items: center; gap: var(--space-sm); min-height: 56px; padding: 0; border: 0; background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), color var(--dur-short) var(--ease-out); }
.now__ask:hover { color: var(--color-accent); }
.now__ask:active { transform: scale(0.98); }
.now__ask:disabled { opacity: 0.55; cursor: not-allowed; }
.now__ask[hidden] { display: none; }
.now__art { flex-shrink: 0; width: 44px; height: 44px; }
.now__art svg, .fmonth__art svg, .fline__art svg { display: block; width: 100%; height: 100%; }
.now__q { display: grid; font-size: var(--text-sm); color: var(--color-muted); }
.now__q b { font-size: var(--text-lg); font-weight: 400; line-height: 1.3; color: var(--color-ink); }
.now__ask:hover .now__q b { color: inherit; }
.now textarea { width: 100%; min-height: 96px; padding: 0; border: 0; background: transparent; color: var(--color-ink); font-size: var(--text-2xl); line-height: 1.35; letter-spacing: var(--tracking-display); resize: none; }
.now textarea:focus-visible { outline: none; }
.now textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.now textarea::placeholder { color: var(--color-muted); opacity: 1; }
.now:focus-within { border-block-end-color: var(--color-ink); }
.now__kinds { display: flex; gap: var(--space-md); margin-inline: calc(-1 * var(--space-lg)); padding-inline: var(--space-lg); overflow-x: auto; scrollbar-width: none; }
.now__kinds button { flex-shrink: 0; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--color-muted); font-size: var(--text-md); cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.now__kinds button:hover { color: var(--color-ink); }
.now__kinds button:active { transform: scale(0.95); }
.now__kinds button:disabled { opacity: 0.55; cursor: not-allowed; }
.now__kinds button[aria-pressed="true"] { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.now__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.now__mic { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-md) 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.now__mic:hover { background: var(--color-paper-3); }
.now__mic:active { transform: scale(0.95); }
.now__mic:disabled { opacity: 0.55; cursor: not-allowed; }
.now__mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.js .now:not(.is-live) .now__kinds, .js .now:not(.is-live) #b-save, .js .now:not(.is-live) #c-save { display: none; }
.js .now.is-live .now__kinds, .js .now.is-live #b-save, .js .now.is-live #c-save { animation: rise var(--dur-long) var(--ease-out) backwards; }

.furrow { position: relative; display: grid; gap: var(--space-xl); padding-inline-start: var(--space-lg); }
.furrow::before { content: ""; position: absolute; inset-block: var(--space-xs) 0; inset-inline-start: var(--space-2xs); width: 2px; border-radius: var(--space-3xs); background: var(--color-rule); transform-origin: 50% 0; }
.js .phone[data-tab="talk"] .furrow::before { animation: furrow var(--dur-grow) var(--ease-out) backwards; }
@keyframes furrow { from { transform: scaleY(0); } to { transform: none; } }
.fmonth { position: relative; display: grid; gap: var(--space-xs); margin-inline-start: calc(-1 * var(--space-lg)); padding-block: var(--space-xs); background: var(--color-paper); }
.fmonth h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.fmonth p { max-width: 20em; font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.fmonth__stone { display: flex; align-items: center; gap: var(--space-sm); min-height: 56px; padding: 0; border: 0; background: transparent; color: var(--color-ink); font-size: var(--text-lg); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), color var(--dur-short) var(--ease-out); }
.fmonth__stone:hover { color: var(--color-accent); }
.fmonth__stone:active { transform: scale(0.98); }
.fmonth__stone:disabled { opacity: 0.55; cursor: not-allowed; }
.fmonth__art { flex-shrink: 0; width: 44px; height: 44px; }
.fday { position: relative; display: grid; gap: var(--space-md); }
.fday::before { content: ""; position: absolute; inset-block-start: 0.3em; inset-inline-start: calc(-1 * var(--space-lg)); width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--spring-mark)); box-shadow: 0 0 0 var(--space-2xs) var(--color-paper); }
.fday__head { font-size: var(--text-sm); line-height: 1.4; color: var(--color-muted); }
.js .phone[data-tab="talk"] .fday, .js .phone[data-tab="talk"] .fmonth { animation: rise var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 80ms + 200ms); }
.fline { display: grid; gap: var(--space-2xs); }
.fline.is-fresh { animation: rise var(--dur-world) var(--ease-out) backwards; }
.fline p { font-size: var(--text-lg); line-height: 1.5; }
.fline__kind { font-size: var(--text-sm); color: var(--color-muted); }
.fline--letter p, .fline--think p { font-size: var(--text-xl); line-height: 1.4; }
.fline--ask .fline__kind { font-size: var(--text-md); color: var(--color-ink-2); }
.fline--hush { grid-template-columns: auto 1fr auto; align-items: center; column-gap: var(--space-sm); }
.fline--hush .fline__kind { grid-column: 1 / -1; }
.fline__play { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: var(--rule-hair) solid var(--color-ink-2); border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.fline__play:hover { background: var(--color-paper-2); }
.fline__play:active { transform: scale(0.9); }
.fline__play:disabled { opacity: 0.55; cursor: not-allowed; }
.fline__play svg { width: 18px; height: 18px; fill: currentColor; }
.fline--hush .wave { height: 32px; }
.fline--hush .wave i { background: var(--color-ink); opacity: 0.32; }
.fline--hush.is-playing .wave i { opacity: 0.85; animation: eq 520ms var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * -70ms); }
.fline__time { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.fline--kept { grid-template-columns: 1fr auto; column-gap: var(--space-md); align-items: start; }
.fline--kept > * { grid-column: 1; }
.fline__art { grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: var(--space-sm); overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .now__ask, .now__kinds button, .now__mic, .fmonth__stone, .fline__play { transition: none; }
  .js .now.is-live .now__kinds, .js .now.is-live #b-save, .js .phone[data-tab="talk"] .furrow::before, .js .phone[data-tab="talk"] .fday, .js .phone[data-tab="talk"] .fmonth, .fline.is-fresh, .fline--hush.is-playing .wave i { animation: none; }
}
[data-talk="b"] .phone[data-tab="talk"] .fab { opacity: 0; pointer-events: none; }

/* ---------- שיחת שדה, משולב: הדף והתלם של ב׳, עם הכרטיסים הרכים והאריחים של א׳ ---------- */
.talk-c { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); min-width: 0; }
[data-talk="c"] .talk-a, [data-talk="c"] .talk-b, [data-talk="a"] .talk-c, [data-talk="b"] .talk-c { display: none; }
[data-talk="c"] .phone[data-tab="talk"] .fab { opacity: 0; pointer-events: none; }
.ask--soft { background: color-mix(in oklab, var(--k-lilac) 62%, var(--color-paper)); }
.ask--soft [hidden] { display: none; }
.talk-c .now { padding-block-end: var(--space-md); }
.talk-c .kindt { width: 108px; height: 116px; }
.talk-c .furrow { gap: var(--space-lg); }
.talk-c .fday { gap: var(--space-sm); }
.entry__open { display: grid; gap: var(--space-xs); width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.entry__open:active { transform: scale(0.985); }
.entry__open:disabled { opacity: 0.55; cursor: not-allowed; }
.entry__open p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.entry__more { font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 0.22em; color: var(--color-ink-2); }
.entry--kept .entry__open { grid-column: 1; }
.entry.is-gone { animation: gone var(--dur-long) var(--ease-in) forwards; }
@keyframes gone { to { opacity: 0; transform: scale(0.94); } }

/* פתק פתוח: דף קריאה מלא */
.read { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: auto 1fr auto; background: var(--hue, var(--color-paper-2)); color: var(--color-ink); }
.js .read { opacity: 0; visibility: hidden; transform: translateY(6%) scale(0.97); transform-origin: 50% 100%; transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .read.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.read[data-kind="note"] { --hue: color-mix(in oklab, var(--spring-world) 46%, var(--color-paper)); }
.read[data-kind="think"], .read[data-kind="ask"] { --hue: color-mix(in oklab, var(--k-lilac) 62%, var(--color-paper)); }
.read[data-kind="letter"], .read[data-kind="kept"] { --hue: color-mix(in oklab, var(--k-pink) 46%, var(--color-paper)); }
.read[data-kind="thanks"] { --hue: color-mix(in oklab, var(--summer-world) 46%, var(--color-paper)); }
.read[data-kind="hush"] { --hue: color-mix(in oklab, var(--k-water-light) 56%, var(--color-paper)); }
.read__top { display: flex; align-items: center; gap: var(--space-md); height: 112px; padding: var(--space-lg); }
.read__top h3 { flex: 1; font-size: var(--text-2xl); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); }
.read__art { width: 64px; height: 64px; }
.read__art svg { display: block; width: 100%; height: 100%; }
.read.is-open .read__art { animation: hop var(--dur-world) var(--ease-out) 120ms backwards; }
.read__page { display: grid; align-content: start; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) var(--space-xl); border-start-start-radius: var(--radius-sheet); border-start-end-radius: var(--radius-sheet); background: var(--color-paper); overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; min-height: 0; }
.read__when { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.read__when i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--spring-mark)); }
.read__q { font-size: var(--text-2xl); line-height: 1.2; letter-spacing: var(--tracking-display); }
.read__q[hidden], .read__hush[hidden], .read__acts[hidden] { display: none; }
.read__text { display: grid; gap: var(--space-md); max-width: 30em; font-size: var(--text-xl); line-height: 1.6; }
.read.is-open .read__text p { animation: rise var(--dur-world) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 70ms + 160ms); }
.read__hush { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-sm); }
.read__hush .entry__play { background: var(--color-ink); color: var(--color-paper); }
.read__hush .entry__play:hover { background: var(--color-ink-2); }
.read__hush .wave i { background: var(--color-ink); opacity: 0.35; }
.read__hush.is-playing .wave i { opacity: 0.85; animation: eq 520ms var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * -70ms); }
.read__note { font-size: var(--text-sm); color: var(--color-muted); }
.read__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-lg) var(--space-lg); background: var(--color-paper); border-block-start: var(--rule-hair) solid var(--color-rule); }
.read__acts .btn { min-height: 48px; }
.read__acts .link { margin-inline-start: auto; }
.read__acts--sure p { flex: 1 0 100%; font-size: var(--text-lg); }
.phone:has(.read.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .entry__open { transition: none; }
  .read.is-open .read__art, .read.is-open .read__text p, .read__hush.is-playing .wave i { animation: none; }
  .entry.is-gone { animation: gone 1ms linear forwards; }
  .js .read { transform: none; }
}
.entry--hush .entry__open { grid-column: 1 / -1; }

/* ---------- שער השדה: שאלה לרב ---------- */
.screen--gate { display: none; }
.phone[data-tab="gate"] .screen--gate { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.phone[data-tab="gate"] .fab { opacity: 0; pointer-events: none; }
.gopen { display: flex; align-items: center; gap: var(--space-md); width: 100%; padding: var(--space-lg); border: 0; border-radius: var(--radius-card); background: color-mix(in oklab, var(--k-moon) 70%, var(--color-paper)); color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.gopen:hover { transform: translateY(-2px); }
.gopen:active { transform: scale(0.98); }
.gopen:disabled { opacity: 0.55; cursor: not-allowed; }
.gopen__art { flex-shrink: 0; width: 84px; height: 84px; }
.gopen__art svg, .gsent__art svg, .gdraft__art svg { display: block; width: 100%; height: 100%; }
.gopen__text { display: grid; gap: var(--space-2xs); font-size: var(--text-md); color: var(--color-ink-2); }
.gopen__text b { font-size: var(--text-2xl); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); color: var(--color-ink); }
.threads, .rules, .togs { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.thr { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); width: 100%; min-height: 72px; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); text-align: start; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.thr:hover { background: var(--color-paper-3); }
.thr:active { transform: scale(0.98); }
.thr:disabled { opacity: 0.55; cursor: not-allowed; }
.thr__text { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.thr__text b { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.state { flex-shrink: 0; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-tile); background: color-mix(in oklab, var(--k-moon) 80%, var(--color-paper)); font-size: var(--text-sm); color: var(--color-ink); }
.state--done { background: color-mix(in oklab, var(--spring-world) 56%, var(--color-paper)); }
.mine { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 0; border-block: var(--rule-hair) solid var(--color-rule); }
.mine .by__text { flex: 1; }
.mine__acts { display: flex; gap: var(--space-xs); }
.mine__acts svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gate__add { justify-self: start; padding-inline: 0; }
.rules li { display: grid; gap: var(--space-2xs); padding: var(--space-sm) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.rules li.is-fresh { animation: rise var(--dur-world) var(--ease-out) backwards; }
.rules__when { font-size: var(--text-sm); color: var(--color-muted); }
.rules p { font-size: var(--text-lg); line-height: 1.45; }

.gflow, .gthread { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: auto 1fr; background: color-mix(in oklab, var(--k-moon) 70%, var(--color-paper)); color: var(--color-ink); }
.js .gflow, .js .gthread { opacity: 0; visibility: hidden; transform: translateY(6%) scale(0.97); transform-origin: 50% 100%; transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .gflow.is-open, .js .gthread.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.gflow__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg); }
.gflow__dots { display: flex; gap: var(--space-xs); }
.gflow__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-ink); opacity: 0.22; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.gflow__dots i.is-on { opacity: 0.9; } .gflow__dots i.is-now { transform: scale(1.6); }
.gflow__page { padding: var(--space-xl) var(--space-lg); border-start-start-radius: var(--radius-sheet); border-start-end-radius: var(--radius-sheet); background: var(--color-paper); overflow-y: auto; scrollbar-width: none; min-height: 0; }
.gstep { display: grid; gap: var(--space-md); align-content: start; }
.js .gstep:not(.is-on) { display: none; }
.js .gstep.is-on > * { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 50ms); }
.gstep h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.gstep__lead { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.gstep > .link { justify-self: start; padding-inline: 0; }
.gstep textarea { width: 100%; min-height: 148px; padding: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-lg); line-height: 1.5; resize: none; }
.gstep textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.gstep textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.gstep textarea::placeholder { color: var(--color-muted); opacity: 1; }
.gstep .now__mic { justify-self: start; }
.gdraft__art { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; }
.gset { display: grid; gap: var(--space-xs); font-size: var(--text-lg); }
.gset[hidden], .cam__said[hidden], .gflow__acts [hidden], .gwait[hidden], .gafter[hidden] { display: none; }
.tog-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding: var(--space-sm) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.tog-row > span { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.tog-row b { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.tog { position: relative; flex-shrink: 0; width: 56px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tog::before { content: ""; position: absolute; inset: 6px 0; border-radius: var(--radius-tile); background: var(--color-paper-3); transition: background-color var(--dur-short) var(--ease-out); }
.tog::after { content: ""; position: absolute; inset-block-start: 10px; inset-inline-start: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-paper); transition: transform var(--dur-long) var(--ease-out); }
.tog:hover::before { background: var(--color-rule); }
.tog:active::after { transform: scale(0.9); }
.tog:disabled { opacity: 0.55; cursor: not-allowed; }
.tog[aria-checked="true"]::before { background: var(--spring-mark); }
.tog[aria-checked="true"]::after { transform: translateX(-24px); }
[dir="ltr"] .tog[aria-checked="true"]::after { transform: translateX(24px); }
.cam { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-card); background: var(--color-paper-3); overflow: hidden; }
.cam__paper { width: 46%; aspect-ratio: 1; border-radius: var(--space-xs); background: var(--k-white); transition: transform var(--dur-long) var(--ease-out); }
.cam.is-shot .cam__paper { transform: scale(1.5); }
.cam i { position: absolute; width: 22px; height: 22px; border: 2px solid var(--color-ink); opacity: 0.6; }
.cam i:nth-of-type(1) { inset-block-start: 14px; inset-inline-start: 14px; border-inline-end: 0; border-block-end: 0; }
.cam i:nth-of-type(2) { inset-block-start: 14px; inset-inline-end: 14px; border-inline-start: 0; border-block-end: 0; }
.cam i:nth-of-type(3) { inset-block-end: 14px; inset-inline-start: 14px; border-inline-end: 0; border-block-start: 0; }
.cam i:nth-of-type(4) { inset-block-end: 14px; inset-inline-end: 14px; border-inline-start: 0; border-block-start: 0; }
.cam.is-shot i { opacity: 0; }
.cam__said { padding-inline-start: var(--space-md); border-inline-start: var(--space-2xs) solid var(--color-ink); font-size: var(--text-lg); line-height: 1.45; }
.gflow__acts { display: grid; gap: var(--space-xs); justify-items: center; }
.consent { display: grid; gap: 0; margin: 0; }
.consent div { display: grid; gap: var(--space-2xs); padding: var(--space-sm) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.consent dt { font-size: var(--text-sm); color: var(--color-muted); }
.consent dd { margin: 0; font-size: var(--text-lg); line-height: 1.45; }
.gsum { padding: var(--space-md) var(--space-lg); border: var(--rule-hair) dashed var(--color-muted); border-radius: var(--radius-card); font-size: var(--text-lg); line-height: 1.5; white-space: pre-line; }
.gstep--sent { justify-items: center; text-align: center; padding-block-start: var(--space-xl); }
.gsent__art { width: 132px; height: 132px; }
.gstep--sent.is-on .gsent__art { animation: hop var(--dur-world) var(--ease-out) backwards; }

.gthread .read__page { gap: var(--space-lg); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); text-align: center; }
.steps3 li { position: relative; display: grid; gap: var(--space-xs); justify-items: center; }
.steps3 li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--color-paper-3); position: relative; z-index: var(--z-base); }
.steps3 li + li::after { content: ""; position: absolute; inset-block-start: 5px; inset-inline-end: 50%; width: 100%; height: 2px; background: var(--color-paper-3); }
.steps3 li.is-on { color: var(--color-ink); }
.steps3 li.is-on::before, .steps3 li.is-on + li.is-on::after { background: var(--spring-mark); }
.said { display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); font-size: var(--text-lg); line-height: 1.5; }
.said[hidden] { display: none; }
.said--me { background: var(--color-paper-2); margin-inline-start: var(--space-lg); }
.said--her { background: color-mix(in oklab, var(--k-moon) 70%, var(--color-paper)); margin-inline-end: var(--space-lg); }
.said__who, .said__with { font-size: var(--text-sm); color: var(--color-ink-2); }
.said__slot { padding: var(--space-sm) var(--space-md); border: var(--rule-hair) dashed var(--color-muted); border-radius: var(--radius-tile); color: var(--color-ink-2); }
.gwait { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); text-align: center; }
.gafter { display: grid; gap: var(--space-sm); }
.gafter .link, .gthread__del { justify-self: start; padding-inline: 0; }
.gthread__del { color: var(--color-ink-2); }
#rule label { font-size: var(--text-lg); }
.phone:has(.gflow.is-open, .gthread.is-open, #rule.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .gopen, .thr, .gflow__dots i, .tog::before, .tog::after, .cam__paper { transition: none; }
  .phone[data-tab="gate"] .screen--gate, .js .gstep.is-on > *, .gstep--sent.is-on .gsent__art, .rules li.is-fresh { animation: none; }
  .js .gflow, .js .gthread { transform: none; }
}

/* ---------- זוגיות: ערוגה זוגית, והבית של הגבר ---------- */
.screen--bed, .screen--his { display: none; }
.phone[data-tab="bed"] .screen--bed { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.phone[data-tab="bed"] .fab, [data-who="him"] .fab { opacity: 0; pointer-events: none; }
[data-who="him"] [data-her], [data-who="him"] .tab[data-tab="track"], [data-who="him"] li:has(#me-gate) { display: none; }
[data-who="him"] .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-who="him"] .phone[data-tab="home"] .screen--home { display: none; }
[data-who="him"] .phone[data-tab="home"] .screen--his { display: block; padding: 0 0 calc(var(--tabbar-h) + var(--space-3xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }

/* הבית שלו: עולם קבוע ורך. הצבע לא משתנה לפי העונה שלה, כדי לא לגלות יותר ממה ששותף. */
.hworld { position: relative; display: grid; align-content: start; justify-items: start; gap: var(--space-xs); min-height: 420px; padding: var(--space-xl) var(--space-lg) var(--space-4xl); overflow: hidden; background: color-mix(in oklab, var(--k-moon) 78%, var(--color-paper)); color: var(--color-ink); border-end-start-radius: 50% var(--arc); border-end-end-radius: 50% var(--arc); }
.hworld::before, .hworld::after { content: ""; position: absolute; border-radius: 50%; }
.hworld::before { inset-inline: -30% 20%; inset-block-end: -150px; height: 260px; background: var(--k-stone-light); }
.hworld::after { inset-inline: 30% -30%; inset-block-end: -170px; height: 260px; background: var(--k-stone); }
.hworld > * { position: relative; z-index: var(--z-base); }
.hworld__hi { font-size: var(--text-lg); }
.hworld h2 { max-width: 7em; font-size: var(--text-hero); font-weight: 400; line-height: 1; letter-spacing: var(--tracking-display); }
.hworld h2.is-long { font-size: var(--text-display); line-height: 1.1; max-width: 9em; }
.hworld__line { max-width: 16em; font-size: var(--text-lg); line-height: 1.4; color: var(--color-ink-2); }
.hworld .btn[hidden], .hweek[hidden], .hsup[hidden], .hthink[hidden] { display: none; }
.hweek { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-2xs); width: 100%; margin: var(--space-sm) 0 0; padding: 0; list-style: none; text-align: center; font-size: var(--text-sm); }
.hweek li { display: grid; gap: var(--space-2xs); justify-items: center; }
.hweek li::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--color-paper); }
.hweek li.is-apart::after { background: var(--k-stone); }
.hweek li.is-eve::after { background: var(--k-sun); }
.js [data-who="him"] .phone[data-tab="home"] .hweek li { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 50ms + 200ms); }
.hbody { display: grid; gap: var(--space-lg); padding: var(--space-lg); }
.hsup { display: grid; gap: var(--space-sm); }
.hsup h3 { font-size: var(--text-section); font-weight: 400; line-height: 1.15; }
.hthink { display: grid; gap: var(--space-xs); }
.hq { position: relative; display: grid; align-content: end; width: 100%; min-height: 200px; padding: var(--space-lg); border: 0; border-radius: var(--radius-card); overflow: hidden; background: color-mix(in oklab, var(--k-pink) 46%, var(--color-paper)); color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.hq:hover { transform: translateY(-2px); }
.hq:active { transform: scale(0.98); }
.hq:disabled { opacity: 0.55; cursor: not-allowed; }
.hq__art { position: absolute; inset-block-start: 0; inset-inline-end: 0; width: 120px; height: 120px; border-end-start-radius: var(--radius-card); overflow: hidden; }
.hq__art svg, .bq__art svg, .binvite__art svg { display: block; width: 100%; height: 100%; }
.hq__text { position: relative; display: grid; gap: var(--space-2xs); font-size: var(--text-md); }
.hq__text b { max-width: 12em; font-size: var(--text-2xl); font-weight: 400; line-height: 1.2; letter-spacing: var(--tracking-display); }

.bon { display: grid; gap: var(--space-lg); }
.bon[hidden], .binvite[hidden], .bgot[hidden], .bq [hidden], .btask__after[hidden] { display: none; }
.bnow { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); width: 100%; min-height: 72px; padding: var(--space-sm) 0; border: 0; border-block: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.bnow:hover { color: var(--color-accent); }
.bnow:active { transform: scale(0.98); }
.bnow:disabled { opacity: 0.55; cursor: not-allowed; }
.bnow__text { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.bnow__text b { font-size: var(--text-xl); font-weight: 400; color: var(--color-ink); }
.bnow:hover .bnow__text b { color: inherit; }
.bnow__go { font-size: var(--text-md); text-decoration: underline; text-underline-offset: 0.22em; }
.bgot { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: color-mix(in oklab, var(--k-pink) 30%, var(--color-paper)); font-size: var(--text-xl); line-height: 1.35; animation: pop-in var(--dur-world) var(--ease-out) backwards; }
.bq { position: relative; display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); overflow: hidden; background: color-mix(in oklab, var(--k-pink) 46%, var(--color-paper)); color: var(--color-ink); --color-focus: var(--color-ink); }
.bq__art { position: absolute; inset-block-start: 0; inset-inline-end: 0; width: 104px; height: 104px; border-end-start-radius: var(--radius-card); overflow: hidden; }
.bq h3 { position: relative; max-width: 9em; font-size: var(--text-2xl); font-weight: 400; line-height: 1.2; letter-spacing: var(--tracking-display); }
.bq__form { display: grid; gap: var(--space-sm); }
.bq textarea { width: 100%; min-height: 112px; padding: var(--space-md); border: var(--rule-hair) solid var(--color-ink-2); border-radius: var(--radius-tile); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-lg); line-height: 1.45; resize: none; }
.bq textarea:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.bq textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.bq textarea::placeholder { color: var(--color-muted); opacity: 1; }
.bq__wait { font-size: var(--text-lg); line-height: 1.45; }
.bq__both { display: grid; gap: var(--space-sm); }
.bq__both .said { animation: rise var(--dur-world) var(--ease-out) backwards; }
.bq__both .said--her { animation-delay: 220ms; background: var(--color-paper); }
.bq__both .said--me { background: var(--color-paper); }
.bq__both .link { justify-self: start; padding-inline: 0; }
.bq .chip { background: var(--color-paper); }
.bq .chip[aria-pressed="true"] { background: var(--color-ink); }
.btask { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-sm) var(--space-md); padding: var(--space-md) 0; border-block: var(--rule-hair) solid var(--color-rule); }
.btask__text { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.btask__text b { font-size: var(--text-xl); font-weight: 400; line-height: 1.25; color: var(--color-ink); }
.btask__after { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: var(--space-xs); align-items: center; animation: rise var(--dur-long) var(--ease-out) backwards; }
.btask__after label { grid-column: 1 / -1; font-size: var(--text-lg); }
.btask__after input { min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); }
.btask__after input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btask__after input:disabled { opacity: 0.55; cursor: not-allowed; }
.btask__after input::placeholder { color: var(--color-muted); opacity: 1; }
.btask__after .btn { min-height: 48px; }
.bed__unlink { justify-self: start; padding-inline: 0; color: var(--color-ink-2); }
.binvite { display: grid; gap: var(--space-sm); justify-items: center; text-align: center; }
.binvite__art { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; }
.binvite h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.binvite p { max-width: 18em; font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.binvite .binvite__code { padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) dashed var(--color-muted); border-radius: var(--radius-card); font-size: var(--text-3xl); letter-spacing: 0.08em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
#share .pick { min-height: 68px; }
.phone:has(#share.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .hq, .bnow { transition: none; }
  .phone[data-tab="bed"] .screen--bed, [data-who="him"] .phone[data-tab="home"] .screen--his, .js [data-who="him"] .phone[data-tab="home"] .hweek li, .bgot, .bq__both .said, .btask__after { animation: none; }
}

/* ---------- הגדרות, פרטיות ומצבי חיים ---------- */
.screen--set { display: none; }
.phone[data-tab="set"] .screen--set { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.phone[data-tab="set"] .fab { opacity: 0; pointer-events: none; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.quick__b { display: grid; gap: var(--space-2xs); align-content: space-between; width: 100%; min-height: 104px; padding: var(--space-md); border: 0; border-radius: var(--radius-tile); background: var(--hue, var(--color-paper-2)); color: var(--color-ink); font-size: var(--text-lg); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.quick__b:hover { transform: translateY(-2px); }
.quick__b:active { transform: scale(0.97); }
.quick__b:disabled { opacity: 0.55; cursor: not-allowed; }
.quick__b span { font-size: var(--text-sm); color: var(--color-ink-2); }
.quick li:nth-child(1) .quick__b { --hue: color-mix(in oklab, var(--summer-world) 40%, var(--color-paper)); }
.quick li:nth-child(2) .quick__b { --hue: color-mix(in oklab, var(--k-lilac) 56%, var(--color-paper)); }
.quick li:nth-child(3) .quick__b { --hue: color-mix(in oklab, var(--spring-world) 40%, var(--color-paper)); }
.quick li:nth-child(4) .quick__b { --hue: color-mix(in oklab, var(--k-pink) 40%, var(--color-paper)); }
.set__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.tog-row--bare { min-height: 44px; padding: 0; border: 0; gap: var(--space-xs); }
.tog-row--bare b { font-size: var(--text-md); }
.cats { display: grid; margin: 0; padding: 0; list-style: none; }
.cats li + li { border-block-start: var(--rule-hair) solid var(--color-rule); }
.cats li[hidden] { display: none; }
.cat { display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 72px; padding: var(--space-xs) 0; border: 0; background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.cat:hover { color: var(--color-accent); }
.cat:active { transform: scale(0.98); }
.cat:disabled { opacity: 0.55; cursor: not-allowed; }
.cat__art { flex-shrink: 0; width: 40px; height: 40px; }
.cat__art svg, .lock__art svg { display: block; width: 100%; height: 100%; }
.cat__text { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.cat__text b { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.cat:hover .cat__text b { color: inherit; }
.js .phone[data-tab="set"] .cats li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 35ms + 160ms); }

.sub { position: absolute; inset: 0; z-index: var(--z-toast); display: grid; grid-template-rows: auto 1fr; background: var(--color-paper); color: var(--color-ink); }
.js .sub { opacity: 0; visibility: hidden; transform: translateX(-12%); transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
[dir="ltr"] .js .sub { transform: translateX(12%); }
.js .sub.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }
.sub__top { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-xl) var(--space-lg) var(--space-md); }
.sub__top h3 { font-size: var(--text-display-s); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); }
.sub__page { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-sm) var(--space-lg) var(--space-3xl); overflow-y: auto; scrollbar-width: none; min-height: 0; }
.sub__page > * { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 30ms); }
.sub__lead { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); margin-block-end: var(--space-xs); }
.sub__head { margin-block-start: var(--space-md); font-size: var(--text-section); font-weight: 400; line-height: 1.15; }
.sub__note { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: color-mix(in oklab, var(--k-moon) 70%, var(--color-paper)); font-size: var(--text-lg); line-height: 1.45; }
.sub__slot { padding: var(--space-md); border: var(--rule-hair) dashed var(--color-muted); border-radius: var(--radius-tile); font-size: var(--text-md); line-height: 1.45; color: var(--color-ink-2); }
.sub__pick { display: grid; gap: var(--space-xs); padding: var(--space-sm) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.sub__pick > span { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.sub__pick b { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.sub__page .row { min-height: 64px; border-block-end: var(--rule-hair) solid var(--color-rule); }
.sub__page .row .row__text { display: grid; gap: var(--space-3xs); }
.sub__page .row small { font-size: var(--text-sm); color: var(--color-muted); }
.sub__page .btn { margin-block-start: var(--space-sm); }
.sub__page .picks { margin-block: var(--space-xs); }
.words12 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; counter-reset: w; font-size: var(--text-md); }
.words12 li { counter-increment: w; padding: var(--space-xs) var(--space-sm); border-radius: var(--space-sm); background: var(--color-paper-2); }
.words12 li::before { content: counter(w) " "; color: var(--color-muted); font-size: var(--text-sm); }
.check { display: flex; align-items: center; gap: var(--space-sm); min-height: 52px; font-size: var(--text-lg); border-block-end: var(--rule-hair) solid var(--color-rule); }
.check input { width: 24px; height: 24px; accent-color: var(--spring-mark); }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check input:disabled { opacity: 0.55; cursor: not-allowed; }

.sure__body { display: grid; gap: var(--space-sm); font-size: var(--text-lg); line-height: 1.45; }
.sure__body dl { display: grid; gap: 0; margin: 0; }
.sure__body dl div { display: grid; gap: var(--space-3xs); padding: var(--space-sm) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.sure__body dt { font-size: var(--text-sm); color: var(--color-muted); }
.sure__body dd { margin: 0; }
.undo { position: absolute; inset-inline: var(--space-lg); inset-block-end: calc(var(--tabbar-h) + var(--space-md)); z-index: var(--z-tooltip); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 52px; padding: 0 var(--space-md); border-radius: var(--radius-tile); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-md); --color-focus: var(--color-paper); }
.js .undo { opacity: 0; visibility: hidden; transform: translateY(16px); transition: transform var(--dur-short) var(--ease-in), opacity var(--dur-short) var(--ease-in), visibility 0s linear var(--dur-short); }
.js .undo.is-open { opacity: 1; visibility: visible; transform: none; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), visibility 0s; }

.lock, .decoy { position: absolute; inset: 0; z-index: var(--z-tooltip); display: grid; align-content: center; justify-items: center; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg); background: var(--color-paper); color: var(--color-ink); }
.js .lock, .js .decoy { opacity: 0; visibility: hidden; transition: opacity var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .lock.is-open, .js .decoy.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-short) var(--ease-out), visibility 0s; }
.lock__art { width: 72px; height: 72px; }
.lock__dots { display: flex; gap: var(--space-md); }
.lock__dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--color-ink); transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.lock__dots i.is-on { background: var(--color-ink); transform: scale(1.15); }
.lock__pad { display: grid; grid-template-columns: repeat(3, 72px); gap: var(--space-sm); direction: ltr; }
.lock__key { width: 72px; height: 72px; padding: 0; border: 0; border-radius: 50%; background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-2xl); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.lock__key:hover { background: var(--color-paper-3); }
.lock__key:active { transform: scale(0.9); }
.lock__key:disabled { opacity: 0.55; cursor: not-allowed; }
.lock__key:last-child { grid-column: 2; }
.decoy { align-content: start; justify-items: stretch; background: var(--k-white); padding-block-start: var(--space-2xl); }
.decoy h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; }
.decoy__list { display: grid; margin: 0; padding: 0; list-style: none; font-size: var(--text-lg); }
.decoy__list li { padding: var(--space-md) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.decoy .link { justify-self: start; padding-inline: 0; font-size: var(--text-sm); color: var(--color-muted); }
.phone:has(.sub.is-open, .lock.is-open, .decoy.is-open, #sure.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .quick__b, .cat, .lock__dots i, .lock__key { transition: none; }
  .phone[data-tab="set"] .screen--set, .js .phone[data-tab="set"] .cats li, .sub__page > * { animation: none; }
  .js .sub, [dir="ltr"] .js .sub, .js .undo { transform: none; }
}
.sub__input { min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); width: 100%; }
.sub__input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.sub__input:disabled { opacity: 0.55; cursor: not-allowed; }
.sub__input::placeholder { color: var(--color-muted); opacity: 1; }

/* ---------- השלמות: כרטיס הקשר בבית, מה היה, שמורים, תפילות, החודש שלך ---------- */
.nudge { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--space-xs) var(--space-md); align-items: center; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--hue, var(--color-paper-2)); }
.nudge[hidden] { display: none; }
.js .nudge { animation: pop-in var(--dur-world) var(--ease-out) backwards; }
.nudge__art { width: 56px; height: 56px; }
.nudge__art svg, .pmake__art svg, .kept__art svg { display: block; width: 100%; height: 100%; }
.nudge__text { display: grid; gap: var(--space-3xs); font-size: var(--text-md); line-height: 1.4; color: var(--color-ink-2); }
.nudge__text b { font-size: var(--text-xl); font-weight: 400; line-height: 1.2; color: var(--color-ink); }
.nudge__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.nudge__acts .btn { min-height: 48px; }
.nudge .does { grid-column: 1 / -1; font-size: var(--text-md); }
.nudge .does li { background: var(--color-paper); padding: var(--space-xs) var(--space-md); }
.screen--past, .screen--kept, .screen--pray { display: none; }
.phone[data-tab="past"] .screen--past, .phone[data-tab="kept"] .screen--kept, .phone[data-tab="pray"] .screen--pray { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.phone[data-tab="past"] .fab, .phone[data-tab="kept"] .fab, .phone[data-tab="pray"] .fab { opacity: 0; pointer-events: none; }
.track__past { justify-self: start; padding-inline: 0; }
.seasons4 { display: flex; gap: var(--space-xs); margin: 0 calc(-1 * var(--space-lg)); padding: 0 var(--space-lg); list-style: none; overflow-x: auto; scrollbar-width: none; }
.seasons4 li { flex: 0 0 148px; display: grid; gap: var(--space-2xs); align-content: start; min-height: 148px; padding: var(--space-md); border-radius: var(--radius-tile); background: var(--hue); font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); }
.seasons4 b { font-size: var(--text-xl); font-weight: 400; color: var(--color-ink); }
.past__sum { font-size: var(--text-lg); color: var(--color-ink-2); }
.cycles { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.cycles li { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.cyc__bar { display: flex; gap: var(--space-3xs); height: 20px; }
.cyc__bar i { flex: var(--d) 0 0; border-radius: var(--space-2xs); background: color-mix(in oklab, var(--c) 62%, var(--color-paper)); transform-origin: 100% 50%; }
[dir="ltr"] .cyc__bar i { transform-origin: 0 50%; }
.js .phone[data-tab="past"] .cyc__bar i, .read.is-open .cyc__bar i { animation: bar-in var(--dur-grow) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 60ms + 200ms); }
.saws { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: var(--text-lg); line-height: 1.45; }
.saws li { display: flex; gap: var(--space-sm); align-items: baseline; padding: var(--space-sm) 0; border-block-end: var(--rule-hair) solid var(--color-rule); }
.saws i { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.keptlist { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.keptlist li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2xs) var(--space-md); align-items: center; padding-block-end: var(--space-sm); border-block-end: var(--rule-hair) solid var(--color-rule); }
.keptlist li[hidden] { display: none; }
.js .phone[data-tab="kept"] .keptlist li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 60ms + 160ms); }
.kept__art { grid-row: 1 / span 2; width: 84px; height: 84px; border-radius: var(--space-md); overflow: hidden; background: var(--hue, var(--k-pink)); display: grid; place-items: center; padding: var(--space-xs); font-size: var(--text-sm); line-height: 1.2; text-align: center; color: var(--world-ink-dark); }
.keptlist b { font-size: var(--text-lg); font-weight: 400; line-height: 1.3; align-self: end; }
.keptlist span.kept__mine { font-size: var(--text-md); color: var(--color-ink-2); align-self: start; line-height: 1.4; }
.pmake { position: relative; display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); background: color-mix(in oklab, var(--spring-world) 34%, var(--color-paper)); }
.pmake__art { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.pmake h3 { font-size: var(--text-2xl); font-weight: 400; line-height: 1.15; }
.pmake > p { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.pmake .chip { background: var(--color-paper); } .pmake .chip[aria-pressed="true"] { background: var(--color-ink); }
.pmake__out { display: grid; gap: var(--space-sm); animation: rise var(--dur-long) var(--ease-out) backwards; }
.pmake__out[hidden], .mstep[hidden] { display: none; }
.pmake__out .sub__slot { background: var(--color-paper); }
.mstep { display: grid; gap: var(--space-md); }
.mstep .cyc__bar { height: 28px; }
#doc .togs { margin-block: var(--space-xs); }
.phone:has(#month.is-open, #doc.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .js .nudge, .phone[data-tab="past"] .screen--past, .phone[data-tab="kept"] .screen--kept, .phone[data-tab="pray"] .screen--pray, .js .phone[data-tab="past"] .cyc__bar i, .read.is-open .cyc__bar i, .js .phone[data-tab="kept"] .keptlist li, .pmake__out { animation: none; }
}

/* ---------- מעבר שני (11.11.2026): ליטוש עיצוב, חוויה ותנועה ---------- */
/* כפתור הרישום המהיר חי רק בבית ובמעקב, ולא מכסה תוכן במסכי קריאה. */
.phone:not([data-tab="home"]):not([data-tab="track"]) .fab { opacity: 0; pointer-events: none; }
.me__top { display: flex; align-items: center; gap: var(--space-md); }
.me__top h2 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.me__top p { font-size: var(--text-lg); color: var(--color-ink-2); }
.me__art { flex-shrink: 0; width: 72px; height: 72px; padding: var(--space-xs); border-radius: 50%; background: color-mix(in oklab, var(--spring-world) 46%, var(--color-paper)); }
.me__art svg { display: block; width: 100%; height: 100%; }
.cat__art[data-char="art-duo"] { border-radius: var(--space-sm); overflow: hidden; }
.js .phone[data-tab="me"] .cats li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 45ms + 120ms); }
.js .phone[data-tab="me"] .me__art { animation: hop var(--dur-world) var(--ease-out) backwards; }

/* מעבר בין לשוניות: המסך נכנס מהצד שאליו הולכים. */
@keyframes glide { from { opacity: 0; transform: translateX(var(--from, 0px)); } to { opacity: 1; transform: none; } }
.js .phone[data-tab="track"] .screen--track, .js .phone[data-tab="paths"] .screen--paths, .js .phone[data-tab="levana"] .screen--levana, .js .phone[data-tab="me"] .screen--me, .js .phone.is-back[data-tab="home"] .screen--home, .js [data-who="him"] .phone[data-tab="home"] .screen--his { animation: glide var(--dur-long) var(--ease-out) backwards; }
.tab svg { transition: transform var(--dur-long) var(--ease-out); }
.tab[aria-current="page"] svg { transform: translateY(2px) scale(1.1); }
.tab { position: relative; }
.tab::after { content: ""; position: absolute; inset-block-start: var(--space-xs); inset-inline-start: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--color-ink); transform: scale(0); transition: transform var(--dur-long) var(--ease-out); }
.tab[aria-current="page"]::after { transform: scale(1); }

/* בחירה: נוחתת. מתג: קפיץ קטן. */
.pick.is-picked { animation: land var(--dur-long) var(--ease-out); }
.tog::after { transition: transform var(--dur-long) var(--ease-out); }
.act--save[aria-pressed="true"] svg { animation: heart var(--dur-world) var(--ease-out); }
.entry__play:active svg, .fline__play:active svg { transform: scale(0.85); }

/* התלם: הנקודות נובטות אחת אחת. */
.js .phone[data-tab="talk"] .fday::before, .js .phone[data-tab="bed"] .fday::before { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 80ms + 320ms); }
.js .reveal { transition: opacity var(--dur-world) var(--ease-out), transform var(--dur-world) var(--ease-out); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(20px); }

/* "בוצע, ביטול": פס דק שמראה כמה זמן נשאר. */
.undo { overflow: hidden; }
.undo::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; background: var(--k-moon); transform-origin: 100% 50%; transform: scaleX(0); }
[dir="ltr"] .undo::after { transform-origin: 0 50%; }
.undo.is-open::after { animation: drain 4200ms linear backwards; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* שלבי השאלה מתמלאים בזה אחר זה. */
.gthread.is-open .steps3 li.is-on::before { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 180ms + 200ms); }
.steps3 li:nth-child(2) { --n: 1; } .steps3 li:nth-child(3) { --n: 2; }
.lock.is-done .lock__dots i { animation: hop var(--dur-long) var(--ease-out); }
.lock.is-done .lock__dots i:nth-child(2) { animation-delay: 50ms; } .lock.is-done .lock__dots i:nth-child(3) { animation-delay: 100ms; } .lock.is-done .lock__dots i:nth-child(4) { animation-delay: 150ms; }
.nudge__art, .gopen__art { animation: sway 3.2s var(--ease-in-out) infinite alternate; transform-origin: 50% 90%; }
.cam.is-shot { animation: flash var(--dur-long) var(--ease-out); }
@keyframes flash { from { opacity: 0.3; } to { opacity: 1; } }

/* מסך ההקלטה של לחישה: רך, כמו שאר שיחת שדה. בלי כחול כהה. */
.hush { background: color-mix(in oklab, var(--k-water-light) 56%, var(--color-paper)); color: var(--color-ink); --color-focus: var(--color-accent); }
.hush > .round { background: color-mix(in oklab, var(--color-ink) 10%, transparent); }
.hush__line { color: var(--color-ink-2); }
.hush__ring { background: var(--color-paper); }
.hush__ring--2 { background: color-mix(in oklab, var(--k-water-light) 80%, var(--color-paper)); } .hush__ring--1 { background: var(--k-water-light); }
.hush__bars i { background: var(--color-ink); }
.hush__rec { border-color: var(--color-ink); }
.hush__rec i { background: var(--k-pink-deep); }
.hush .btn--line:hover { background: color-mix(in oklab, var(--color-ink) 10%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .tab svg, .tab::after, .tog::after, .js .reveal { transition: none; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .js .phone[data-tab="me"] .cats li, .js .phone[data-tab="me"] .me__art, .js .phone[data-tab="track"] .screen--track, .js .phone[data-tab="paths"] .screen--paths, .js .phone[data-tab="levana"] .screen--levana, .js .phone[data-tab="me"] .screen--me, .js .phone.is-back[data-tab="home"] .screen--home, .js [data-who="him"] .phone[data-tab="home"] .screen--his, .pick.is-picked, .act--save[aria-pressed="true"] svg, .js .phone[data-tab="talk"] .fday::before, .js .phone[data-tab="bed"] .fday::before, .undo.is-open::after, .gthread.is-open .steps3 li.is-on::before, .lock.is-done .lock__dots i, .nudge__art, .gopen__art, .cam.is-shot { animation: none; }
}

/* ---------- השלמות אחרונות (11.11.2026) ---------- */
[data-who="her"] [data-him] { display: none; }
.pick b { font-weight: 400; }
.onb__code { font-size: var(--text-2xl); text-align: center; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.onb .tog-row { text-align: start; }
.qgroup { display: grid; gap: var(--space-xs); }
.qgroup > p { font-size: var(--text-md); color: var(--color-ink-2); }
.qstain { display: grid; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: color-mix(in oklab, var(--k-moon) 70%, var(--color-paper)); font-size: var(--text-lg); line-height: 1.45; animation: rise var(--dur-long) var(--ease-out) backwards; }
.qstain[hidden] { display: none; }
.term { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; text-decoration: underline dotted; text-decoration-thickness: 2px; text-underline-offset: 0.25em; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.term:hover { color: var(--color-accent); }
.term:active { opacity: 0.7; }
.term:disabled { opacity: 0.55; cursor: not-allowed; }
.finds { display: grid; gap: var(--space-xs); margin: var(--space-xs) 0 0; padding: 0; list-style: none; }
.found { display: flex; align-items: center; gap: var(--space-sm); width: 100%; padding: var(--space-xs); border: 0; border-radius: var(--radius-tile); background: var(--color-paper); color: var(--color-ink); text-align: start; cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.found:hover { transform: translateY(-2px); }
.found:active { transform: scale(0.97); }
.found:disabled { opacity: 0.55; cursor: not-allowed; }
.found__art { flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--space-sm); overflow: hidden; background: var(--k-pink); font-size: var(--text-xl); }
.found__art svg, .after__art svg { display: block; width: 100%; height: 100%; }
.found__art--say { background: var(--summer-world); }
.found__text { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.found__text b { font-size: var(--text-md); font-weight: 400; line-height: 1.3; color: var(--color-ink); }
.mixrow { display: grid; grid-template-columns: 5em 1fr; align-items: center; gap: var(--space-md); min-height: 52px; font-size: var(--text-lg); }
.mixrow input { width: 100%; height: 44px; accent-color: var(--color-ink); cursor: pointer; }
.mixrow input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.mixrow input:disabled { opacity: 0.55; cursor: not-allowed; }
#mix .link { justify-self: start; padding-inline: 0; }
.after { position: absolute; inset: 0; z-index: var(--z-tooltip); display: grid; align-content: center; justify-items: center; gap: var(--space-md); padding: var(--space-xl) var(--space-lg); background: color-mix(in oklab, var(--k-water-light) 46%, var(--color-paper)); color: var(--color-ink); text-align: center; }
.js .after { opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
.js .after.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out), visibility 0s; }
.after__art { width: 120px; height: 120px; }
.after.is-open .after__art { animation: hop var(--dur-world) var(--ease-out) backwards; }
.after h3 { font-size: var(--text-display); font-weight: 400; line-height: 1.05; letter-spacing: var(--tracking-display); }
.after .picks { width: 100%; }
.after .pick { background: var(--color-paper); text-align: center; justify-items: center; }
.after .pick.is-picked { background: var(--color-ink); }
.after__said { min-height: 3em; max-width: 16em; font-size: var(--text-lg); line-height: 1.45; }
.after__acts { display: grid; gap: var(--space-xs); width: 100%; justify-items: center; }
.phone:has(.after.is-open, #qlog.is-open, #term.is-open, #mix.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .term, .found { transition: none; } .qstain, .after.is-open .after__art { animation: none; } }
.state--you { background: color-mix(in oklab, var(--k-pink) 46%, var(--color-paper)); }
.mine-more { display: grid; margin: 0; padding: 0; list-style: none; }
.mine-more .mine { border-block-start: 0; animation: rise var(--dur-long) var(--ease-out) backwards; }
.gneed { display: grid; gap: var(--space-sm); }
.gneed[hidden] { display: none; }
.gneed textarea { width: 100%; min-height: 112px; padding: var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-lg); line-height: 1.45; resize: none; }
.gneed textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.gneed textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.gneed textarea::placeholder { color: var(--color-muted); opacity: 1; }
#stone2 label { font-size: var(--text-lg); }
#stone2 .link { justify-self: center; }
#help .rows .row__text { display: grid; gap: var(--space-3xs); }
#help .rows small { font-size: var(--text-sm); color: var(--color-muted); }
.phone:has(#help.is-open, #gadd.is-open, #stone2.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mine-more .mine { animation: none; } }
.pull { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); font-size: var(--text-md); color: var(--color-ink-2); }
.js .pull:not(.is-on) { display: none; }
.pull.is-on { animation: rise var(--dur-long) var(--ease-out) backwards; }
.pull__art { width: 36px; height: 36px; }
.pull__art svg { display: block; width: 100%; height: 100%; }
.pull.is-on .pull__art { animation: breathe 700ms var(--ease-in-out) infinite alternate; }
.tags li { cursor: pointer; }
.screen--topic, .screen--studio { display: none; }
.phone[data-tab="topic"] .screen--topic { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: 0 0 calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.phone[data-tab="studio"] .screen--studio { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.topic__top { display: grid; gap: var(--space-md); justify-items: start; padding: var(--space-lg) var(--space-lg) var(--space-xl); background: var(--hue, var(--k-pink)); color: var(--world-ink-dark); border-end-start-radius: 50% var(--arc); border-end-end-radius: 50% var(--arc); }
.topic__top h2 { font-size: var(--text-hero); font-weight: 400; line-height: 1; letter-spacing: var(--tracking-display); }
.topic__top .tog-row--bare b { color: inherit; }
.topic__top .tog::before { background: var(--color-paper); }
.topic__top .tog::after { background: var(--color-ink); }
.topic__top .tog[aria-checked="true"]::before { background: var(--color-ink); }
.topic__top .tog[aria-checked="true"]::after { background: var(--color-paper); }
.topic__list, .screen--topic > .grove__list { padding-inline: var(--space-lg); }
.js .phone[data-tab="topic"] .keptlist li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 60ms + 160ms); }
.gopen--sun { background: color-mix(in oklab, var(--summer-world) 40%, var(--color-paper)); --k-flora: var(--summer-near); --k-flora-2: var(--k-sun); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xs); margin: 0; }
.stats div { display: grid; gap: var(--space-3xs); padding: var(--space-sm); border-radius: var(--radius-tile); background: var(--color-paper-2); text-align: center; }
.stats dt { font-size: var(--text-sm); color: var(--color-muted); }
.stats dd { margin: 0; font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
div.thr { cursor: default; }
div.thr:hover { background: var(--color-paper-2); }
.make__drop { aspect-ratio: 16 / 10; border: var(--rule-hair) dashed var(--color-muted); background: var(--color-paper-2); }
.make__drop[hidden] { display: none; }
.make__drop-text { font-size: var(--text-lg); color: var(--color-ink-2); }
.make__see { min-height: 240px; }
.gstep .sub__pick { border: 0; padding: 0; }
.gstep > .link[data-pub] { justify-self: center; }
@media (prefers-reduced-motion: reduce) { .pull.is-on, .pull.is-on .pull__art, .phone[data-tab="topic"] .screen--topic, .phone[data-tab="studio"] .screen--studio, .js .phone[data-tab="topic"] .keptlist li { animation: none; } }

/* ---------- מאגר המקוואות ---------- */
.screen--mikvaot { display: none; }
.phone[data-tab="mikvaot"] .screen--mikvaot { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.mks { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.mks li[hidden] { display: none; }
.js .phone[data-tab="mikvaot"] .mks li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 60ms + 160ms); }
.mk { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2xs) var(--space-md); width: 100%; padding: var(--space-md) 0; border: 0; border-block-end: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); text-align: start; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.mk:hover { color: var(--color-accent); }
.mk:active { transform: scale(0.98); }
.mk:disabled { opacity: 0.55; cursor: not-allowed; }
.mk b { font-size: var(--text-xl); font-weight: 400; line-height: 1.2; }
.mk__far { font-size: var(--text-sm); color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.mk__line { grid-column: 1 / -1; font-size: var(--text-md); color: var(--color-ink-2); }
.mk__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.mk__tags .state { background: var(--color-paper-2); }
.mk.is-mine { padding: var(--space-md) var(--space-lg); border: 0; border-radius: var(--radius-card); background: color-mix(in oklab, var(--k-water-light) 46%, var(--color-paper)); }
.mk.is-mine:hover { color: var(--color-ink); }
.mks { gap: 0; }
.mk.is-mine .state--mine { background: var(--color-ink); color: var(--color-paper); }
.mk__own { justify-self: start; padding-inline: 0; }
#mk .ask__acts .btn { flex: 1; }
#mk-pick[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
#mk > .read__page > .link { justify-self: start; padding-inline: 0; }
.phone:has(#mk.is-open) .fab { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mk { transition: none; } .phone[data-tab="mikvaot"] .screen--mikvaot, .js .phone[data-tab="mikvaot"] .mks li { animation: none; } }

/* ---------- מעבר שלישי (11.11.2026): מיקרו-תנועה, דמויות ומיקרו-קופי ---------- */
/* הירח על נייר: גוון חם יותר, כדי שייראה. */
.cat__art, .kindt--think .kindt__art, .write[data-kind="think"] .write__art, .read[data-kind="think"] .read__art, .lock__art, .seasons4 { --k-moon: var(--k-amber); }

/* אהבתי: שישה עלי כותרת קטנים נפתחים סביב הלב. */
.act--heart { position: relative; }
.act--heart::after { content: ""; position: absolute; inset-block-start: calc(50% - 3px); inset-inline-start: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: transparent; box-shadow: 0 -22px var(--k-pink-deep), 19px -11px var(--k-sun), 19px 11px var(--k-pink), 0 22px var(--k-pink-deep), -19px 11px var(--k-sun), -19px -11px var(--k-pink); opacity: 0; pointer-events: none; }
.act--heart.is-pop::after { animation: burst 620ms var(--ease-out); }
@keyframes burst { 0% { opacity: 0; transform: scale(0.2) rotate(-20deg); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15) rotate(10deg); } }

/* מתג: הידית נמתחת מעט כשלוחצים, כמו כפתור אמיתי. */
.tog:active::after { transform: scaleX(1.22); }
.tog[aria-checked="true"]:active::after { transform: translateX(-24px) scaleX(1.22); }
[dir="ltr"] .tog[aria-checked="true"]:active::after { transform: translateX(24px) scaleX(1.22); }

/* "עודכן": וי קטן שנוחת לפני המילה. */
.undo__ok { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--k-leaf-light); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.undo.is-open .undo__ok { animation: tick-in var(--dur-long) var(--ease-out) 120ms backwards; }
@keyframes tick-in { from { opacity: 0; transform: scale(0.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
.undo > span { flex: 1; }

/* גיליון נפתח: התוכן עולה שורה אחרי שורה. */
.js .sheet.is-open > * { animation: rise var(--dur-long) var(--ease-out) backwards; }
.js .sheet.is-open > :nth-child(2) { animation-delay: 50ms; } .js .sheet.is-open > :nth-child(3) { animation-delay: 100ms; } .js .sheet.is-open > :nth-child(4) { animation-delay: 150ms; } .js .sheet.is-open > :nth-child(5) { animation-delay: 200ms; } .js .sheet.is-open > :nth-child(n+6) { animation-delay: 250ms; }

/* רשומה חדשה: טבעת רכה שמסמנת אותה לרגע ונעלמת. */
.entry.is-fresh::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--color-ink); border-radius: inherit; opacity: 0; pointer-events: none; animation: halo 1400ms var(--ease-out) 300ms; }
@keyframes halo { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.04); } }

/* דף קריאה: קו דק שמראה כמה נקרא. */
.read__top { position: relative; }
.read__prog { position: absolute; inset-inline: var(--space-lg); inset-block-end: var(--space-xs); height: 3px; border-radius: var(--space-3xs); background: var(--color-ink); opacity: 0.5; transform-origin: 100% 50%; transform: scaleX(var(--read, 0)); }
[dir="ltr"] .read__prog { transform-origin: 0 50%; }

/* אונבורדינג: האיור מהנהן כשבוחרים. */
.onb__art.is-nod svg { animation: k-hop 420ms var(--ease-out); transform-origin: 50% 90%; }
/* כפתור ראשי שזה עתה הופיע: נשימה אחת, כדי שהעין תמצא אותו. */
.js .now.is-live #c-save, .js .now.is-live #b-save { animation: rise var(--dur-long) var(--ease-out) backwards, breathe 900ms var(--ease-in-out) 500ms 2 alternate; }
/* מספרים שנספרים */
.is-counting { font-variant-numeric: tabular-nums; }
/* שדות: קו התחתית מתעבה ברכות כשכותבים. */
.sub__input, .find__box, .ask input, .gstep textarea, .bq textarea { transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.sub__input:focus-visible, .gstep textarea:focus-visible, .bq textarea:focus-visible { background: var(--color-paper); }
/* שורות ברשימה: החץ זז מעט לכיוון ההמשך. */
.row svg { transition: transform var(--dur-short) var(--ease-out); }
.row:hover svg { transform: translateX(-4px); }
[dir="ltr"] .row:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .row svg, .sub__input, .find__box, .ask input, .gstep textarea, .bq textarea { transition: none; }
  .act--heart.is-pop::after, .undo.is-open .undo__ok, .js .sheet.is-open > *, .entry.is-fresh::after, .onb__art.is-nod svg, .js .now.is-live #c-save, .js .now.is-live #b-save { animation: none; }
}

/* ============ לוח מורחב ו"דף היום" (הצעה, 14.11.2026; לבקשת דורון) ============
   הלוח הרגיל לא משתנה. "מסע" הוא אותו חודש: פס העונה דק בראש כל יום, ומתחתיו מה שכתבת, הרגשת וסימנת.
   [הצעה] כל מה שבבלוק הזה: גובה התא, צבעי הזרעים (גוון כהה של צבע הסוג מ-DESIGN.md), סמלי הסימנים, צבע הדף בכתיבה. */
[data-jv][hidden] { display: none !important; }
.screen--track:not([data-view="journey"]) #journey-track { display: none; }
.screen--track[data-view="journey"] :is(.cal, .land, .seasonbar, .legend, .track__past, .dayinfo, .axis-box) { display: none; }
.screen--talk:not([data-tview="cal"]) #journey-talk { display: none; }
.screen--talk[data-tview="cal"] :is(.talk-a, .talk-b, .talk-c) { display: none !important; }
.seg--views label[data-jv] { background: var(--color-paper-2); }

.journey { display: grid; grid-auto-rows: max-content; gap: var(--space-md); min-width: 0; }
.journey__aim { display: flex; align-items: center; gap: var(--space-sm); width: 100%; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); text-align: start; cursor: pointer; }
.journey__aim > span:first-child { flex-shrink: 0; width: 40px; height: 40px; }
.journey__aim svg { width: 100%; height: 100%; }
.journey__aim > span:last-child { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.journey__aim b { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.journey__filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--space-lg)); padding-inline: var(--space-lg); }
.journey__filter .chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }

/* התא: פס עונה דק, המספר, ומתחת החיים של היום */
.jcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.jday { position: relative; display: grid; grid-template-rows: auto auto 1fr; justify-items: center; align-content: start; gap: var(--space-3xs); min-height: 78px; padding: var(--space-2xs) 0; border: 0; border-radius: var(--space-sm); background: color-mix(in oklab, var(--tint) 20%, var(--color-paper)); color: var(--color-ink); overflow: hidden; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.jday:active { transform: scale(0.94); }
.jday.is-ahead { background: color-mix(in oklab, var(--tint) 8%, var(--color-paper)); }
.jday.is-next { opacity: 0.55; }
.jday__num { display: grid; justify-items: center; gap: 1px; }
.jday__num b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: var(--text-md); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.jday__num span { font-size: 10px; line-height: 1; color: var(--color-ink-2); }
.jday.is-today .jday__num b { background: var(--color-ink); color: var(--color-paper); }
.jday__mark { width: 17px; height: 17px; }
.jday__mark svg, .jday__mood svg { display: block; width: 100%; height: 100%; }
.jday__life { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; align-self: end; min-height: 18px; padding-inline: 2px; }
.jday__mood { width: 20px; height: 16px; border-radius: 4px; background: var(--mood-bg); }
.jday__seeds { display: flex; gap: 2px; }
.seed { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--seed, var(--color-ink)); }
.seed--note { --seed: var(--k-leaf); } .seed--think { --seed: var(--k-plum-light); } .seed--letter { --seed: var(--k-pink-deep); } .seed--thanks { --seed: var(--k-amber); } .seed--hush { --seed: var(--k-water); }
.seed--more { width: auto; height: auto; background: none; font-size: 9px; font-style: normal; line-height: 7px; color: var(--color-ink-2); }
/* סינון: מה שלא נבחר מתעמעם */
.journey[data-f="words"] .jday [data-f]:not([data-f="words"]), .journey[data-f="mood"] .jday [data-f]:not([data-f="mood"]), .journey[data-f="marks"] .jday [data-f]:not([data-f="marks"]) { opacity: 0.12; }
.jday [data-f] { transition: opacity var(--dur-short) var(--ease-out); }
.jkey { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-ink-2); }
.jkey li { display: flex; align-items: center; gap: var(--space-xs); }
.jkey__band { display: block; width: 18px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--winter-world) 25%, var(--spring-world) 25% 50%, var(--summer-world) 50% 75%, var(--autumn-world) 75%); }

/* הזרעים נובטים כשנכנסים ל"מסע" */
.js .journey-host.is-in .jday { animation: day-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 10ms); }
.js .journey-host.is-in .jday__life > *, .js .journey-host.is-in .jday__mark { animation: seed-in var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 10ms + 260ms); }
@keyframes seed-in { from { opacity: 0; transform: translateY(6px) scale(0.2); } to { opacity: 1; transform: none; } }

/* השנה בשדה (רעיון) */
.year { border-radius: var(--radius-tile); background: var(--color-paper-2); padding: var(--space-sm) var(--space-md); }
.year summary { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-size: var(--text-lg); cursor: pointer; list-style: none; }
.year summary::-webkit-details-marker { display: none; }
.year__rows { display: grid; gap: 6px; padding-block: var(--space-xs); }
.year__row { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-ink-2); }
.year__bar { position: relative; display: flex; height: 12px; border-radius: 6px; overflow: hidden; }
.year__bar b { display: block; } .year__bar .w { flex: 5; background: var(--winter-world); } .year__bar .s { flex: 7; background: var(--spring-world); } .year__bar .u { flex: 9; background: var(--summer-world); } .year__bar .a { flex: 8; background: var(--autumn-world); }
.year__bar i { position: absolute; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-paper); }
.year__note { font-size: var(--text-sm); color: var(--color-muted); }
.year[open] .year__row { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 40ms); }
.dp-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-size: var(--text-xs); }

/* גשר במעקב (גרסה ב׳): נקודה קטנה ביום שיש בו כתיבה */
.day.has-words::after { content: ""; position: absolute; inset-block-start: 4px; inset-inline-end: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--k-leaf); box-shadow: 0 0 0 2px var(--color-paper); }
.dayinfo__words { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); cursor: pointer; }
.dayinfo__seeds { display: flex; align-items: center; gap: 3px; }

/* ============ דף היום: גדל מתוך התא שנלחץ ============ */
.screen--day { display: none; }
.phone[data-tab="day"] .screen--day { display: grid; grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-3xl)); background: var(--color-paper); }
.screen--day.is-grow { animation: day-grow var(--dur-world) var(--ease-out) backwards; }
@keyframes day-grow { from { clip-path: circle(24px at var(--ox, 50%) var(--oy, 30%)); } to { clip-path: circle(150% at var(--ox, 50%) var(--oy, 30%)); } }
.screen--day.is-grow > * { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: 220ms; }
.screen--day.is-grow > :nth-child(3) { animation-delay: 280ms; } .screen--day.is-grow > :nth-child(n+4) { animation-delay: 340ms; }
.screen--day h2 { font-size: var(--text-2xl); font-weight: 400; line-height: 1.1; letter-spacing: var(--tracking-display); }

.dp-field { position: relative; display: grid; justify-items: start; gap: var(--space-xs); padding: var(--space-lg); border-radius: var(--radius-card); background: color-mix(in oklab, var(--tint) 26%, var(--color-paper)); overflow: hidden; }
.dp-field__state { font-size: var(--text-lg); line-height: 1.35; }
.dp-field__log { font-size: var(--text-sm); color: var(--color-ink-2); }

.dp-marks { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.dp-marks:empty, .dp-mood:empty { display: none; }
.dp-mark { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-md) 0 var(--space-xs); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-md); }
.dp-mark > span { width: 28px; height: 28px; } .dp-mark svg, .dp-moodline svg, .dpe__art svg, .dp-tile svg, .dp-faces svg, .dp-markpick svg { display: block; width: 100%; height: 100%; }
.dp-moodline { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-lg); }

.mood-calm { --mood-bg: var(--k-leaf-light); } .mood-tired { --mood-bg: var(--k-lilac); } .mood-sensitive { --mood-bg: var(--k-pink); } .mood-strong { --mood-bg: var(--k-sun); } .mood-flooded { --mood-bg: var(--k-water-light); }

.dp-entries { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.dpe { position: relative; display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-lg); padding-inline-end: var(--space-3xl); border-radius: var(--radius-tile); background: var(--hue); overflow: hidden; color: var(--world-ink-dark); }
.dpe--note { --hue: color-mix(in oklab, var(--spring-world) 62%, var(--color-paper)); }
.dpe--think { --hue: color-mix(in oklab, var(--k-lilac) 70%, var(--color-paper)); --k-moon: var(--k-amber); }
.dpe--letter { --hue: color-mix(in oklab, var(--k-pink) 62%, var(--color-paper)); }
.dpe--thanks { --hue: color-mix(in oklab, var(--summer-world) 62%, var(--color-paper)); }
.dpe--hush { --hue: color-mix(in oklab, var(--k-water-light) 62%, var(--color-paper)); }
.dpe[data-hue="winter"] { --hue: var(--winter-world); color: var(--world-ink-light); } .dpe[data-hue="spring"] { --hue: var(--spring-world); } .dpe[data-hue="summer"] { --hue: var(--summer-world); } .dpe[data-hue="autumn"] { --hue: var(--autumn-world); }
.dpe__when { font-size: var(--text-sm); opacity: 0.8; }
.dpe__title { font-size: var(--text-xl); font-weight: 400; line-height: 1.2; }
.dpe p { font-size: var(--text-lg); line-height: 1.45; }
.dpe__art { position: absolute; inset-block-end: -6px; inset-inline-end: var(--space-xs); width: 56px; height: 56px; }
.dpe__wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.dpe__wave i { display: block; width: 3px; height: calc(var(--h) * 1%); border-radius: 2px; background: currentColor; opacity: 0.6; }
.dpe.is-new { animation: rise var(--dur-long) var(--ease-out) backwards; }
.dp-empty { padding: var(--space-md) 0; font-size: var(--text-lg); color: var(--color-ink-2); }

.dp-memory { display: grid; justify-items: start; gap: var(--space-xs); padding: var(--space-md) var(--space-lg); border: 2px dashed var(--color-rule); border-radius: var(--radius-tile); }
.dp-memory__lead { font-size: var(--text-sm); color: var(--color-ink-2); }
.dp-memory__text { font-size: var(--text-lg); line-height: 1.4; }

.dp-add { display: grid; gap: var(--space-md); }
.dp-add h3 { font-size: var(--text-section); font-weight: 400; }
.dp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.dp-tile { display: grid; justify-items: center; gap: var(--space-2xs); width: 100%; padding: var(--space-sm) 0; border: 0; border-radius: var(--radius-tile); background: var(--hue); color: var(--world-ink-dark); font-size: var(--text-sm); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.dp-tile b { font-weight: 400; }
.dp-tile > span { width: 44px; height: 44px; }
.dp-tile:active { transform: scale(0.94); }
.dp-tile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--color-ink); }
.dp-tile--note { --hue: color-mix(in oklab, var(--spring-world) 62%, var(--color-paper)); }
.dp-tile--mood { --hue: color-mix(in oklab, var(--k-sun) 55%, var(--color-paper)); }
.dp-tile--mark { --hue: var(--color-paper-2); }
.dp-tile--hush { --hue: color-mix(in oklab, var(--k-water-light) 62%, var(--color-paper)); }

.dp-pane { display: grid; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-2); animation: rise var(--dur-long) var(--ease-out) backwards; }
.dp-pane[hidden] { display: none; }
.dp-pane[data-hue="winter"] { background: color-mix(in oklab, var(--winter-world) 30%, var(--color-paper)); } .dp-pane[data-hue="spring"] { background: color-mix(in oklab, var(--spring-world) 45%, var(--color-paper)); } .dp-pane[data-hue="summer"] { background: color-mix(in oklab, var(--summer-world) 45%, var(--color-paper)); } .dp-pane[data-hue="autumn"] { background: color-mix(in oklab, var(--autumn-world) 45%, var(--color-paper)); }
.dp-in { width: 100%; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-tile); background: var(--color-paper); color: var(--color-ink); font: inherit; font-size: var(--text-lg); line-height: 1.5; resize: none; }
.dp-in--title { font-size: var(--text-xl); }
.dp-in:focus { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.dp-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.dp-row button { min-height: 40px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); cursor: pointer; }
.dp-row button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.dp-colors button { width: 36px; min-height: 36px; padding: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--color-rule); }
.dp-colors button[data-hue=""] { background: conic-gradient(var(--spring-world) 0 25%, var(--k-lilac) 0 50%, var(--k-pink) 0 75%, var(--summer-world) 0); }
.dp-colors [data-hue="winter"] { background: var(--winter-world); } .dp-colors [data-hue="spring"] { background: var(--spring-world); } .dp-colors [data-hue="summer"] { background: var(--summer-world); } .dp-colors [data-hue="autumn"] { background: var(--autumn-world); }
.dp-colors button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--color-paper), 0 0 0 4px var(--color-ink); background-color: inherit; }
.dp-colors button[data-hue="winter"][aria-pressed="true"] { background: var(--winter-world); } .dp-colors button[data-hue="spring"][aria-pressed="true"] { background: var(--spring-world); } .dp-colors button[data-hue="summer"][aria-pressed="true"] { background: var(--summer-world); } .dp-colors button[data-hue="autumn"][aria-pressed="true"] { background: var(--autumn-world); }
.dp-acts { display: flex; align-items: center; gap: var(--space-md); }
.dp-faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2xs); }
.dp-faces button { display: grid; justify-items: center; gap: var(--space-2xs); padding: var(--space-xs) 0; border: 0; border-radius: var(--radius-tile); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-xs); cursor: pointer; }
.dp-faces button span { width: 40px; height: 34px; }
.dp-faces [data-mood="calm"] span { --x: 0; } .dp-faces button:active { transform: scale(0.94); }
.dp-markpick button { display: inline-flex; align-items: center; gap: var(--space-xs); padding-inline-start: var(--space-xs); }
.dp-markpick button span { width: 26px; height: 26px; }
.dp-private { font-size: var(--text-sm); color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {
  .jday, .dp-tile, .jday [data-f] { transition: none; }
  .js .journey-host.is-in .jday, .js .journey-host.is-in .jday__life > *, .js .journey-host.is-in .jday__mark, .year[open] .year__row, .dpe.is-new, .dp-pane, .screen--day.is-grow > * { animation: none; }
  .screen--day.is-grow { animation: fade-in var(--dur-short) linear backwards; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* הרגשה בלי פרצוף: חלוק נחל בצבע ההרגשה (הצעה, 14.11) */
.pebble { display: block; width: 13px; height: 9px; border-radius: 50% 50% 46% 54% / 60% 58% 42% 40%; background: var(--mood-bg); box-shadow: inset 0 -2px 0 color-mix(in oklab, var(--mood-bg) 70%, var(--color-ink)); }
.pebble--lg { width: 40px; height: 28px; box-shadow: inset 0 -5px 0 color-mix(in oklab, var(--mood-bg) 75%, var(--color-ink)); }
.dp-moodline .pebble--lg { padding: 0; }
.pebbles { display: grid; justify-items: center; align-content: center; gap: 2px; width: 44px; height: 44px; }
.pebbles .pebble:nth-child(1) { width: 20px; height: 11px; } .pebbles .pebble:nth-child(2) { width: 28px; height: 13px; } .pebbles .pebble:nth-child(3) { width: 36px; height: 15px; }
.dp-faces button .pebble--lg { width: 36px; height: 24px; margin-block: 5px; }

/* ============ פתק עשיר ואוסף הפתקים (הצעה, 14.11.2026) ============
   [הצעה] כל הבלוק: צבעי הנייר והמרקר מצבעי העונות, דוגמת השורות והנקודות, מדבקות מהערכה בלי פרצוף, סרגל הכלים. */
.notes-entry { display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 72px; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-tile); background: color-mix(in oklab, var(--spring-world) 40%, var(--color-paper)); color: var(--world-ink-dark); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.notes-entry > span:first-child { flex-shrink: 0; width: 44px; height: 44px; }
.notes-entry > span:nth-child(2) { display: grid; gap: var(--space-3xs); flex: 1; font-size: var(--text-sm); color: var(--color-ink-2); }
.notes-entry b { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.notes-entry svg:last-child { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notes-entry:active { transform: scale(0.98); }
.notes-entry svg, .nl-card__img svg, .nx-photo svg, .nx-sticker svg, .nx-hush > span:first-child svg, .nx-grid svg, .nx-day svg { display: block; width: 100%; height: 100%; }
[data-talk] .screen--talk[data-tview="cal"] .notes-entry { display: none; }

.screen--notes, .screen--notex { display: none; }
.phone[data-tab="notes"] .screen--notes { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg) calc(var(--tabbar-h) + var(--space-4xl)); animation: rise var(--dur-long) var(--ease-out) backwards; }
.phone[data-tab="notes"] > .fab, .phone[data-tab="notex"] > .fab, .phone[data-tab="notex"] .tabs { display: none; }
.nl-search { display: flex; align-items: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.nl-search svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--color-ink-2); stroke-width: 2; stroke-linecap: round; }
.nl-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--color-ink); font: inherit; font-size: var(--text-md); }
.nl-search input:focus { outline: none; }
.nl-search:focus-within { box-shadow: inset 0 0 0 2px var(--color-focus); }
.nl-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--space-lg)); padding-inline: var(--space-lg); }
.nl-bar .chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.chip--add { width: 44px; justify-content: center; padding: 0; font-size: var(--text-lg); }
.nl-sec { display: grid; gap: var(--space-sm); }
.nl-sec h3 { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.nl { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.nl li { animation: rise var(--dur-long) var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 50ms); }
.nl-card { display: flex; align-items: center; gap: var(--space-md); width: 100%; padding: var(--space-sm) var(--space-md); border: 0; border-radius: var(--radius-tile); background: var(--hue-bg, var(--color-paper-2)); color: var(--world-ink-dark); text-align: start; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.nl-card:active { transform: scale(0.98); }
.nl-card[data-hue="spring"], .screen--notex[data-hue="spring"] { --hue-bg: color-mix(in oklab, var(--k-leaf-light) 45%, var(--color-paper)); }
.nl-card[data-hue="summer"], .screen--notex[data-hue="summer"] { --hue-bg: color-mix(in oklab, var(--k-sun) 35%, var(--color-paper)); }
.nl-card[data-hue="autumn"], .screen--notex[data-hue="autumn"] { --hue-bg: color-mix(in oklab, var(--k-clay-light) 38%, var(--color-paper)); }
.nl-card[data-hue="winter"], .screen--notex[data-hue="winter"] { --hue-bg: color-mix(in oklab, var(--k-lilac) 60%, var(--color-paper)); }
.nl-card[data-hue="paper"], .screen--notex[data-hue="paper"] { --hue-bg: var(--color-paper-2); }
.nl-card__img { flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--space-sm); overflow: hidden; background: var(--color-paper); }
.nl-card__img svg { object-fit: cover; }
.nl-card__text { display: grid; gap: var(--space-3xs); flex: 1; min-width: 0; }
.nl-card__text b { display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); }
.nl-card__text b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.nl-card__text span { font-size: var(--text-md); color: var(--color-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nl-card__text small { font-size: var(--text-xs); color: var(--color-muted); }
/* גלריה: אריחים בשתי עמודות, התמונה למעלה */
.screen--notes[data-view="grid"] .nl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screen--notes[data-view="grid"] .nl-card { flex-direction: column; align-items: stretch; height: 100%; padding: var(--space-xs); }
.screen--notes[data-view="grid"] .nl-card__img { width: 100%; height: 96px; }
.screen--notes[data-view="grid"] .nl-card__text { padding: 0 var(--space-2xs) var(--space-2xs); }
.screen--notes[data-view="grid"] .nl-card__text span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.nl-deleted { justify-self: start; color: var(--color-ink-2); }
.fab--note { position: absolute; inset-block-end: var(--space-lg); inset-inline-end: var(--space-md); }
.phone[data-tab="notes"] .fab--note { position: fixed; }

/* העורך: מסך מלא בנייר שבחרה, גדל מתוך הפתק שנלחץ */
.phone[data-tab="notex"] .screen--notex { position: absolute; inset: 0; z-index: var(--z-modal); display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; background: var(--hue-bg, var(--color-paper)); }
.nx-body { flex: 1; min-height: 0; } .nx-mood { align-self: flex-start; } .nx-top, .nx-tools, .nx-panel { flex-shrink: 0; }
.screen--notex.is-grow { animation: day-grow var(--dur-world) var(--ease-out) backwards; }
.nx-top { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xl) var(--space-md) var(--space-xs); }
.nx-top .round { background: color-mix(in oklab, var(--color-ink) 8%, transparent); }
.nx-top .round[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.nx-top .round.is-pop { animation: pop var(--dur-long) var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.18); } }
.nx-acts { display: flex; gap: var(--space-2xs); margin-inline-start: auto; }
.nx-day { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 36px; padding: 0 var(--space-sm) 0 var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper) 70%, transparent); color: var(--color-ink-2); font-size: var(--text-sm); cursor: pointer; }
.nx-day > span:first-child { width: 22px; height: 22px; }
.nx-mood { justify-self: start; display: inline-flex; align-items: center; gap: var(--space-xs); margin-inline: var(--space-lg); min-height: 36px; padding: 0 var(--space-sm) 0 var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper) 70%, transparent); color: var(--color-ink-2); font-size: var(--text-sm); cursor: pointer; transition: opacity var(--dur-short) var(--ease-out); }
.nx-mood .pebble--lg { width: 26px; height: 18px; }
.nx-mood__x { font-size: var(--text-xs); opacity: 0.6; }
.nx-mood.is-off { opacity: 0.35; }

.nx-body { overflow-y: auto; padding: var(--space-md) var(--space-lg) var(--space-3xl); outline: none; font-size: var(--text-lg); line-height: 32px; color: var(--color-ink); scrollbar-width: none; caret-color: var(--spring-mark); }
.screen--notex[data-paper="lines"] .nx-body { background-image: linear-gradient(to bottom, transparent 31px, color-mix(in oklab, var(--color-ink) 9%, transparent) 31px); background-size: 100% 32px; background-attachment: local; background-position: 0 calc(var(--space-md) + 0px); }
.screen--notex[data-paper="dots"] .nx-body { background-image: radial-gradient(color-mix(in oklab, var(--color-ink) 16%, transparent) 1.2px, transparent 1.6px); background-size: 20px 20px; background-attachment: local; }
.nx-body > * + * { margin-block-start: var(--space-xs); }
.nx-body h2 { font-size: var(--text-2xl); font-weight: 400; line-height: 1.15; letter-spacing: var(--tracking-display); }
.nx-body h3 { font-size: var(--text-xl); font-weight: 400; line-height: 32px; }
.nx-body p, .nx-body li { font-size: var(--text-lg); }
.nx-body ul:not(.nx-check), .nx-body ol { padding-inline-start: var(--space-lg); }
.nx-body blockquote { margin: 0; padding-inline-start: var(--space-md); border-inline-start: 3px solid var(--spring-mark); color: var(--color-ink-2); }
.hl { padding: 0 2px; border-radius: 4px; color: inherit; }
.hl--winter { background: var(--k-lilac); } .hl--spring { background: var(--k-leaf-light); } .hl--summer { background: color-mix(in oklab, var(--k-sun) 70%, transparent); } .hl--autumn { background: var(--k-clay-light); }
/* רשימת סימון: מה שסומן יורד לסוף, והתיבה נמלאת בעלה */
.nx-check { margin: 0; padding: 0; list-style: none; }
.nx-check li { display: flex; align-items: center; gap: var(--space-sm); transition: color var(--dur-short) var(--ease-out); }
.nx-box { position: relative; flex-shrink: 0; width: 24px; height: 24px; padding: 0; border: 2px solid var(--color-ink-2); border-radius: 50%; background: transparent; cursor: pointer; }
.nx-check li.is-done { color: var(--color-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.nx-check li.is-done .nx-box { border-color: var(--spring-mark); background: var(--spring-mark); }
.nx-check li.is-done .nx-box::after { content: ""; position: absolute; inset: 5px 6px 7px; border: solid var(--color-paper); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.nx-check li.is-done .nx-box { animation: pop var(--dur-long) var(--ease-out); }
/* פסקה מתקפלת */
.nx-fold { display: flex; align-items: center; gap: var(--space-2xs); }
.nx-fold button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.nx-fold svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform var(--dur-short) var(--ease-out); }
.nx-fold button[aria-expanded="false"] svg { transform: rotate(90deg); }
.nx-folded { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.nx-folded > * { overflow: hidden; min-height: 0; }
.nx-folded.is-closed { grid-template-rows: 0fr; opacity: 0; }
/* מדיה */
.nx-media { display: grid; grid-template-columns: 1fr; gap: var(--space-2xs); margin: var(--space-sm) 0; }
.nx-media--two { grid-template-columns: 1.3fr 1fr; }
.nx-photo { display: block; height: 150px; border-radius: var(--radius-tile); overflow: hidden; background: color-mix(in oklab, var(--spring-world) 50%, var(--color-paper)); }
.nx-photo--b { background: var(--k-night); }
.nx-media figcaption { grid-column: 1 / -1; font-size: var(--text-xs); line-height: 1.4; color: var(--color-muted); }
.nx-draw { margin: var(--space-sm) 0; padding: var(--space-xs); border-radius: var(--radius-tile); background: color-mix(in oklab, var(--color-paper) 80%, transparent); }
.nx-draw svg { display: block; width: 100%; height: 90px; fill: none; stroke: var(--autumn-mark); stroke-width: 4; stroke-linecap: round; }
.nx-draw .b { stroke: var(--spring-mark); stroke-width: 3; }
.nx-draw svg path { stroke-dasharray: 600; animation: draw-in 1200ms var(--ease-out) backwards; }
@keyframes draw-in { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.nx-hush { display: flex; align-items: center; gap: var(--space-sm); margin: var(--space-sm) 0; padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--k-water-light) 55%, var(--color-paper)); }
.nx-hush > span:first-child { flex-shrink: 0; width: 44px; height: 32px; }
.nx-hush__wave { display: flex; align-items: center; gap: 3px; flex: 1; height: 32px; }
.nx-hush__wave i { display: block; width: 3px; height: calc(var(--h) * 1%); border-radius: 2px; background: var(--k-water); }
.nx-hush__t { font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--color-ink-2); }
.nx-table { width: 100%; margin: var(--space-sm) 0; border-collapse: collapse; font-size: var(--text-md); line-height: 1.4; }
.nx-table th, .nx-table td { padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 18%, transparent); text-align: start; font-weight: 400; }
.nx-table th { background: color-mix(in oklab, var(--color-paper) 60%, transparent); color: var(--color-ink-2); }
.nx-scan { display: flex; align-items: center; gap: var(--space-md); margin: var(--space-sm) 0; padding: var(--space-sm); border-radius: var(--radius-tile); background: color-mix(in oklab, var(--color-paper) 80%, transparent); }
.nx-scan > span:last-child { display: grid; font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); }
.nx-scan b { font-size: var(--text-md); font-weight: 400; color: var(--color-ink); }
.nx-scan__page { display: grid; align-content: start; gap: 5px; width: 46px; height: 60px; padding: 9px 7px; border-radius: 4px; background: var(--color-paper); box-shadow: 0 0 0 1px var(--color-rule); }
.nx-scan__page i { display: block; height: 3px; border-radius: 2px; background: var(--color-rule); } .nx-scan__page i:nth-child(2n) { width: 70%; }
.nx-link { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--k-lilac) 60%, var(--color-paper)); color: var(--color-ink); text-decoration: none; font-size: var(--text-md); }
.nx-sticker { display: inline-block; width: 34px; height: 34px; vertical-align: middle; }
.nx-tag { color: var(--spring-mark); }
.nx-body .is-new { animation: rise var(--dur-long) var(--ease-out) backwards; }

/* סרגל הכלים, ומעליו הלוח שנפתח במקום המקלדת */
.nx-tools { display: flex; justify-content: space-between; gap: var(--space-2xs); padding: var(--space-xs) var(--space-md) var(--space-lg); background: color-mix(in oklab, var(--hue-bg, var(--color-paper)) 70%, var(--color-paper)); box-shadow: 0 -1px 0 color-mix(in oklab, var(--color-ink) 10%, transparent); }
.nx-tools button { display: grid; place-items: center; width: 48px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.nx-tools button:active { transform: scale(0.9); }
.nx-tools button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.nx-tools svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx-aa { font-size: var(--text-lg); font-weight: 400; }
.nx-panel { display: grid; gap: var(--space-sm); max-height: 46%; overflow-y: auto; padding: var(--space-md) var(--space-lg) var(--space-xl); border-start-start-radius: var(--radius-sheet); border-start-end-radius: var(--radius-sheet); background: var(--color-paper); box-shadow: 0 -1px 0 var(--color-rule); animation: panel-up var(--dur-long) var(--ease-out) backwards; scrollbar-width: none; }
.nx-panel[hidden] { display: none; }
@keyframes panel-up { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.screen--notex:not(.has-panel) .nx-panel { display: none; }
.nx-row { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.nx-row button { min-width: 44px; min-height: 44px; padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font: inherit; font-size: var(--text-md); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nx-row button:active { transform: scale(0.92); }
.nx-row button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.nx-styles button:nth-child(1) { font-size: var(--text-xl); } .nx-styles button:nth-child(2) { font-size: var(--text-lg); } .nx-styles button:nth-child(4) { box-shadow: inset -3px 0 0 var(--spring-mark); }
.nx-marks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.nx-marks button { padding: 0; }
.nx-lbl { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.nx-colors button, .nx-hues button { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--color-rule); }
.nx-colors[data-kind="hl"] button:first-child { background: linear-gradient(135deg, transparent 46%, var(--color-ink-2) 46% 54%, transparent 54%), var(--color-paper); }
.nx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.nx-grid button { display: grid; justify-items: center; gap: var(--space-2xs); width: 100%; padding: var(--space-sm) 0 var(--space-xs); border: 0; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink); font: inherit; font-size: var(--text-xs); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.nx-grid button:active { transform: scale(0.92); }
.nx-grid button > span { width: 40px; height: 40px; border-radius: var(--space-sm); overflow: hidden; }
.nx-menu { display: grid; margin: 0; padding: 0; list-style: none; }
.nx-menu li + li { border-block-start: var(--rule-hair) solid var(--color-rule); }
.nx-menu button { display: grid; gap: var(--space-3xs); width: 100%; min-height: 52px; padding: var(--space-xs) 0; border: 0; background: transparent; color: var(--color-ink); font: inherit; font-size: var(--text-md); text-align: start; cursor: pointer; }
.nx-menu button span { font-size: var(--text-xs); color: var(--color-muted); }
.nx-menu .is-soft { color: var(--color-ink-2); }

@media (prefers-reduced-motion: reduce) {
  .screen--notex.is-grow { animation: fade-in var(--dur-short) linear backwards; }
  .nl li, .nx-panel, .nx-body .is-new, .nx-draw svg path, .nx-top .round.is-pop, .nx-check li.is-done .nx-box, .phone[data-tab="notes"] .screen--notes { animation: none; }
  .nx-folded, .nx-fold svg, .nl-card, .nx-row button, .nx-grid button, .nx-tools button { transition: none; }
}

.screen--notes > *, .nl li, .nl-card { min-width: 0; }
.nx-photo { display: grid; place-items: center; } .nx-photo svg { width: 70%; height: 90%; }
.nl-card__img { display: grid; place-items: center; } .nl-card__img svg { width: 80%; height: 80%; }
