/* ============================================================================
   sample-classes.css — "Clases muestra" (free YouTube classes for prospects)
   Two surfaces, one prefix (.smp-*):
     1. Homepage stage  (.smp-stage)  — dark cinema panel: player + playlist rail
     2. Catalog page    (.smp-page)   — ink hero, topic filters, card grid, lightbox
   Violet-only brand (see project_ui_design_system). Fonts: Space Grotesk / Plus Jakarta.
   ========================================================================== */

:root {
  --smp-ink: #0f0b1f;
  --smp-ink-2: #1a1330;
  --smp-ink-3: #241a45;
  --smp-violet: #7c3aed;
  --smp-violet-2: #6d28d9;
  --smp-violet-soft: #c4b5fd;
  --smp-line: rgba(255, 255, 255, 0.09);
  --smp-line-2: rgba(255, 255, 255, 0.16);
  --smp-text: #f4f1ff;
  --smp-muted: rgba(244, 241, 255, 0.62);
  --smp-head: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --smp-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --smp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --smp-radius: 26px;
}

/* ── Shared chips ─────────────────────────────────────────────────────── */
.smp-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.smp-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--smp-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.62rem; border-radius: 999px;
  color: var(--smp-muted); border: 1px solid var(--smp-line-2);
  background: rgba(255, 255, 255, 0.04);
}
.smp-chip--topic { color: #fff; background: rgba(124, 58, 237, 0.32); border-color: rgba(167, 139, 250, 0.55); }
.smp-chip i { font-size: 0.85em; }

/* ════════════════════════════════════════════════════════════════════════
   1. HOMEPAGE STAGE
   ════════════════════════════════════════════════════════════════════════ */
.smp-stage {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border-radius: var(--smp-radius);
  color: var(--smp-text);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(124, 58, 237, 0.42), transparent 60%),
    radial-gradient(640px 360px at 95% 105%, rgba(139, 92, 246, 0.22), transparent 58%),
    linear-gradient(160deg, var(--smp-ink-2) 0%, var(--smp-ink) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 90px -50px rgba(76, 29, 149, 0.7), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}
.smp-stage::before {
  /* faint tech grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 20%, #000, transparent 80%);
  mask-image: radial-gradient(80% 70% at 30% 20%, #000, transparent 80%);
}
.smp-stage__glow {
  position: absolute; z-index: -1; width: 52%; aspect-ratio: 1; left: -10%; top: -30%;
  border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%);
  animation: smp-breathe 12s ease-in-out infinite alternate;
}
@keyframes smp-breathe { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.12); } }

/* player */
.smp-player { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.smp-player__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #000; border: 1px solid var(--smp-line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.smp-player__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02); transition: transform 0.8s var(--smp-ease), filter 0.5s var(--smp-ease);
}
.smp-player__frame:hover .smp-player__poster { transform: scale(1.06); }
.smp-player__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 11, 31, 0.08) 0%, rgba(15, 11, 31, 0.05) 50%, rgba(15, 11, 31, 0.55) 100%);
}
.smp-player__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; font-size: 1.6rem; padding-left: 6px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 18px 40px -14px rgba(124, 58, 237, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.3s var(--smp-ease), box-shadow 0.3s var(--smp-ease);
}
.smp-player__play:hover { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 22px 50px -14px rgba(124, 58, 237, 1), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }
.smp-player__play:focus-visible { outline: 0; box-shadow: 0 0 0 5px rgba(196, 181, 253, 0.5); }
.smp-player__ring {
  position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(196, 181, 253, 0.6);
  animation: smp-ring 2.2s var(--smp-ease) infinite; pointer-events: none;
}
@keyframes smp-ring { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.45); opacity: 0; } }
.smp-player__badge {
  position: absolute; top: 0.9rem; left: 0.9rem; display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--smp-head); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(15, 11, 31, 0.72); backdrop-filter: blur(8px);
  padding: 0.4rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12);
}
.smp-player__badge i { color: #ff4d4d; }
.smp-player__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.smp-player__iframe[hidden] { display: none; }
.smp-player__frame.is-playing .smp-player__poster,
.smp-player__frame.is-playing .smp-player__scrim,
.smp-player__frame.is-playing .smp-player__play,
.smp-player__frame.is-playing .smp-player__badge { display: none; }

.smp-player__meta { display: grid; gap: 0.6rem; padding: 0 0.2rem; }
.smp-player__title {
  font-family: var(--smp-head); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.15; margin: 0; color: #fff;
}
.smp-player__desc { margin: 0; color: var(--smp-muted); font-size: 0.95rem; line-height: 1.6; max-width: 62ch; }
.smp-player__desc[hidden] { display: none; }
.smp-player__cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 0.3rem; padding: 0.8rem 1rem; border-radius: 14px; text-decoration: none;
  color: #fff; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--smp-line-2);
  transition: background 0.3s var(--smp-ease), border-color 0.3s var(--smp-ease), transform 0.3s var(--smp-ease);
  width: fit-content; max-width: 100%;
}
.smp-player__cta[hidden] { display: none; }
.smp-player__cta > span { display: grid; line-height: 1.2; min-width: 0; }
.smp-player__cta-k { font-family: var(--smp-head); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smp-violet-soft); }
.smp-player__cta strong { font-family: var(--smp-head); font-weight: 600; font-size: 0.98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smp-player__cta i { transition: transform 0.3s var(--smp-ease); color: var(--smp-violet-soft); }
.smp-player__cta:hover { background: rgba(124, 58, 237, 0.22); border-color: rgba(167, 139, 250, 0.6); transform: translateY(-2px); color: #fff; }
.smp-player__cta:hover i { transform: translateX(4px); }

/* playlist rail */
.smp-rail {
  min-width: 0; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--smp-line);
  border-radius: 18px; overflow: hidden;
}
.smp-rail__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--smp-line);
  font-family: var(--smp-head); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smp-muted);
}
.smp-rail__label { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; }
.smp-rail__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--smp-violet); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.22); }
.smp-rail__count { font-variant-numeric: tabular-nums; }
.smp-rail__list {
  display: flex; flex-direction: column; overflow-y: auto; flex: 1 1 auto; min-height: 0;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.smp-item {
  display: grid; grid-template-columns: auto 112px minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.9rem; border: 0; border-bottom: 1px solid var(--smp-line);
  background: transparent; color: var(--smp-text); text-align: left; cursor: pointer; width: 100%;
  transition: background 0.25s var(--smp-ease);
}
.smp-item:last-child { border-bottom: 0; }
.smp-item:hover { background: rgba(255, 255, 255, 0.05); }
.smp-item:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px rgba(196, 181, 253, 0.7); }
.smp-item.is-active { background: linear-gradient(90deg, rgba(124, 58, 237, 0.28), rgba(124, 58, 237, 0.06)); }
.smp-item__num { font-family: var(--smp-head); font-size: 0.74rem; font-weight: 600; color: var(--smp-muted); font-variant-numeric: tabular-nums; min-width: 1.6ch; }
.smp-item.is-active .smp-item__num { color: var(--smp-violet-soft); }
.smp-item__thumb {
  position: relative; width: 112px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden;
  background: #000; border: 1px solid var(--smp-line-2); display: grid; place-items: center;
}
.smp-item__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--smp-ease), opacity 0.3s; }
.smp-item:hover .smp-item__thumb img { transform: scale(1.08); }
.smp-item__thumb > i {
  position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.62rem; padding-left: 2px; color: #fff; background: rgba(15, 11, 31, 0.7); border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.3s var(--smp-ease);
}
.smp-item:hover .smp-item__thumb > i, .smp-item.is-active .smp-item__thumb > i { opacity: 1; transform: none; }
.smp-item__dur {
  position: absolute; right: 4px; bottom: 4px; z-index: 1; font-family: var(--smp-head); font-size: 0.6rem; font-weight: 600;
  color: #fff; background: rgba(0, 0, 0, 0.7); padding: 0.15rem 0.35rem; border-radius: 5px; font-variant-numeric: tabular-nums;
}
.smp-item__copy { display: grid; gap: 0.2rem; min-width: 0; }
.smp-item__title { font-family: var(--smp-head); font-weight: 600; font-size: 0.92rem; line-height: 1.25; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.smp-item__meta { font-size: 0.74rem; color: var(--smp-muted); }
.smp-item__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; width: 14px; opacity: 0; transition: opacity 0.25s; }
.smp-item__eq i { width: 3px; background: var(--smp-violet-soft); border-radius: 2px; height: 40%; }
.smp-item.is-playing .smp-item__eq { opacity: 1; }
.smp-item.is-playing .smp-item__eq i:nth-child(1) { animation: smp-eq 0.9s ease-in-out infinite; }
.smp-item.is-playing .smp-item__eq i:nth-child(2) { animation: smp-eq 0.9s ease-in-out -0.3s infinite; }
.smp-item.is-playing .smp-item__eq i:nth-child(3) { animation: smp-eq 0.9s ease-in-out -0.6s infinite; }
@keyframes smp-eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.smp-rail__more {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1rem; border-top: 1px solid var(--smp-line); text-decoration: none;
  font-family: var(--smp-head); font-weight: 600; font-size: 0.86rem; color: #fff;
  background: rgba(124, 58, 237, 0.14); transition: background 0.3s var(--smp-ease), gap 0.3s var(--smp-ease);
}
.smp-rail__more:hover { background: rgba(124, 58, 237, 0.3); gap: 0.8rem; color: #fff; }

@media (max-width: 900px) {
  .smp-stage { grid-template-columns: 1fr; }
  .smp-rail__list { max-height: 340px; }
  .smp-player__play { width: 68px; height: 68px; font-size: 1.25rem; }
}
@media (max-width: 520px) {
  .smp-item { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .smp-item__num { display: none; }
  .smp-item__thumb { width: 96px; }
  .smp-player__badge { display: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   2. CATALOG PAGE  (/clases-muestra)
   ════════════════════════════════════════════════════════════════════════ */
.smp-page {
  padding-bottom: clamp(2rem, 5vw, 4rem);
  /* editorial button tokens (.ed-btn is defined globally but its vars live on the homepage scope) */
  --ed-ink: #0b0a14;
  --ed-line: rgba(20, 16, 40, 0.12);
  --ed-grotesk: var(--smp-head);
  --ed-ease: var(--smp-ease);
}

.smp-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--smp-text);
  max-width: min(1296px, calc(100% - 24px)); margin: clamp(0.75rem, 2vw, 1.25rem) auto 0;
  border-radius: var(--smp-radius); padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3rem);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(124, 58, 237, 0.45), transparent 60%),
    radial-gradient(700px 380px at 88% 0%, rgba(139, 92, 246, 0.2), transparent 55%),
    linear-gradient(160deg, var(--smp-ink-2) 0%, var(--smp-ink) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 90px -50px rgba(76, 29, 149, 0.6);
}
.smp-hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 85%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 85%);
}
.smp-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.smp-hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.smp-badge {
  display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--smp-head); font-size: 0.74rem; font-weight: 600;
  padding: 0.42rem 0.8rem; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--smp-line-2);
}
.smp-badge--free { color: #0f0b1f; background: #6ee7b7; border-color: #6ee7b7; }
.smp-badge i { font-size: 0.9em; }
/* beat the global .z2h-public-page h1 dark-color rule (0,2,2) with (0,3,0) */
.z2h-public-page .smp-hero .smp-hero__title {
  font-family: var(--smp-head); font-weight: 600; letter-spacing: -0.02em; color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; margin: 0.2rem 0 0;
}
.z2h-public-page .smp-hero .smp-hero__title em { font-style: normal; font-weight: 700; color: var(--smp-violet-soft); }
.smp-hero__lead { color: var(--smp-muted); font-size: clamp(1rem, 1.7vw, 1.12rem); line-height: 1.65; margin: 0; max-width: 58ch; }
.smp-hero__stats {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 0.9rem; margin: 0.4rem 0 0;
  font-family: var(--smp-head); font-size: 0.88rem; color: var(--smp-muted);
}
.smp-hero__stats strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.smp-hero__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--smp-muted); opacity: 0.6; }

.smp-catalog { max-width: 1180px; margin: 0 auto; padding: clamp(1.8rem, 4vw, 3rem) clamp(1rem, 3vw, 1.5rem) 0; }

.smp-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.smp-filter {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  font-family: var(--smp-head); font-weight: 600; font-size: 0.84rem; color: #3a3650;
  background: #fff; border: 1.5px solid rgba(20, 16, 40, 0.12); border-radius: 999px; padding: 0.5rem 0.95rem;
  transition: border-color 0.25s var(--smp-ease), background 0.25s var(--smp-ease), color 0.25s var(--smp-ease), transform 0.25s var(--smp-ease);
}
.smp-filter:hover { border-color: var(--smp-violet); color: var(--smp-violet-2); transform: translateY(-1px); }
.smp-filter.is-active { background: var(--smp-ink); border-color: var(--smp-ink); color: #fff; }
.smp-filter__n { font-size: 0.7rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(124, 58, 237, 0.1); color: var(--smp-violet-2); font-variant-numeric: tabular-nums; }
.smp-filter.is-active .smp-filter__n { background: rgba(255, 255, 255, 0.16); color: #fff; }

.smp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); }
.smp-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(20, 16, 40, 0.1); box-shadow: 0 2px 6px rgba(20, 16, 40, 0.04), 0 24px 48px -32px rgba(20, 16, 40, 0.25);
  transition: transform 0.35s var(--smp-ease), box-shadow 0.35s var(--smp-ease), border-color 0.35s var(--smp-ease);
}
.smp-card[hidden] { display: none; }
.smp-card:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, 0.35); box-shadow: 0 2px 6px rgba(20, 16, 40, 0.05), 0 36px 64px -32px rgba(124, 58, 237, 0.4); }
.smp-card--featured { border-color: rgba(124, 58, 237, 0.4); }
.smp-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  background: #0f0b1f; overflow: hidden; text-align: left;
}
.smp-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--smp-ease); }
.smp-card:hover .smp-card__media img { transform: scale(1.06); }
.smp-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 11, 31, 0) 40%, rgba(15, 11, 31, 0.55) 100%); pointer-events: none; }
.smp-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.92);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.05rem; padding-left: 4px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.3s var(--smp-ease);
}
.smp-card:hover .smp-card__play, .smp-card__media:focus-visible .smp-card__play { transform: translate(-50%, -50%) scale(1.06); }
.smp-card__media:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px rgba(124, 58, 237, 0.8); }
.smp-card__dur {
  position: absolute; right: 0.7rem; bottom: 0.7rem; font-family: var(--smp-head); font-size: 0.68rem; font-weight: 600;
  color: #fff; background: rgba(0, 0, 0, 0.72); padding: 0.25rem 0.5rem; border-radius: 6px; font-variant-numeric: tabular-nums;
}
.smp-card__star {
  position: absolute; left: 0.7rem; top: 0.7rem; display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--smp-head); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); padding: 0.32rem 0.6rem; border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(124, 58, 237, 0.7);
}
.smp-card__body { display: grid; gap: 0.6rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1 1 auto; align-content: start; }
.smp-card__body .smp-chip { color: #5b21b6; border-color: #ded5f6; background: #f8f7fd; }
.smp-card__body .smp-chip--topic { color: #fff; background: var(--smp-violet); border-color: var(--smp-violet); }
.smp-card__title { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.smp-card__title button {
  all: unset; cursor: pointer; font-family: var(--smp-head); font-weight: 600; letter-spacing: -0.01em; color: #0b0a14;
  transition: color 0.25s var(--smp-ease);
}
.smp-card__title button:hover { color: var(--smp-violet-2); }
.smp-card__title button:focus-visible { outline: 2px solid var(--smp-violet); outline-offset: 3px; border-radius: 4px; }
.smp-card__desc { margin: 0; color: #6b6680; font-size: 0.92rem; line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.smp-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.6rem; border-top: 1px solid rgba(20, 16, 40, 0.08); }
.smp-card__watch {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font-family: var(--smp-head); font-weight: 600; font-size: 0.88rem; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); border: 0; border-radius: 999px; padding: 0.55rem 1rem;
  box-shadow: 0 10px 24px -12px rgba(124, 58, 237, 0.8); transition: transform 0.25s var(--smp-ease), box-shadow 0.25s var(--smp-ease);
}
.smp-card__watch:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(124, 58, 237, 0.95); }
.smp-card__watch:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25); }
.smp-card__program {
  display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--smp-head); font-weight: 600; font-size: 0.82rem;
  color: #3a3650; text-decoration: none; border-bottom: 1.5px solid transparent; max-width: 100%;
  transition: color 0.25s var(--smp-ease), border-color 0.25s var(--smp-ease), gap 0.25s var(--smp-ease);
}
.smp-card__program:hover { color: var(--smp-violet-2); border-color: var(--smp-violet); gap: 0.6rem; }
.smp-noresults { text-align: center; color: #6b6680; padding: 2rem 0; margin: 0; }
.smp-noresults[hidden] { display: none; }

.smp-empty {
  text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1rem; border: 1.5px dashed rgba(20, 16, 40, 0.15); border-radius: 20px; background: #fff;
}
.smp-empty__icon { width: 64px; height: 64px; border-radius: 18px; display: inline-grid; place-items: center; font-size: 1.5rem; color: var(--smp-violet-2); background: rgba(124, 58, 237, 0.1); margin-bottom: 1rem; }
.smp-empty h2 { font-family: var(--smp-head); font-weight: 600; font-size: 1.4rem; margin: 0 0 0.4rem; }
.smp-empty p { color: #6b6680; margin: 0; }
.smp-empty a { color: var(--smp-violet-2); font-weight: 600; }

/* closing band */
.smp-band {
  max-width: 1180px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 24px; background: #fff; border: 1px solid rgba(20, 16, 40, 0.1);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem; align-items: center;
  box-shadow: 0 24px 48px -36px rgba(20, 16, 40, 0.3);
  width: calc(100% - 2rem);
}
.smp-band__eyebrow { font-family: var(--smp-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--smp-violet-2); margin: 0 0 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.smp-band__title { font-family: var(--smp-head); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.08; margin: 0; color: #0b0a14; }
.smp-band__title em { font-style: normal; font-weight: 700; color: var(--smp-violet-2); }
.smp-band__lead { color: #3a3650; margin: 0.7rem 0 0; line-height: 1.6; max-width: 52ch; }
.smp-band__actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: stretch; }
.smp-band__actions .ed-btn { justify-content: center; }
.smp-band__ghost { color: #0b0a14; }

/* lightbox */
.smp-lightbox {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem); background: rgba(11, 10, 20, 0.82); backdrop-filter: blur(8px);
  animation: smp-fade 0.25s var(--smp-ease);
}
.smp-lightbox[hidden] { display: none; }
@keyframes smp-fade { from { opacity: 0; } to { opacity: 1; } }
.smp-lightbox__box {
  position: relative; width: min(1080px, 100%); max-height: 100%; overflow: auto;
  background: var(--smp-ink); color: var(--smp-text); border-radius: 22px; border: 1px solid var(--smp-line-2);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9); animation: smp-pop 0.3s var(--smp-ease);
}
@keyframes smp-pop { from { transform: translateY(14px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.smp-lightbox__close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 11, 31, 0.75); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1rem;
  transition: background 0.25s var(--smp-ease), transform 0.25s var(--smp-ease);
}
.smp-lightbox__close:hover { background: var(--smp-violet); transform: rotate(90deg); }
.smp-lightbox__close:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.5); }
.smp-lightbox__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.smp-lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.smp-lightbox__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem; align-items: start; padding: 1.2rem 1.4rem 1.4rem; }
.smp-lightbox__text { display: grid; gap: 0.5rem; min-width: 0; }
.smp-lightbox__title { font-family: var(--smp-head); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.2; margin: 0; color: #fff; }
.smp-lightbox__desc { margin: 0; color: var(--smp-muted); font-size: 0.94rem; line-height: 1.6; }
.smp-lightbox__desc[hidden] { display: none; }
.smp-lightbox__actions { display: grid; gap: 0.8rem; justify-items: end; }
.smp-lightbox__cta {
  display: inline-flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; border-radius: 14px; text-decoration: none; color: #fff;
  background: rgba(124, 58, 237, 0.22); border: 1px solid rgba(167, 139, 250, 0.55); max-width: 320px;
  transition: background 0.3s var(--smp-ease), transform 0.3s var(--smp-ease);
}
.smp-lightbox__cta[hidden] { display: none; }
.smp-lightbox__cta > span { display: grid; line-height: 1.2; min-width: 0; }
.smp-lightbox__cta-k { font-family: var(--smp-head); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smp-violet-soft); }
.smp-lightbox__cta strong { font-family: var(--smp-head); font-weight: 600; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smp-lightbox__cta:hover { background: rgba(124, 58, 237, 0.4); transform: translateY(-2px); color: #fff; }
.smp-lightbox__nav { display: inline-flex; align-items: center; gap: 0.5rem; }
.smp-lightbox__navbtn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--smp-line-2); background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background 0.25s var(--smp-ease);
}
.smp-lightbox__navbtn:hover:not(:disabled) { background: var(--smp-violet); }
.smp-lightbox__navbtn:disabled { opacity: 0.3; cursor: not-allowed; }
.smp-lightbox__pos { font-family: var(--smp-head); font-size: 0.8rem; color: var(--smp-muted); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: center; }
body.smp-lock { overflow: hidden; }

@media (max-width: 760px) {
  .smp-band { grid-template-columns: 1fr; }
  .smp-lightbox { padding: 0; align-items: stretch; }
  .smp-lightbox__box { border-radius: 0; width: 100%; border: 0; }
  .smp-lightbox__meta { grid-template-columns: 1fr; }
  .smp-lightbox__actions { justify-items: start; }
  .smp-lightbox__cta { max-width: 100%; }
}

/* ── Motion safety ── */
@media (prefers-reduced-motion: reduce) {
  .smp-stage__glow, .smp-player__ring, .smp-item__eq i { animation: none !important; }
  .smp-lightbox, .smp-lightbox__box { animation: none; }
  .smp-card, .smp-card__media img, .smp-player__poster, .smp-item__thumb img { transition: none; }
}
