/* لباس: لایه‌ی تزئینی با نقش‌های پوشاک و لباس — ساخته‌ی scripts/branch-decor.js */
body.dc::after{content:"";position:fixed;z-index:0;pointer-events:none;width:340px;height:340px;inset-inline-end:-120px;bottom:-120px;background:url(lebas/medal-faint.svg) center/contain no-repeat;animation:dc-spin 240s linear infinite}
body.dc::before{content:"";position:fixed;z-index:0;pointer-events:none;width:240px;height:240px;inset-inline-start:-100px;top:130px;background:url(lebas/medal-faint.svg) center/contain no-repeat;animation:dc-spin 300s linear infinite reverse}
@keyframes dc-spin{to{transform:rotate(360deg)}}
body.dc header.top{border-bottom:0;box-shadow:none}
body.dc header.top::after{content:"";display:block;height:10px;background:url(lebas/band.svg) repeat-x 0 0/23px 10px;opacity:.9}
body.dc .hero{background-image:url(lebas/hero.svg),url(lebas/medal-faint.svg);background-repeat:repeat,no-repeat;background-position:0 0,94% 60%;background-size:300px,200px}
body.dc main .sec+.sec::before,body.dc main section.sec~section.sec::before{content:"";display:block;width:min(500px,86%);height:46px;margin:0 auto 22px;background:url(lebas/divider.svg) center/contain no-repeat}
body.dc .sec-h h2::before{content:"";display:inline-block;vertical-align:middle;margin-inline-end:10px;width:24px;height:24px;background:var(--acc);-webkit-mask:url(lebas/icon.svg) center/contain no-repeat;mask:url(lebas/icon.svg) center/contain no-repeat}
body.dc .card{background-image:url(lebas/corner.svg),url(lebas/corner-bl.svg);background-repeat:no-repeat;background-size:34px 34px;background-position:top 5px right 5px,bottom 5px left 5px}
body.dc .post-x h2{border-inline-start:0;padding-inline-start:34px;position:relative}
body.dc .post-x h2::before{content:"";position:absolute;inset-inline-start:0;top:.25em;width:24px;height:24px;background:var(--acc);-webkit-mask:url(lebas/icon.svg) center/contain no-repeat;mask:url(lebas/icon.svg) center/contain no-repeat}
body.dc .post-x>figure{padding:10px;border:1px solid #2f4b8a;border-radius:calc(var(--r) + 8px);background:var(--surface) url(lebas/corner.svg) top 2px right 2px/32px no-repeat;position:relative;box-shadow:inset 0 0 0 4px var(--surface),inset 0 0 0 5px #6c8ed8}
body.dc .post-x>figure::after{content:"";position:absolute;left:2px;bottom:2px;width:32px;height:32px;background:url(lebas/corner-bl.svg) center/contain no-repeat;pointer-events:none}
body.dc .post-x>figure img{box-shadow:none}
body.dc .post-x h1::after{content:"";display:block;width:min(400px,90%);height:40px;margin:10px 0 0;background:url(lebas/divider.svg) right center/contain no-repeat}
body.dc .post-x .share::before,body.dc .post-x .faq-h::before{content:"";display:block;width:100%;height:42px;margin:24px 0 14px;background:url(lebas/divider.svg) center/contain no-repeat}
body.dc .post-x .share{flex-wrap:wrap}
body.dc .post blockquote,body.dc .post .tip{border-inline-start:0;padding:14px 46px 14px 18px;background:color-mix(in srgb,var(--acc) 7%,var(--surface)) url(lebas/corner.svg) top 4px right 4px/28px no-repeat;border:1px dashed color-mix(in srgb,#2f4b8a 55%,transparent);border-radius:14px}
body.dc .post-x table th{background:color-mix(in srgb,#2f4b8a 14%,var(--surface))}
body.dc .foot{position:relative;border-top:0;padding-top:32px}
body.dc .foot::before{content:"";position:absolute;top:0;left:0;right:0;height:16px;background:url(lebas/band.svg) repeat-x 0 0/37px 16px}
@media (max-width:640px){body.dc::before{display:none}body.dc::after{width:210px;height:210px;bottom:-85px;inset-inline-end:-85px}body.dc .card{background-size:28px 28px}body.dc .hero{background-size:220px,140px}}
@media (prefers-reduced-motion:reduce){body.dc::before,body.dc::after{animation:none}}
html[data-theme=dark] body.dc::before,html[data-theme=dark] body.dc::after{opacity:.6}
