/* generated by _src/build.mjs: go-part-tehillim.css turned right to left */
/* generated by _src/build.mjs from _src/parts/tehillim.css */
/* ================================================================== tehillim (th-) */
/* the product's own siddur palette: navy and gold */
.th-hero, .th-fin, .th-navy, .th-page, .th-poster {
  --th-canvas: #0B1120; --th-panel: #131B30; --th-panel-2: #18223B;
  --th-gold: #D4AF6A; --th-gold-hi: #EDD39B; --th-gold-lo: #9D7F45;
  --th-text: #F7F3E9; --th-muted: #C2BBA6; --th-hair: rgba(212, 175, 106, .2);
}
.th-he, .th-eyebrow, .th-name, .th-ded, .th-coin, .th-occ, .th-rd-ch, [lang="he"] { font-family: var(--font); }
.th-hero svg, .th-share-btns svg, .th-prev-note svg, .th-help svg, .th-search svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- hero */
.th-hero { background: var(--th-canvas); }
.th-hero .mesh i:nth-child(1) { background: radial-gradient(circle, #1E2B4F 0%, transparent 70%); }
.th-hero .mesh i:nth-child(2) { background: radial-gradient(circle, #3B2E17 0%, transparent 70%); }
.th-hero .mesh i:nth-child(3) { background: radial-gradient(circle, rgba(212, 175, 106, .3) 0%, transparent 70%); }
.th-hero .p-h .lit, .th-fin .fin-h .lit { background: linear-gradient(176deg, #FFF6DF 6%, var(--th-gold-hi) 42%, var(--th-gold-lo) 98%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.th-hero .p-new-tag { background: linear-gradient(135deg, var(--th-gold-hi), var(--th-gold)); color: #1B1406; }
.th-he { margin-top: -10px; font-size: clamp(26px, 3cqi, 40px); font-weight: 500; color: var(--th-gold-hi); line-height: 1.2; }
.th-freeline { max-width: 520px; font-size: 15px; line-height: 1.5; color: var(--th-gold-hi); }
.th-signin { margin-top: -8px; font-size: 13.5px; color: rgba(246, 245, 242, .5); }
.th-ded { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(237, 211, 155, .72); }
.th-ded i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--th-gold-lo)); }
.th-ded i:last-child { transform: scaleX(-1); }
.th-hero .float-chip { background: rgba(11, 17, 32, .74); box-shadow: inset 0 0 0 1px var(--th-hair); }
.th-hero .float-chip svg { stroke: var(--th-gold); }
.th-hero .float-chip b { font-weight: 600; color: var(--th-gold-hi); }
.th-hero .float-chip .dot, .th-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--th-gold); box-shadow: 0 0 0 0 rgba(212, 175, 106, .6); animation: th-ping 2s ease-out infinite; display: inline-block; }

/* the live page, in miniature */
.th-page {
  width: min(470px, 100%); padding: 0; overflow: hidden; color: var(--th-text);
  background: linear-gradient(170deg, var(--th-panel-2) 0%, var(--th-canvas) 70%);
  box-shadow: inset 0 0 0 1px var(--th-hair), 0 40px 90px rgba(0, 0, 0, .55);
}
.th-page-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--th-hair); font-size: 11.5px; color: var(--th-muted); }
.th-brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--th-gold); white-space: nowrap; }
.th-live { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.th-page-in, .th-prev-in { display: grid; justify-items: center; gap: 6px; padding: 20px 20px 22px; text-align: center; }
.th-eyebrow { font-size: 14px; letter-spacing: .02em; color: var(--th-gold); }
.th-name { font-size: clamp(26px, 3.2vw, 34px); font-weight: 600; line-height: 1.15; color: var(--th-text); overflow-wrap: anywhere; }
.th-count { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0 6px; border-block: 1px solid var(--th-hair); }
.th-count span { display: grid; gap: 2px; padding: 10px 4px; }
.th-count span + span { border-inline-start: 1px solid var(--th-hair); }
.th-count b { font-family: var(--font); font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--th-gold-hi); font-variant-numeric: tabular-nums; }
.th-count small { font-size: 11.5px; color: var(--th-muted); }
.th-band { width: 100%; height: 6px; border-radius: 3px; background: rgba(212, 175, 106, .14); overflow: hidden; }
.th-band i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--th-gold-lo), var(--th-gold-hi)); transition: width .8s var(--spring); }
.th-band-l { width: 100%; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--th-muted); }
.th-mini { width: 100%; display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; margin: 10px 0 12px; direction: ltr; }
.th-mini i { aspect-ratio: 1; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .16); transition: background-color .6s ease, box-shadow .6s ease; }
.th-mini i.r { background: rgba(212, 175, 106, .16); box-shadow: inset 0 0 0 1px var(--th-gold); }
.th-mini i.d { background: linear-gradient(135deg, var(--th-gold-hi), var(--th-gold-lo)); box-shadow: none; }
.th-gold, .th-gold-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: #1B1406; background: linear-gradient(135deg, var(--th-gold-hi), var(--th-gold) 55%, var(--th-gold-lo));
  box-shadow: 0 10px 26px rgba(212, 175, 106, .26), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.th-gold-btn { border: 0; cursor: pointer; font-family: inherit; transition: transform .35s var(--spring-fast), filter .3s ease, opacity .3s ease; }
.th-gold-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.th-gold-btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.th-gold-btn:focus-visible, .th-grid button:focus-visible, .th-rd-alt button:focus-visible { outline: 2px solid var(--th-gold-hi); outline-offset: 3px; }

/* ---- 02 how it works */
.th-road > li:last-child .node b { background: linear-gradient(135deg, #EDD39B, #9D7F45); color: #1B1406; box-shadow: 0 0 0 6px rgba(212, 175, 106, .16); }
.th-what { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 10px; margin-top: 10px; }
.th-card { display: grid; align-content: start; gap: 16px; padding: 30px; border-radius: 28px; }
.th-card.card { background: var(--card); box-shadow: var(--float); }
.th-card > p { font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.th-card .mono { font-size: 11.5px; color: var(--faint); }
.th-navy { color: var(--th-text); background: radial-gradient(70% 60% at 100% 0%, rgba(212, 175, 106, .14), transparent 60%), linear-gradient(165deg, var(--th-panel-2), var(--th-canvas) 78%); box-shadow: inset 0 0 0 1px var(--th-hair), var(--float); }
.th-navy.th-card > p { color: var(--th-muted); }
.th-navy .mono { color: var(--th-gold); }
.th-what-big { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; color: var(--th-text) !important; max-width: 18ch; }
.th-occ { display: flex; flex-wrap: wrap; gap: 6px; }
.th-occ span { height: 32px; display: inline-grid; place-items: center; padding: 0 13px; border-radius: 999px; font-size: 14px; color: var(--th-gold-hi); background: rgba(212, 175, 106, .08); box-shadow: inset 0 0 0 1px var(--th-hair); }
.th-coin-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 24px; }
.th-coin-card h3 { margin: 8px 0 10px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.th-coin-card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.th-coin {
  width: 104px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #3A2A0B;
  background: radial-gradient(circle at 32% 28%, #FFF3D1 0%, #EDD39B 30%, #D4AF6A 62%, #9D7F45 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 246, 222, .35), inset 0 -8px 14px rgba(93, 66, 20, .35), 0 16px 30px rgba(157, 127, 69, .3);
  animation: th-spin 7s ease-in-out infinite;
}
.th-zero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.th-zero li { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--tile); }
.th-zero b { font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.th-zero small { font-size: 12px; line-height: 1.3; color: var(--muted); }

/* ---- 03 the reading */
.th-demo { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 10px; align-items: start; }
.th-board { display: grid; justify-items: center; gap: 14px; padding: 28px 26px 30px; border-radius: 28px; text-align: center; }
.th-bk-head { width: 100%; display: flex; align-items: center; gap: 12px; color: var(--th-gold); }
.th-bk-head i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--th-gold-lo)); }
.th-bk-head i:last-child { transform: scaleX(-1); }
.th-bk-head span { font-size: 10px; }
.th-bk-head b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--th-text); }
.th-bk-head b span { font-size: 24px; color: var(--th-gold-hi); }
.th-bk-said { font-size: 14px; color: var(--th-muted); font-variant-numeric: tabular-nums; }
.th-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 12.5px; color: var(--th-muted); }
.th-legend span { display: inline-flex; align-items: center; gap: 7px; }
.th-legend i { width: 14px; height: 14px; border-radius: 4px; }
.l-done { background: linear-gradient(135deg, var(--th-gold-hi), var(--th-gold-lo)); }
.l-res { background: rgba(212, 175, 106, .16); box-shadow: inset 0 0 0 1.5px var(--th-gold); }
.l-free { box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .32); }
.th-grid { width: 100%; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.th-grid button {
  min-width: 0; aspect-ratio: 1.15; border: 0; border-radius: 8px; padding: 0; cursor: default; font-size: clamp(11px, 1.05vw, 14px); font-weight: 600; line-height: 1;
  color: var(--th-muted); background: transparent; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .22);
  transition: background-color .45s ease, color .45s ease, box-shadow .45s ease, transform .4s var(--spring-fast);
}
.th-grid .c-free { color: var(--th-text); cursor: pointer; }
.th-grid .c-free:not(:disabled):hover { background: rgba(212, 175, 106, .12); box-shadow: inset 0 0 0 1.5px var(--th-gold); transform: translateY(-2px); }
.th-grid .c-res { color: var(--th-gold-hi); background: rgba(212, 175, 106, .13); box-shadow: inset 0 0 0 1.5px var(--th-gold); }
.th-grid .c-done { color: #2A1E07; background: linear-gradient(135deg, var(--th-gold-hi), var(--th-gold) 55%, var(--th-gold-lo)); box-shadow: none; }
.th-grid .c-mine { color: #1B1406; background: var(--th-gold-hi); box-shadow: 0 0 0 3px rgba(237, 211, 155, .3); animation: th-mine 1.6s ease-in-out infinite; }
.th-grid button:disabled { opacity: 1; }
.th-grid button { position: relative; }
/* a finished book glows cell by cell: a light layer fades (opacity) while the cell swells (transform), no filter */
.th-grid button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 246, 222, .38); opacity: 0; pointer-events: none; }
.th-grid.is-full button { animation: th-glow 1.1s ease both; animation-delay: calc(var(--k, 0) * 1ms); }
.th-grid.is-full button::after { animation: th-glow-lit 1.1s ease both; animation-delay: calc(var(--k, 0) * 1ms); }
.th-instr { font-size: 13.5px; color: var(--th-muted); }

.th-side { display: grid; gap: 10px; }
.th-reader { position: relative; display: grid; gap: 12px; padding: 26px; border-radius: 28px; min-height: 360px; align-content: start; }
.th-reader.pop { animation: th-pop .7s var(--spring); }
.th-rd-empty { display: grid; gap: 12px; align-content: center; min-height: 240px; text-align: center; justify-items: center; }
.th-rd-empty p { max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--th-muted); }
.th-rd-on { display: grid; gap: 12px; }
.th-rd-on[hidden], .th-rd-empty[hidden] { display: none; }
.th-rd-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.th-hold { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--th-gold-hi); background: rgba(212, 175, 106, .12); white-space: nowrap; }
.th-rd-ch { font-size: 34px; font-weight: 600; line-height: 1.1; color: var(--th-gold-hi); text-align: center; }
.th-rd-ps { margin-top: -6px; font-size: 13px; color: var(--th-muted); text-align: center; letter-spacing: .04em; text-transform: uppercase; }
.th-rd-tools { display: flex; justify-content: center; gap: 6px; }
.th-rd-tools span { height: 26px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: 8px; font-size: 11.5px; color: var(--th-muted); box-shadow: inset 0 0 0 1px var(--th-hair); }
.th-lines { display: grid; gap: 9px; padding: 14px 6px; justify-items: start; }
.th-lines i { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(247, 243, 233, .16), rgba(247, 243, 233, .06)); }
.th-lines i:nth-child(1) { width: 92%; } .th-lines i:nth-child(2) { width: 100%; } .th-lines i:nth-child(3) { width: 78%; }
.th-lines i:nth-child(4) { width: 96%; } .th-lines i:nth-child(5) { width: 86%; } .th-lines i:nth-child(6) { width: 52%; }
.th-rd-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.th-rd-alt button { border: 0; padding: 6px 2px; background: none; font: inherit; font-size: 13.5px; color: var(--th-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(194, 187, 166, .4); }
.th-rd-alt button:hover { color: var(--th-text); }
.th-rd-msg { min-height: 1.4em; font-size: 14px; color: var(--th-gold-hi); text-align: center; }
.th-stats { display: grid; gap: 10px; padding: 18px 22px; border-radius: 22px; }
.th-stats > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.th-stats span { display: grid; gap: 2px; }
.th-stats b { font-size: 26px; font-weight: 600; letter-spacing: -.04em; color: var(--th-gold-hi); font-variant-numeric: tabular-nums; }
.th-stats small { font-size: 12px; line-height: 1.3; color: var(--th-muted); }

.th-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.th-steps li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 24px; background: var(--card); box-shadow: var(--float); }
.th-step-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #1B1406; background: linear-gradient(135deg, #EDD39B, #D4AF6A 55%, #9D7F45); }
.th-steps h3 { font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.th-steps p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---- 04 books and goals */
.th-bg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.th-minibook { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; padding: 18px; border-radius: 18px; background: rgba(11, 17, 32, .5); box-shadow: inset 0 0 0 1px var(--th-hair); }
.th-minibook i { aspect-ratio: 1; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .18); }
.th-minibook i.d { background: linear-gradient(135deg, var(--th-gold-hi), var(--th-gold-lo)); box-shadow: none; }
.js .th-books .th-navy:not(.is-in) .th-minibook i.d { opacity: 0; transform: scale(.4); }
.th-minibook i.d { transition: opacity .5s ease calc(var(--k) * 7ms), transform .6s var(--spring) calc(var(--k) * 7ms); }
.th-goal-set { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 16px; color: var(--muted); }
.th-goal-set b { min-width: 2.2ch; text-align: center; font-size: 46px; font-weight: 600; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.th-goal-set button, .th-step button {
  width: 40px; height: 40px; border: 0; border-radius: 50%; font: inherit; font-size: 20px; line-height: 1; cursor: pointer;
  color: var(--ink); background: var(--tile); transition: transform .3s var(--spring-fast), background-color .3s ease;
}
.th-goal-set button:hover, .th-step button:hover { transform: scale(1.06); }
.th-goal-set button:active, .th-step button:active { transform: scale(.94); }
.th-goal-band { height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; }
.th-goal-band i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #9D7F45, #D4AF6A 60%, #EDD39B); transform: translateX(calc((var(--p, 0) - 1) * 100%)); transition: transform .8s var(--spring); }
.th-goal-l { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 15px; }
.th-goal-l b { font-weight: 600; font-variant-numeric: tabular-nums; }
.th-goal-l span { color: var(--muted); font-variant-numeric: tabular-nums; }
.th-goal-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.th-goal-tiles span { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: var(--tile); }
.th-goal-tiles b { font-size: 22px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.th-goal-tiles small { font-size: 12px; color: var(--muted); }
.th-goal-done { min-height: 0; font-size: 16px; font-weight: 600; color: #8A6A12; }
.th-goal-done:empty { display: none; }
#thGoal.is-reached .th-goal-band i { animation: th-shine 1.6s ease-in-out infinite; background-size: 200% 100%; background-image: linear-gradient(90deg, #9D7F45, #EDD39B, #D4AF6A, #EDD39B, #9D7F45); }

/* ---- 05 open your own */
.th-open-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.th-make { display: grid; align-content: start; gap: 20px; padding: 30px; border-radius: 28px; background: var(--card); box-shadow: var(--float); }
.th-make .mono { font-size: 11.5px; color: var(--faint); }
.th-f { display: grid; gap: 8px; }
.th-f label { font-size: 13px; font-weight: 500; color: var(--muted); }
.th-f-row { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; }
.th-f-row > div { display: grid; gap: 8px; }
.th-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.th-chips button {
  height: 38px; padding: 0 14px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer;
  color: var(--ink); background: var(--tile); transition: background-color .3s ease, color .3s ease, transform .3s var(--spring-fast);
}
.th-chips button:hover { transform: translateY(-1px); }
.th-chips button.is-on { color: #1B1406; background: linear-gradient(135deg, #EDD39B, #D4AF6A); }
.th-f input {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; font-size: 20px; color: var(--ink);
  background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font);
}
.th-f input:focus { outline: none; box-shadow: inset 0 0 0 2px #D4AF6A; }
.th-step { display: inline-flex; align-items: center; gap: 8px; }
.th-step b { min-width: 2ch; text-align: center; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.th-list { display: inline-flex; align-items: center; gap: 12px; justify-self: start; border: 0; padding: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.th-tog { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--track); transition: background-color .3s ease; flex: none; }
.th-tog::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--spring-fast); }
.th-list.is-on .th-tog { background: #D4AF6A; }
.th-list.is-on .th-tog::after { transform: translateX(-18px); }
.th-list:focus-visible, .th-chips button:focus-visible, .th-goal-set button:focus-visible, .th-step button:focus-visible { outline: 2px solid #D4AF6A; outline-offset: 3px; }
.th-prev-wrap { display: grid; gap: 10px; align-content: center; padding: 30px; border-radius: 28px; background: var(--tile); }
.th-prev { width: min(400px, 100%); justify-self: center; border-radius: 24px; overflow: hidden; }
.th-prev.pop { animation: th-pop .6s var(--spring); }
.th-prev-in .th-band { margin-top: 10px; }
.th-prev-in .th-band-l { justify-content: center; }
.th-prev-in .th-gold { margin-top: 12px; }
.th-prev-in[dir="ltr"] .th-eyebrow, .th-prev-in[dir="ltr"] .th-gold { font-family: inherit; }
.th-prev-note { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.th-prev-note svg { width: 15px; height: 15px; color: var(--up); flex: none; }
.th-make-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.th-make-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px; border-radius: 20px; background: var(--card); box-shadow: var(--float); }
.th-make-steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--accent); color: var(--accent-ink); }
.th-make-steps p { font-size: 15px; line-height: 1.5; color: var(--ink); }
.th-open-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 10px; padding: 22px 26px; border-radius: 22px; background: var(--card); box-shadow: var(--float); }
.th-open-cta p { font-size: 17px; line-height: 1.45; max-width: 46ch; }

/* ---- 06 sharing */
.th-share-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.th-share-btns li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 14px; border-radius: 999px; font-size: 14px; background: var(--card); box-shadow: var(--float); }
.th-share-btns svg { width: 16px; height: 16px; }
.th-share-btns li:first-child svg { color: #25A55F; }
.th-share-art { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; padding: 30px; border-radius: 28px; background: var(--tile); }
.th-poster {
  display: grid; justify-items: center; gap: 8px; padding: 26px 20px 24px; border-radius: 22px; text-align: center; color: var(--th-text);
  background: radial-gradient(80% 50% at 50% 0%, rgba(212, 175, 106, .2), transparent 70%), linear-gradient(170deg, var(--th-panel-2), var(--th-canvas) 80%);
  box-shadow: inset 0 0 0 1px var(--th-hair), 0 24px 50px rgba(11, 17, 32, .35); transform: rotate(-2.5deg);
}
.th-poster .th-name { font-size: 26px; }
.th-poster-n { display: flex; gap: 22px; margin: 4px 0 6px; }
.th-poster-n span { display: grid; gap: 2px; }
.th-poster-n b { font-family: var(--font); font-size: 26px; font-weight: 600; color: var(--th-gold-hi); }
.th-poster-n small { font-size: 11.5px; color: var(--th-muted); }
.th-qr { width: 84px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 7px; border-radius: 10px; background: var(--th-text); }
.th-qr i { aspect-ratio: 1; border-radius: 1.5px; background: var(--th-canvas); }
.th-qr i:nth-child(3n+2), .th-qr i:nth-child(7), .th-qr i:nth-child(11), .th-qr i:nth-child(19) { background: transparent; }
.th-poster .th-gold { min-height: 36px; font-size: 13px; padding: 0 16px; margin-top: 4px; }
.th-chat { display: grid; gap: 8px; padding: 18px; border-radius: 22px; background: #E7DED3; color: #111; }
.th-chat .mono { font-size: 11px; color: #5D574F; }
.th-bubble { justify-self: start; max-width: 100%; padding: 10px 12px; border-radius: 14px 4px 14px 14px; font-size: 13.5px; line-height: 1.4; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); overflow-wrap: anywhere; }
.th-bubble u { color: #1A6FBF; text-decoration: none; }
.th-bubble.me { justify-self: end; border-radius: 4px 14px 14px 14px; background: #D8F8C6; }
.js .th-share-art .th-bubble { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s ease, transform .6s var(--spring); }
.js .th-share-art.is-in .th-bubble { opacity: 1; transform: none; }
.js .th-share-art.is-in .th-bubble:nth-of-type(2) { transition-delay: .7s; }
.js .th-share-art.is-in .th-bubble:nth-of-type(3) { transition-delay: 1.4s; }
.th-help { margin-top: 28px; font-size: 16px; color: var(--muted); }
.th-help .link { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.th-help svg { width: 15px; height: 15px; }

/* ---- 08 public readings */
.th-dir-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px; border-radius: 28px; }
.th-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(247, 243, 233, .06); box-shadow: inset 0 0 0 1px var(--th-hair); color: var(--th-muted); }
.th-search:focus-within { box-shadow: inset 0 0 0 2px var(--th-gold); }
.th-search svg { width: 18px; height: 18px; flex: none; }
.th-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 16px; color: var(--th-text); outline: none; }
.th-search input::placeholder { color: rgba(194, 187, 166, .7); }
.th-list-live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.th-list-live > li { min-width: 0; }
.th-list-live a { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: 16px; background: rgba(247, 243, 233, .04); box-shadow: inset 0 0 0 1px var(--th-hair); transition: background-color .3s ease, transform .4s var(--spring-fast); }
.th-list-live a:hover { background: rgba(212, 175, 106, .1); transform: translateY(-2px); }
.th-list-live a:focus-visible { outline: 2px solid var(--th-gold-hi); outline-offset: 2px; }
.th-li-l { display: grid; gap: 3px; min-width: 0; }
.th-li-l small { font-size: 12px; color: var(--th-gold); }
.th-li-l b { font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--th-text); overflow-wrap: anywhere; font-family: var(--font); }
.th-li-r { display: grid; justify-items: end; gap: 2px; flex: none; text-align: end; }
.th-li-r b { font-size: 20px; font-weight: 600; color: var(--th-gold-hi); font-variant-numeric: tabular-nums; }
.th-li-r small { font-size: 11.5px; color: var(--th-muted); white-space: nowrap; }
/* the loading sheen slides on transform: a 6x-wide strip of the same 2x tiles moves one tile-pair per loop */
.th-sk { position: relative; overflow: hidden; height: 76px; border-radius: 16px; }
.th-sk::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 600%; background: linear-gradient(90deg, rgba(247, 243, 233, .04), rgba(247, 243, 233, .09), rgba(247, 243, 233, .04)); background-size: 33.3333% 100%; transform: translateX(66.6667%); animation: th-sk 1.4s linear infinite; pointer-events: none; }
@keyframes th-sk { from { transform: translateX(66.6667%); } to { transform: translateX(0); } }
.th-dir-msg { padding: 18px; text-align: center; font-size: 15px; color: var(--th-muted); }
.th-dir-msg button { margin-inline-start: 8px; border: 0; padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer; color: #1B1406; background: var(--th-gold); }

/* ---- finale */
.th-fin { background: var(--th-canvas); }
.th-fin .mesh i:nth-child(1) { background: radial-gradient(circle, #1E2B4F 0%, transparent 70%); }
.th-fin .mesh i:nth-child(2) { background: radial-gradient(circle, #3B2E17 0%, transparent 70%); }
.th-fin .mesh i:nth-child(3) { background: radial-gradient(circle, rgba(212, 175, 106, .28) 0%, transparent 70%); }
.th-fin .th-ded { margin-top: 18px; }

/* ---- motion */
@keyframes th-ping { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 106, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(212, 175, 106, 0); } }
@keyframes th-spin { 0%, 100% { transform: rotateY(0deg); } 50% { transform: rotateY(18deg) translateY(-3px); } }
@keyframes th-mine { 0%, 100% { box-shadow: 0 0 0 3px rgba(237, 211, 155, .3); } 50% { box-shadow: 0 0 0 6px rgba(237, 211, 155, .12); } }
@keyframes th-glow { 40% { transform: scale(1.06); } 100% { transform: none; } }
@keyframes th-glow-lit { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
@keyframes th-pop { 0% { transform: scale(.97); } 60% { transform: scale(1.01); } 100% { transform: none; } }
@keyframes th-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- dark theme */
:root[data-theme="dark"] .th-hero, :root[data-theme="dark"] .th-fin { background: #080D19; }
:root[data-theme="dark"] .th-navy { box-shadow: inset 0 0 0 1px var(--th-hair); }
:root[data-theme="dark"] .th-zero li, :root[data-theme="dark"] .th-goal-tiles span { background: var(--hair); }
:root[data-theme="dark"] .th-goal-done { color: #E9C46A; }
:root[data-theme="dark"] .th-chips button, :root[data-theme="dark"] .th-goal-set button, :root[data-theme="dark"] .th-step button, :root[data-theme="dark"] .th-f input { background: var(--hair); }
:root[data-theme="dark"] .th-chips button.is-on { background: linear-gradient(135deg, #EDD39B, #D4AF6A); }
:root[data-theme="dark"] .th-prev-wrap, :root[data-theme="dark"] .th-share-art { background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .th-chat { background: #1A2326; color: #E9EDEF; }
:root[data-theme="dark"] .th-chat .mono { color: #8696A0; }
:root[data-theme="dark"] .th-bubble { background: #202C33; color: #E9EDEF; }
:root[data-theme="dark"] .th-bubble.me { background: #005C4B; }
:root[data-theme="dark"] .th-bubble u { color: #53BDEB; }
:root[data-theme="dark"] .th-coin-card .th-coin { box-shadow: inset 0 0 0 5px rgba(255, 246, 222, .3), inset 0 -8px 14px rgba(93, 66, 20, .35), 0 16px 34px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .th-help .link, :root[data-theme="dark"] .th-list { color: var(--ink); }

/* hero, kept tidy on every screen: the free tag stays on one line, the grey words stay readable, the Hebrew line isn't said twice */
.th-hero .p-new { max-width: 100%; padding-left: 10px; }
.th-hero .p-new-tag { flex: none; white-space: nowrap; }
.th-hero .p-new svg { flex: none; }
.th-hero .p-h .dim { color: rgba(246, 245, 242, .62); }
html[lang="he"] .th-he { display: none; }
.th-hero .float-chip { max-width: calc(100% - 8px); white-space: nowrap; }
.th-hero .float-chip b[lang="he"] { unicode-bidi: isolate; }

/* ---- responsive */
@media (max-width: 1180px) {
  .th-steps, .th-make-steps { grid-template-columns: 1fr 1fr; }
  .th-demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .th-hero .stage { min-height: 0; padding: 50px 0 56px; }
  .th-hero .float-chip.c1 { top: 4px; right: 0; }
  .th-hero .float-chip.c2 { top: auto; bottom: 6px; left: 0; }
  .th-what, .th-bg, .th-open-grid, .th-demo { grid-template-columns: 1fr; }
  .th-reader { min-height: 0; }
  .th-rd-empty { min-height: 140px; }
  .th-share-art { margin-top: 24px; }
  .th-list-live { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .th-he { margin-top: -6px; }
  .th-ded { font-size: 14px; gap: 10px; }
  .th-ded i { width: 20px; }
  .th-card, .th-make, .th-prev-wrap, .th-board, .th-reader, .th-dir-box { padding: 22px 18px; border-radius: 24px; }
  .th-coin-card { grid-template-columns: 1fr; gap: 16px; }
  .th-coin { width: 84px; font-size: 24px; }
  .th-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
  .th-grid button { font-size: 12px; border-radius: 7px; }
  .th-steps, .th-make-steps { grid-template-columns: 1fr; }
  .th-f-row { grid-template-columns: 1fr; }
  .th-share-art { grid-template-columns: 1fr; padding: 20px; }
  .th-poster { transform: none; }
  .th-open-cta { padding: 20px; }
  .th-open-cta .btn { width: 100%; justify-content: center; }
  .th-count b { font-size: 19px; }
  .th-count small { font-size: 10.5px; }
  .th-stats b { font-size: 22px; }
  .th-goal-set b { font-size: 38px; }
  .th-zero b, .th-goal-tiles b { font-size: 19px; }
  .th-list-live a { padding: 12px 14px; }
  .th-li-l b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .th-coin, .th-grid .c-mine, .th-sk::after, .th-hero .float-chip .dot, .th-live i, #thGoal.is-reached .th-goal-band i, .th-grid.is-full button, .th-grid.is-full button::after { animation: none; }
  .th-reader.pop, .th-prev.pop { animation: none; }
  .th-minibook i.d, .th-grid button, .th-band i, .th-goal-band i, .th-mini i { transition: none; }
  .js .th-books .th-navy:not(.is-in) .th-minibook i.d { opacity: 1; transform: none; }
  .js .th-share-art .th-bubble { opacity: 1; transform: none; transition: none; }
}

