/* v3 screens (SPEC-V3): home, the wizard and the result, the calendar, «הפעולות שלי», community, onboarding.
   Tokens only (tokens.css / alias.css): one blue, ice and white, yellow only for the flame and celebration. */
.ti { width: 48px; height: 48px; flex: none; display: inline-block; }
.ti.sm { width: 32px; height: 32px; }
.rank-ic { width: 18px; height: 18px; vertical-align: -3px; }
.ic.verified { color: var(--c-blue); width: 16px; height: 16px; vertical-align: -2px; stroke-width: 3; }
.rot { transform: rotate(-90deg); }
.rot-up { transform: rotate(90deg); }
.ltr, .ltr-inline { direction: ltr; unicode-bidi: isolate; }

/* Home */
.home-top { justify-content: space-between; }
.home-top .brand { margin: 0 auto; }
.home-av .av, .home-av img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 8px; inset-inline-end: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-danger); border: 2px solid var(--c-surface); }
.greet { margin-top: var(--sp-3); }
.greet h2 { font-size: var(--fs-title); font-weight: var(--fw-black); }
.rank-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-ink); font-size: var(--fs-small); font-weight: 700; }
.shabbat-card { margin-top: var(--sp-3); }
.shabbat-card .divider { height: 1px; background: var(--c-line); margin: 12px 0; }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; color: var(--c-ink); text-align: center; }
.tool b { font-size: 12.5px; line-height: 1.2; }
.tool .ti { width: 40px; height: 40px; }
.quote-card { width: 100%; display: flex; gap: 12px; align-items: center; text-align: start; padding: 14px 16px; border: 0; border-radius: 20px; background: var(--c-primary-soft); color: var(--c-ink); font: inherit; cursor: pointer; }
.quote-card b { display: block; font-size: 17px; }
.quote-card small { color: var(--c-muted); }
.quote-card .ic { color: var(--c-blue); }
.now-banner { display: flex; align-items: center; gap: 10px; margin: 0 var(--gutter) 12px; padding: 12px; border-radius: 18px; background: var(--c-night); color: #fff; }
.now-banner small { display: block; opacity: .8; }
.pulse-line { display: flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: var(--fs-small); margin-bottom: 8px; }
.new-pill { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 6px; margin: 0 auto 8px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--c-blue); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 6px 18px rgba(19, 40, 94, .25); cursor: pointer; }
.new-pill[hidden] { display: none; }
.more-feed { text-align: center; color: var(--c-muted); font-size: var(--fs-small); padding: 24px 0; }
.suggest { padding: 12px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); margin: 8px 0; }
.sg-card { flex: none; width: 132px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-surface); text-align: center; }
.sg-card small { color: var(--c-muted); font-size: 11.5px; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.post-label { padding: 4px var(--gutter) 6px; font-size: var(--fs-small); font-weight: 700; color: var(--c-blue); }
.post-from { display: inline-flex; gap: 6px; align-items: center; margin: 2px var(--gutter) 6px; font-size: var(--fs-small); }
.carousel-x { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-x img { flex: none; width: 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; object-fit: cover; }
.text-card.tip { background: var(--c-primary-soft); }
.count.ticked { animation: tick .5s ease; display: inline-block; }
@keyframes tick { 0% { transform: scale(1); } 40% { transform: scale(1.45); color: var(--c-blue); } 100% { transform: scale(1); } }
.mention { color: var(--c-blue); font-weight: 700; }
.comment.reply { margin-inline-start: 36px; }
.story.me.glow .ring { box-shadow: 0 0 0 3px rgba(255, 200, 61, .55); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px rgba(255, 200, 61, .2); } }
.sv-prof { color: #fff !important; font-size: var(--fs-small); }

/* (+) «מה יוצרים?» and tile pickers */
.plus-tiles, .pick-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.plus-tile, .pick-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border: 2px solid var(--c-line); border-bottom-width: 5px; border-radius: 20px; background: var(--c-surface); font: inherit; color: var(--c-ink); cursor: pointer; }
.plus-tile small, .pick-tile small { color: var(--c-muted); font-size: 12px; }
.ti-sq { background: none !important; }
.ti-sq .ti { width: 36px; height: 36px; }

/* The wizard */
.wiz { min-height: 100dvh; display: flex; flex-direction: column; background: var(--c-bg); }
.wiz-top { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 8px) var(--gutter) 8px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--c-line); transition: width .2s; }
.dots i.done { background: #A9C4FF; }
.dots i.on { width: 22px; background: var(--c-blue); }
.wiz-body { padding: 8px var(--gutter) 40px; flex: 1; }
.wiz-hero { width: 104px; height: 104px; margin: 8px auto 12px; border-radius: 50%; background: var(--c-primary-soft); display: grid; place-items: center; }
.wiz-hero .ti { width: 60px; height: 60px; }
.wiz-hero.big svg { width: 80px; height: 80px; }
.wiz-title { text-align: center; font-size: 24px; font-weight: var(--fw-black); }
.wiz-line { text-align: center; color: var(--c-muted); margin-top: 4px; }
.choice-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.choice-tiles.one { grid-template-columns: 1fr; }
.choice-tiles.three { grid-template-columns: repeat(3, 1fr); }
.choice-tiles.four { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice-tiles.grades { grid-template-columns: repeat(4, 1fr); }
.choice-tiles.formats { grid-template-columns: 1fr 1fr; }
.ctile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border: 2px solid var(--c-line); border-bottom-width: 5px; border-radius: 20px; background: var(--c-surface); color: var(--c-ink); font: inherit; cursor: pointer; text-align: center; transition: transform .12s; }
.ctile b { font-size: 15px; }
.ctile small { color: var(--c-muted); font-size: 12px; }
.choice-tiles.four .ctile { padding: 10px 4px; }
.choice-tiles.four .ctile .ti { width: 36px; height: 36px; }
.choice-tiles.four .ctile b { font-size: 12.5px; }
.ctile.on { border-color: var(--c-blue); background: var(--c-primary-soft); }
.ctile.spin { border-color: var(--c-sun); transform: scale(1.04); }
.ctile-tag { position: absolute; top: 6px; inset-inline-start: 6px; font-size: 10.5px; font-weight: 700; background: var(--c-celebrate); color: var(--c-celebrate-ink); border-radius: 999px; padding: 1px 8px; }
.ctile-check { position: absolute; top: 6px; inset-inline-end: 6px; color: var(--c-blue); }
.grade-letter { font-size: 26px !important; font-weight: 900; }
.tap-burst { position: absolute; inset: 0; pointer-events: none; }
.tap-burst i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--c-sun); animation: burst .55s ease-out forwards; }
.tap-burst i:nth-child(2n) { background: var(--c-blue); }
.tap-burst i:nth-child(1) { --dx: -40px; --dy: -30px; } .tap-burst i:nth-child(2) { --dx: 40px; --dy: -30px; } .tap-burst i:nth-child(3) { --dx: -48px; --dy: 10px; }
.tap-burst i:nth-child(4) { --dx: 48px; --dy: 10px; } .tap-burst i:nth-child(5) { --dx: -20px; --dy: 36px; } .tap-burst i:nth-child(6) { --dx: 20px; --dy: 36px; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border: 2px solid var(--c-line); border-radius: 999px; background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chips.big .chip { padding: 10px 16px; font-size: 15px; }
.chip.on { border-color: var(--c-blue); background: var(--c-primary-soft); color: var(--c-blue-dark); }
.chip .chip-ic { width: 18px; height: 18px; margin-inline-end: 6px; flex: none; }
.chip.static { cursor: default; padding: 5px 12px; font-size: 13px; background: var(--c-primary-soft); border-color: transparent; color: var(--c-blue-dark); }
.chip.lib { background: var(--c-celebrate); color: var(--c-celebrate-ink); }
.other-row { display: flex; gap: 8px; margin-top: 14px; }
.other-row .input { flex: 1; }
.topic-card { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--c-line); border-bottom-width: 5px; border-radius: 20px; background: var(--c-surface); text-align: start; font: inherit; color: var(--c-ink); cursor: pointer; }
.topic-card b { display: block; font-size: 17px; }
.topic-card small { color: var(--c-muted); }
.topic-card.on { border-color: var(--c-blue); background: var(--c-primary-soft); }
.stack-sm { display: grid; gap: 10px; margin-top: 16px; }
.quote-row { width: 100%; text-align: start; padding: 12px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface); font: inherit; color: var(--c-ink); cursor: pointer; }
.quote-row small { display: block; color: var(--c-muted); }
.game-carousel { display: flex; gap: 10px; overflow-x: auto; margin-top: 16px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.game-pick { flex: none; width: 220px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; text-align: start; padding: 14px; border: 2px solid var(--c-line); border-bottom-width: 5px; border-radius: 20px; background: var(--c-surface); font: inherit; color: var(--c-ink); cursor: pointer; }
.game-pick.on { border-color: var(--c-blue); }
.big-go { margin-top: 28px; min-height: 60px; font-size: 20px; }

/* The mechanic animations (dots in our blue and yellow) */
.mech { position: relative; display: block; width: 100%; height: 70px; border-radius: 14px; background: var(--c-primary-soft); overflow: hidden; }
.mech.big { width: 96px; height: 80px; flex: none; }
.mech i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--c-blue); top: 50%; margin-top: -7px; }
.mech i:nth-child(2n) { background: var(--c-sun); }
.mech i:nth-child(1) { left: 18%; } .mech i:nth-child(2) { left: 38%; } .mech i:nth-child(3) { left: 58%; } .mech i:nth-child(4) { left: 78%; }
.mech-pairs i:nth-child(odd) { animation: mirror 1.6s ease-in-out infinite; } .mech-pairs i:nth-child(even) { animation: mirror 1.6s ease-in-out infinite reverse; }
@keyframes mirror { 50% { transform: translateY(-12px); } }
.mech-circle i { left: 50% !important; margin-left: -7px; animation: orbit 3s linear infinite; }
.mech-circle i:nth-child(2) { animation-delay: -.75s; } .mech-circle i:nth-child(3) { animation-delay: -1.5s; } .mech-circle i:nth-child(4) { animation-delay: -2.25s; }
@keyframes orbit { from { transform: rotate(0) translateX(24px) rotate(0); } to { transform: rotate(360deg) translateX(24px) rotate(-360deg); } }
.mech-passing i:nth-child(4) { width: 9px; height: 9px; margin-top: -16px; background: var(--c-night); animation: pass 1.8s ease-in-out infinite; }
@keyframes pass { 0%, 100% { left: 18%; } 50% { left: 60%; } }
.mech-teams i:nth-child(-n+2) { animation: push 1.4s ease-in-out infinite; } .mech-teams i:nth-child(n+3) { animation: push 1.4s ease-in-out infinite reverse; }
@keyframes push { 50% { transform: translateX(6px); } }
.mech-relay i:nth-child(1) { animation: relay 1.6s ease-in-out infinite; }
@keyframes relay { 50% { left: 70%; } }
.mech-freeze i { animation: freeze 2s steps(2) infinite; }
@keyframes freeze { 50% { transform: translateY(-8px); } }
.mech-other i, .mech-guessing i, .mech-tag i, .mech-hide_seek i { animation: mirror 2s ease-in-out infinite; }
.mech-other i:nth-child(2n), .mech-guessing i:nth-child(2n) { animation-delay: -1s; }
@media (prefers-reduced-motion: reduce) { .mech i, .story.me.glow .ring, .count.ticked { animation: none !important; } }

/* «מדליקים לך פעולה…» */
.wiz-loading { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--c-night); color: #fff; padding: 24px; text-align: center; }
.campfire { position: relative; width: 160px; height: 160px; border-radius: 50%; background: rgba(219, 234, 254, .12); display: grid; place-items: center; }
.campfire svg { width: 110px; height: 110px; animation: flicker 1.2s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes flicker { 50% { transform: scale(1.04, .97); } }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--c-sun); animation: rise 1.8s ease-out infinite; bottom: 40%; }
.spark.s1 { left: 40%; } .spark.s2 { left: 55%; animation-delay: .6s; } .spark.s3 { left: 62%; animation-delay: 1.2s; }
@keyframes rise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-70px); opacity: 0; } }
.wiz-loading h1 { margin-top: 24px; font-size: 24px; font-weight: 900; }
.load-lines { list-style: none; padding: 0; margin-top: 16px; text-align: start; }
.load-lines li { opacity: 0; animation: fadein .4s forwards; margin: 6px 0; display: flex; gap: 8px; align-items: center; }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .load-lines li { opacity: 1; animation: none; } .campfire svg, .spark { animation: none; } }

/* The result */
.res-title { font-size: 28px; font-weight: 900; line-height: 1.2; margin-top: 4px; }
.title-input { font-size: 22px; font-weight: 800; }
.check-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-blue-dark); font-size: var(--fs-small); font-weight: 600; }
.magic-row { width: 100%; display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface); font: inherit; cursor: pointer; }
.magic-h { font-size: 12.5px; font-weight: 800; margin-inline-end: auto; }
.mg { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.mg .ic { width: 16px; height: 16px; }
.mg.ok { background: var(--c-blue); color: #fff; }
.mg.unk { background: var(--c-ice); color: var(--c-muted); }
.mg.no { background: #fff; border: 2px solid var(--c-danger); color: var(--c-danger); }
.magic-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.magic-line small { display: block; color: var(--c-muted); }
.magic-line.ok .ic { color: var(--c-blue); } .magic-line.unk { color: var(--c-muted); }
.res-secs { display: grid; gap: 10px; margin-top: 14px; }
.res-sec { border: 2px solid var(--c-line); border-radius: 20px; background: var(--c-surface); overflow: hidden; }
.res-sec.open { border-color: var(--c-blue); }
.res-h { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--c-ink); cursor: pointer; text-align: start; }
.res-h .ti { width: 36px; height: 36px; }
.res-body, .res-edit { padding: 0 16px 14px; }
.sec-text { white-space: pre-line; line-height: 1.6; }
.edit-btn { margin-top: 6px; font-size: var(--fs-small); }
.game-card { margin-top: 14px; padding: 14px; border: 2px solid var(--c-line); border-bottom-width: 5px; border-radius: 22px; background: var(--c-surface); }
.game-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.game-steps li { display: flex; gap: 8px; align-items: flex-start; padding: 10px; border-radius: 14px; background: var(--c-ice); font-size: 14px; }
.game-steps .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c-blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.prep-card { margin-top: 14px; }
.check-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.check-row input { width: 22px; height: 22px; accent-color: var(--c-blue); }
.twist-card { margin-top: 12px; }
.res-acts .sheet-item { border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface); }
.res-cta { flex-direction: column; gap: 4px; }
.res { padding-bottom: 140px; }

/* Sheets */
.msg-box { margin-top: 10px; }
.msg-title { display: block; color: var(--c-sun-ink); margin-bottom: 6px; }
.msg-body { width: 100%; resize: vertical; line-height: 1.55; }
.hw-bar { height: 6px; border-radius: 3px; background: var(--c-ice); overflow: hidden; }
.hw-bar i { display: block; height: 100%; background: var(--c-blue); }
.hw-hero { width: 84px; height: 84px; margin: 8px auto; border-radius: 50%; background: var(--c-primary-soft); display: grid; place-items: center; }
.stars.big { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.stars.big .star { width: 48px; height: 48px; border: 0; background: none; padding: 0; cursor: pointer; }
.stars .star svg { width: 100%; height: 100%; fill: var(--c-ice); stroke: var(--c-ink); stroke-width: 1.4; }
.stars .star.on svg { fill: var(--c-sun); }
.stars.small { display: inline-flex; gap: 2px; }
.stars.small .star { width: 18px; height: 18px; display: inline-block; }
.hw-react { min-height: 24px; margin: 8px 0 12px; font-weight: 700; }
.toggle-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 16px; background: var(--c-ice); }
.toggle-row small { display: block; color: var(--c-muted); }
.toggle-row input { width: 26px; height: 26px; accent-color: var(--c-blue); }

/* Community, spaces, the bell, the team */
.comp-card { width: 100%; display: flex; align-items: center; gap: 12px; text-align: start; font: inherit; color: inherit; cursor: pointer; }
.rank-badge { width: 52px; height: 52px; border-radius: 16px; background: var(--c-celebrate); color: var(--c-celebrate-ink); display: grid; place-items: center; font-size: 26px; font-weight: 900; flex: none; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 12px 0; scrollbar-width: none; }
.groups-row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.group-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink); font-size: var(--fs-small); font-weight: 600; }
.pad-card { margin: 12px var(--gutter); }
.notif.new { background: var(--c-primary-soft); border-radius: 14px; }
.ic-av { display: grid !important; place-items: center; background: var(--c-ice) !important; color: var(--c-blue); }
.space-head { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.member-row { margin: 12px 0; }
.member { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; width: 64px; color: var(--c-ink); }
.member small { font-size: 12px; }
.invite-card { text-align: center; margin-top: 12px; }
.code-big { font-size: 44px; font-weight: 900; letter-spacing: 6px; color: var(--c-blue); margin: 8px 0; }

/* «הפעולות שלי» */
.seg.tabs3 { display: grid; grid-template-columns: repeat(3, 1fr); margin: 8px 0 14px; }
.seg.tabs3 a { text-align: center; padding: 10px; border-radius: 14px; color: var(--c-muted); font-weight: 700; }
.seg.tabs3 a.on { background: var(--c-blue); color: #fff; }
.mine-card { margin-top: 12px; }
.mine-card .thumb { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; flex: none; }
.mine-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.soft-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 8px; padding: 12px; border: 0; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-blue); font: inherit; font-weight: 700; cursor: pointer; }
.mine-acts { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--c-line); }
.mine-acts .text-btn { color: var(--c-muted); font-size: 13px; }
.mine-acts .text-btn.on { color: var(--c-danger); }
.dashed-tile { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 18px; border: 2px dashed var(--c-line); border-radius: 20px; color: var(--c-muted); font-weight: 700; }

/* «לוח שבת» */
.parasha-hero { margin-top: 8px; padding: 16px; border-radius: 24px; background: var(--c-blue); color: #fff; }
.parasha-hero .hero-title { color: #fff; }
.btn.white { background: #fff; color: var(--c-blue); border-bottom-color: #C9DAFF; margin-top: 14px; }
.month { margin-top: 14px; }
.grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px; }
.grid7.dow span { text-align: center; color: var(--c-muted); font-size: 12px; font-weight: 700; }
.day { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 0 10px; border: 2px solid transparent; border-radius: 12px; background: none; font: inherit; color: var(--c-ink); cursor: pointer; min-height: 52px; }
.day b { font-size: 15px; }
.day small { font-size: 10px; color: var(--c-muted); white-space: nowrap; overflow: hidden; max-width: 100%; }
.day.sat { background: var(--c-primary-soft); }
.day.sat small { color: var(--c-blue); font-weight: 700; }
.day.today { border-color: var(--c-blue); }
.day .dot { position: absolute; bottom: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); }
.day .dot.sun { background: var(--c-sun); }
.times2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.times2 > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border-radius: 16px; background: var(--c-ice); }
.times2 b { font-size: 28px; font-weight: 900; }
.times2 small { color: var(--c-muted); }
.card-row { border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface); margin-top: 8px; }

/* Onboarding v3 */
.ob3 .ob-top { display: flex; align-items: center; gap: 12px; }
.ob-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--c-ice); overflow: hidden; }
.ob-bar i { display: block; height: 100%; background: var(--c-blue); }
.big-input { font-size: 20px; font-weight: 700; text-align: center; margin-top: 20px; }
.big-num { text-align: center; font-size: 64px; font-weight: 900; color: var(--c-blue); margin-top: 16px; }
.range { width: 100%; accent-color: var(--c-blue); margin-top: 12px; }
.av.xl { width: 120px; height: 120px; font-size: 44px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; }
.joined3 { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: var(--c-night); color: #fff; text-align: center; }
.j3-art { position: relative; width: 180px; height: 180px; border-radius: 50%; background: rgba(219, 234, 254, .12); display: grid; place-items: center; }
.j3-art svg { width: 120px; height: 120px; }
.joined3 h1 { margin-top: 20px; font-size: 30px; font-weight: 900; }
.galufa-opt { width: 100%; text-align: start; padding: 16px; border: 2px solid var(--c-line); border-bottom-width: 5px; border-radius: 20px; background: var(--c-surface); font: inherit; color: var(--c-ink); cursor: pointer; }
.galufa-opt b { display: block; font-size: 20px; }
.galufa-opt.on { border-color: var(--c-blue); background: var(--c-primary-soft); }
.galufa-opt small { color: var(--c-muted); }

/* The profile */
.prof3 { text-align: center; padding-top: 8px; }
.prof3 .av.xl { margin: 0 auto; }
.prof3 h1 { font-size: 24px; font-weight: 900; margin-top: 8px; }
.prof-counts { display: flex; justify-content: center; gap: 24px; margin: 12px 0; }
.prof-counts b { display: block; font-size: 20px; font-weight: 900; }
.prof-counts small { color: var(--c-muted); }
.rank-bar { height: 8px; border-radius: 4px; background: var(--c-ice); overflow: hidden; margin: 6px 0 2px; }
.rank-bar i { display: block; height: 100%; background: var(--c-sun); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.media-grid a { aspect-ratio: 1; overflow: hidden; background: var(--c-ice); display: grid; place-items: center; }
.media-grid img, .media-grid video { width: 100%; height: 100%; object-fit: cover; }
.badge-verified { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-blue-dark); font-size: 12.5px; font-weight: 700; }
/* .hscroll bleeds with negative margins inside padded screens; in flush screens (feed, spaces) it must not. */
.suggest .hscroll, .member-row { margin-left: 0; margin-right: 0; }
.shabbat-line { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface); color: var(--c-ink); font: inherit; text-align: start; cursor: pointer; }
.shabbat-line small { display: block; color: var(--c-muted); font-size: 12.5px; }
.greet-mini { margin: 10px 0 8px; font-weight: 800; font-size: 18px; }
.feed-kicker { font-size: var(--fs-small); font-weight: 800; color: var(--c-blue); margin: 4px 0 6px; }
.small-q b { font-size: 15px; }
.filters .chip { flex: none; white-space: nowrap; padding: 7px 14px; }
.comp-card.pad-card { width: auto; display: flex; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 8px; }
.thumbs img, .thumbs video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.kids-q { margin-top: 12px; padding: 12px; border-radius: 16px; background: #FFF8E5; }
.seg button[disabled] { opacity: .4; cursor: default; }
/* Typography (design/final/TYPOGRAPHY.md): one 900 heading per screen, reading text at 17px within --measure, balanced
   headings, tabular numbers on counts, no letter-spacing on Hebrew. */
h1, h2, .wiz-title, .res-title, .card-title, .hero-title { text-wrap: balance; letter-spacing: 0; }
.wiz-title, .res-title, .topbar h1 { font-size: var(--fs-title); font-weight: var(--fw-title); line-height: var(--lh-title); }
.card-title, .section-h h2 { font-weight: var(--fw-card); line-height: var(--lh-card); }
.sec-text, .post-body, .text-card, .msg-body { font-size: var(--fs-read); line-height: var(--lh-read); max-width: var(--measure); }
.count, .prof-counts b, .big-num, .code-big, .times2 b, .rank-badge, .day b, .num { font-variant-numeric: tabular-nums; }
.code-big { letter-spacing: 6px; } /* Latin code, not Hebrew */
.cover-v3 { width: 100%; height: 100%; object-fit: cover; }

/* The rank-up moment (SPEC-V3 §11): yellow is allowed here, once. */
.rankup-badge { width: 96px; height: 96px; margin: 8px auto 4px; border-radius: 50%; background: var(--c-celebrate); color: var(--c-celebrate-ink); display: grid; place-items: center; animation: rankup-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.rankup-badge .ti { width: 52px; height: 52px; }
@keyframes rankup-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rankup-badge { animation: none; } }
