/* Zamam page skin «daily» (prototype top-pages-proto/daily-sar-kitab, approved 20 Nov 2026) */
/* ===== Daily sar-kitab template — «آسمانِ امروز»: رنگ بر اساس عنصر برج (باد/آتش/آب/خاک) ===== */
html.zp--daily { --zp-r: 22px; --zp-ease: cubic-bezier(.2,.7,.2,1);
  --el-a: #a5b4fc; --el-b: #7dd3fc; --el-c: #f0abfc; --el-bg: #0a0f24; --el-bg2: #111a3a; --el-rgb: 165,180,252;
  --zp-bg: var(--el-bg); --zp-bg-2: var(--el-bg2); --zp-ink: #eef1ff; --zp-muted: #c3c9e6; --zp-soft: #8f97bd; --zp-gold: #f2d38a; --zp-gold-2: #e0b75a; --zp-gold-3: #fff0c7; --zp-turq: var(--el-b); --zp-violet: var(--el-a);
  --zp-card: linear-gradient(165deg, rgba(var(--el-rgb), .10), rgba(10, 14, 34, .72)); --zp-card-brd: rgba(var(--el-rgb), .22); --zp-card-brd-hi: rgba(242, 211, 138, .5);
  --zp-shadow: 0 30px 80px -40px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.06) inset; --zp-glyph: rgba(var(--el-rgb), .08);
  --zp-head: linear-gradient(100deg, #fff0c7 0%, #f2d38a 30%, var(--el-a) 70%, var(--el-b) 100%);
  --zp-btn: linear-gradient(120deg, #fbe3a1 0%, #f2d38a 35%, var(--el-a) 75%, var(--el-b) 100%); --zp-on-accent: #0b1030; }
html.zp--daily[data-el="fire"] { --el-a: #fdba74; --el-b: #fb7185; --el-c: #fde68a; --el-bg: #1a0a08; --el-bg2: #2a110c; --el-rgb: 253,160,110; }
html.zp--daily[data-el="water"] { --el-a: #67e8f9; --el-b: #60a5fa; --el-c: #a7f3d0; --el-bg: #04121e; --el-bg2: #082236; --el-rgb: 103,200,249; }
html.zp--daily[data-el="earth"] { --el-a: #bef264; --el-b: #d6c48a; --el-c: #fde68a; --el-bg: #0f1209; --el-bg2: #1b2010; --el-rgb: 190,220,120; }
html.zp--daily[data-theme="light"] { --el-a: #6366f1; --el-b: #0284c7; --el-rgb: 99,102,241; --zp-bg: #f5f6ff; --zp-bg-2: #eceffd; --zp-ink: #1b1f3b; --zp-muted: #4a5078; --zp-soft: #7a80a6; --zp-gold: #a16207; --zp-gold-2: #854d0e;
  --zp-card: linear-gradient(165deg, rgba(255,255,255,.96), rgba(var(--el-rgb), .06)); --zp-card-brd: rgba(var(--el-rgb), .2); --zp-card-brd-hi: rgba(161,98,7,.45);
  --zp-shadow: 0 26px 60px -40px rgba(30, 40, 110, .45), 0 1px 0 #fff inset; --zp-head: linear-gradient(100deg, #1b1f3b 0%, var(--el-a) 55%, #a16207 100%); --zp-btn: linear-gradient(120deg, #a16207, var(--el-a) 60%, var(--el-b)); --zp-on-accent: #fff; }
html.zp--daily[data-theme="light"][data-el="fire"] { --el-a: #ea580c; --el-b: #e11d48; --el-rgb: 234,88,12; --zp-bg: #fff7f2; --zp-bg-2: #fdeee4; }
html.zp--daily[data-theme="light"][data-el="water"] { --el-a: #0891b2; --el-b: #2563eb; --el-rgb: 8,145,178; --zp-bg: #f2fbfd; --zp-bg-2: #e3f3f8; }
html.zp--daily[data-theme="light"][data-el="earth"] { --el-a: #4d7c0f; --el-b: #92700c; --el-rgb: 77,124,15; --zp-bg: #f8f8ef; --zp-bg-2: #eef0e0; }
html.zp--daily .daily-page { --daily-accent: var(--el-a); --daily-glow: rgba(var(--el-rgb), .16); --daily-surface: transparent; --daily-border: var(--zp-card-brd); --daily-text: var(--zp-ink); --daily-muted: var(--zp-muted); --daily-section: var(--el-a); --daily-chip-bg: rgba(var(--el-rgb), .1); --daily-faq-bg: transparent; --card-accent: var(--el-a);
  max-width: 1240px; padding-inline: clamp(14px, 3.5vw, 36px); position: relative; z-index: 1; }
html.zp--daily .zp-sky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 80% 0%, rgba(var(--el-rgb), .18), transparent 70%), radial-gradient(40% 40% at 10% 60%, rgba(var(--el-rgb), .08), transparent 70%); }
html.zp--daily .daily-breadcrumb { margin: 10px 0 18px; }
/* layout */
html.zp--daily .daily-layout { gap: clamp(18px, 3vw, 36px); }
html.zp--daily .daily-toc { position: sticky; top: calc(var(--header-h, 64px) + 18px); background: var(--zp-card); border: 1px solid var(--zp-card-brd); border-radius: 20px; padding: 18px 16px; box-shadow: var(--zp-shadow); backdrop-filter: blur(10px); }
html.zp--daily .daily-toc__title { color: var(--zp-gold); font-weight: 800; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
html.zp--daily .daily-toc__title::before { content: "✦"; color: var(--el-a); }
html.zp--daily .daily-toc ul { position: relative; padding-inline-start: 14px; border-inline-start: 1px solid var(--zp-card-brd); }
html.zp--daily .daily-toc a { display: block; padding: 6px 8px; border-radius: 10px; color: var(--zp-muted); transition: .2s; position: relative; }
html.zp--daily .daily-toc a.zp-on { color: var(--zp-ink); background: rgba(var(--el-rgb), .12); }
html.zp--daily .daily-toc a.zp-on::before { content: ""; position: absolute; inset-inline-start: -19px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--el-a); box-shadow: 0 0 12px var(--el-a); }
.ds-prog { height: 4px; border-radius: 4px; background: rgba(var(--el-rgb), .14); margin-top: 14px; overflow: hidden; } .ds-prog i { display: block; height: 100%; width: 0; background: var(--zp-btn); }
/* hero */
html.zp--daily .daily-sk-hero { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--zp-card-brd); background: var(--zp-card); box-shadow: var(--zp-shadow); padding: 0; gap: 0; isolation: isolate; }
html.zp--daily .daily-sk-hero__media { position: relative; min-height: 300px; aspect-ratio: auto; border-radius: 0; overflow: hidden; }
html.zp--daily .daily-sk-hero__cover { position: absolute; inset: 0; }
@media (min-width: 760px) { html.zp--daily .daily-sk-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
html.zp--daily .daily-sk-hero__cover { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.8); animation: dsKen 30s ease-in-out infinite alternate; }
@keyframes dsKen { to { transform: scale(1.08); } }
html.zp--daily .daily-sk-hero__overlay { background: radial-gradient(70% 70% at 50% 50%, transparent, rgba(var(--el-rgb), .12) 60%, var(--zp-bg) 100%), linear-gradient(90deg, transparent 50%, rgba(0,0,0,.25)) !important; }
html.zp--daily[data-theme="light"] .daily-sk-hero__cover { filter: saturate(.9) brightness(1.05); }
html.zp--daily .daily-sk-hero__glyph, html.zp--daily .daily-sk-aside__glyph, html.zp--daily .daily-sign-strip a, .ds-sign i, .ds-alm i, .ds-dial text { font-variant-emoji: text; font-family: "Noto Sans Symbols", "Noto Sans Symbols 2", "Segoe UI Symbol", "DejaVu Sans", Vazirmatn, sans-serif; }
html.zp--daily .daily-sign-strip a { font-family: Vazirmatn, "Noto Sans Symbols 2", "Segoe UI Symbol", sans-serif; }
html.zp--daily .daily-sk-hero__glyph { inset: 50% auto auto 50% !important; transform: translate(-50%, -50%); width: auto !important; height: auto !important; border: 0 !important; background: none !important; backdrop-filter: none !important; font-size: clamp(5rem, 11vw, 8rem) !important; color: #fff !important; text-shadow: 0 0 40px rgba(var(--el-rgb), .9), 0 0 90px rgba(var(--el-rgb), .6); opacity: .92 !important; z-index: 2; }
.ds-const { position: absolute; inset: 8% 8%; z-index: 1; pointer-events: none; }
.ds-const line { stroke: rgba(255, 255, 255, .55); stroke-width: .5; stroke-dasharray: 120; stroke-dashoffset: 120; animation: dsLine 2.4s var(--zp-ease) forwards; }
.ds-const circle { fill: #fff; filter: drop-shadow(0 0 2px #fff); animation: dsTw 3s ease-in-out infinite alternate; }
@keyframes dsLine { to { stroke-dashoffset: 0; } } @keyframes dsTw { from { opacity: .45; } }
.ds-halo { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.35); z-index: 1; animation: dsSpin 60s linear infinite; }
.ds-halo::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid rgba(var(--el-rgb), .5); }
@keyframes dsSpin { to { transform: rotate(360deg); } }
html.zp--daily .daily-sk-hero__body { padding: clamp(20px, 3.5vw, 40px); }
html.zp--daily .daily-hero__title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; line-height: 1.4; background: var(--zp-head); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.zp--daily .daily-hero__subtitle { color: var(--zp-ink); font-size: 1.12rem; font-weight: 700; }
html.zp--daily .daily-prose { color: var(--zp-muted); line-height: 2; }
html.zp--daily .daily-chip { border-radius: 999px; border: 1px solid var(--zp-card-brd); background: rgba(var(--el-rgb), .1); color: var(--zp-ink); }
html.zp--daily .daily-sk-gender { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(var(--el-rgb), .1); border: 1px solid var(--zp-card-brd); margin-top: 14px; }
html.zp--daily .daily-sk-gender__pill { border: 0 !important; border-radius: 999px; padding: .45rem 1.3rem; color: var(--zp-muted); background: transparent; }
html.zp--daily .daily-sk-gender__pill.is-active { background: var(--zp-btn) !important; color: var(--zp-on-accent) !important; font-weight: 800; }
.ds-alm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 4px; }
.ds-alm div { padding: 10px 8px; border-radius: 16px; text-align: center; border: 1px solid var(--zp-card-brd); background: rgba(var(--el-rgb), .07); }
.ds-alm small { display: block; font-size: .7rem; color: var(--zp-soft); } .ds-alm b { display: block; font-size: .92rem; color: var(--zp-ink); margin-top: 2px; } .ds-alm i { font-style: normal; font-size: 1.2rem; display: block; color: var(--zp-gold); }
/* sections */
html.zp--daily .daily-layout__main > section { margin-top: clamp(22px, 3vw, 34px); }
html.zp--daily .daily-section-title, html.zp--daily .daily-tool-links h2, html.zp--daily .daily-faq h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 900; background: var(--zp-head); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: center; gap: 10px; }
html.zp--daily .daily-section-title::before, html.zp--daily .daily-tool-links h2::before, html.zp--daily .daily-faq h2::before { content: "✦"; -webkit-text-fill-color: var(--zp-gold); font-size: .7em; }
html.zp--daily .daily-answer-box, html.zp--daily .daily-sk-aside, html.zp--daily .daily-hub-block, html.zp--daily .daily-sk-stat, html.zp--daily .daily-faq__item, html.zp--daily .daily-tool-links__item, html.zp--daily .daily-faq details { background: var(--zp-card) !important; border: 1px solid var(--zp-card-brd) !important; border-radius: var(--zp-r) !important; box-shadow: var(--zp-shadow); color: var(--zp-ink); }
html.zp--daily #sk-trad .daily-answer-box { padding: clamp(18px, 3vw, 30px); }
html.zp--daily #sk-trad .daily-answer-box p { line-height: 2.15; margin-bottom: .8rem; }
html.zp--daily #sk-trad .daily-answer-box p:first-child { font-size: 1.1rem; color: var(--zp-ink); }
html.zp--daily #sk-trad .daily-answer-box { position: relative; }
html.zp--daily #sk-trad .daily-answer-box::before { content: "❝"; position: absolute; top: -18px; inset-inline-start: 22px; font-size: 3rem; line-height: 1; color: var(--zp-gold); text-shadow: 0 0 20px rgba(var(--el-rgb), .6); }
html.zp--daily .daily-sk-aside { position: sticky; top: calc(var(--header-h, 64px) + 18px); overflow: hidden; }
html.zp--daily .daily-sk-aside__glyph { color: #fff; background: radial-gradient(circle, rgba(var(--el-rgb), .9), rgba(var(--el-rgb), .2)); box-shadow: 0 0 30px rgba(var(--el-rgb), .6); border-radius: 50%; }
html.zp--daily .daily-sk-aside__facts li { border-color: var(--zp-card-brd) !important; }
html.zp--daily .daily-sk-stat--accent { border-color: var(--zp-card-brd-hi) !important; background: radial-gradient(circle at 50% 0%, rgba(242, 211, 138, .18), transparent 70%), var(--zp-card) !important; }
html.zp--daily .daily-sk-stat__value { font-size: 1.5rem; font-weight: 900; }
html.zp--daily .daily-sk-formula__math { font-weight: 800; color: var(--zp-gold); }
html.zp--daily .daily-sign-strip { gap: 8px; margin-top: 30px; padding: 10px; border-radius: 22px; border: 1px solid var(--zp-card-brd); background: var(--zp-card); }
html.zp--daily .daily-sign-strip a { border-radius: 14px; border: 1px solid transparent; position: relative; color: var(--zp-ink); transition: .25s; }
html.zp--daily .daily-sign-strip a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--dot, #888); }
html.zp--daily .daily-sign-strip a.is-current { background: var(--zp-btn); color: var(--zp-on-accent); border-color: transparent; font-weight: 800; }
html.zp--daily .daily-sign-strip a:hover { transform: translateY(-2px); border-color: var(--zp-card-brd-hi); }
html.zp--daily .daily-cta { border-radius: 28px; overflow: hidden; border: 1px solid var(--zp-card-brd-hi); background: radial-gradient(60% 120% at 50% 0%, rgba(var(--el-rgb), .25), transparent 70%), var(--zp-card) !important; box-shadow: var(--zp-shadow); }
html.zp--daily .daily-cta h2 { background: var(--zp-head); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
html.zp--daily .btn-primary { background: var(--zp-btn) !important; color: var(--zp-on-accent) !important; border: 0 !important; font-weight: 800; box-shadow: 0 14px 34px -14px rgba(var(--el-rgb), .8); }
html.zp--daily .daily-faq__item summary, html.zp--daily .daily-faq summary { font-weight: 800; }
html.zp--daily .daily-tool-links__item:hover { border-color: var(--zp-card-brd-hi) !important; transform: translateY(-3px); }
/* dial + calculator */
.ds-dialrow { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; margin-top: 16px; }
.ds-dial svg { width: 100%; height: auto; display: block; } .ds-dial text { font-size: 9px; fill: var(--zp-muted); font-family: Vazirmatn, sans-serif; }
.ds-dial path { fill: rgba(var(--el-rgb), .06); stroke: var(--zp-card-brd); } .ds-dial path.on { fill: rgba(242, 211, 138, .4); stroke: var(--zp-gold); }
.ds-dial .hub { fill: var(--zp-bg); stroke: var(--zp-gold); } .ds-dial .hubt { font-size: 15px; font-weight: 900; fill: var(--zp-gold); }
.ds-calc { margin-top: clamp(22px, 3vw, 34px); padding: clamp(18px, 3vw, 30px); border-radius: 26px; border: 1px solid var(--zp-card-brd-hi); background: radial-gradient(80% 100% at 100% 0%, rgba(var(--el-rgb), .18), transparent 60%), var(--zp-card); box-shadow: var(--zp-shadow); }
.ds-calc__h { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; margin: 0 0 4px; } .ds-calc__h::before { content: "∑"; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--zp-btn); color: var(--zp-on-accent); }
.ds-calc form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 14px; }
.ds-calc input { font: inherit; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--zp-card-brd); background: rgba(var(--el-rgb), .06); color: var(--zp-ink); }
.ds-calc input:focus { outline: 2px solid var(--zp-card-brd-hi); }
.ds-calc button { font: inherit; font-weight: 800; padding: .8rem 1.4rem; border-radius: 14px; border: 0; background: var(--zp-btn); color: var(--zp-on-accent); cursor: pointer; }
.ds-out { margin-top: 16px; display: grid; grid-template-columns: 1fr 220px; gap: 18px; align-items: center; }
.ds-out[hidden] { display: none; }
.ds-eq { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 800; }
.ds-eq span { padding: .5rem .8rem; border-radius: 12px; background: rgba(var(--el-rgb), .1); border: 1px solid var(--zp-card-brd); } .ds-eq em { font-style: normal; color: var(--zp-soft); }
.ds-sign { margin-top: 12px; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid var(--zp-card-brd-hi); }
.ds-sign i { font-style: normal; font-size: 2.4rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--zp-btn); color: var(--zp-on-accent); }
.ds-sign b { font-size: 1.3rem; } .ds-sign p { margin: 0; color: var(--zp-muted); font-size: .9rem; }
.ds-sign a { margin-inline-start: auto; font-weight: 800; color: var(--zp-gold); text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .ds-dialrow, .ds-out { grid-template-columns: 1fr; } .ds-dial { max-width: 240px; margin: 0 auto; } }
@media (max-width: 640px) { .ds-calc form { grid-template-columns: 1fr; } .ds-alm { grid-template-columns: repeat(2, 1fr); } .ds-sign { flex-wrap: wrap; } .ds-sign a { margin: 0; } html.zp--daily .daily-sk-aside { position: static; } }
html.zp--daily .daily-tool-links { display: block; }
html.zp--daily .daily-tool-links__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
html.zp--daily .daily-tool-links__item { padding: 16px; transition: .25s; }
html.zp--daily .daily-tool-links__item strong { color: var(--zp-ink); }

/* ---- production additions ---- */
