/* Tarheroya-WooExtraField | سفید، طوسی، مشکی
   پیشوند html body: تا ریست «.trwd *» قالب، فاصله‌ها را صفر نکند */
html body .trwx-specs,html body .trwx-free,html body .trwx-video,html body .trwd-dlp{--x-ink:#18181B;--x-mu:#71717A;--x-ln:#E4E4E7;--x-soft:#F4F4F5;--x-e:cubic-bezier(.2,.75,.2,1);font-family:inherit;direction:rtl;text-align:right}

/* ---------- مشخصات دانلود ---------- */
html body .trwx-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;margin:16px 0 4px}
html body .trwx-spec{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border-radius:14px;background:var(--x-soft);border:1px solid var(--x-ln);color:var(--x-ink)}
html body .trwx-spec-ic{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff}
html body .trwx-spec-ic svg{width:18px;height:18px}
html body .trwx-spec-t{display:flex;flex-direction:column;min-width:0;line-height:1.5}
html body .trwx-spec-t small{font-size:11.5px;opacity:.65}
html body .trwx-spec-t b{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* روی هدر تیره‌ی صفحه‌ی محصول طرح رویا */
html body .trs-hero .trwx-spec{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#F4F4F5}
html body .trs-hero .trwx-spec-ic{background:rgba(255,255,255,.1)}

/* ---------- دانلود رایگان ---------- */
html body .trwx-free{margin:14px 0 6px;padding:14px;border-radius:20px;background:#fff;color:var(--x-ink);border:1px solid var(--x-ln);box-shadow:0 20px 50px -30px rgba(0,0,0,.6)}
html body .trwx-free-h{display:flex;align-items:center;gap:10px;margin:0 2px 12px;font-size:14px}
html body .trwx-free-h b{font-weight:800}
html body .trwx-free-badge{flex:none;padding:3px 12px;border-radius:999px;background:#16A34A;color:#fff;font-size:12px;font-weight:800}
html body .trwx-free-list{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:8px}
html body .trwx-free-list li{margin:0!important;padding:0!important;list-style:none!important}
html body .trwx-free-list li::before{display:none!important}
html body .trwx-free-btn{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--x-ink);color:#fff!important;text-decoration:none!important;transition:transform .3s var(--x-e),background .25s}
html body .trwx-free-btn:hover{background:#3F3F46;transform:translateY(-1px)}
html body .trwx-free-btn svg{flex:none;width:22px;height:22px}
html body .trwx-free-btn span{display:flex;flex-direction:column;line-height:1.5;min-width:0}
html body .trwx-free-btn b{font-size:14.5px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .trwx-free-btn small{font-size:12px;opacity:.7}
html body .trwx-price-free{display:inline-block;padding:2px 14px;border-radius:999px;background:#16A34A;color:#fff;font-weight:800}

/* ---------- رمز فایل ---------- */
html body .trwd-dlp{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#F4F4F5;border:1px dashed #A1A1AA;color:#18181B;font-size:13px;line-height:1.7}
html body .trwd-dlp-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#18181B;color:#fff;flex:none}
html body .trwd-dlp-ic svg{width:16px;height:16px}
html body .trwd-dlp-t{display:flex;flex-direction:column;min-width:0;flex:1 1 160px}
html body .trwd-dlp-t b{font-weight:800;font-size:13px}
html body .trwd-dlp-t small{font-size:11.5px;color:#52525B}
html body .trwd-dlp code{direction:ltr;unicode-bidi:isolate;font:700 14px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;padding:6px 10px;border-radius:8px;background:#fff;border:1px solid #D4D4D8;color:#09090B;letter-spacing:.02em;user-select:all}
html body .trwd-dlp button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#18181B;color:#fff;font-size:12px;font-weight:800;transition:background .2s}
html body .trwd-dlp button:hover{background:#3F3F46}
html body .trwd-dlp button.is-ok{background:#16A34A}
html body .trwd-dlp.is-compact{margin-top:6px;padding:7px 9px}
html body .trwd-dlp.is-compact .trwd-dlp-t small{display:none}

/* ---------- ویدئو ---------- */
html body .trwx-video{margin:0 0 22px;padding:clamp(16px,2.6vw,26px);border-radius:26px;background:#fff;border:1px solid var(--x-ln);color:var(--x-ink)}
html body .trwx-vhead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;margin-bottom:16px}
html body .trwx-kick{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:800;color:var(--x-mu)}
html body .trwx-kick::before{content:"";width:18px;height:2px;border-radius:2px;background:var(--x-ink)}
html body .trwx-vhead h2{margin:4px 0 0!important;font-size:clamp(17px,2vw,21px)!important;font-weight:900;line-height:1.6;color:var(--x-ink)}
html body .trwx-vtabs{display:inline-flex;gap:4px;padding:5px;border-radius:999px;background:var(--x-soft);max-width:100%;overflow-x:auto;scrollbar-width:none}
html body .trwx-vtabs::-webkit-scrollbar{display:none}
html body .trwx-vtab{all:unset;cursor:pointer;flex:none;padding:8px 18px;border-radius:999px;font-size:13.5px;font-weight:800;color:var(--x-mu);transition:background .3s var(--x-e),color .3s}
html body .trwx-vtab:hover{color:var(--x-ink)}
html body .trwx-vtab.is-on{background:var(--x-ink);color:#fff}
html body .trwx-vtab:focus-visible{outline:2px solid var(--x-ink);outline-offset:2px}
html body .trwx-vstage{position:relative}
html body .trwx-vpane[hidden]{display:none!important}
html body .trwx-vpane.is-on{animation:trwxIn .45s var(--x-e)}
@keyframes trwxIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html body .trwx-player .thvp{margin:0!important;border-radius:18px;max-width:none!important}
html body .trwx-player>video{display:block;width:100%;aspect-ratio:16/9;border-radius:18px;background:#000}
/* آپارات و یوتیوب: همان قاب و دکمه‌ی پخش پلیر داخلی، تا ظاهر یکدست بماند */
html body .trwx-lite,html body .trwx-frame{position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}
html body .trwx-lite{all:unset;position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#0a0a0b;cursor:pointer}
html body .trwx-lite img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72;transition:opacity .4s,transform 1.2s var(--x-e)}
html body .trwx-lite:hover img{opacity:.85;transform:scale(1.02)}
html body .trwx-lite-play{position:absolute;top:50%;left:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.6);color:#fff;transition:transform .2s,background .2s}
html body .trwx-lite-play svg{width:34px;height:34px;margin-left:4px}
html body .trwx-lite:hover .trwx-lite-play,html body .trwx-lite:focus-visible .trwx-lite-play{background:#fff;color:#0a0a0b;transform:scale(1.07)}
html body .trwx-lite-src{position:absolute;right:14px;bottom:14px;padding:5px 12px;border-radius:999px;background:rgba(10,10,12,.66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:800}
html body .trwx-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- ویژگی‌ها و مراحل ---------- */
html body .trwx-more{margin-top:22px}
html body .trwx-more h3{font-size:17px;font-weight:900;margin:0 0 10px}
html body .trwx-feat,html body .trwx-steps{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:6px}
html body .trwx-feat li,html body .trwx-steps li{position:relative;margin:0!important;padding:6px 34px 6px 0!important;list-style:none!important}
html body .trwx-feat li::before{content:"";position:absolute;right:0;top:11px;width:20px;height:20px;border-radius:50%;background:#18181B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat}
html body .trwx-steps{counter-reset:s}
html body .trwx-steps li{counter-increment:s;padding-right:40px!important}
html body .trwx-steps li::before{content:counter(s);position:absolute;right:0;top:8px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#18181B;color:#fff;font-size:12.5px;font-weight:800;line-height:1}

@media (max-width:600px){
	html body .trwx-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
	html body .trwx-vhead{align-items:flex-start}
	html body .trwx-video{border-radius:20px}
}
