/* ========== FILE: assets/css/search.css ========== */
#searchRes{max-width:860px;margin:26px auto 0;width:100%;flex:1;overflow-y:auto;padding:0 4px 60px}
/* ---------- گروه‌های idle (آخرین + پرطرفدار) ---------- */
.s-group{margin-bottom:30px;animation:sFade .4s both}
.s-ghead{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:rgba(255,255,255,.75);font-size:13px;font-weight:700}
.s-ghead svg{color:var(--yellow);flex:none}
.s-ghead .s-clear{margin-right:auto;color:rgba(255,255,255,.45);font-size:11px;font-weight:600;transition:color .2s}
.s-ghead .s-clear:hover{color:var(--red)}
.s-chips{display:flex;gap:9px;flex-wrap:wrap}
.s-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 17px;border-radius:999px;border:1.5px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#fff;font-size:13px;font-weight:600;transition:all .25s;cursor:pointer}
.s-chip:hover{background:rgba(255,210,28,.18);border-color:var(--yellow);transform:translateY(-2px)}
/* ---------- سربرگ نتایج ---------- */
.s-rhead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 6px 12px;border-bottom:1.5px solid rgba(255,255,255,.14);margin-bottom:8px;color:rgba(255,255,255,.6);font-size:12px;font-family:var(--mono)}
/* ---------- ردیف نتایج ---------- */
.srow{display:flex;align-items:center;gap:14px;padding:12px 8px;border-bottom:1px solid rgba(255,255,255,.08);border-radius:12px;transition:background .2s;animation:sFade .35s both}
.srow:nth-child(2){animation-delay:.04s}.srow:nth-child(3){animation-delay:.08s}.srow:nth-child(4){animation-delay:.12s}.srow:nth-child(5){animation-delay:.16s}.srow:nth-child(6){animation-delay:.2s}.srow:nth-child(7){animation-delay:.24s}
.srow:hover{background:rgba(255,255,255,.07)}
.srow-img{flex:none;width:56px;height:56px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.4)}
.srow-img img{width:100%;height:100%;object-fit:cover}
.srow-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.srow-mid b{font-size:14px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.srow-mid b mark{background:var(--yellow);color:var(--ink);border-radius:4px;padding:0 2px}
.srow-mid i{font-style:normal;font-size:11px;color:rgba(255,255,255,.5)}
.srow-end{flex:none}
.srow-end .karma-money{color:var(--yellow);font-family:var(--mono);font-size:13px;font-weight:700}
.srow-end .karma-money .karma-irr{opacity:.9}
.srow-blog{font-size:11px;color:#8ab0ff;border:1px solid rgba(138,176,255,.4);border-radius:999px;padding:4px 12px;white-space:nowrap}
/* ---------- اسکلتون ---------- */
.s-skel .srow{pointer-events:none;border-bottom:1px solid rgba(255,255,255,.06)}
.skx{position:relative;overflow:hidden;background:rgba(255,255,255,.09);border-radius:8px}
.skx::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);animation:sShimmer 1.1s infinite}
@keyframes sShimmer{to{transform:translateX(100%)}}
.sk-line{display:block;height:12px;margin-bottom:7px}
.sk-line.w60{width:60%}.sk-line.w30{width:30%}
.sk-price{display:block;width:74px;height:16px}
/* ---------- خالی / دکمهٔ همه ---------- */
.s-empty{text-align:center;color:rgba(255,255,255,.55);padding:44px 0;font-size:14px;line-height:2.2}
.s-empty a{color:var(--yellow);text-decoration:underline}
.sres-all{margin:20px auto 0;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--yellow);font-weight:700;font-size:13.5px;border:1.5px solid rgba(255,210,28,.5);border-radius:999px;padding:12px 24px;transition:all .25s}
.sres-all:hover{background:var(--yellow);color:var(--ink)}
@keyframes sFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* ---------- موبایل ---------- */
@media (max-width:640px){
.srow{gap:11px;padding:10px 4px}
.srow-img{width:46px;height:46px;border-radius:12px}
.srow-mid b{font-size:13px}
.srow-end .karma-money{font-size:12px}
}