/* תהילים משותף – עיצוב צבעוני (כמו הקריאות המשותפות). נטען אחרון ודורס. להסרה: למחוק את הקישור לקובץ */
:root{--t-ink:#14304a;--t-muted:#5d7283;--t-gold:#efb02a;--t-cream:#fbf8f2;--t-line:#e6e2d8;--t-green:#1fa57a;
  --c-tch:#2a7dd1;--c-tch-d:#1f63aa;--c-tch-soft:#e8f2fd;--c-gold:#efb02a;--c-gold-soft:#fff4d8;--c-coral:#f0685a;--c-coral-soft:#fdebe8;--c-mint:#1fa57a;--c-mint-soft:#e1f5ed;--c-teal:#14a1a6}
body.tehillim-page{background:
  radial-gradient(900px 420px at 85% -120px,rgba(124,192,242,.32),transparent 70%),
  radial-gradient(700px 380px at 0% 0%,rgba(239,176,42,.16),transparent 70%),
  var(--t-cream)}

/* חלק עליון עם טבעת צבעונית מסתובבת */
.tehillim-hero{position:relative;padding-top:118px}
.tehillim-hero::before{content:"";position:absolute;top:0;left:50%;width:96px;height:96px;margin-left:-48px;border-radius:50%;
  background:conic-gradient(#2a7dd1 0 12.5%,#f0685a 0 25%,#efb02a 0 37.5%,#1fa57a 0 50%,#14a1a6 0 62.5%,#e0568c 0 75%,#f2892e 0 87.5%,#3b5bb0 0);
  -webkit-mask:radial-gradient(circle,transparent 54%,#000 55%);mask:radial-gradient(circle,transparent 54%,#000 55%);animation:th-spin 40s linear infinite}
.tehillim-hero::after{content:"ת";position:absolute;top:22px;left:50%;width:52px;height:52px;margin-left:-26px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 10px 24px rgba(20,48,74,.14);color:var(--c-tch-d);font-family:Alef,serif;font-size:26px;font-weight:700}
@keyframes th-spin{to{transform:rotate(360deg)}}
.tehillim-eyebrow{display:inline-block;padding:5px 14px;border-radius:999px;background:#fff;color:var(--c-tch-d);font-size:14px;box-shadow:0 6px 16px rgba(20,48,74,.07)}
.tehillim-hero h1{background:linear-gradient(90deg,var(--t-ink),var(--c-tch) 60%,var(--c-teal));-webkit-background-clip:text;background-clip:text;color:transparent}
.tehillim-hero p{font-size:17px}

/* כרטיסים */
.tehillim-public-books,.tehillim-create,.tehillim-action-card,.tehillim-reading,.tehillim-manage-card,.tehillim-guide,.tehillim-success{border:0!important;border-radius:24px!important;box-shadow:0 1px 0 rgba(20,48,74,.04),0 18px 50px rgba(20,48,74,.08)!important}
.tehillim-public-books{position:relative;overflow:hidden}
.tehillim-public-books::before,.tehillim-create::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--c-tch)}
.tehillim-create{position:relative;overflow:hidden}
.tehillim-create::before{background:var(--c-gold)}
.tehillim-create-title span,.tehillim-public-head span{color:var(--c-tch-d);font-size:13px}
.tehillim-public-head strong{background:var(--c-mint-soft);color:var(--c-mint)}
.tehillim-public-card{padding:18px 14px;margin:0 -12px;border-radius:16px;border-bottom:0;transition:background .15s,transform .15s}
.tehillim-public-card+.tehillim-public-card{margin-top:4px}
.tehillim-public-card:hover{background:var(--c-tch-soft);transform:translateX(-2px)}
.tehillim-public-card-top span{color:var(--c-coral);font-size:12px}
.tehillim-public-card:nth-child(4n+2) .tehillim-public-progress i{background:linear-gradient(90deg,var(--c-coral),var(--c-gold))}
.tehillim-public-card:nth-child(4n+3) .tehillim-public-progress i{background:linear-gradient(90deg,var(--c-mint),var(--c-teal))}
.tehillim-public-card:nth-child(4n+4) .tehillim-public-progress i{background:linear-gradient(90deg,#e0568c,var(--c-coral))}
.tehillim-public-progress{height:8px;background:#edf1f5}
.tehillim-public-progress i{background:linear-gradient(90deg,var(--c-tch),var(--c-teal))}
.tehillim-public-meta,.tehillim-public-card-top small{font-size:12px}

/* כפתורים ושדות */
.tehillim-primary{border-radius:14px;background:var(--c-tch);box-shadow:0 8px 20px rgba(42,125,209,.28);transition:transform .12s,background .15s}
.tehillim-primary:hover{background:var(--c-tch-d)}
.tehillim-primary:active,.tehillim-secondary:active{transform:scale(.98)}
.tehillim-secondary{border-radius:14px;border-color:#d9e3ec}
.tehillim-secondary:hover{border-color:var(--c-tch);color:var(--c-tch-d)}
.tehillim-create input,.tehillim-create select,.tehillim-create textarea,.tehillim-name-input{border-radius:13px!important;border-color:#dbe3ea!important}
.tehillim-create input:focus,.tehillim-create select:focus,.tehillim-create textarea:focus,.tehillim-name-input:focus{border-color:var(--c-tch)!important;box-shadow:0 0 0 4px var(--c-tch-soft)!important;outline:none}
.tehillim-create label,.tehillim-public-option{font-size:13px!important}

/* עמוד ספר */
.tehillim-book-head{position:relative;overflow:hidden;border:0;border-radius:28px;background:linear-gradient(135deg,var(--c-tch) 0%,var(--c-tch-d) 45%,var(--t-ink) 100%);color:#fff;box-shadow:0 20px 50px rgba(31,99,170,.3)}
.tehillim-book-head::before{content:"";position:absolute;width:240px;height:240px;left:-80px;top:-110px;border-radius:50%;background:rgba(255,255,255,.08)}
.tehillim-book-head>*{position:relative}
.tehillim-book-head h1{color:#fff}
.tehillim-book-head p{color:#d9e8f6!important}
.tehillim-purpose{color:#ffe29a!important}
.tehillim-progress-card{border-radius:24px;background:linear-gradient(135deg,var(--t-ink),#1d4466)}
.tehillim-progress-track{background:rgba(255,255,255,.16)}
.tehillim-progress-fill{background:linear-gradient(90deg,var(--c-gold),var(--c-coral))}

/* רשת הפרקים: נקרא / נקרא עכשיו / פנוי */
.tehillim-unit{border-radius:10px;border-color:#dbe5ee;transition:transform .12s,background .15s}
.tehillim-unit.completed{border-color:transparent;background:var(--c-mint);color:#fff}
.tehillim-unit.reserved{border-color:transparent;background:var(--c-gold-soft);color:#9a6a08;animation:th-pulse 2.4s ease-in-out infinite}
.tehillim-unit.available:hover{border-color:var(--c-tch);background:var(--c-tch-soft);color:var(--c-tch-d);transform:translateY(-1px)}
@keyframes th-pulse{50%{background:#ffe7a6}}

/* קריאה */
.tehillim-reading-head small{color:var(--c-tch-d)}
.tehillim-verse-number{background:var(--c-tch-soft)!important;color:var(--c-tch-d)!important}
.tehillim-size-options button.active,.tehillim-weight-toggle.active{background:var(--c-tch)!important;color:#fff!important;border-color:var(--c-tch)!important}
.tehillim-success-mark,.tehillim-modal-mark{background:var(--c-mint-soft)!important;color:var(--c-mint)!important}
.tehillim-manage-stat{border:0;border-radius:18px;box-shadow:0 8px 22px rgba(20,48,74,.06)}
.tehillim-manage-stat:nth-child(4n+1){background:var(--c-mint-soft)}
.tehillim-manage-stat:nth-child(4n+2){background:var(--c-tch-soft)}
.tehillim-manage-stat:nth-child(4n+3){background:var(--c-gold-soft)}
.tehillim-manage-stat:nth-child(4n+4){background:var(--c-coral-soft)}
.tehillim-guide a{color:var(--c-tch-d)}
@media(prefers-reduced-motion:reduce){.tehillim-hero::before,.tehillim-unit.reserved{animation:none}}
