/* قالب «النجمة الثُّمانية» — كحلي عميق وذهب، ثم صفحة بزرقة فاتحة */
body.tpl-star { --q-bg: #EEF1F6; --q-soft: #E2E8F1; --q-ink: #14294A; --q-muted: #4A5B78; --q-accent: #8C6A26; --q-line: #CBD5E3; --q-btn: #14294A; --q-btn-ink: #EEF1F6; --q-display: 'Amiri', serif; }
.st-cover { position: absolute; inset: 0; background: radial-gradient(500px 500px at 50% 45%, #1B3A66, #0B1A33 75%); display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 24px; padding: 30px 20px; color: #F1E6CC; overflow-y: auto; }
.st-cover .q-guest { font-size: 15px; transition: opacity .5s ease; }
.st-cover .q-guest strong { font: 700 28px 'Amiri', serif; }
.st-stage { position: relative; width: min(280px, 74vw); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; transition: transform 1.2s ease, opacity 1s ease; }
.st-big { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-l { fill: none; stroke: #D4B06A; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: st-draw 1.4s ease forwards; }
.st-l.s2 { animation-delay: .5s; }
.st-l.s3 { animation-delay: 1s; }
.st-l.s4 { animation-delay: 1.4s; stroke-width: 1; opacity: .6; }
@keyframes st-draw { to { stroke-dashoffset: 0; } }
.st-cn { position: relative; font: 700 30px/1.4 'Amiri', serif; color: #F1E6CC; text-align: center; animation: st-in 1s ease 1.6s both; }
.st-cn i { font-style: normal; color: #D4B06A; }
@keyframes st-in { from { opacity: 0; } to { opacity: 1; } }
.st-open { min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1.5px solid #D4B06A; background: transparent; color: #F1E6CC; font: 600 16px 'Plex Arabic', sans-serif; cursor: pointer; animation: st-in 1s ease 1.8s both; transition: opacity .5s ease; }
.is-opening .st-stage { transform: scale(2.4) rotate(45deg); opacity: 0; }
.is-opening .st-open, .is-opening .st-cover .q-guest { opacity: 0; }
.st-band { height: 6px; background: linear-gradient(90deg, #14294A, #D4B06A, #14294A); }
.st-hero { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 34px 24px 10px; }
.st-small { width: 72px; height: 72px; }
.st-small .st-l { animation: none; stroke-dashoffset: 0; stroke: #8C6A26; }
.st-host { font: 400 17px 'Amiri', serif; color: #4A5B78; max-width: 30ch; }
.st-names { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font: 700 48px/1.3 'Amiri', serif; color: #14294A; outline: none; }
.st-and { font-size: 20px; color: #8C6A26; }
.st-tag { font: 400 18px 'Amiri', serif; color: #4A5B78; }
.st-when { display: flex; flex-direction: column; gap: 2px; }
.st-when strong { font-size: 18px; }
.st-when span { font-size: 14px; color: #4A5B78; }
.tpl-star .q-made { color: #4A5B78; }
@media (prefers-reduced-motion: reduce) { .st-l, .st-cn, .st-open { animation: none; stroke-dashoffset: 0; } .st-stage { transition: none; } }
