/* نسخه ۲.۱۰۷.۰ — ویترین عمومی کلاس‌ها (کارت‌ها + برنامهٔ روزانه). همهٔ کلاس‌ها با پیشوند shcs- و مستقل از سایر بخش‌ها */
.shcs-wrap{--shcs-ink:#1f2937;--shcs-mute:#6b7280;--shcs-line:#e5e7eb;--shcs-bg:#fff;--shcs-soft:#f8fafc;--shcs-brand:#4f46e5;
  --shcs-male:#2563eb;--shcs-male-bg:#e8f0ff;--shcs-female:#db2777;--shcs-female-bg:#ffe8f3;--shcs-mixed:#0d9488;--shcs-mixed-bg:#dcf7f3;--shcs-none:#9ca3af;
  direction:rtl;text-align:right;font-family:inherit;color:var(--shcs-ink);line-height:1.7;max-width:1100px;margin:0 auto;box-sizing:border-box}
.shcs-wrap *,.shcs-wrap *::before,.shcs-wrap *::after{box-sizing:border-box}
.shcs-title{font-size:1.25rem;font-weight:800;margin:0 0 14px}
.shcs-empty-static,.shcs-empty{text-align:center;color:var(--shcs-mute);padding:26px 12px;background:var(--shcs-soft);border-radius:14px;margin:12px 0}
.shcs-empty[hidden],.shcs-panel[hidden],.shcs-card[hidden],.shcs-row[hidden]{display:none!important}

/* چیپ‌های جنسیت */
.shcs-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.shcs-chips::-webkit-scrollbar,.shcs-tabs::-webkit-scrollbar{display:none}
.shcs-chip{flex:0 0 auto;border:1.5px solid var(--shcs-line);background:var(--shcs-bg);color:var(--shcs-ink);border-radius:999px;padding:8px 16px;min-height:42px;font:inherit;font-weight:700;font-size:.92rem;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.shcs-chip b{background:var(--shcs-soft);border-radius:999px;padding:0 8px;font-size:.8rem;color:var(--shcs-mute)}
.shcs-chip.is-active{background:var(--shcs-ink);border-color:var(--shcs-ink);color:#fff}
.shcs-chip.is-active b{background:rgba(255,255,255,.2);color:#fff}
.shcs-chip.shcs-g-male.is-active{background:var(--shcs-male);border-color:var(--shcs-male)}
.shcs-chip.shcs-g-female.is-active{background:var(--shcs-female);border-color:var(--shcs-female)}
.shcs-chip.shcs-g-mixed.is-active{background:var(--shcs-mixed);border-color:var(--shcs-mixed)}

/* جستجو و رشته */
.shcs-tools{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.shcs-search,.shcs-sport{width:100%;min-height:46px;border:1.5px solid var(--shcs-line);border-radius:12px;padding:8px 14px;font:inherit;font-size:1rem;background:var(--shcs-bg);color:var(--shcs-ink)}
.shcs-search:focus,.shcs-sport:focus{outline:none;border-color:var(--shcs-brand);box-shadow:0 0 0 3px rgba(79,70,229,.15)}
.shcs-count{font-size:.85rem;color:var(--shcs-mute);margin:2px 2px 10px}

/* پیل و تگ */
.shcs-pill{flex:0 0 auto;border-radius:999px;padding:2px 12px;font-size:.78rem;font-weight:800;white-space:nowrap}
.shcs-pill.shcs-g-male{background:var(--shcs-male-bg);color:var(--shcs-male)}
.shcs-pill.shcs-g-female{background:var(--shcs-female-bg);color:var(--shcs-female)}
.shcs-pill.shcs-g-mixed{background:var(--shcs-mixed-bg);color:var(--shcs-mixed)}
.shcs-tag{display:inline-block;background:var(--shcs-soft);border:1px solid var(--shcs-line);border-radius:8px;padding:0 9px;font-size:.78rem;color:var(--shcs-ink)}
.shcs-tag-alt{background:#fff7e6;border-color:#fde3a7;color:#92600a}

/* آواتار مربی */
.shcs-ava{width:34px;height:34px;border-radius:50%;background:var(--shcs-soft);border:1px solid var(--shcs-line);overflow:hidden;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-weight:800;color:var(--shcs-brand)}
.shcs-ava img{width:100%;height:100%;object-fit:cover;display:block}

/* ── مدل ۱: کارت‌ها ── */
.shcs-grid{display:grid;grid-template-columns:1fr;gap:12px}
.shcs-card{background:var(--shcs-bg);border:1px solid var(--shcs-line);border-right:5px solid var(--shcs-none);border-radius:16px;padding:14px 14px 12px;box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:10px}
.shcs-card.shcs-g-male{border-right-color:var(--shcs-male)}
.shcs-card.shcs-g-female{border-right-color:var(--shcs-female)}
.shcs-card.shcs-g-mixed{border-right-color:var(--shcs-mixed)}
.shcs-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.shcs-card-name{font-size:1.05rem;font-weight:800;margin:0;line-height:1.5;flex:1}
.shcs-badges,.shcs-row-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.shcs-instr{display:flex;align-items:center;gap:10px}
.shcs-instr small{display:block;color:var(--shcs-mute);font-size:.72rem;line-height:1.2}
.shcs-instr b{font-size:.95rem}
.shcs-instr-inline{gap:6px}
.shcs-instr-inline .shcs-ava{width:26px;height:26px;font-size:.8rem}
.shcs-days{display:flex;gap:5px}
.shcs-day{width:30px;height:30px;border-radius:50%;background:var(--shcs-soft);color:#c1c7d0;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700}
.shcs-day.is-on{background:var(--shcs-brand);color:#fff}
.shcs-days-text{font-size:.82rem;color:var(--shcs-mute);margin-top:-4px}
.shcs-time{display:flex;align-items:center;gap:6px;background:var(--shcs-soft);border-radius:10px;padding:7px 12px;font-size:.95rem;margin-top:auto}
.shcs-time-ico{font-size:1rem}

/* ── مدل ۲: برنامهٔ روزانه ── */
.shcs-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x proximity}
.shcs-tab{flex:0 0 auto;scroll-snap-align:center;min-width:74px;border:1.5px solid var(--shcs-line);background:var(--shcs-bg);border-radius:14px;padding:8px 10px;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px;color:var(--shcs-ink)}
.shcs-tab-name{font-weight:800;font-size:.9rem}
.shcs-tab-today{font-size:.68rem;color:var(--shcs-brand);font-weight:800;line-height:1}
.shcs-tab-count{font-size:.75rem;color:var(--shcs-mute);background:var(--shcs-soft);border-radius:999px;padding:0 8px}
.shcs-tab.is-active{background:var(--shcs-brand);border-color:var(--shcs-brand);color:#fff}
.shcs-tab.is-active .shcs-tab-today{color:#fff}
.shcs-tab.is-active .shcs-tab-count{background:rgba(255,255,255,.22);color:#fff}
.shcs-rows{list-style:none;margin:6px 0 0;padding:0;position:relative}
.shcs-row{display:flex;gap:12px;align-items:stretch;position:relative;padding-bottom:12px}
.shcs-row::before{content:"";position:absolute;right:35px;top:28px;bottom:-4px;width:2px;background:var(--shcs-line)}
.shcs-row:last-child::before{display:none}
.shcs-row-time{flex:0 0 72px;text-align:center;padding-top:6px;display:flex;flex-direction:column;align-items:center;position:relative;z-index:1}
.shcs-row-time b{background:var(--shcs-bg);padding:0 4px;font-size:1rem;line-height:1.4}
.shcs-row-time small{color:var(--shcs-mute);font-size:.78rem;background:var(--shcs-bg);padding:0 4px}
.shcs-row-card{flex:1;min-width:0;background:var(--shcs-bg);border:1px solid var(--shcs-line);border-right:5px solid var(--shcs-none);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.shcs-row.shcs-g-male .shcs-row-card{border-right-color:var(--shcs-male)}
.shcs-row.shcs-g-female .shcs-row-card{border-right-color:var(--shcs-female)}
.shcs-row.shcs-g-mixed .shcs-row-card{border-right-color:var(--shcs-mixed)}
.shcs-row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}

/* دکمهٔ ثبت‌نام */
.shcs-cta{text-align:center;margin-top:18px}
.shcs-btn{display:inline-block;background:var(--shcs-brand);color:#fff!important;text-decoration:none!important;border-radius:12px;padding:12px 28px;font-weight:800;min-height:46px}
.shcs-btn:hover{filter:brightness(1.08)}

@media(min-width:640px){
  .shcs-tools{flex-direction:row}
  .shcs-search{flex:2}.shcs-sport{flex:1}
  .shcs-grid{grid-template-columns:repeat(2,1fr)}
  .shcs-chips,.shcs-tabs{flex-wrap:wrap;overflow:visible}
}
@media(min-width:1000px){.shcs-grid{grid-template-columns:repeat(3,1fr)}}
@media(prefers-reduced-motion:reduce){.shcs-wrap *{transition:none!important}}
