/* v124 — بخش ورزشی 360IQE: هاب، رشته، زیربخش (و پایه‌ی مشترک صفحه‌ی باشگاه).
   طراحی موبایل‌اول؛ همه‌ی رنگ‌ها توکن‌اند (رنگ اختصاصی هر رشته از دیتابیس با --sc می‌آید). فقط transform/opacity انیمیت می‌شوند. */
:root {
  --sp-bg: #0a0f1a; --sp-bg2: #0d1424; --sp-panel: #111a2c; --sp-line: #24304a; --sp-fg: #eef1f7; --sp-mut: #9aa6bd;
  --sp-gold: #e3b54a; --sp-gold2: #ffd77a; --sp-on-gold: #1a1405; --sp-ok: #3ecf8e; --sp-lock: #b8c1d4;
  --sp-r: 18px; --sp-gut: max(16px, env(safe-area-inset-left, 0px));
  --sp-ease: cubic-bezier(.2, .8, .2, 1);
}
.sp-body { background: var(--sp-bg); color: var(--sp-fg); }
.sp-page { padding-top: 0; min-height: 70vh; overflow-x: clip; }
.sp-page *, .cl-page * { box-sizing: border-box; }
.sp-sec { max-width: 1500px; margin: 0 auto; padding: 28px var(--sp-gut) 8px; }
.sp-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; font-size: clamp(1.25rem, 3.6vw, 1.7rem); font-weight: 900; text-wrap: balance; }
.sp-h small { font: 600 .72rem/1 var(--font-en); letter-spacing: .22em; color: var(--sp-gold); }
.sp-eyebrow { display: inline-block; font: 600 .74rem/1 var(--font-en); letter-spacing: .26em; color: var(--sp-gold); text-transform: uppercase; }
.sp-title { margin: 6px 0 6px; font-size: clamp(2.1rem, 9vw, 4.2rem); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; text-wrap: balance; }
.sp-lead { margin: 0 0 12px; color: #d4dae6; font-size: clamp(.98rem, 2.6vw, 1.15rem); max-width: 56ch; }
.sp-intro { margin: 14px 0 0; color: #cfd6e3; max-width: 70ch; line-height: 2; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.s { width: 16px; height: 16px; } .ic.l { width: 30px; height: 30px; } .ic.xl { width: 54px; height: 54px; }

/* ---------- مسیر ---------- */
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .78rem; color: var(--sp-mut); margin-bottom: 12px; }
.sp-crumbs a { color: var(--sp-mut); text-decoration: none; }
.sp-crumbs a::after { content: "‹"; margin-inline-start: 8px; opacity: .6; }
.sp-crumbs a:hover, .sp-crumbs a:focus-visible { color: var(--sp-gold2); }

/* ---------- برچسب و دکمه ---------- */
.sp-pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: .74rem; font-weight: 800;
  border: 1px solid var(--sp-line); background: color-mix(in srgb, var(--sp-panel) 80%, transparent); }
.sp-pill.on { color: var(--sp-ok); border-color: color-mix(in srgb, var(--sp-ok) 45%, transparent); }
.sp-pill.soon { color: var(--sp-lock); }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
  background: var(--sp-gold); color: var(--sp-on-gold); font: 800 .95rem/1 var(--font-fa); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--sp-ease), box-shadow .2s; box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--sp-gold) 80%, transparent); }
.sp-btn:hover { transform: translateY(-2px); }
.sp-btn:active { transform: scale(.97); }
.sp-btn.ghost { background: transparent; color: var(--sp-fg); border: 1px solid color-mix(in srgb, var(--sp-fg) 30%, transparent); box-shadow: none; }
.sp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--sp-gold2); font-weight: 800; text-decoration: none; min-height: 44px; }
:where(.sp-page, .cl-page) :focus-visible { outline: 2px solid var(--sp-gold2); outline-offset: 3px; border-radius: 6px; }

/* ---------- هیروی هاب ---------- */
.sp-hero { position: relative; isolation: isolate; min-height: clamp(360px, 62vh, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.sp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; z-index: -2; transform: scale(1.06);
  animation: spKen 18s var(--sp-ease) forwards; }
.sp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--sp-bg) 2%, color-mix(in srgb, var(--sp-bg) 70%, transparent) 40%, color-mix(in srgb, var(--sp-bg) 10%, transparent) 75%),
              linear-gradient(270deg, color-mix(in srgb, var(--sp-bg) 85%, transparent), transparent 70%); }
.sp-hero-in { width: 100%; max-width: 1500px; margin: 0 auto; padding: 24px var(--sp-gut) 26px; }
@keyframes spKen { to { transform: scale(1); } }
.sp-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sp-stats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; font-size: .82rem; color: var(--sp-mut);
  background: color-mix(in srgb, var(--sp-panel) 70%, transparent); border: 1px solid var(--sp-line); backdrop-filter: blur(8px); }
.sp-stats b { font: 700 1.25rem/1 var(--font-en); color: var(--sp-fg); }

/* ---------- مدال سه‌بعدی ---------- */
.sp-medal { --ms: 84px; display: inline-block; isolation: isolate; width: var(--ms); height: var(--ms); perspective: 600px; color: var(--sc, var(--sp-gold)); flex: none; }
.sp-medal.sm { --ms: 52px; } .sp-medal.md { --ms: 96px; } .sp-medal.xl { --ms: clamp(108px, 30vw, 156px); }
.sp-coin { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: spSway 6.5s ease-in-out infinite; }
.sp-face, .sp-back { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* سایه‌ی ثابت زیر سکه (با سکه نمی‌چرخد → بدون نقاشی دوباره در هر فریم) */
.sp-medal { position: relative; }
.sp-medal::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -8%; height: 12%; border-radius: 50%; background: rgba(0, 0, 0, .45); filter: blur(6px); z-index: -1; }
.sp-face { transform: translateZ(calc(var(--ms) * .05)); }
.sp-back { transform: rotateY(180deg) translateZ(calc(var(--ms) * .05)); }
.sp-rim { position: absolute; left: 50%; top: 50%; width: calc(var(--ms) * .1); height: calc(var(--ms) * .17); margin: calc(var(--ms) * -.085) 0 0 calc(var(--ms) * -.05);
  background: linear-gradient(90deg, #8a6416, #e3b54a 45%, #fff1c2 55%, #b3842a); }
.sp-coin.spin { animation: spSpin 1.1s var(--sp-ease); }
@keyframes spSway { 0%, 100% { transform: rotateY(-26deg) rotateX(4deg); } 50% { transform: rotateY(26deg) rotateX(-4deg); } }
@keyframes spSpin { from { transform: rotateY(-26deg); } to { transform: rotateY(334deg); } }
.sp-paused .sp-coin { animation-play-state: paused; }

/* ---------- شبکه‌ی رشته‌ها ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sp-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 10px 16px; border-radius: var(--sp-r);
  text-decoration: none; color: var(--sp-fg); text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--sc) 22%, transparent), transparent 60%), linear-gradient(180deg, var(--sp-panel), var(--sp-bg2));
  border: 1px solid color-mix(in srgb, var(--sc) 26%, var(--sp-line)); transition: transform .3s var(--sp-ease), border-color .3s, box-shadow .3s; }
.sp-card::before { content: ""; position: absolute; inset: -40% -10% auto; height: 70%; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sc) 45%, transparent), transparent); }
.sp-card:hover, .sp-card:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--sc) 60%, transparent);
  box-shadow: 0 18px 36px -20px color-mix(in srgb, var(--sc) 70%, transparent); }
.sp-card:hover::before { opacity: 1; }
.sp-card-fa { font-size: 1.02rem; font-weight: 900; margin-top: 4px; }
.sp-card-en { font: 600 .66rem/1 var(--font-en); letter-spacing: .2em; color: color-mix(in srgb, var(--sc) 70%, var(--sp-fg)); font-style: normal; }
.sp-card .sp-pill { margin-top: 6px; }
.sp-card.is-soon .sp-medal { filter: saturate(.55) brightness(.9); }
.sp-card.is-on { border-color: color-mix(in srgb, var(--sc) 55%, transparent); }
.sp-card.is-on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc) 40%, transparent), inset 0 -40px 60px -40px color-mix(in srgb, var(--sc) 40%, transparent); }

/* ---------- هیروی رشته ---------- */
.sp-shero { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(90% 120% at 85% 0%, color-mix(in srgb, var(--sc) 26%, transparent), transparent 55%), linear-gradient(180deg, var(--sp-bg2), var(--sp-bg)); }
.sp-shero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: repeating-linear-gradient(115deg, transparent 0 46px, color-mix(in srgb, var(--sc) 10%, transparent) 46px 48px); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.sp-shero-in { max-width: 1500px; margin: 0 auto; padding: 22px var(--sp-gut) 26px; }
.sp-shero-row { display: flex; align-items: center; gap: clamp(14px, 4vw, 30px); }
.sp-shero-row > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sp-shero-row > div > .sp-eyebrow, .sp-shero-row > div > .sp-title, .sp-shero-row > div > .sp-lead { flex-basis: 100%; margin-bottom: 0; }
.sp-shero.sm .sp-title { font-size: clamp(1.6rem, 6.4vw, 2.6rem); }

/* ---------- زیربخش‌ها ---------- */
.sp-sxgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sp-sx { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--sp-fg);
  background: var(--sp-panel); border: 1px solid var(--sp-line); transition: transform .25s var(--sp-ease), border-color .25s; }
.sp-sx:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--sp-gold) 50%, transparent); }
.sp-sx-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  color: var(--sp-gold2); background: color-mix(in srgb, var(--sp-gold) 14%, transparent); }
.sp-sx-t { display: flex; flex-direction: column; min-width: 0; }
.sp-sx-t b { font-size: .92rem; font-weight: 800; line-height: 1.5; }
.sp-sx-t i { font: 500 .6rem/1.2 var(--font-en); letter-spacing: .16em; color: var(--sp-mut); font-style: normal; }
.sp-sx .sp-pill { position: absolute; top: 8px; left: 8px; height: 22px; padding: 0 8px; font-size: .66rem; }
.sp-sx.is-on { grid-column: span 2; min-height: 84px; border-color: color-mix(in srgb, var(--sp-ok) 35%, var(--sp-line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--sp-ok) 10%, var(--sp-panel)), var(--sp-panel)); }
.sp-sx.is-on .sp-sx-ic { color: var(--sp-ok); background: color-mix(in srgb, var(--sp-ok) 14%, transparent); }
.sp-sx.is-soon .sp-sx-ic { color: var(--sp-lock); background: color-mix(in srgb, var(--sp-lock) 10%, transparent); }

/* ---------- باشگاه‌ها ---------- */
.sp-clubs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sp-club { position: relative; display: block; min-height: 180px; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--sp-fg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--cp) 30%, var(--sp-panel)), var(--sp-panel)); border: 1px solid color-mix(in srgb, var(--cp) 40%, transparent); isolation: isolate; }
.sp-club > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--sp-ease); }
.sp-club::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--sp-bg) 8%, color-mix(in srgb, var(--sp-bg) 30%, transparent)); }
.sp-club:hover > img { transform: scale(1.05); }
.sp-club-in { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 16px; }
.sp-club-in b { font-size: 1.15rem; font-weight: 900; flex-basis: 100%; }
.sp-club-in small { color: #d4dae6; }
.sp-club-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }

/* ---------- تجهیزات ---------- */
.sp-eq { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.sp-eqc { padding: 14px; border-radius: 16px; background: var(--sp-panel); border: 1px solid var(--sp-line); }
.sp-eqc b { display: block; font-weight: 800; margin-bottom: 4px; }
.sp-eqc p { margin: 0 0 6px; color: #cfd6e3; font-size: .88rem; }
.sp-eqc small { color: var(--sp-gold2); font-size: .78rem; }
.sp-eqlist { display: grid; gap: 16px; }
.sp-eqg { padding: 16px; border-radius: 20px; background: var(--sp-panel); border: 1px solid var(--sp-line); }
.sp-eqg-h h2 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 900; }
.sp-eqg-h p { margin: 0 0 8px; color: #cfd6e3; }
.sp-guide { display: flex; gap: 6px; align-items: flex-start; color: var(--sp-gold2) !important; font-size: .9rem; }
.sp-prods { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 4px; scrollbar-width: thin; }
.sp-prods:empty { display: none; }
.sp-prod { flex: 0 0 150px; scroll-snap-align: start; text-decoration: none; color: var(--sp-fg); border-radius: 14px; overflow: hidden; background: var(--sp-bg2); border: 1px solid var(--sp-line); }
.sp-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--sp-panel); }
.sp-prod span { display: block; padding: 8px; font-size: .8rem; line-height: 1.6; }
.sp-prod b { display: block; color: var(--sp-gold2); font: 700 .82rem var(--font-fa); }
.sp-prod-skel { flex: 0 0 150px; height: 210px; border-radius: 14px; background: linear-gradient(90deg, var(--sp-bg2), var(--sp-panel), var(--sp-bg2)); background-size: 200% 100%; animation: spSk 1.2s linear infinite; }
@keyframes spSk { to { background-position: -200% 0; } }

/* ---------- مقاله، پرسش‌ها، نوار رشته‌ها ---------- */
.sp-article h2 { margin: 26px 0 8px; font-size: 1.2rem; font-weight: 900; color: var(--sp-gold2); }
.sp-article p { margin: 0 0 12px; line-height: 2.05; color: #d6dce8; max-width: 72ch; }
.sp-faq details { border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-panel); margin-bottom: 8px; }
.sp-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 800; min-height: 48px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; font: 600 1.3rem/1 var(--font-en); color: var(--sp-gold); transition: transform .25s; }
.sp-faq details[open] summary::after { transform: rotate(45deg); }
.sp-faq p { margin: 0; padding: 0 16px 14px; color: #cfd6e3; line-height: 2; }
.sp-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; }
.sp-mini { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; padding: 10px 4px; border-radius: 16px; text-decoration: none;
  color: var(--sp-fg); background: var(--sp-panel); border: 1px solid var(--sp-line); scroll-snap-align: start; font-size: .82rem; }

/* ---------- به‌زودی / پنجره‌ی قفل / پیام ---------- */
.sp-soon { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 28px 18px; border-radius: 20px;
  background: var(--sp-panel); border: 1px dashed color-mix(in srgb, var(--sp-gold) 40%, var(--sp-line)); color: var(--sp-lock); }
.sp-soon b { color: var(--sp-fg); font-size: 1.05rem; }
.sp-soon p { margin: 0; }
.sp-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: end center; background: rgba(4, 6, 12, .6); backdrop-filter: blur(6px);
  padding: 0 0 env(safe-area-inset-bottom, 0px); animation: spFade .2s ease; }
.sp-modal-box { width: min(100%, 440px); margin: 0 auto; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0;
  background: var(--sp-panel); border: 1px solid var(--sp-line); text-align: center; animation: spUp .35s var(--sp-ease); color: var(--sp-fg); }
.sp-modal-box .ic.l { color: var(--sp-gold2); }
.sp-modal-box h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.sp-modal-box p { margin: 0 0 16px; color: #cfd6e3; line-height: 1.9; }
.sp-modal-box .sp-btns { display: flex; gap: 8px; } .sp-modal-box .sp-btn { flex: 1; }
@keyframes spFade { from { opacity: 0; } } @keyframes spUp { from { transform: translateY(40px); opacity: 0; } }
.sp-toast { position: fixed; z-index: 450; inset: auto 16px calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; max-width: 420px; padding: 12px 16px; border-radius: 14px;
  background: var(--sp-fg); color: var(--sp-bg); font-weight: 800; text-align: center; animation: spUp .3s var(--sp-ease); }
.sp-fallback { padding-top: 60px; }

/* ---------- عرض‌های بزرگ‌تر ---------- */
@media (min-width: 640px) {
  .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .sp-sxgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-sx.is-on { grid-column: span 1; }
  .sp-clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-modal { place-items: center; }
  .sp-modal-box { border-radius: 24px; }
  .sp-medal { --ms: 96px; }
}
@media (min-width: 1000px) {
  .sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sp-sxgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sp-hero-in { padding-bottom: 40px; }
  .sp-medal { --ms: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-coin, .sp-hero-img, .sp-modal, .sp-modal-box, .sp-toast { animation: none !important; }
  .sp-card, .sp-sx, .sp-btn, .sp-club > img { transition: none; }
}
/* عنوان‌های لاتین داخل صفحه‌ی راست‌به‌چپ: ترتیب کلمه‌ها درست بماند («360 SPORTS» نه «SPORTS 360») */
.sp-eyebrow, .sp-card-en, .sp-h small, .sp-sx-t i, .cl-eyebrow { direction: ltr; unicode-bidi: isolate; }
.cl-eyebrow, .sp-sx-t i { text-align: right; }
.sp-eyebrow { text-align: right; }
/* کارت زیربخش: برچسب «به‌زودی» فقط آیکون قفل (متن برای صفحه‌خوان می‌ماند) تا روی عنوان نیفتد */
.sp-sx { padding-left: 40px; }
.sp-sx .sp-pill.soon { font-size: 0; gap: 0; width: 26px; height: 26px; padding: 0; justify-content: center; }
.sp-sx .sp-pill.soon .ic { width: 14px; height: 14px; }
.sp-sx-t b { overflow-wrap: anywhere; }
.sp-shero-row > div > .sp-lead { max-width: none; }
/* v133 (مصوب مجید): همه‌ی بخش‌های رشته نوار تمام‌عرض زیر هم؛ صفحه‌ی «باشگاه‌ها و آکادمی‌ها» فقط باکس‌های بزرگ باشگاه */
.sp-sxgrid .sp-sx, .sp-sxgrid .sp-sx.is-on { grid-column: 1 / -1; min-height: 84px; padding: 14px 16px; }   /* v135: در دسکتاپ (۳ و ۴ ستون) هم تمام‌عرض */
.sp-sx-ic { width: 48px; height: 48px; border-radius: 14px; } .sp-sx-t b { font-size: 1.02rem; }
.sp-shero-min .sp-shero-in { padding-bottom: 6px; } .sp-shero-min .sp-title { margin: 6px 0 0; }
.sp-clubs-only .sp-clubs { gap: 16px; }
.sp-clubs-only .sp-club { min-height: clamp(240px, 56vw, 420px); border-radius: 26px; }
.sp-clubs-only .sp-club-in b { font-size: clamp(1.3rem, 5vw, 2rem); }

/* ===================== v140: موشن کادر «باشگاه‌ها و آکادمی‌ها» و کارت باشگاه ===================== */
@property --sx-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes sxSpin { to { --sx-ang: 360deg; } }
@keyframes sxSweep { 0%, 55% { transform: translateX(120%) skewX(-18deg); } 100% { transform: translateX(-220%) skewX(-18deg); } }
@keyframes sxText { to { background-position: -200% 0; } }
@keyframes sxPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sp-ok) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes sxRise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes clKen { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

/* کادر فعال: حاشیه‌ی نوری چرخان + برق عبوری + تیتر طلایی متحرک */
.sp-sx.is-on { isolation: isolate; overflow: hidden; border-color: transparent; animation: sxRise .7s var(--sp-ease) both;
  background: linear-gradient(var(--sp-bg2, var(--sp-panel, var(--sp-bg))), var(--sp-bg2, var(--sp-panel, var(--sp-bg)))) padding-box,
    conic-gradient(from var(--sx-ang), transparent 0 55%, var(--sp-ok) 70%, var(--sp-gold2) 80%, transparent 92%) border-box;
  border: 1.5px solid transparent; animation: sxRise .7s var(--sp-ease) both, sxSpin 4.5s linear infinite; }
.sp-sx.is-on::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 140% at 100% 50%, color-mix(in srgb, var(--sp-ok) 16%, transparent), transparent 70%); }
.sp-sx.is-on::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 34%; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, white 16%, transparent), transparent); animation: sxSweep 4.2s var(--sp-ease) infinite; }
.sp-sx.is-on .sp-sx-ic { animation: sxPing 2.4s ease-out infinite; }
.sp-sx.is-on .sp-sx-t b { font-size: 1.12rem; background: linear-gradient(90deg, var(--sp-fg) 0%, var(--sp-gold2) 25%, var(--sp-fg) 50%, var(--sp-gold2) 75%, var(--sp-fg) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sxText 6s linear infinite; }
.sp-sx.is-on .sp-sx-t i { letter-spacing: .28em; color: color-mix(in srgb, var(--sp-ok) 70%, var(--sp-fg)); transition: letter-spacing .4s var(--sp-ease); }
.sp-sx.is-on:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--sp-ok) 70%, transparent); }
.sp-sx.is-on:hover .sp-sx-t i { letter-spacing: .4em; }
.sp-sx.is-on .sp-sx-t::after { content: "ورود ←"; position: absolute; inset-inline-end: 18px; bottom: 14px; font-size: .74rem; font-weight: 800; color: var(--sp-ok); opacity: 0; transform: translateX(8px); transition: .3s var(--sp-ease); }
.sp-sx.is-on:hover .sp-sx-t::after, .sp-sx.is-on:focus-visible .sp-sx-t::after { opacity: 1; transform: none; }
.sp-sx:nth-child(2) { animation: sxRise .7s .08s var(--sp-ease) both; } .sp-sx:nth-child(3) { animation: sxRise .7s .16s var(--sp-ease) both; }
.sp-sx:nth-child(4) { animation: sxRise .7s .24s var(--sp-ease) both; } .sp-sx:nth-child(5) { animation: sxRise .7s .32s var(--sp-ease) both; }

/* کارت باشگاه: تصویر با حرکت آرام، حاشیه‌ی نوری، تیتر با درخشش و ورود حرف‌به‌حرف */
.sp-club { isolation: isolate; border: 1.5px solid transparent; animation: sxRise .8s var(--sp-ease) both;
  background: conic-gradient(from var(--sx-ang), color-mix(in srgb, var(--cp, var(--sp-gold)) 10%, transparent) 0 50%, var(--cp, var(--sp-gold)) 68%, var(--sp-gold2) 76%, color-mix(in srgb, var(--cp, var(--sp-gold)) 10%, transparent) 90%) border-box;
  transition: transform .5s var(--sp-ease), box-shadow .5s; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); }
.sp-club { animation: sxRise .8s var(--sp-ease) both, sxSpin 6s linear infinite; }
.sp-club > img { inset: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); border-radius: 18px; animation: clKen 16s ease-in-out infinite alternate; }
.sp-club::after { inset: 1.5px; border-radius: 18px; }
.sp-club::before { content: ""; position: absolute; top: -10%; bottom: -10%; width: 28%; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, white 13%, transparent), transparent); animation: sxSweep 5.5s 1s var(--sp-ease) infinite; }
.sp-club-in { z-index: 1; padding: 20px 22px; }
.sp-club-in b { font-size: clamp(1.4rem, 5vw, 2.1rem); line-height: 1.35; font-family: var(--font-disp, "Lalezar", inherit); font-weight: 400;
  background: linear-gradient(90deg, var(--sp-fg) 0%, var(--sp-fg) 35%, var(--sp-gold2) 50%, var(--sp-fg) 65%, var(--sp-fg) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sxRise .9s .2s var(--sp-ease) both, sxText 5s 1.2s linear infinite;
  text-shadow: none; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .55)); }
.sp-club-in small { font-size: .92rem; animation: sxRise .9s .35s var(--sp-ease) both; }
.sp-club-in .sp-pill { animation: sxRise .9s .45s var(--sp-ease) both, sxPing 2.6s 1.4s ease-out infinite; }
.sp-club:hover { transform: translateY(-6px) rotateX(2deg); box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--cp, var(--sp-gold)) 55%, transparent); }
.sp-club:hover > img { animation-play-state: paused; transform: scale(1.12); }
@media (min-width: 900px) { .sp-clubs-only .sp-club { min-height: 340px; } .sp-clubs-only .sp-club-in { padding: 30px 34px; } }
@media (prefers-reduced-motion: reduce) {
  .sp-sx, .sp-sx.is-on, .sp-sx.is-on::after, .sp-sx.is-on .sp-sx-ic, .sp-sx.is-on .sp-sx-t b, .sp-club, .sp-club > img, .sp-club::before, .sp-club-in b, .sp-club-in small, .sp-club-in .sp-pill { animation: none !important; }
}

/* v155 — نوار زیردسته‌های آمادگی جسمانی (صفحه‌ی باشگاه‌ها و هر زیردسته) */
.sp-types { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; }
.sp-type { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--sp-line, rgba(255,255,255,.14)); color: var(--sp-fg, #fff); text-decoration: none; font-size: .88rem; background: color-mix(in srgb, var(--sp-fg, #fff) 5%, transparent); }
.sp-type small { opacity: .7; font-size: .76rem; }
.sp-type.on { background: var(--sc, var(--sp-gold, #e3b54a)); color: #111; border-color: transparent; font-weight: 800; }
