/* پت‌جات (lk-pet): ظاهر مخصوص دنیای حیوون‌های خونگی؛ جدا از بقیه‌ی زیرمجموعه‌ها.
   نقش‌ها در css/pet/ (ساخته‌شده با scripts/pet-ornaments.js) */
/* پس‌زمینه: ردپای راه‌رونده و اسباب‌بازی‌های شناور */
.sbg.pet .pp{width:24px;height:26px;left:var(--x);top:var(--y);background:url(pet/paw-o.svg) center/contain no-repeat;opacity:0;transform:rotate(var(--r));animation:pet-step 16s var(--d) infinite}
.sbg.pet .pp.t{background-image:url(pet/paw-t.svg)}
@keyframes pet-step{0%{opacity:0;transform:rotate(var(--r)) scale(.5)}3%{opacity:.26;transform:rotate(var(--r)) scale(1)}35%{opacity:.18}55%,100%{opacity:0;transform:rotate(var(--r)) scale(1)}}
.sbg.pet .pf{left:var(--x);top:var(--y);width:var(--s);height:var(--s);background:center/contain no-repeat;opacity:.16;animation:pet-float var(--d) ease-in-out var(--w) infinite alternate}
.sbg.pet .pf-yarn{background-image:url(pet/yarn.svg)}.sbg.pet .pf-fish{background-image:url(pet/fish.svg)}.sbg.pet .pf-bone{background-image:url(pet/bone.svg)}
@keyframes pet-float{from{transform:translate(0,0) rotate(-12deg)}to{transform:translate(18px,-26px) rotate(14deg)}}
/* زیر هدر: نوار قلاده با کوک و پرچ */
body.lk-pet header.top{border-bottom:0;box-shadow:none}
body.lk-pet header.top::after{content:"";display:block;height:14px;background:url(pet/band.svg) repeat-x 0 0/62px 14px;box-shadow:0 3px 8px rgba(120,60,10,.15)}
/* صفحه‌ی اصلی: گربه‌ی خوابیده‌ی خطی و کامواش */
body.lk-pet .hero{background-image:url(pet/sleeping.svg),url(pet/tile.svg);background-repeat:no-repeat,repeat;background-position:3% 96%,0 0;background-size:min(300px,32%) auto,220px}
body.lk-pet .hero::after{content:"";position:absolute;width:56px;height:42px;right:6%;bottom:22px;background:url(pet/yarn.svg) center/contain no-repeat;opacity:.55;animation:pet-roll 9s ease-in-out infinite alternate;pointer-events:none}
@keyframes pet-roll{from{transform:translateX(0) rotate(0)}to{transform:translateX(-40px) rotate(-200deg)}}
body.lk-pet .hero{position:relative}
/* جداکننده‌ی ردپا بین بخش‌ها و نشان پنجه کنار تیترها */
body.lk-pet main .sec+.sec::before,body.lk-pet main section.sec~section.sec::before{content:"";display:block;width:min(520px,88%);height:44px;margin:0 auto 22px;background:url(pet/divider.svg) center/contain no-repeat}
body.lk-pet .sec-h h2::before,body.lk-pet .post-x h2::before{content:"";display:inline-block;vertical-align:-2px;margin-inline-end:10px;width:22px;height:24px;background:linear-gradient(135deg,var(--acc),var(--acc2));-webkit-mask:url(pet/paw.svg) center/contain no-repeat;mask:url(pet/paw.svg) center/contain no-repeat}
/* کارت‌ها: ردپای کوچک در گوشه، و یه پنجه‌ی تازه موقع هاور */
body.lk-pet .card{background-image:url(pet/corner.svg);background-repeat:no-repeat;background-size:46px 46px;background-position:top 2px right 2px;transition:transform .25s,box-shadow .25s}
body.lk-pet a.card:hover{transform:translateY(-3px) rotate(-.3deg)}
/* مقاله: عکس‌ها مثل پولاروید با چسب و مهر پنجه */
body.lk-pet .post-x>figure{background:#fff;padding:12px 12px 40px;border-radius:4px;box-shadow:0 10px 26px rgba(80,45,10,.16),0 1px 3px rgba(0,0,0,.08);transform:rotate(-.6deg);position:relative;margin-inline:auto;max-width:96%}
body.lk-pet .post-x>figure:nth-of-type(even){transform:rotate(.6deg)}
body.lk-pet .post-x>figure::before{content:"";position:absolute;top:-12px;left:50%;width:110px;height:26px;transform:translateX(-50%) rotate(-3deg);background:rgba(32,163,158,.28);border-left:2px dashed rgba(255,255,255,.6);border-right:2px dashed rgba(255,255,255,.6);z-index:2}
body.lk-pet .post-x>figure::after{content:"";position:absolute;left:14px;bottom:8px;width:26px;height:28px;background:url(pet/paw-o.svg) center/contain no-repeat;opacity:.75;transform:rotate(-14deg)}
body.lk-pet .post-x>figure img{box-shadow:none;border-radius:2px}
body.lk-pet .post-x>figure figcaption{font-family:inherit;margin-top:8px}
body.lk-pet .post-x h2{border-inline-start:0;padding-inline-start:0}
body.lk-pet .post-x h1::after{content:"";display:block;width:min(400px,92%);height:40px;margin:10px 0 0;background:url(pet/divider.svg) right center/contain no-repeat}
body.lk-pet .post-x .share::before,body.lk-pet .post-x .faq-h::before{content:"";display:block;width:100%;height:40px;margin:24px 0 14px;background:url(pet/divider.svg) center/contain no-repeat}
body.lk-pet .post-x .share{flex-wrap:wrap}
/* نکته‌ها مثل پلاک قلاده */
body.lk-pet .post blockquote,body.lk-pet .post .tip{border-inline-start:0;position:relative;padding:16px 70px 16px 18px;background:color-mix(in srgb,var(--acc) 7%,var(--surface)) url(pet/tag.svg) right 12px center/46px no-repeat;border:2px dashed color-mix(in srgb,var(--acc) 45%,transparent);border-radius:22px}
body.lk-pet .post-x table th{background:color-mix(in srgb,var(--acc) 14%,var(--surface))}
/* فوتر: گربه، سگ، خرگوش و تُنگ ماهی روی لبه‌ی فوتر نشستن */
body.lk-pet .foot{position:relative;margin-top:150px;border-top:0;padding-top:34px;background-color:var(--s2);background-image:url(pet/tile.svg);background-size:220px}
body.lk-pet .foot::before{content:"";position:absolute;left:0;right:0;top:-128px;height:130px;background:url(pet/skyline.svg) center bottom/auto 130px no-repeat;pointer-events:none}
body.lk-pet .foot::after{content:"";position:absolute;left:0;right:0;top:0;height:14px;background:url(pet/band.svg) repeat-x 0 0/62px 14px}
@media (max-width:640px){body.lk-pet .foot{margin-top:100px}body.lk-pet .foot::before{top:-84px;height:86px;background-image:url(pet/skyline-m.svg);background-size:auto 86px}body.lk-pet .hero{background-size:200px auto,180px}body.lk-pet .card{background-size:32px 32px}.sbg.pet .pf:nth-of-type(n+4){display:none}}
@media (prefers-reduced-motion:reduce){.sbg.pet .pp{animation:none;opacity:.12}.sbg.pet .pf,body.lk-pet .hero::after{animation:none}}
html[data-theme=dark] body.lk-pet .foot::before{filter:brightness(1.5) saturate(.9)}
