/* Zamam page skin «astro» (prototype top-pages-proto/astro, approved 20 Nov 2026) */
/* ===== Astro — «رصدخانه»: آسمان لاجوردی، صورت‌های فلکی، اسطرلاب و چرخ زایچه ===== */
html.zp--astro {
  --zp-bg: #030817; --zp-bg-2: #071230; --zp-ink: #eef4ff; --zp-muted: #bccbe6; --zp-soft: #8798b8;
  --zp-gold: #fcd34d; --zp-gold-2: #f5b82e; --zp-gold-3: #fff3c4; --zp-cyan: #67e8f9; --zp-violet: #818cf8; --zp-silver: #cbd5e1;
  --zp-card: linear-gradient(165deg, rgba(15, 30, 70, .78), rgba(6, 12, 34, .74)); --zp-card-brd: rgba(103, 232, 249, .18); --zp-card-brd-hi: rgba(252, 211, 77, .5);
  --zp-page: linear-gradient(170deg, #f4f7ff 0%, #e2e9f8 100%); --zp-page-ink: #0b1b3a; --zp-page-muted: #3d4f74;
  --zp-shadow: 0 30px 80px -40px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .06) inset; --zp-glyph: rgba(103, 232, 249, .10);
  --zp-head: linear-gradient(100deg, #fff3c4 0%, #fcd34d 35%, #a5f3fc 70%, #818cf8 100%);
  --zp-btn: linear-gradient(120deg, #fde68a 0%, #fcd34d 30%, #67e8f9 80%, #818cf8 100%); --zp-btn-light: linear-gradient(120deg, #1d4ed8 0%, #3730a3 55%, #b45309 100%); --zp-on-accent: #04102a;
  --zp-h1: linear-gradient(100deg, #fff3c4 0%, #fcd34d 35%, #a5f3fc 72%, #c7d2fe 100%); --zp-h1-light: linear-gradient(100deg, #0b1b3a, #1d4ed8 50%, #b45309);
  --zp-hero-shade-dark: radial-gradient(65% 55% at 50% 45%, rgba(3,8,23,.3), rgba(3,8,23,.8) 80%), linear-gradient(180deg, rgba(3,8,23,.35), rgba(3,8,23,.1) 40%, #030817 100%);
  --zp-hero-shade-light: radial-gradient(65% 55% at 50% 45%, rgba(238,243,251,.5), rgba(238,243,251,.88) 80%), linear-gradient(180deg, rgba(238,243,251,.45), rgba(238,243,251,.25) 40%, #eef3fb 100%);
  --zp-r: 24px; --zp-ease: cubic-bezier(.2, .7, .2, 1);
}
html.zp--astro[data-theme="light"] {
  --zp-bg: #eef3fb; --zp-bg-2: #e1e9f7; --zp-ink: #0b1b3a; --zp-muted: #3d4f74; --zp-soft: #6a7b9c;
  --zp-gold: #b45309; --zp-gold-2: #92400e; --zp-gold-3: #d97706; --zp-cyan: #0e7490; --zp-violet: #4338ca;
  --zp-card: linear-gradient(165deg, rgba(255, 255, 255, .94), rgba(242, 246, 255, .9)); --zp-card-brd: rgba(29, 78, 216, .16); --zp-card-brd-hi: rgba(180, 83, 9, .45);
  --zp-shadow: 0 30px 70px -42px rgba(20, 40, 100, .45), 0 1px 0 rgba(255, 255, 255, .9) inset; --zp-glyph: rgba(29, 78, 216, .08);
  --zp-head: linear-gradient(100deg, #0b1b3a 0%, #1d4ed8 50%, #b45309 100%);
}
html.zp--astro .zp-sky::before { background: radial-gradient(40% 32% at 20% 20%, rgba(99, 102, 241, .22), transparent 70%), radial-gradient(36% 30% at 82% 58%, rgba(6, 182, 212, .16), transparent 70%) !important; }
html.zp--astro .section__head h2, html.zp--astro .tool-seo h2, html.zp--astro .tl-join h2 { background: var(--zp-head) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
html.zp--astro .as-orbit { position: absolute; left: 50%; top: 47%; width: min(860px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); color: var(--zp-cyan); opacity: .5; }
html.zp--astro .as-orbit svg { width: 100%; height: 100%; animation: zpSpinR 240s linear infinite; font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; }
@keyframes zpSpinR { to { transform: rotate(-360deg); } }
.as-planet { position: absolute; border-radius: 50%; }
.as-planet--a { width: 18px; height: 18px; left: 50%; top: 47%; margin: -9px; background: radial-gradient(circle at 35% 35%, #fff7d6, #fcd34d 50%, #b45309); box-shadow: 0 0 24px rgba(252, 211, 77, .7); offset-path: circle(min(300px, 46vw) at 50% 47%); }
.as-planet--a, .as-planet--b, .as-planet--c { left: 0; top: 0; margin: 0; animation: asOrb 38s linear infinite; }
.as-planet--b { width: 12px; height: 12px; background: radial-gradient(circle at 35% 35%, #fff, #a5f3fc 50%, #0e7490); box-shadow: 0 0 18px rgba(103, 232, 249, .7); offset-path: circle(min(200px, 32vw) at 50% 47%); animation-duration: 22s; animation-direction: reverse; }
.as-planet--c { width: 9px; height: 9px; background: radial-gradient(circle at 35% 35%, #fff, #fca5a5 50%, #b91c1c); box-shadow: 0 0 14px rgba(252, 165, 165, .7); offset-path: circle(min(380px, 58vw) at 50% 47%); animation-duration: 60s; }
@keyframes asOrb { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* try */
html.zp--astro #try .tool-trial { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 32px); max-width: 1120px; margin: 0 auto; align-items: stretch; }
html.zp--astro #try .tool-trial > * { grid-column: 1; min-width: 0; }
html.zp--astro #try .tool-trial > .as-scope { grid-column: 2; grid-row: 1 / span 3; }
html.zp--astro #try .tool-trial > .tool-trial__result, html.zp--astro #try .tool-trial > .tool-trial__locked { grid-column: 1 / -1; }
@media (max-width: 860px) { html.zp--astro #try .tool-trial { grid-template-columns: 1fr; } html.zp--astro #try .tool-trial > .as-scope { grid-column: 1; grid-row: auto; } }
html.zp--astro .tool-trial__form input[type="datetime-local"], .as-city select { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; font: inherit; font-size: 1.02rem; color: var(--zp-ink); background: color-mix(in srgb, var(--zp-bg) 60%, transparent); border: 1px solid var(--zp-card-brd); color-scheme: dark; }
html.zp--astro[data-theme="light"] .tool-trial__form input[type="datetime-local"], html.zp--astro[data-theme="light"] .as-city select { background: #fff; color-scheme: light; }
.as-city { display: grid; gap: 8px; } .as-city > span { font-weight: 700; font-size: .95rem; color: var(--zp-ink); }
.as-scope { position: relative; border-radius: var(--zp-r); padding: 18px; background: var(--zp-card); border: 1px solid var(--zp-card-brd); box-shadow: var(--zp-shadow); display: grid; place-items: center; overflow: hidden; min-height: 320px; }
.as-scope__cap { position: absolute; top: 14px; right: 18px; font-size: .8rem; font-weight: 700; color: var(--zp-soft); }
.as-scope__cap b { color: var(--zp-gold); }
.as-wheel { width: 100%; max-width: 460px; aspect-ratio: 1; }
.as-wheel text { font-family: Vazirmatn, "Segoe UI Symbol", sans-serif; }
.as-wheel .zs { font-family: "Segoe UI Symbol", "Noto Sans Symbols", "Noto Sans Symbols 2", sans-serif; }
.as-wheel .pl { transition: transform 1.2s var(--zp-ease); }
/* result */
.as-big3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 18px; }
.as-b { position: relative; padding: 18px 16px; border-radius: 20px; border: 1px solid var(--zp-card-brd); background: color-mix(in srgb, var(--zp-ink) 3%, transparent); overflow: hidden; }
.as-b::after { content: attr(data-g); position: absolute; left: 10px; top: -6px; font-size: 5rem; line-height: 1; color: var(--zp-glyph); font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif; }
.as-b small { font-size: .78rem; font-weight: 800; color: var(--zp-cyan); }
.as-b b { display: block; font-size: 1.5rem; font-weight: 900; color: var(--zp-gold); margin: 2px 0 4px; }
.as-b p { margin: 0; font-size: .86rem; line-height: 1.95; color: var(--zp-muted); }
.as-keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .as-keys span { font-size: .74rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; border: 1px solid var(--zp-card-brd); color: var(--zp-ink); }
@media (max-width: 760px) { .as-big3 { grid-template-columns: 1fr; } }
.as-ptable { width: 100%; border-collapse: collapse; font-size: .86rem; }
.as-ptable td, .as-ptable th { padding: 8px 6px; border-bottom: 1px dashed var(--zp-card-brd); text-align: right; }
.as-ptable th { color: var(--zp-gold); font-size: .76rem; }
.as-ptable td:first-child { font-weight: 800; white-space: nowrap; }
.as-asp { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.as-asp li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--zp-card-brd); font-size: .86rem; line-height: 1.9; }
.as-asp li b { flex: none; padding: .1rem .55rem; border-radius: 8px; font-size: .74rem; color: var(--zp-on-accent); background: var(--zp-cyan); }
.as-asp li.t b { background: #fca5a5; } .as-asp li.h b { background: #86efac; }
.as-note { font-size: .76rem; color: var(--zp-soft); margin-top: 8px; }

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