/* 📜 «شاهنامه» — پک خیریه (public/assets/shahnameh.js). فقط کلاس‌های shn-/shs-/shl-. جلوه‌ها فقط transform/opacity و فقط روی .shn.on */
.shn{--c:#E2B25C;--g1:#FFF3C4;--g2:#E9B95A;--g3:#9A6420;--lap:#163A8A;--lap2:#0C2160;--nq:"Noto Nastaliq Urdu",Lalezar,Vazirmatn,serif;position:relative;width:100%;aspect-ratio:5/7;container-type:inline-size;user-select:none;-webkit-user-select:none}
.shn[data-shnview]{cursor:pointer}
.shn-body{position:absolute;inset:0}
.shn-back{position:absolute;inset:0;z-index:0;pointer-events:none}
.shn-fr{position:absolute;inset:0;z-index:1;border-radius:2.4cqw;overflow:hidden;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.08),transparent 60%),radial-gradient(circle,rgba(233,185,90,.55) 0 .45cqw,transparent .55cqw) 0 0/4.4cqw 4.4cqw,radial-gradient(circle,rgba(217,71,58,.55) 0 .3cqw,transparent .4cqw) 2.2cqw 2.2cqw/4.4cqw 4.4cqw,linear-gradient(160deg,var(--lap),var(--lap2));box-shadow:inset 0 0 0 .7cqw #E9B95A,inset 0 0 0 1.2cqw #0C2160,inset 0 0 0 1.5cqw #F6D98E,0 2cqw 5cqw -1cqw rgba(0,0,0,.6),0 0 0 .3cqw rgba(0,0,0,.4)}
.shn-band{position:absolute;inset:3.2cqw;border-radius:1.4cqw;box-shadow:inset 0 0 0 .35cqw rgba(246,217,142,.7);pointer-events:none;z-index:4}
.shn-pic{position:absolute;left:5cqw;right:5cqw;top:5cqw;bottom:24cqw;overflow:hidden;background:radial-gradient(120% 80% at 50% 0%,color-mix(in srgb,var(--c) 45%,#1a1208),#0b0a12 75%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M2 140V44C2 30 14 22 26 18C38 14 46 8 50 1C54 8 62 14 74 18C86 22 98 30 98 44V140Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M2 140V44C2 30 14 22 26 18C38 14 46 8 50 1C54 8 62 14 74 18C86 22 98 30 98 44V140Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.shn-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.shn-ph{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle,rgba(233,185,90,.35) 0 .6cqw,transparent .7cqw) 0 0/6cqw 6cqw,radial-gradient(80% 60% at 50% 35%,color-mix(in srgb,var(--c) 55%,#000),#07060c)}
.shn-ph b{font:400 12cqw/1.6 Lalezar,Vazirmatn,sans-serif;color:#F6D98E;text-shadow:0 .4cqw 1.6cqw #000}
.shn-vg{position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(5,6,18,.65)),radial-gradient(120% 90% at 50% 40%,transparent 60%,rgba(0,0,0,.45))}
.shn-ar{position:absolute;left:5cqw;right:5cqw;top:5cqw;bottom:24cqw;width:calc(100% - 10cqw);height:calc(100% - 29cqw);z-index:3;pointer-events:none;filter:drop-shadow(0 0 .8cqw rgba(255,214,120,.5))}
.shn-fx{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.shn-co{position:absolute;width:13cqw;height:13cqw;z-index:5;pointer-events:none}.shn-co svg{width:100%;height:100%;display:block}
.shn-co.a{top:1.2cqw;right:1.2cqw;transform:scaleX(-1)}.shn-co.b{top:1.2cqw;left:1.2cqw}.shn-co.c{bottom:1.2cqw;right:1.2cqw;transform:scale(-1)}.shn-co.d{bottom:1.2cqw;left:1.2cqw;transform:scaleY(-1)}
.shn-ros{position:absolute;left:50%;top:1.4cqw;width:8cqw;height:8cqw;margin-left:-4cqw;z-index:5;border-radius:50%;background:radial-gradient(circle,#FFF3C4 0 18%,#9A6420 20% 26%,transparent 28%),repeating-conic-gradient(#F6D98E 0 12deg,#9A6420 12deg 18deg,transparent 18deg 30deg);box-shadow:0 0 1.6cqw rgba(255,210,110,.6)}
.shn-cap{position:absolute;left:5.5cqw;right:5.5cqw;bottom:4.4cqw;height:19.5cqw;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6cqw;padding:0 3cqw;border-radius:1.6cqw;background:linear-gradient(180deg,#0E2A6E,#081a4a);box-shadow:inset 0 0 0 .45cqw #E9B95A,inset 0 0 0 .9cqw #081a4a,inset 0 0 0 1.15cqw rgba(246,217,142,.55),0 -1cqw 3cqw rgba(0,0,0,.4)}
/* (۲۳ آبان، مالک: «اسم‌ها درست خونده نمی‌شه») the name on a card is Lalezar (clear at any size), solid gold; Nastaliq only for big headings */
.shn .shn-cap b{display:block;max-width:100%;font:400 9cqw/1.25 Lalezar,Vazirmatn,sans-serif;color:#FFE3A0;text-shadow:0 .35cqw 0 #3a2208,0 0 2cqw rgba(255,190,90,.45);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.shn .shn-cap small{display:block;max-width:100%;font:800 max(4.3cqw,9.5px)/1.35 Vazirmatn,sans-serif;color:#EEF3FF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.shn-no{position:absolute;top:10.5cqw;left:7cqw;z-index:6;font:800 3.9cqw/1 Vazirmatn,sans-serif;color:#FFE9B0;padding:1.1cqw 2.2cqw;border-radius:99px;background:rgba(8,14,40,.72);box-shadow:inset 0 0 0 .3cqw rgba(246,217,142,.6)}
.shn.big .shn-fr{box-shadow:inset 0 0 0 .7cqw #E9B95A,inset 0 0 0 1.2cqw #0C2160,inset 0 0 0 1.5cqw #F6D98E,0 4cqw 10cqw -2cqw rgba(0,0,0,.7),0 0 12cqw -2cqw var(--c)}
/* the glow of the character's colour around the card */
.shn::before{content:"";position:absolute;inset:-6cqw;z-index:0;border-radius:12cqw;background:radial-gradient(closest-side,color-mix(in srgb,var(--c) 55%,transparent),transparent);opacity:.0;transition:opacity .6s;pointer-events:none}
.shn.on::before{opacity:.55}

/* ---------- particles shared ---------- */
.shn-fx i,.shn-back i{position:absolute;display:block}
@keyframes shnRise{0%{transform:translate(0,0) scale(var(--s,1));opacity:0}12%{opacity:1}100%{transform:translate(var(--dx,0),-110cqw) scale(calc(var(--s,1)*.3));opacity:0}}
@keyframes shnFall{0%{transform:translate(0,-20cqw) rotate(var(--r,0deg));opacity:0}10%{opacity:1}100%{transform:translate(var(--dx,8cqw),150cqw) rotate(calc(var(--r,0deg) + 300deg));opacity:0}}
@keyframes shnTw{0%,100%{opacity:.1;transform:scale(calc(var(--s)*.5))}50%{opacity:1;transform:scale(var(--s))}}

/* ---------- 🔥 سیمرغ: wings of fire that beat, the card rides the air ---------- */
.shn.f-phoenix .shn-back{z-index:0}
.shn-wing{position:absolute;top:-4%;width:66%;height:72%;opacity:.95;z-index:0}
.shn-wing svg{width:100%;height:100%;display:block;overflow:visible}
.shn-wing.l{right:76%;transform-origin:100% 70%;transform:rotate(6deg)}.shn-wing.l svg{transform:scaleX(-1)}
.shn-wing.r{left:76%;transform-origin:0 70%;transform:rotate(-6deg)}
.shn-trail{position:absolute;left:10%;right:10%;bottom:-14%;height:30%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,170,60,.65),rgba(255,90,20,.25) 55%,transparent);opacity:.7}
.shn.f-phoenix .shn-em{bottom:0;left:var(--x);width:1.6cqw;height:1.6cqw;border-radius:50%;background:radial-gradient(circle,#FFF6C8,#FFB52E 45%,rgba(255,80,20,0) 70%)}
.shn.f-phoenix .shn-fe{top:0;left:var(--x);width:5cqw;height:14cqw;color:#FFB84A;opacity:0}
.shn-fe svg{width:100%;height:100%;display:block}
.shn.f-phoenix.on .shn-body{animation:shnBob 3.4s ease-in-out infinite}
.shn.f-phoenix.on .shn-wing.l{animation:shnFlapL 1.7s cubic-bezier(.45,0,.55,1) infinite}
.shn.f-phoenix.on .shn-wing.r{animation:shnFlapR 1.7s cubic-bezier(.45,0,.55,1) infinite}
.shn.f-phoenix.on .shn-trail{animation:shnTrail 1.7s ease-in-out infinite}
.shn.f-phoenix.on .shn-em{animation:shnRise var(--d) linear var(--dl) infinite}
.shn.f-phoenix.on .shn-fe{animation:shnFall var(--d) linear var(--dl) infinite}
@keyframes shnBob{0%,100%{transform:translateY(1.5cqw)}50%{transform:translateY(-3.5cqw)}}
@keyframes shnFlapL{0%,100%{transform:rotate(24deg) scaleY(1)}50%{transform:rotate(-16deg) scaleY(.8)}}
@keyframes shnFlapR{0%,100%{transform:rotate(-24deg) scaleY(1)}50%{transform:rotate(16deg) scaleY(.8)}}
@keyframes shnTrail{0%,100%{opacity:.85;transform:scaleX(1)}50%{opacity:.45;transform:scaleX(.8)}}

/* ---------- 🔨 رستم: the mace lands; a shockwave, cracks, dust ---------- */
.shn-ring{position:absolute;left:50%;bottom:26cqw;width:90cqw;height:22cqw;margin-left:-45cqw;border-radius:50%;box-shadow:0 0 0 .8cqw rgba(255,214,140,.85),0 0 4cqw 1cqw rgba(255,150,60,.6);opacity:0;transform:scale(.1)}
.shn-crack{position:absolute;left:10%;right:10%;bottom:24cqw;height:16cqw;opacity:0}.shn-crack svg{width:100%;height:100%;display:block}
.shn-flash{position:absolute;inset:0;background:radial-gradient(60% 40% at 50% 70%,rgba(255,236,190,.9),transparent 70%);opacity:0;mix-blend-mode:screen}
.shn.f-mace .shn-du{left:var(--x);bottom:25cqw;width:4cqw;height:4cqw;border-radius:50%;background:radial-gradient(circle,rgba(220,190,150,.8),transparent 70%);opacity:0}
.shn.f-mace.on .shn-fr{animation:shnHit 3s cubic-bezier(.3,0,.3,1) infinite}
.shn.f-mace.on .shn-ring.a{animation:shnRing 3s ease-out infinite}
.shn.f-mace.on .shn-ring.b{animation:shnRing 3s ease-out .12s infinite}
.shn.f-mace.on .shn-crack{animation:shnCrack 3s ease-out infinite}
.shn.f-mace.on .shn-flash{animation:shnFlashK 3s ease-out infinite}
.shn.f-mace.on .shn-du{animation:shnPuff 3s ease-out infinite}
@keyframes shnHit{0%,62%,100%{transform:none}64%{transform:translateY(1.8cqw) scale(.985)}66%{transform:translate(-1cqw,-.6cqw)}68%{transform:translate(1cqw,.4cqw)}70%{transform:translate(-.5cqw,0)}73%{transform:none}}
@keyframes shnRing{0%,63%{opacity:0;transform:scale(.1)}64%{opacity:1}100%{opacity:0;transform:scale(1.6)}}
@keyframes shnCrack{0%,63%{opacity:0}65%{opacity:1}88%{opacity:.6}100%{opacity:0}}
@keyframes shnFlashK{0%,63%{opacity:0}64%{opacity:.95}78%{opacity:0}100%{opacity:0}}
@keyframes shnPuff{0%,63%{opacity:0;transform:rotate(var(--a)) translateX(0) scale(.4)}66%{opacity:.9}100%{opacity:0;transform:rotate(var(--a)) translateX(26cqw) scale(var(--s))}}

/* ---------- 🐎 رخش: dust and wind, galloping ---------- */
.shn-st{position:absolute;right:-40cqw;top:var(--y);height:.5cqw;width:var(--w);border-radius:99px;background:linear-gradient(90deg,transparent,rgba(255,236,200,.85));opacity:0}
.shn.f-gallop .shn-du.g{bottom:24cqw;left:var(--x);width:9cqw;height:6cqw;border-radius:50%;background:radial-gradient(closest-side,rgba(205,160,110,.8),transparent);opacity:0}
.shn.f-gallop.on .shn-body{animation:shnGallop .55s cubic-bezier(.4,0,.6,1) infinite}
.shn.f-gallop.on .shn-st{animation:shnStreak var(--d) linear var(--dl) infinite}
.shn.f-gallop.on .shn-du.g{animation:shnDust var(--d) ease-out var(--dl) infinite}
@keyframes shnGallop{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-1.6cqw) rotate(-.6deg)}60%{transform:translateY(.4cqw) rotate(.4deg)}}
@keyframes shnStreak{0%{transform:translateX(0);opacity:0}15%{opacity:1}100%{transform:translateX(-170cqw);opacity:0}}
@keyframes shnDust{0%{transform:translateX(0) scale(.3);opacity:0}20%{opacity:.9}100%{transform:translateX(40cqw) translateY(-6cqw) scale(var(--s));opacity:0}}

/* ---------- 🪶 زال: white-gold feathers drifting, a soft mist ---------- */
.shn-mist{position:absolute;inset:-8% -14%;background:radial-gradient(50% 40% at 50% 60%,rgba(255,255,255,.35),transparent 70%);opacity:.5}
.shn.f-feather .shn-fe{top:0;left:var(--x);width:5.5cqw;height:16cqw;color:#FFF8E6;opacity:0;filter:drop-shadow(0 0 1cqw rgba(255,226,150,.8))}
.shn-glowf{position:absolute;left:0;right:0;top:20%;height:30%;background:radial-gradient(closest-side,rgba(255,245,215,.35),transparent);opacity:0}
.shn.f-feather.on .shn-fe{animation:shnFall var(--d) ease-in-out var(--dl) infinite}
.shn.f-feather.on .shn-mist{animation:shnBreath 6s ease-in-out infinite}
.shn.f-feather.on .shn-glowf{animation:shnBreath 5s ease-in-out infinite}
@keyframes shnBreath{0%,100%{opacity:.25;transform:scale(.96)}50%{opacity:.8;transform:scale(1.04)}}

/* ---------- 🌙 رودابه: moonlight, stars, beams ---------- */
.shn-moon{position:absolute;right:-10%;top:-8%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(240,236,255,.9) 0 22%,rgba(170,160,255,.35) 34%,transparent 66%);opacity:.75}
.shn.f-moon .shn-tw{left:var(--x);top:var(--y);width:1.4cqw;height:1.4cqw;border-radius:50%;background:radial-gradient(circle,#fff,rgba(200,190,255,0) 70%);opacity:.2}
.shn-beam{position:absolute;top:-20%;width:16cqw;height:140%;background:linear-gradient(180deg,rgba(220,214,255,.45),transparent 80%);transform-origin:50% 0;opacity:.35}
.shn-beam.a{right:22%;transform:rotate(18deg)}.shn-beam.b{right:46%;width:9cqw;transform:rotate(12deg)}
.shn.f-moon.on .shn-tw{animation:shnTw var(--d) ease-in-out var(--dl) infinite}
.shn.f-moon.on .shn-moon{animation:shnBreath 7s ease-in-out infinite}
.shn.f-moon.on .shn-beam.a{animation:shnBeam 6s ease-in-out infinite}.shn.f-moon.on .shn-beam.b{animation:shnBeam 8s ease-in-out -3s infinite}
@keyframes shnBeam{0%,100%{opacity:.15}50%{opacity:.5}}

/* ---------- 🌹 تهمینه: rose petals, candlelight ---------- */
.shn-pe{top:0;left:var(--x);width:3.4cqw;height:2.6cqw;border-radius:70% 0 70% 0;background:linear-gradient(135deg,#FF7A9A,#B0123A);opacity:0}
.shn-candle{position:absolute;left:0;right:0;bottom:22cqw;height:40%;background:radial-gradient(60% 70% at 50% 100%,rgba(255,170,90,.5),transparent 70%);opacity:.6}
.shn.f-petal.on .shn-pe{animation:shnFall var(--d) ease-in-out var(--dl) infinite}
.shn.f-petal.on .shn-candle{animation:shnFlick 2.3s ease-in-out infinite}
@keyframes shnFlick{0%,100%{opacity:.5}20%{opacity:.75}40%{opacity:.45}60%{opacity:.8}80%{opacity:.55}}

/* ---------- ⚔️ سهراب: swords meet; slashes and sparks ---------- */
.shn-slash{position:absolute;left:50%;top:42%;width:120cqw;height:1cqw;margin-left:-60cqw;border-radius:99px;background:linear-gradient(90deg,transparent,#fff 45%,#BFF5FF 55%,transparent);opacity:0;box-shadow:0 0 2cqw #8fe8ff}
.shn-slash.a{transform:rotate(-34deg) scaleX(0)}.shn-slash.b{transform:rotate(34deg) scaleX(0)}
.shn-flash.c{background:radial-gradient(30% 22% at 50% 42%,rgba(255,255,255,.95),transparent 70%)}
.shn-sp{left:50%;top:42%;width:1.4cqw;height:1.4cqw;margin:-.7cqw;border-radius:50%;background:#FFF2C0;box-shadow:0 0 1.4cqw #FFB84A;opacity:0}
.shn.f-clash.on .shn-slash.a{animation:shnSlashA 2.8s ease-out infinite}.shn.f-clash.on .shn-slash.b{animation:shnSlashB 2.8s ease-out infinite}
.shn.f-clash.on .shn-flash.c{animation:shnFlashC 2.8s ease-out infinite}
.shn.f-clash.on .shn-sp{animation:shnSpark 2.8s ease-out infinite}
.shn.f-clash.on .shn-fr{animation:shnJolt 2.8s ease-out infinite}
@keyframes shnSlashA{0%,48%{opacity:0;transform:rotate(-34deg) scaleX(0)}52%{opacity:1;transform:rotate(-34deg) scaleX(1)}70%,100%{opacity:0;transform:rotate(-34deg) scaleX(1.1)}}
@keyframes shnSlashB{0%,52%{opacity:0;transform:rotate(34deg) scaleX(0)}56%{opacity:1;transform:rotate(34deg) scaleX(1)}74%,100%{opacity:0;transform:rotate(34deg) scaleX(1.1)}}
@keyframes shnFlashC{0%,54%{opacity:0}57%{opacity:1}75%,100%{opacity:0}}
@keyframes shnSpark{0%,55%{opacity:0;transform:rotate(var(--a)) translateX(0) scale(var(--s))}58%{opacity:1}85%,100%{opacity:0;transform:rotate(var(--a)) translateX(var(--l)) scale(.2)}}
@keyframes shnJolt{0%,55%,100%{transform:none}57%{transform:translateX(-1cqw) rotate(-.5deg)}60%{transform:translateX(.8cqw) rotate(.4deg)}64%{transform:none}}

/* ---------- 🏹 گردآفرید: arrows across the card, wind ---------- */
.shn-arw{right:-36cqw;top:var(--y);width:34cqw;height:3.4cqw;opacity:0;transform:rotate(-8deg)}.shn-arw svg{width:100%;height:100%;display:block;transform:scaleX(-1)}
.shn-st.w{background:linear-gradient(90deg,transparent,rgba(220,235,255,.7))}
.shn.f-arrow.on .shn-arw{animation:shnArrow 3.6s cubic-bezier(.2,.6,.3,1) var(--dl) infinite}
.shn.f-arrow.on .shn-st{animation:shnStreak var(--d) linear var(--dl) infinite}
@keyframes shnArrow{0%{transform:translateX(0) rotate(-8deg);opacity:0}6%{opacity:1}30%{transform:translateX(-180cqw) rotate(-8deg);opacity:1}31%,100%{opacity:0;transform:translateX(-180cqw) rotate(-8deg)}}

/* ---------- 🔥 سیاوش: a wall of fire he walks through ---------- */
.shn-heat{position:absolute;inset:-6%;background:radial-gradient(70% 50% at 50% 100%,rgba(255,120,30,.5),transparent 70%);opacity:.7}
.shn-fl{bottom:22cqw;left:var(--x);width:var(--w);height:var(--h);border-radius:50% 50% 30% 30%/70% 70% 30% 30%;background:radial-gradient(60% 80% at 50% 90%,#FFF4C2,#FFB12E 35%,#F0521A 65%,rgba(150,20,0,0) 80%);transform-origin:50% 100%;opacity:.9;mix-blend-mode:screen}
.shn.f-flame .shn-em{bottom:22cqw;left:var(--x);width:1.4cqw;height:1.4cqw;border-radius:50%;background:radial-gradient(circle,#FFF6C8,#FF9A2E 50%,transparent 70%)}
.shn.f-flame.on .shn-fl{animation:shnFlame var(--d) ease-in-out var(--dl) infinite alternate}
.shn.f-flame.on .shn-em{animation:shnRise var(--d) linear var(--dl) infinite}
.shn.f-flame.on .shn-heat{animation:shnFlick 1.8s ease-in-out infinite}
@keyframes shnFlame{0%{transform:scale(.85,.7) skewX(-4deg)}100%{transform:scale(1.05,1.15) skewX(5deg)}}

/* ---------- 🛡 اسفندیار: bronze sheen, a halo of the holy fire ---------- */
.shn-halo{position:absolute;left:50%;top:6%;width:120%;aspect-ratio:1;margin-left:-60%;border-radius:50%;background:repeating-conic-gradient(rgba(255,214,120,.35) 0 6deg,transparent 6deg 18deg);-webkit-mask:radial-gradient(closest-side,transparent 30%,#000 32%,#000 60%,transparent 70%);mask:radial-gradient(closest-side,transparent 30%,#000 32%,#000 60%,transparent 70%);opacity:.75}
.shn-sheen{position:absolute;inset:-20% -60%;background:linear-gradient(105deg,transparent 40%,rgba(255,226,170,.55) 48%,rgba(255,255,255,.7) 50%,rgba(255,200,120,.4) 53%,transparent 60%);transform:translateX(70%);mix-blend-mode:screen}
.shn.f-bronze .shn-tw.g{left:var(--x);top:var(--y);width:1.8cqw;height:1.8cqw;background:conic-gradient(from 45deg,transparent 0 20%,#FFE9A8 25%,transparent 30% 45%,#FFE9A8 50%,transparent 55% 70%,#FFE9A8 75%,transparent 80%);border-radius:50%;opacity:.2}
.shn.f-bronze.on .shn-halo{animation:shnSpin 22s linear infinite}
.shn.f-bronze.on .shn-sheen{animation:shnSheen 4.2s ease-in-out infinite}
.shn.f-bronze.on .shn-tw{animation:shnTw var(--d) ease-in-out var(--dl) infinite}
@keyframes shnSpin{to{transform:rotate(360deg)}}
@keyframes shnSheen{0%,40%{transform:translateX(70%)}80%,100%{transform:translateX(-70%)}}

/* ---------- 🐍 ضحاک: two serpents rise from the frame ---------- */
.shn-snk{position:absolute;bottom:18cqw;width:20cqw;height:66cqw;transform-origin:50% 100%;transform:translateY(40cqw)}
.shn-snk svg{width:100%;height:100%;display:block;overflow:visible}
.shn-snk.l{left:-2cqw}.shn-snk.r{right:-2cqw;transform:translateY(40cqw) scaleX(-1)}
.shn-smk{bottom:22cqw;left:var(--x);width:16cqw;height:16cqw;border-radius:50%;background:radial-gradient(closest-side,rgba(80,160,60,.45),transparent);opacity:0}
.shn.f-snake.on .shn-snk.l{animation:shnSnakeL 5s ease-in-out infinite}
.shn.f-snake.on .shn-snk.r{animation:shnSnakeR 5s ease-in-out -.6s infinite}
.shn.f-snake.on .shn-snk .e{animation:shnEye 5s ease-in-out infinite}
.shn.f-snake.on .shn-smk{animation:shnSmoke var(--d) ease-out var(--dl) infinite}
@keyframes shnSnakeL{0%,100%{transform:translateY(40cqw) rotate(0)}25%{transform:translateY(4cqw) rotate(-6deg)}50%{transform:translateY(0) rotate(5deg)}75%{transform:translateY(6cqw) rotate(-3deg)}}
@keyframes shnSnakeR{0%,100%{transform:translateY(40cqw) scaleX(-1) rotate(0)}25%{transform:translateY(5cqw) scaleX(-1) rotate(-5deg)}50%{transform:translateY(0) scaleX(-1) rotate(6deg)}75%{transform:translateY(7cqw) scaleX(-1) rotate(-4deg)}}
@keyframes shnEye{0%,20%,100%{opacity:.3}45%,60%{opacity:1}}
@keyframes shnSmoke{0%{transform:translateY(0) scale(.4);opacity:0}30%{opacity:.8}100%{transform:translateY(-60cqw) scale(var(--s));opacity:0}}

/* ---------- ❄ دیو سپید: blizzard, darkness, lightning ---------- */
.shn-dark{position:absolute;inset:0;background:radial-gradient(90% 70% at 50% 45%,transparent 40%,rgba(4,8,22,.75));opacity:.6}
.shn-bolt{position:absolute;inset:0;background:linear-gradient(180deg,rgba(220,235,255,.9),rgba(160,200,255,.2));opacity:0;mix-blend-mode:screen}
.shn-frost{position:absolute;inset:0;box-shadow:inset 0 0 6cqw 1cqw rgba(220,240,255,.55);opacity:.7}
.shn-sn{right:-6cqw;top:var(--y);width:1.4cqw;height:1.4cqw;border-radius:50%;background:#fff;opacity:0;transform:scale(var(--s))}
.shn.f-storm.on .shn-sn{animation:shnSnow var(--d) linear var(--dl) infinite}
.shn.f-storm.on .shn-bolt{animation:shnBolt 6s linear infinite}
.shn.f-storm.on .shn-dark{animation:shnBreath 6s ease-in-out infinite}
@keyframes shnSnow{0%{transform:translate(0,0) scale(var(--s));opacity:0}10%{opacity:.95}100%{transform:translate(-120cqw,var(--dy)) scale(var(--s));opacity:0}}
@keyframes shnBolt{0%,71%,75%,79%,100%{opacity:0}72%{opacity:.9}76%{opacity:.6}}

/* ✨ signature moments (SIG in shahnameh.js): one tale per hero, slow cycles, only on .shn.on; lite = hidden */
.shn-g{position:absolute;display:block;pointer-events:none;opacity:0}
.shn-g svg{width:100%;height:100%;display:block;overflow:visible}
/* simorgh: Zal burns her feather, she answers */
.g-fth{left:46cqw;top:6cqw;width:8cqw;height:24cqw;color:#FFD27A;filter:drop-shadow(0 0 1.6cqw #FFB347)}
.g-burst{left:20cqw;top:70cqw;width:60cqw;height:60cqw;border-radius:50%;background:radial-gradient(circle,#FFF6D6 0,#FFC75A 22%,rgba(255,120,30,.55) 45%,transparent 70%);mix-blend-mode:screen}
.g-ringx{left:30cqw;top:80cqw;width:40cqw;height:40cqw;border-radius:50%;border:.8cqw solid #FFD98A;box-shadow:0 0 3cqw #FFB347,inset 0 0 3cqw #FFB347}
.shn.on .g-fth{animation:shnGFth 7s ease-in infinite}
.shn.on .g-burst{animation:shnGBurst 7s ease-out infinite}
.shn.on .g-ringx{animation:shnGRing 7s ease-out infinite}.shn.on .g-ringx.b{animation-delay:.25s}
.shn.f-phoenix.on .shn-wing.l,.shn.f-phoenix.on .shn-wing.r{animation-duration:1.7s}
@keyframes shnGFth{0%{opacity:0;transform:translate(0,0) rotate(-20deg)}8%{opacity:1}20%{transform:translate(-6cqw,26cqw) rotate(25deg)}34%{transform:translate(4cqw,52cqw) rotate(-15deg)}46%{opacity:1;transform:translate(0,72cqw) rotate(0) scale(1)}50%{opacity:0;transform:translate(0,74cqw) scale(.4)}100%{opacity:0}}
@keyframes shnGBurst{0%,46%{opacity:0;transform:scale(.2)}52%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(1.6)}100%{opacity:0}}
@keyframes shnGRing{0%,48%{opacity:0;transform:scale(.2)}52%{opacity:1}80%{opacity:0;transform:scale(2.8)}100%{opacity:0}}
/* rostam: the ox-headed mace comes down (same 3s beat as the mace effect) + the tiger skin on the frame */
.g-mace{right:-4cqw;top:-10cqw;width:22cqw;height:66cqw;transform-origin:50% 100%;filter:drop-shadow(0 1cqw 1.4cqw rgba(0,0,0,.6))}
.shn.on .g-mace{animation:shnGMace 3s cubic-bezier(.5,0,.75,0) infinite}
@keyframes shnGMace{0%,20%{opacity:0;transform:translate(10cqw,-10cqw) rotate(40deg)}32%{opacity:1;transform:translate(4cqw,-4cqw) rotate(55deg)}62%{opacity:1;transform:translate(-26cqw,40cqw) rotate(-48deg)}66%{transform:translate(-25cqw,38cqw) rotate(-44deg)}80%{opacity:1;transform:translate(-25cqw,38cqw) rotate(-44deg)}92%,100%{opacity:0;transform:translate(-20cqw,30cqw) rotate(-30deg)}}
.g-leo{inset:0;opacity:.0;background:radial-gradient(circle at 30% 40%,transparent 0 .7cqw,rgba(40,20,4,.55) .8cqw 1.2cqw,transparent 1.3cqw) 0 0/7cqw 7cqw,radial-gradient(circle at 70% 70%,transparent 0 .5cqw,rgba(40,20,4,.5) .6cqw 1cqw,transparent 1.1cqw) 0 0/9cqw 9cqw;-webkit-mask:linear-gradient(#000,#000) top/100% 5cqw no-repeat,linear-gradient(#000,#000) left/5cqw 100% no-repeat,linear-gradient(#000,#000) right/5cqw 100% no-repeat;mask:linear-gradient(#000,#000) top/100% 5cqw no-repeat,linear-gradient(#000,#000) left/5cqw 100% no-repeat,linear-gradient(#000,#000) right/5cqw 100% no-repeat}
.shn.on .g-leo{animation:shnGLeo 6s ease-in-out infinite}
@keyframes shnGLeo{0%,100%{opacity:.35}50%{opacity:.7}}
/* rakhsh: the first trial — the lion's claws, then Rakhsh's hoof breaks them */
.g-claw{left:28cqw;top:34cqw;width:44cqw;height:58cqw;filter:drop-shadow(0 0 1.4cqw #FF6A2A)}
.shn.on .g-claw{animation:shnGClaw 5s ease-out infinite}
@keyframes shnGClaw{0%,8%{opacity:0;clip-path:inset(0 0 100% 0)}16%{opacity:1;clip-path:inset(0 0 0 0)}44%{opacity:1;transform:none}48%{opacity:1;transform:scale(1.08) rotate(3deg)}54%,100%{opacity:0;transform:scale(1.4) rotate(8deg)}}
.g-hoof{left:15cqw;top:72cqw;width:70cqw;height:30cqw;border-radius:50%;border-top:1.4cqw solid #FFE0A8;filter:drop-shadow(0 0 2cqw #FFB060)}
.shn.on .g-hoof{animation:shnGHoof 5s ease-out infinite}.shn.on .g-hoof.b{animation-delay:.18s}
@keyframes shnGHoof{0%,46%{opacity:0;transform:scale(.3)}49%{opacity:1}72%,100%{opacity:0;transform:scale(1.6)}}
/* zal: the Simorgh's shadow passes over the white-haired boy she raised */
.g-bird{left:-70cqw;top:8cqw;width:66cqw;height:44cqw;color:rgba(6,8,18,.72);filter:blur(.3cqw) drop-shadow(0 0 2cqw rgba(255,255,255,.25))}
.shn.on .g-bird{animation:shnGBird 9s linear infinite}
@keyframes shnGBird{0%{opacity:0;transform:translate(0,10cqw) rotate(8deg) scale(.8)}10%{opacity:1}55%{opacity:1;transform:translate(170cqw,-6cqw) rotate(-6deg) scale(1.15)}60%,100%{opacity:0;transform:translate(180cqw,-8cqw)}}
.g-silver{inset:0;background:linear-gradient(115deg,transparent 40%,rgba(235,244,255,.35) 50%,transparent 60%) 0 0/300% 100%;mix-blend-mode:screen}
.shn.on .g-silver{animation:shnGSil 9s ease-in-out infinite}
@keyframes shnGSil{0%,40%{opacity:0;background-position:120% 0}50%{opacity:1}70%,100%{opacity:0;background-position:-20% 0}}
/* rudabeh: she lets her hair down from the tower like a rope */
.g-braid{left:72cqw;top:-2cqw;width:8cqw;height:78cqw;transform-origin:50% 0;filter:drop-shadow(0 0 1cqw rgba(160,130,255,.6))}
.shn.on .g-braid{animation:shnGBraid 9s ease-in-out infinite}
@keyframes shnGBraid{0%{opacity:0;clip-path:inset(0 0 100% 0)}6%{opacity:1}30%{clip-path:inset(0 0 0 0);transform:rotate(0)}42%{transform:rotate(4deg)}54%{transform:rotate(-3deg)}66%{transform:rotate(2deg);clip-path:inset(0 0 0 0);opacity:1}86%{clip-path:inset(0 0 100% 0);opacity:1}90%,100%{opacity:0;clip-path:inset(0 0 100% 0)}}
/* tahmineh: the onyx armband she gives Rostam for their child */
.g-amu{left:39cqw;top:82cqw;width:22cqw;height:22cqw;filter:drop-shadow(0 0 2cqw #FF5C8A)}
.g-rays{left:20cqw;top:63cqw;width:60cqw;height:60cqw;border-radius:50%;background:repeating-conic-gradient(rgba(255,120,160,.38) 0 6deg,transparent 6deg 22deg);-webkit-mask:radial-gradient(circle,#000 10%,transparent 68%);mask:radial-gradient(circle,#000 10%,transparent 68%);mix-blend-mode:screen}
.shn.on .g-amu{animation:shnGAmu 6s ease-in-out infinite}
.shn.on .g-rays{animation:shnGRays 6s linear infinite}
@keyframes shnGAmu{0%,100%{opacity:0;transform:scale(.6) translateY(4cqw)}18%,82%{opacity:1;transform:none}50%{transform:scale(1.08)}}
@keyframes shnGRays{0%{opacity:0;transform:rotate(0)}20%,80%{opacity:1}100%{opacity:0;transform:rotate(90deg)}}
/* sohrab: father and son, swords crossing — and on his arm, the same armband glows too late */
.g-sw{top:6cqw;width:10cqw;height:50cqw;transform-origin:50% 100%}
.g-sw.a{left:24cqw}.g-sw.b{right:24cqw}
.shn.on .g-sw.a{animation:shnGSwA 4s cubic-bezier(.6,0,.3,1) infinite}
.shn.on .g-sw.b{animation:shnGSwB 4s cubic-bezier(.6,0,.3,1) infinite}
@keyframes shnGSwA{0%,10%{opacity:0;transform:translateX(-14cqw) rotate(-60deg)}24%{opacity:1}40%{transform:translateX(9cqw) rotate(30deg)}44%{transform:translateX(8cqw) rotate(26deg)}70%{opacity:1;transform:translateX(8cqw) rotate(26deg)}84%,100%{opacity:0;transform:translateX(4cqw) rotate(20deg)}}
@keyframes shnGSwB{0%,10%{opacity:0;transform:translateX(14cqw) rotate(60deg)}24%{opacity:1}40%{transform:translateX(-9cqw) rotate(-30deg)}44%{transform:translateX(-8cqw) rotate(-26deg)}70%{opacity:1;transform:translateX(-8cqw) rotate(-26deg)}84%,100%{opacity:0;transform:translateX(-4cqw) rotate(-20deg)}}
.g-spark{left:35cqw;top:2cqw;width:30cqw;height:30cqw;border-radius:50%;background:radial-gradient(circle,#fff 0,#BFE0FF 20%,rgba(120,170,255,.4) 45%,transparent 70%);mix-blend-mode:screen}
.shn.on .g-spark{animation:shnGSpark 4s ease-out infinite}
@keyframes shnGSpark{0%,39%{opacity:0;transform:scale(.2)}41%{opacity:1;transform:scale(1.2)}56%,100%{opacity:0;transform:scale(1.8)}}
.g-amu.s{left:10cqw;top:90cqw;width:14cqw;height:14cqw}
.shn.on .g-amu.s{animation:shnGAmu 4s ease-in-out 1.6s infinite}
/* gordafarid: the White Fortress on its walls, torches burning */
.g-fort{left:5cqw;right:5cqw;top:90cqw;height:26cqw;width:auto;opacity:.92;filter:drop-shadow(0 -.6cqw 1.4cqw rgba(160,200,255,.45))}
.shn.on .g-fort{animation:shnGFort 7s ease-in-out infinite}
@keyframes shnGFort{0%,100%{opacity:.75;transform:translateY(2cqw)}50%{opacity:.95;transform:none}}
.g-torch{top:96cqw;width:5cqw;height:7cqw;border-radius:50% 50% 40% 40%;background:radial-gradient(circle at 50% 70%,#fff3c0,#FF9A2A 45%,rgba(255,80,20,0) 72%);mix-blend-mode:screen}
.g-torch.a{left:20cqw}.g-torch.b{right:20cqw}
.shn.on .g-torch{animation:shnGTorch .9s ease-in-out infinite alternate}.shn.on .g-torch.b{animation-delay:-.4s}
@keyframes shnGTorch{from{opacity:.65;transform:scaleY(.85)}to{opacity:1;transform:scaleY(1.15) translateY(-.6cqw)}}
/* siavash: he rides through the fire untouched; where his blood fell a red flower grew (پر سیاوشان) */
.g-part{left:-30cqw;top:30cqw;width:30cqw;height:90cqw;background:linear-gradient(90deg,transparent,rgba(255,255,255,.75) 45%,rgba(255,255,255,.95) 50%,rgba(255,255,255,.75) 55%,transparent);filter:blur(1.4cqw);mix-blend-mode:screen}
.shn.on .g-part{animation:shnGPart 8s ease-in-out infinite}
@keyframes shnGPart{0%,8%{opacity:0;transform:translateX(0)}14%{opacity:1}46%{opacity:1;transform:translateX(130cqw)}52%,100%{opacity:0;transform:translateX(140cqw)}}
.g-flw{left:40cqw;top:92cqw;width:20cqw;height:20cqw;filter:drop-shadow(0 0 1.6cqw #FF2A4A)}
.shn.on .g-flw{animation:shnGFlw 8s ease-out infinite}
@keyframes shnGFlw{0%,52%{opacity:0;transform:scale(0) rotate(-90deg)}64%{opacity:1;transform:scale(1.1) rotate(0)}70%,90%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.9)}}
/* esfandiyar: the brazen-bodied — arrows break on him */
.g-arr{left:-40cqw;top:52cqw;width:36cqw;height:4cqw}
.g-arr svg{width:100%;height:100%;display:block}
.shn.on .g-arr{animation:shnGArr 5s cubic-bezier(.3,.6,.4,1) infinite}
@keyframes shnGArr{0%,10%{opacity:0;transform:translateX(0)}14%{opacity:1}34%{opacity:1;transform:translateX(70cqw)}36%{opacity:1;transform:translateX(68cqw) rotate(-40deg)}50%,100%{opacity:0;transform:translateX(56cqw) translateY(30cqw) rotate(-160deg)}}
.g-hex{left:15cqw;top:20cqw;width:70cqw;height:70cqw;mix-blend-mode:screen;filter:drop-shadow(0 0 1.8cqw #FFC24A)}
.shn.on .g-hex{animation:shnGHex 5s ease-out infinite}
@keyframes shnGHex{0%,33%{opacity:0;transform:scale(.4)}36%{opacity:.95;transform:scale(.9)}60%,100%{opacity:0;transform:scale(1.35)}}
/* zahhak: chained in Damavand; the serpents' eyes open in the dark */
.g-ch{top:108cqw;width:46cqw;height:6cqw;filter:drop-shadow(0 .6cqw .8cqw rgba(0,0,0,.7))}
.g-ch.a{left:3cqw;transform-origin:0 50%}.g-ch.b{right:3cqw;transform-origin:100% 50%}
.shn.on .g-ch.a{animation:shnGChA 3.4s ease-in-out infinite}.shn.on .g-ch.b{animation:shnGChB 3.4s ease-in-out -1.1s infinite}
@keyframes shnGChA{0%,100%{opacity:.9;transform:rotate(-8deg)}50%{opacity:.9;transform:rotate(4deg)}}
@keyframes shnGChB{0%,100%{opacity:.9;transform:rotate(8deg)}50%{opacity:.9;transform:rotate(-4deg)}}
.g-re{top:28cqw;width:10cqw;height:7cqw;filter:drop-shadow(0 0 1.2cqw #FF2A1A)}
.g-re.a{left:14cqw}.g-re.b{right:14cqw;transform:scaleX(-1)}
.shn.on .g-re.a{animation:shnGRe 5s ease-in-out infinite}.shn.on .g-re.b{animation:shnGReB 5s ease-in-out .3s infinite}
@keyframes shnGRe{0%,30%,100%{opacity:0;transform:scaleY(.1)}36%,70%{opacity:1;transform:none}74%{opacity:1;transform:scaleY(.1)}78%{opacity:1;transform:none}}
@keyframes shnGReB{0%,30%,100%{opacity:0;transform:scaleX(-1) scaleY(.1)}36%,70%{opacity:1;transform:scaleX(-1)}74%{opacity:1;transform:scaleX(-1) scaleY(.1)}78%{opacity:1;transform:scaleX(-1)}}
/* div-e sepid: the eyes of the White Demon in the cave, under huge horns of shadow */
.g-horn{left:5cqw;right:5cqw;top:5cqw;height:40cqw;background:radial-gradient(ellipse 30% 70% at 18% 0,rgba(4,8,18,.85),transparent 70%),radial-gradient(ellipse 30% 70% at 82% 0,rgba(4,8,18,.85),transparent 70%)}
.g-eyes{left:22cqw;top:38cqw;width:56cqw;height:14cqw;filter:drop-shadow(0 0 2cqw #9FE0FF)}
.shn.on .g-horn{animation:shnGHorn 7s ease-in-out infinite}
.shn.on .g-eyes{animation:shnGEyes 7s ease-in-out infinite}
@keyframes shnGHorn{0%,100%{opacity:0}30%,70%{opacity:1}}
@keyframes shnGEyes{0%,28%,100%{opacity:0;transform:scaleY(.05)}34%{opacity:1;transform:none}52%{opacity:1;transform:none}54%{opacity:1;transform:scaleY(.08)}57%,68%{opacity:1;transform:none}76%{opacity:0;transform:scaleY(.05)}}
html.lite .shn-g{display:none}

/* calm: lite / reduced motion = still pictures (the look stays) */
html.lite .shn *,html.lite .shn{animation:none!important}
@media (prefers-reduced-motion:reduce){.shn *,.shn{animation:none!important}}
html.lite .shn-em,html.lite .shn-fe,html.lite .shn-st,html.lite .shn-du,html.lite .shn-sp,html.lite .shn-sn,html.lite .shn-pe,html.lite .shn-arw,html.lite .shn-smk{display:none}
html.lite .shn.f-snake .shn-snk.l{transform:translateY(6cqw)}html.lite .shn.f-snake .shn-snk.r{transform:translateY(6cqw) scaleX(-1)}

/* ---------- the big view ---------- */
.shn-v{position:fixed;inset:0;z-index:9990;display:flex;padding:20px;background:radial-gradient(60% 50% at 50% 40%,color-mix(in srgb,var(--c) 26%,transparent),transparent),rgba(4,5,14,.94);opacity:0;transition:opacity .35s;overflow:auto}
.shn-v.in{opacity:1}
.shn-vin{margin:auto;display:flex;align-items:center;gap:clamp(18px,4vw,56px);max-width:960px;width:100%;justify-content:center}
.shn-vc{width:min(78vw,360px);flex:none;transform:scale(.9);transition:transform .5s cubic-bezier(.2,.8,.2,1)}.shn-v.in .shn-vc{transform:none}
.shn-vt{color:#F2E6C8;max-width:380px}
.shn-vt h3{margin:0;font:700 clamp(34px,6vw,56px)/1.9 "Noto Nastaliq Urdu",Lalezar,serif;color:#F6D98E;text-shadow:0 0 30px color-mix(in srgb,var(--c) 70%,transparent)}
.shn-vt small{display:block;font-weight:800;color:#CFE0FF;opacity:.8;margin-top:-6px}
.shn-vt p{font-size:15px;line-height:2.1;opacity:.9}
.shn-x{position:absolute;top:14px;left:14px;z-index:5;width:42px;height:42px;border-radius:50%;border:1px solid rgba(246,217,142,.5);background:rgba(10,12,30,.7);color:#F6D98E;font-size:18px;cursor:pointer}
@media (max-width:700px){.shn-vin{flex-direction:column;gap:10px;padding-top:40px}.shn-vt{text-align:center}.shn-vc{width:min(72vw,320px)}}

/* ---------- the opening: the book of kings ---------- */
.shn-rv{position:fixed;inset:0;z-index:9995;overflow:hidden auto;background:radial-gradient(80% 60% at 50% 30%,#1a1440,#07060f 70%);opacity:0;transition:opacity .4s}
.shn-rv.in{opacity:1}
.shn-rv-cv{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.shn-rv-sky{position:fixed;inset:0;background:radial-gradient(1px 1px at 12% 18%,#fff,transparent),radial-gradient(1px 1px at 32% 8%,#fff,transparent),radial-gradient(1.5px 1.5px at 58% 22%,#fff,transparent),radial-gradient(1px 1px at 78% 12%,#fff,transparent),radial-gradient(1px 1px at 88% 36%,#fff,transparent),radial-gradient(1px 1px at 22% 44%,#fff,transparent),radial-gradient(1.5px 1.5px at 66% 48%,#fff,transparent),radial-gradient(circle,rgba(233,185,90,.08) 0 1px,transparent 1.5px) 0 0/34px 34px;opacity:.8}
.shn-rv-st{position:relative;z-index:2;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 16px 30px}
.shn-book{position:relative;width:min(62vw,280px);aspect-ratio:3/4;perspective:1600px;cursor:pointer;transform:translateY(20px) scale(.92);opacity:0;transition:transform 1.2s cubic-bezier(.2,.8,.2,1),opacity 1s}
.shn-rv.in .shn-book{transform:none;opacity:1}
.shn-bk-cover{position:absolute;inset:0;z-index:3;border-radius:4px 12px 12px 4px;transform-origin:100% 50%;transition:transform 1.6s cubic-bezier(.6,0,.2,1);backface-visibility:hidden;background:radial-gradient(120% 90% at 50% 50%,#8A2420,#4A0E0B 70%);box-shadow:inset 0 0 0 6px #5A1210,inset 0 0 0 7px #E9B95A,inset 0 0 0 16px #6A1612,inset 0 0 0 17px rgba(243,212,138,.6),0 30px 60px -10px #000,0 0 80px rgba(255,180,80,.15)}
.shn-bk-cover .tr{position:absolute;left:50%;top:50%;width:52%;height:34%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,#F3D48A 0 8%,transparent 9%),repeating-radial-gradient(ellipse,rgba(243,212,138,.9) 0 2px,transparent 2px 9px),radial-gradient(ellipse,#8A2420,#5A1210);box-shadow:0 0 0 3px #E9B95A,0 0 0 6px #5A1210,0 0 0 7px #E9B95A}
.shn-bk-cover .st{position:absolute;left:50%;width:18%;height:8%;transform:translateX(-50%);border-radius:50% 50% 50% 50%/80% 80% 20% 20%;background:radial-gradient(ellipse at 50% 70%,#F3D48A 0 20%,#8A2420 22% 60%,#5A1210);box-shadow:0 0 0 2px #E9B95A}
.shn-bk-cover .st.a{top:22%}.shn-bk-cover .st.b{bottom:22%;transform:translateX(-50%) scaleY(-1)}
.shn-bk-cover b{position:absolute;left:0;right:0;bottom:6%;text-align:center;font:700 22px/2 "Noto Nastaliq Urdu",Lalezar,serif;color:#F3D48A;text-shadow:0 2px 6px #000}
.shn-bk-pages{position:absolute;inset:4px 4px 4px 0;z-index:2;border-radius:2px 8px 8px 2px;background:linear-gradient(90deg,#E8D5AC,#F5E8C8);box-shadow:inset 8px 0 18px -6px rgba(80,40,10,.5)}
.shn-bk-pages i{position:absolute;inset:0;border-radius:2px 8px 8px 2px;background:linear-gradient(90deg,#EADBB6,#FBF1D8);transform-origin:100% 50%;box-shadow:inset 0 0 0 1px rgba(150,110,50,.25)}
.shn-bk-light{position:absolute;left:50%;top:50%;z-index:1;width:10%;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) scale(0);background:radial-gradient(circle,#FFF8D8,rgba(255,200,90,.6) 30%,transparent 70%);opacity:0}
.shn-rv.open .shn-bk-cover{transform:rotateY(-170deg)}
.shn-rv.open .shn-bk-pages i{animation:shnPage .7s cubic-bezier(.5,0,.3,1) both}
.shn-rv.open .shn-bk-pages i:nth-child(1){animation-delay:.9s}.shn-rv.open .shn-bk-pages i:nth-child(2){animation-delay:1.02s}.shn-rv.open .shn-bk-pages i:nth-child(3){animation-delay:1.14s}.shn-rv.open .shn-bk-pages i:nth-child(4){animation-delay:1.26s}.shn-rv.open .shn-bk-pages i:nth-child(5){animation-delay:1.38s}.shn-rv.open .shn-bk-pages i:nth-child(6){animation-delay:1.5s}
.shn-rv.open .shn-bk-light{animation:shnLight 1.6s .9s ease-out both;z-index:4}
@keyframes shnPage{to{transform:rotateY(-160deg);opacity:.2}}
@keyframes shnLight{0%{transform:translate(-50%,-50%) scale(0);opacity:0}40%{opacity:1}100%{transform:translate(-50%,-50%) scale(30);opacity:0}}
.shn-rv-open{margin:26px 0 0;font:700 clamp(22px,4.6vw,34px)/2 "Noto Nastaliq Urdu",Lalezar,serif;color:#F6D98E;opacity:0;transform:translateY(10px);transition:opacity 1.2s .6s,transform 1.2s .6s;text-shadow:0 0 24px rgba(255,200,100,.4)}
.shn-rv.in .shn-rv-open{opacity:1;transform:none}
.shn-rv-go{margin-top:12px;padding:10px 22px;border-radius:99px;border:1px solid rgba(246,217,142,.55);background:rgba(20,16,40,.6);color:#F6D98E;font:800 14px Vazirmatn,sans-serif;cursor:pointer;animation:shnBreath 2.4s ease-in-out infinite}
.shn-rv.open .shn-rv-go,.shn-rv.open .shn-rv-open{opacity:0;transition:opacity .4s}
/* one painting rising out of the book */
.shn-rv-one{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:560px}
.shn-rv-card{width:min(68vw,300px);transform:translateY(40vh) scale(.3) rotateY(180deg);opacity:0;transition:transform 1.3s cubic-bezier(.16,.9,.25,1),opacity .6s}
.shn-rv-one.in .shn-rv-card{transform:none;opacity:1}
.shn-rv-name{text-align:center;color:#F2E6C8;opacity:0;transform:translateY(14px);transition:opacity .9s .9s,transform .9s .9s}
.shn-rv-one.in .shn-rv-name{opacity:1;transform:none}
.shn-rv .shn-rv-name b{display:block;font:700 clamp(34px,8vw,54px)/1.8 "Noto Nastaliq Urdu",Lalezar,serif;color:#F6D98E;text-shadow:0 0 30px color-mix(in srgb,var(--c) 75%,transparent);clip-path:inset(0 0 0 100%);transition:clip-path 1.4s .9s cubic-bezier(.6,0,.3,1)}
.shn-rv-one.in .shn-rv-name b{clip-path:inset(0)}
.shn-rv-name small{display:block;font-weight:800;color:#CFE0FF;opacity:.8;margin-top:-8px}
.shn-rv-name p{margin:6px auto 0;max-width:440px;font-size:14px;line-height:2;opacity:.85}
.shn-rv-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px;color:#F6D98E;font-weight:800;font-size:13px;opacity:0;transition:opacity .6s 1.6s}
.shn-rv-one.in .shn-rv-bar{opacity:1}
.shn-rv-next,.shn-btn{padding:11px 22px;border-radius:99px;border:0;background:linear-gradient(180deg,#F6D98E,#C98F36);color:#2A1606;font:900 14px Vazirmatn,sans-serif;cursor:pointer;text-decoration:none;box-shadow:0 8px 24px -8px rgba(255,190,80,.6)}
.shn-rv-skip,.shn-btn.ghost{padding:10px 18px;border-radius:99px;border:1px solid rgba(246,217,142,.45);background:transparent;color:#F6D98E;font:800 13px Vazirmatn,sans-serif;cursor:pointer}
/* the grand finale: the Simorgh, wings across the whole screen */
.shn-rv-wings{position:fixed;left:50%;top:44%;width:min(160vw,1200px);height:min(90vw,640px);transform:translate(-50%,-50%);pointer-events:none;z-index:-1;opacity:0;transition:opacity 1.2s .4s}
.shn-rv-one.grand.in .shn-rv-wings{opacity:1}
.shn-rv-wings span{position:absolute;top:0;width:50%;height:100%}
.shn-rv-wings svg{width:100%;height:100%;overflow:visible}
.shn-rv-wings .l{right:50%;transform-origin:100% 70%}.shn-rv-wings .l svg{transform:scaleX(-1)}.shn-rv-wings .r{left:50%;transform-origin:0 70%}
.shn-rv-one.grand.in .shn-rv-wings .l{animation:shnBigL 2.2s cubic-bezier(.45,0,.55,1) infinite}
.shn-rv-one.grand.in .shn-rv-wings .r{animation:shnBigR 2.2s cubic-bezier(.45,0,.55,1) infinite}
.shn-rv-one.grand{animation:shnBob 3.6s ease-in-out infinite}
@keyframes shnBigL{0%,100%{transform:rotate(14deg)}50%{transform:rotate(-14deg) scaleY(.85)}}
@keyframes shnBigR{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(14deg) scaleY(.85)}}
.shn-rv-sum{width:100%;max-width:1000px;text-align:center;color:#F2E6C8}
.shn-rv-sum h3{margin:0;font:700 clamp(26px,5vw,40px)/2 "Noto Nastaliq Urdu",Lalezar,serif;color:#F6D98E}
.shn-rv-ty{max-width:560px;margin:0 auto 16px;line-height:2;font-size:15px}
.shn-rv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:18px 14px;margin:10px 0 20px}
.shn-rv-c{display:flex;flex-direction:column;gap:8px;align-items:center}
.shn-rv-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding-bottom:20px}
.shn-rv-book{max-width:520px;margin:4px auto 14px;padding:12px 16px;border-radius:14px;border:1px solid rgba(233,185,90,.5);background:linear-gradient(135deg,rgba(22,58,138,.55),rgba(12,33,96,.55));text-align:center}.shn-rv-book b{display:block;font:400 18px/1.5 Lalezar,Vazirmatn,sans-serif;color:#FFE3A0}.shn-rv-book span{display:block;font-size:13px;opacity:.85;margin:2px 0 10px}
.shn-rv-book.on{border-color:rgba(255,214,120,.9);box-shadow:0 0 24px -6px rgba(255,200,90,.7)}.shn-rv-book small{display:block;margin-top:10px;font-size:12px;opacity:.75;line-height:1.7}
html.lite .shn-rv *,html.lite .shn-v *{transition-duration:.2s!important}
@media (prefers-reduced-motion:reduce){.shn-rv *,.shn-v *{transition:none!important;animation:none!important}}

/* ---------- the shop shelf ---------- */
.shs{position:relative;overflow:hidden;border-radius:22px;padding:34px clamp(14px,3vw,36px) 28px;color:#F2E6C8;background:radial-gradient(70% 50% at 50% 0%,rgba(233,185,90,.22),transparent 70%),radial-gradient(circle,rgba(233,185,90,.16) 0 1.2px,transparent 1.6px) 0 0/26px 26px,linear-gradient(180deg,#0E1640,#080a1e 70%);box-shadow:inset 0 0 0 1px rgba(246,217,142,.35),inset 0 0 0 6px #080a1e,inset 0 0 0 7px rgba(246,217,142,.5),0 30px 60px -30px #000}
.shs-sky{position:absolute;inset:0;pointer-events:none;background:radial-gradient(1px 1px at 10% 20%,#fff,transparent),radial-gradient(1px 1px at 30% 10%,#fff,transparent),radial-gradient(1.5px 1.5px at 70% 18%,#fff,transparent),radial-gradient(1px 1px at 88% 30%,#fff,transparent),radial-gradient(1px 1px at 50% 6%,#fff,transparent);opacity:.7}
.shs-top{position:relative;text-align:center}
.shs-tag{display:inline-block;padding:5px 14px;border-radius:99px;font-weight:900;font-size:12px;color:#2A1606;background:linear-gradient(180deg,#F6D98E,#C98F36)}
.shs-own{display:inline-block;margin-inline-start:8px;padding:5px 12px;border-radius:99px;font-size:12px;font-weight:800;background:rgba(255,255,255,.08);color:#FFE0A0}
.shs-sar{display:block;width:min(560px,100%);height:44px;margin:10px auto -40px}
.shs-h{margin:0;font:700 clamp(54px,11vw,96px)/1.7 "Noto Nastaliq Urdu",Lalezar,serif;color:transparent;background:linear-gradient(180deg,#FFF6D6,#F2C66A 55%,#B07A2A);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 4px 12px rgba(0,0,0,.6))}
.shs-sub{max-width:640px;margin:-6px auto 6px;font-size:15px;line-height:2;opacity:.9}
.shs-why{max-width:640px;margin:0 auto;font-size:15px;line-height:2;color:#FFE9B0}
.shs-fan{position:relative;display:flex;justify-content:center;align-items:flex-end;height:clamp(260px,40vw,380px);margin:26px 0 10px}
.shs-fan>span{position:absolute;bottom:0;width:clamp(110px,17vw,170px);transform:translateX(calc(var(--i) * -88%)) translateY(calc(abs(var(--i)) * 18px)) rotate(calc(var(--i) * -7deg));transform-origin:50% 120%}
.shs-fan>span.mid{width:clamp(150px,23vw,230px);z-index:3;bottom:30px}
.shs-fan>span:not(.mid){z-index:2}
@supports not (width:abs(-1px)){.shs-fan>span{transform:translateX(calc(var(--i) * -88%)) rotate(calc(var(--i) * -7deg))}}
.shs-panel{position:relative;z-index:4;max-width:620px;margin:0 auto;padding:20px clamp(14px,3vw,26px);border-radius:18px;background:rgba(8,10,30,.72);box-shadow:inset 0 0 0 1px rgba(246,217,142,.4);backdrop-filter:blur(4px)}
.shs-clock{text-align:center}
.shs-clock>span{font-size:13px;font-weight:800;opacity:.75}
.shs-clock>div{display:flex;justify-content:center;align-items:baseline;gap:4px 6px;flex-wrap:wrap;margin-top:4px}
.shs-clock b{font:400 30px/1.2 Lalezar,Vazirmatn,sans-serif;color:#F6D98E;min-width:1.4em;text-align:center}
.shs-clock small{font-size:12px;opacity:.7;margin-inline-end:8px}
.shs-done{text-align:center;font-weight:800;line-height:2;color:#FFE9B0}
.shs-raised{display:flex;flex-direction:column;align-items:center;margin:14px 0 6px;padding:12px;border-radius:14px;background:linear-gradient(180deg,rgba(233,185,90,.14),rgba(233,185,90,.04));box-shadow:inset 0 0 0 1px rgba(233,185,90,.3)}
.shs-raised span{font-size:13px;font-weight:800;opacity:.8}
.shs-raised b{font:400 clamp(28px,6vw,40px)/1.3 Lalezar,Vazirmatn,sans-serif;color:#F6D98E}
.shs-raised b small{font-size:.45em}
.shs-raised em{font-style:normal;font-size:13px;opacity:.8}
.shs-amt{margin-top:14px;text-align:center}
.shs-q{margin:0 0 8px;font-weight:900}
.shs-chips{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.shs-chips button{padding:12px 4px;border-radius:12px;border:1px solid rgba(246,217,142,.35);background:rgba(255,255,255,.04);color:#F6D98E;font:900 14px Vazirmatn,sans-serif;cursor:pointer}
.shs-chips button.on{background:linear-gradient(180deg,#F6D98E,#C98F36);color:#2A1606;border-color:transparent}
.shs-in{display:flex;align-items:center;gap:8px;margin:12px 0 6px;padding:6px 12px;border-radius:12px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(246,217,142,.3)}
.shs-in span{font-size:13px;font-weight:800;opacity:.8;white-space:nowrap}
.shs-in input{flex:1;min-width:0;border:0;background:transparent;color:#fff;font:800 18px Vazirmatn,sans-serif;text-align:center;outline:0;padding:6px 0}
.shs-in em{font-style:normal;font-size:13px;opacity:.7}
#shsRange{width:100%;accent-color:#E9B95A}
.shs-words{margin:4px 0 10px;font-weight:800;color:#FFE9B0}.shs-words.bad{color:#FF8A7A}
.shs-pay{display:block;width:100%;padding:16px 14px;border:0;border-radius:14px;background:linear-gradient(180deg,#FFE7A6,#E0A845 55%,#B07A2A);color:#2A1606;font:900 16px/1.6 Vazirmatn,sans-serif;cursor:pointer;box-shadow:0 12px 30px -10px rgba(255,190,80,.7),inset 0 1px 0 rgba(255,255,255,.6)}
.shs-pay:disabled,.shs-gift:disabled{opacity:.45;cursor:not-allowed}
.shs-gift{margin-top:8px;padding:9px 18px;border-radius:99px;border:1px solid rgba(246,217,142,.4);background:transparent;color:#F6D98E;font:800 13px Vazirmatn,sans-serif;cursor:pointer}
.shs-mine{text-align:center;font-weight:800;color:#FFE9B0;margin:12px 0 0}
.shs-mine button,.shs-adm button{margin-inline-start:6px;padding:6px 14px;border-radius:99px;border:1px solid rgba(246,217,142,.4);background:transparent;color:#F6D98E;font:800 12px Vazirmatn,sans-serif;cursor:pointer}
.shs-notes{margin:14px 0 0;padding:0 18px 0 0;font-size:13px;line-height:2;opacity:.85}
.shs-rep{margin-top:14px;padding:12px 14px;border-radius:12px;background:rgba(80,200,140,.08);box-shadow:inset 0 0 0 1px rgba(120,220,160,.35);line-height:2;font-size:14px}
.shs-inv{display:flex;gap:8px;flex-wrap:wrap}.shs-inv a{color:#9FE8C0;font-weight:800}
.shs-adm{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;align-items:center;font-size:13px}.shs-adm a{color:#F6D98E;font-weight:800}
.shs-all{position:relative;margin-top:26px;text-align:center}
.shs-all>p{font-weight:900;margin:0 0 12px}.shs-all small{opacity:.6;font-weight:600}
.shs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:16px 12px}
@media (max-width:620px){.shs-chips{grid-template-columns:repeat(2,1fr)}.shs-fan>span{transform:translateX(calc(var(--i) * -70%)) rotate(calc(var(--i) * -7deg))}.shs-fan>span:not(.mid){width:96px}.shs-grid{grid-template-columns:repeat(2,1fr);gap:14px 12px}}

/* ---------- the showcase slots ---------- */
.vt-card.vt-shn{aspect-ratio:5/7;perspective:none;overflow:visible}
.sxo-c .vt-card.vt-shn{width:150px}

/* ---------- /lab/shahnameh ---------- */
.shl-body{margin:0;background:#0b0d1c;color:#E8ECF5;font:14px/1.9 Vazirmatn,sans-serif;direction:rtl}
.shl{max-width:1200px;margin:0 auto;padding:16px;overflow-x:hidden}
.shl h1{font:400 26px Lalezar,sans-serif;margin:6px 0}
.shl-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px;border-radius:14px;background:#141833;margin:10px 0}
.shl button,.shl select{font:800 13px Vazirmatn,sans-serif;padding:8px 14px;border-radius:10px;border:1px solid #3a4280;background:#1d2350;color:#fff;cursor:pointer}
.shl button.gold{background:linear-gradient(180deg,#F6D98E,#C98F36);color:#2A1606;border:0}
.shl button:disabled{opacity:.5;cursor:default}
.shl-note{font-size:13px;opacity:.8}.shl-err{color:#FF9A8A;font-weight:800}
.shl-ok{color:#9FE8C0;font-weight:800}
.shl-c{display:grid;grid-template-columns:200px 1fr;gap:16px;padding:14px;border-radius:16px;background:#121630;margin:12px 0}
.shl-c h3{margin:0;font:700 26px/1.8 "Noto Nastaliq Urdu",Lalezar,serif;color:#F6D98E}
.shl-cand{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-top:8px}
.shl-cand figure{margin:0;position:relative;border-radius:10px;overflow:hidden;background:#000;box-shadow:inset 0 0 0 2px transparent}
.shl-cand figure.on{box-shadow:0 0 0 3px #F6D98E}
.shl-cand img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;cursor:zoom-in}
.shl-cand figcaption{display:flex;gap:4px;padding:4px}.shl-cand figcaption button{flex:1;padding:5px 4px;font-size:12px}
.shl textarea,.shl input[type=text]{width:100%;box-sizing:border-box;background:#0b0e22;color:#fff;border:1px solid #2a3166;border-radius:10px;padding:8px;font:13px/1.8 Vazirmatn,sans-serif}
.shl details{font-size:12px;opacity:.85}.shl details pre{white-space:pre-wrap;direction:ltr;text-align:left;font-size:11px}
@media (max-width:700px){.shl-c{grid-template-columns:1fr}.shl-c>.shn{max-width:200px}}

/* ---------- 🪟 «پک شاهنامه اومد» ---------- */
.shn-in{position:fixed;inset:0;z-index:9993;display:flex;padding:16px;background:rgba(3,4,12,.78);opacity:0;transition:opacity .45s;overflow:auto}
.shn-in.in{opacity:1}
.shn-in-box{position:relative;margin:auto;width:min(760px,100%);border-radius:24px;overflow:hidden;padding:30px clamp(16px,4vw,40px) 26px;color:#F2E6C8;text-align:center;transform:translateY(24px) scale(.96);transition:transform .7s cubic-bezier(.2,.8,.2,1);
  background:radial-gradient(60% 45% at 50% 22%,rgba(255,170,60,.28),transparent 70%),radial-gradient(circle,rgba(233,185,90,.16) 0 1.2px,transparent 1.6px) 0 0/24px 24px,linear-gradient(180deg,#121a4a,#070918 75%);
  box-shadow:inset 0 0 0 1px rgba(246,217,142,.5),inset 0 0 0 7px #070918,inset 0 0 0 8px rgba(246,217,142,.6),0 40px 90px -20px #000}
.shn-in.in .shn-in-box{transform:none}
.shn-in-cv{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.shn-in-box>:not(.shn-in-cv):not(.shn-x){position:relative;z-index:1}
.shn-in-box .shn-x{position:absolute;z-index:3}
.shn-in-cards{position:relative;height:clamp(210px,40vw,300px);margin:6px 0 4px}
.shn-in-cards>span{position:absolute;bottom:0;left:50%}
.shn-in-cards .m{width:clamp(140px,26vw,190px);margin-left:calc(clamp(140px,26vw,190px) / -2);bottom:14px;z-index:2;opacity:0;transform:translateY(60px) scale(.7);transition:transform 1.3s .35s cubic-bezier(.16,.9,.25,1),opacity .8s .35s}
.shn-in-cards .s{width:clamp(100px,18vw,136px);margin-left:calc(clamp(100px,18vw,136px) / -2);z-index:1;opacity:0;transition:transform 1.1s .8s cubic-bezier(.16,.9,.25,1),opacity .8s .8s}
.shn-in-cards .s.a{transform:translateX(0) rotate(0)}.shn-in-cards .s.b{transform:translateX(0) rotate(0)}
.shn-in.in .shn-in-cards .m{opacity:1;transform:none}
.shn-in.in .shn-in-cards .s.a{opacity:.92;transform:translateX(105%) rotate(9deg)}
.shn-in.in .shn-in-cards .s.b{opacity:.92;transform:translateX(-105%) rotate(-9deg)}
.shn-in-tag{display:inline-block;padding:5px 14px;border-radius:99px;font-weight:900;font-size:12px;color:#2A1606;background:linear-gradient(180deg,#F6D98E,#C98F36)}
.shn-in-tx h2{margin:2px 0 0;font:700 clamp(34px,7vw,54px)/1.9 "Noto Nastaliq Urdu",Lalezar,serif;color:transparent;background:linear-gradient(180deg,#FFF6D6,#F2C66A 55%,#B07A2A);-webkit-background-clip:text;background-clip:text}
.shn-in-tx p{max-width:560px;margin:4px auto;line-height:2;font-size:15px}
.shn-in-big{font-size:17px!important;color:#FFE9B0}.shn-in-big b{color:#fff;border-bottom:2px solid #E9B95A}
.shn-in-small{font-size:13px!important;opacity:.8}
.shn-in-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.shn-in-tx{opacity:0;transform:translateY(12px);transition:opacity .8s .9s,transform .8s .9s}.shn-in.in .shn-in-tx{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.shn-in *,.shn-in{transition:none!important}}
/* ⏳ (۲۶ آبان) «روزهای آخر» پک شاهنامه: شمارش معکوس زنده، روبان طلایی (سرطان کودکان)، جمع کمک‌ها، کارت‌ها و ویترین کتاب */
.shn-ls{position:fixed;inset:0;z-index:9994;display:flex;padding:14px;background:radial-gradient(ellipse at 50% 20%,rgba(60,36,6,.55),rgba(3,4,12,.86) 70%);opacity:0;transition:opacity .45s;overflow:auto;-webkit-overflow-scrolling:touch}
.shn-ls.in{opacity:1}
.shn-ls-box{position:relative;margin:auto;width:min(720px,100%);border-radius:26px;overflow:hidden;padding:20px clamp(14px,4vw,38px) 22px;color:#F2E6C8;text-align:center;background:radial-gradient(ellipse 80% 50% at 50% 0,rgba(242,194,85,.22),transparent 70%),linear-gradient(180deg,#14203F,#0B1230 55%,#090D20);box-shadow:0 0 0 1px rgba(233,185,90,.55),0 0 0 6px rgba(12,18,44,.9),0 0 0 7px rgba(233,185,90,.3),0 30px 80px -10px rgba(0,0,0,.8),0 0 120px -20px rgba(242,194,85,.45);transform:translateY(24px) scale(.97);transition:transform .7s cubic-bezier(.16,.9,.25,1)}
.shn-ls.in .shn-ls-box{transform:none}
.shn-ls-cv{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.shn-ls-box>:not(.shn-ls-cv):not(.shn-x){position:relative;z-index:1}
.shn-ls-box .shn-x{position:absolute;z-index:3}
.shn-ls-top{position:relative;height:96px;margin:2px 0 0}
.shn-ls-rib{position:absolute;left:50%;top:0;width:60px;height:94px;margin-left:-30px;filter:drop-shadow(0 0 14px rgba(242,194,85,.75));animation:shnLsRib 3.2s ease-in-out infinite}
.shn-ls-rib svg{width:100%;height:100%;display:block}
@keyframes shnLsRib{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
.shn-ls-ecg{position:absolute;left:0;right:0;top:40px;width:100%;height:36px;overflow:visible}
.shn-ls-ecg path{fill:none;stroke:#F2C255;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:420 600;stroke-dashoffset:420;filter:drop-shadow(0 0 4px rgba(242,194,85,.9));animation:shnLsEcg 2.6s linear infinite;opacity:.85}
@keyframes shnLsEcg{to{stroke-dashoffset:-600}}
.shn-ls-tag{display:inline-block;padding:5px 14px;border-radius:99px;font-weight:900;font-size:12px;color:#2A1606;background:linear-gradient(180deg,#F6D98E,#C98F36)}
.shn-ls-box h2{margin:8px 0 0;font:400 clamp(30px,7.4vw,48px)/1.35 Lalezar,Vazirmatn,sans-serif;color:transparent;background:linear-gradient(180deg,#FFF6D6,#F2C66A 55%,#C8892E);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 3px 0 rgba(40,20,4,.7))}
.shn-ls-sub{margin:2px auto 12px;max-width:520px;font-size:14px;line-height:2;color:#E8D8B4}
.shn-ls-cd{display:flex;justify-content:center;gap:clamp(6px,2vw,12px);direction:rtl;margin:0 auto 14px}
.shn-ls-cd span{min-width:clamp(62px,17vw,86px);padding:10px 4px 8px;border-radius:16px;background:linear-gradient(180deg,rgba(255,236,190,.12),rgba(255,236,190,.03));box-shadow:inset 0 0 0 1px rgba(233,185,90,.5),0 8px 22px -10px rgba(0,0,0,.7)}
.shn-ls-cd b{display:block;font:400 clamp(30px,8vw,44px)/1.1 Lalezar,Vazirmatn,sans-serif;color:#FFE3A0;text-shadow:0 0 18px rgba(242,194,85,.55);font-variant-numeric:tabular-nums}
.shn-ls-cd small{display:block;margin-top:2px;font-size:12px;font-weight:800;color:#CDBB93}
.shn-ls-big{max-width:560px;margin:6px auto 12px;font-size:clamp(15px,3.6vw,18px);line-height:2;font-weight:800;color:#FFF1CF}
.shn-ls-big b{color:#fff;border-bottom:2px solid #E9B95A}
.shn-ls-raised{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:12px 22px;margin:0 auto 14px;border-radius:18px;background:linear-gradient(135deg,rgba(242,194,85,.18),rgba(242,194,85,.06));box-shadow:inset 0 0 0 1px rgba(233,185,90,.55)}
.shn-ls-raised b{font:400 clamp(24px,6vw,34px)/1.4 Lalezar,Vazirmatn,sans-serif;color:#FFE3A0}
.shn-ls-raised b i{font-style:normal;font-variant-numeric:tabular-nums}
.shn-ls-raised small{font-size:12.5px;color:#D9C9A4}
.shn-ls-gets{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:4px 0 12px}
.shn-ls-g{padding:12px 10px 12px;border-radius:18px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(233,185,90,.3)}
.shn-ls-g b{display:block;margin-top:8px;font:400 17px/1.5 Lalezar,Vazirmatn,sans-serif;color:#FFE3A0}
.shn-ls-g small{display:block;font-size:12px;line-height:1.8;color:#CDBB93}
.shn-ls-fan{position:relative;height:150px}
.shn-ls-fan>span{position:absolute;left:50%;bottom:0;width:92px;margin-left:-46px;transform-origin:50% 110%;transform:rotate(calc((var(--i) - 1) * 14deg));transition:transform .9s cubic-bezier(.16,.9,.25,1)}
.shn-ls-fan>span:nth-child(2){z-index:2;transform:translateY(-6px)}
.shn-ls-book{position:relative;height:150px;display:flex;justify-content:center;align-items:center;perspective:600px}
.shn-ls-book .pg{position:relative;width:96px;height:132px;background:linear-gradient(90deg,#F4E6C4,#EAD7AA);box-shadow:inset 0 0 0 2px #C9963E,0 10px 20px -8px rgba(0,0,0,.8)}
.shn-ls-book .pg.l{border-radius:8px 2px 2px 8px;transform:rotateY(14deg);transform-origin:100% 50%;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:0 12px}
.shn-ls-book .pg.l i{display:block;height:3px;border-radius:2px;background:rgba(90,58,18,.45)}
.shn-ls-book .pg.l i:nth-child(odd){width:80%;margin-right:auto}
.shn-ls-book .pg.r{border-radius:2px 8px 8px 2px;transform:rotateY(-14deg);transform-origin:0 50%;display:grid;place-items:center;padding:6px}
.shn-ls-book .pg.r .shn{width:78px}
.shn-ls-book .spine{position:absolute;left:50%;top:6px;bottom:6px;width:4px;margin-left:-2px;background:linear-gradient(180deg,#7A4C14,#C9963E,#7A4C14);border-radius:2px}
.shn-ls-thx{max-width:540px;margin:0 auto 10px;font-size:13.5px;line-height:2;color:#FFE9B0}
.shn-ls-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:6px}
.shn-ls-act .shn-btn:first-child{min-width:200px;font-size:16px;animation:shnLsBtn 2.4s ease-in-out infinite}
@keyframes shnLsBtn{0%,100%{box-shadow:0 0 0 0 rgba(242,194,85,.6)}50%{box-shadow:0 0 0 10px rgba(242,194,85,0)}}
.shn-ls-note{margin:12px auto 0;max-width:520px;font-size:12px;line-height:1.9;color:#B7A784}
.shn-ls-box>*{opacity:0;transform:translateY(10px);transition:opacity .7s,transform .7s}
.shn-ls.in .shn-ls-box>*{opacity:1;transform:none}
.shn-ls.in .shn-ls-box>:nth-child(4){transition-delay:.15s}.shn-ls.in .shn-ls-box>:nth-child(5){transition-delay:.25s}.shn-ls.in .shn-ls-box>:nth-child(6){transition-delay:.35s}.shn-ls.in .shn-ls-box>:nth-child(7){transition-delay:.45s}.shn-ls.in .shn-ls-box>:nth-child(8){transition-delay:.55s}.shn-ls.in .shn-ls-box>:nth-child(9){transition-delay:.65s}.shn-ls.in .shn-ls-box>:nth-child(10){transition-delay:.75s}
.shn-ls-box>.shn-ls-cv,.shn-ls-box>.shn-x{opacity:1;transform:none}
@media (max-width:520px){.shn-ls-box{padding:14px 12px 16px}.shn-ls-gets{grid-template-columns:1fr 1fr;gap:8px}.shn-ls-fan,.shn-ls-book{height:110px}.shn-ls-fan>span{width:66px;margin-left:-33px}.shn-ls-book .pg{width:64px;height:92px}.shn-ls-book .pg.l{gap:7px;padding:0 9px}.shn-ls-book .pg.r .shn{width:54px}.shn-ls-g{padding:10px 6px}.shn-ls-g b{font-size:15px}.shn-ls-g small{font-size:11.5px}.shn-ls-top{height:70px}.shn-ls-rib{width:44px;height:68px;margin-left:-22px}.shn-ls-ecg{top:26px}.shn-ls-sub{font-size:13px;margin-bottom:10px}.shn-ls-big{margin-bottom:10px}.shn-ls-raised{padding:10px 16px;margin-bottom:10px}.shn-ls-note{margin-top:8px}}
html.lite .shn-ls-rib,html.lite .shn-ls-ecg path,html.lite .shn-ls-act .shn-btn:first-child{animation:none}html.lite .shn-ls-ecg path{stroke-dasharray:none;stroke-dashoffset:0}
@media (prefers-reduced-motion:reduce){.shn-ls,.shn-ls *{transition:none!important;animation:none!important}.shn-ls-ecg path{stroke-dasharray:none;stroke-dashoffset:0}}
