/* ═══════════════════════════════════════════════════════════════
   KNOW US / TEAM SHOWCASE — Figma Reference Animation
   Recreating the exact layout, micro-stickers, and transitions from knowus.mp4:
   - Hand-drawn illustrated cards with signature typography & floating doodles
   - Seamless morphing from 5-card row -> left spotlight card + right detail container
   - Smooth undo/back arrow button animation
   - Beautiful Light & Dark theme adaptation
   ═══════════════════════════════════════════════════════════════ */

/* ── Main Content & Page Header Spacing ── */
.main-content {
  padding-top: calc(var(--nav-h, 64px) + 0.5rem) !important;
  padding-bottom: 2.5rem !important;
}

.main-content .page-header {
  margin-bottom: 0.5rem !important;
}

.main-content .page-header .label {
  margin-bottom: 0.2rem;
}

.main-content .page-header .page-title {
  margin-top: 0.25rem !important;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

/* ── Container Wrapper ── */
.ts-showcase-wrap {
  width: 100%;
  max-width: 84rem;
  margin: 0 auto;
  padding: 0.25rem 1rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

/* ── Outer Stage Window (Desktop Browser / Canvas Frame) ── */
.ts-stage {
  width: 100%;
  background-color: #111A16;
  background-image: 
    radial-gradient(circle at 14px 14px, rgba(209, 250, 229, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 88% 12%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 55%);
  background-size: 26px 26px, 100% 100%, 100% 100%, 100% 100%;
  border: var(--block-border, 2px solid var(--v-text));
  border-radius: 28px;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.35), 8px 8px 0px var(--v-text, #064E3B);
  padding: 1.35rem 1.5rem 2rem;
  position: relative;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

body.light-theme .ts-stage {
  background-color: #fcfcfd;
  background-image: 
    radial-gradient(circle at 14px 14px, rgba(11, 15, 13, 0.075) 2px, transparent 2px),
    radial-gradient(circle at 92% 8%, rgba(253, 224, 71, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 8% 92%, rgba(134, 239, 172, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 45% 20%, rgba(192, 132, 252, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.3) 0%, transparent 42%);
  background-size: 26px 26px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  border-color: #0B0F0D;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.08), 8px 8px 0px #0B0F0D;
}

/* Playful Floating Corner Doodles */
.ts-stage::before {
  content: '✦';
  position: absolute;
  top: 1.15rem;
  left: 1.35rem;
  font-size: 1.35rem;
  color: #facc15;
  text-shadow: 2px 2px 0px #0B0F0D;
  opacity: 0.9;
  pointer-events: none;
  animation: tsFloatSparkle 3.5s ease-in-out infinite alternate;
  z-index: 1;
}

.ts-stage::after {
  content: '★';
  position: absolute;
  bottom: 1.15rem;
  right: 1.35rem;
  font-size: 1.35rem;
  color: #fb7185;
  text-shadow: 2px 2px 0px #0B0F0D;
  opacity: 0.9;
  pointer-events: none;
  animation: tsFloatSparkle 4s ease-in-out infinite alternate-reverse;
  z-index: 1;
}

@keyframes tsFloatSparkle {
  0% { transform: translateY(0) rotate(0deg) scale(0.95); }
  100% { transform: translateY(-5px) rotate(14deg) scale(1.12); }
}

/* ── Top Header Title in Stage ── */
.ts-stage-header {
  text-align: center;
  margin-bottom: 1.25rem;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ts-stage-header.is-hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.ts-stage-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--v-text, #D1FAE5);
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

body.light-theme .ts-stage-title {
  color: #0B0F0D;
}

.ts-stage-subtitle {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--v-text, #D1FAE5);
  opacity: 0.75;
  margin: 0;
}

body.light-theme .ts-stage-subtitle {
  color: #334155;
  opacity: 0.85;
}

/* ── Top-Right Undo / Back Button ── */
.ts-back-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--v-card-bg, #111A16);
  border: 2px solid var(--v-text, #064E3B);
  box-shadow: 3px 3px 0px var(--v-text, #064E3B);
  color: var(--v-text, #D1FAE5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) rotate(15deg);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 30;
}

body.light-theme .ts-back-btn {
  background: #ffffff;
  border-color: #0B0F0D;
  box-shadow: 3px 3px 0px #0B0F0D;
  color: #0B0F0D;
}

.ts-back-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) rotate(0deg);
}

.ts-back-btn:hover {
  transform: scale(1.12) rotate(-8deg);
  background: var(--v-primary, #10B981);
  color: #ffffff;
  border-color: #0B0F0D;
}

.ts-back-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.ts-back-btn:hover svg {
  transform: translateX(-2px);
}

/* ── Section Sub-Headers & Kickers inside Stage ── */
.ts-sub-header {
  margin-bottom: 0.75rem;
}

.ts-pill-kicker {
  display: inline-block;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--v-text, #10b981);
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.35rem;
}

body.light-theme .ts-pill-kicker {
  color: #047857;
  background: #d1fae5;
  border-color: #047857;
}

/* ═══════════════════════════════════════════════════════════════
   FACULTY MENTORS ROW (Top Highlighted Leadership Cards)
   ═══════════════════════════════════════════════════════════════ */
.ts-faculty-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.25rem);
  width: 100%;
  padding: 0.5rem 0.5rem 1rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ts-faculty-row.is-hidden {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* Specially Highlighted Faculty Card (Premium Multi-Color & Glass Finish) */
.ts-card.ts-card-faculty {
  width: clamp(140px, 14vw, 165px);
  height: clamp(230px, 21vw, 258px);
  border: 2.5px solid #0B0F0D;
  box-shadow: 5px 5px 0px #0B0F0D, inset 0 1.5px 2px rgba(255, 255, 255, 0.65), inset 0 -2px 6px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  position: relative;
  overflow: visible;
  padding: 0.85rem 0.5rem 0.65rem;
}

/* Prismatic Glass Gloss Overlay for Faculty Cards */
.ts-card.ts-card-faculty::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.12) 28%,
    rgba(255, 255, 255, 0) 55%,
    rgba(255, 255, 255, 0.12) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.ts-card.ts-card-faculty .ts-avatar-wrap {
  height: 145px;
  position: relative;
  z-index: 2;
}

.ts-card.ts-card-faculty .ts-info {
  position: relative;
  z-index: 2;
}

.ts-card.ts-card-faculty .ts-name {
  color: #0B0F0D;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.45);
}

.ts-card.ts-card-faculty .ts-location {
  color: #0B0F0D;
  font-weight: 800;
  opacity: 0.85;
}

.ts-faculty-row .ts-card-faculty:nth-child(1) {
  transform: rotate(-1.5deg) translateY(-2px);
}

.ts-faculty-row .ts-card-faculty:nth-child(2) {
  transform: rotate(1.5deg) translateY(-2px);
}

.ts-card-faculty:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.07) !important;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.32), 7px 7px 0px #0B0F0D, inset 0 2px 3px rgba(255, 255, 255, 0.85) !important;
  z-index: 15;
}

/* Gold/Vibrant Faculty Tag Badge at top */
.ts-faculty-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #eab308 100%);
  color: #0B0F0D;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2.5px 10px;
  border-radius: 999px;
  border: 2px solid #0B0F0D;
  box-shadow: 2px 2px 0px #0B0F0D;
  white-space: nowrap;
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ts-card-faculty:hover .ts-faculty-tag {
  transform: translateX(-50%) scale(1.06);
  background: linear-gradient(135deg, #fff 0%, #fde047 50%, #facc15 100%);
}

/* ── Faculty Multi-Color Mixture Themes ── */

/* 1. HOD Card (Dr. Kishore): Royal Indigo, Electric Azure, Velvet Violet & Cobalt Aura */
.ts-card.theme-faculty-hod,
.ts-spotlight-card.theme-faculty-hod {
  background: 
    radial-gradient(ellipse at 15% 15%, rgba(129, 140, 248, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(192, 132, 252, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(56, 189, 248, 0.75) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(168, 85, 247, 0.8) 0%, transparent 50%),
    linear-gradient(145deg, #4338ca 0%, #4f46e5 28%, #7c3aed 65%, #2563eb 100%);
  color: #0f172a;
}

body.light-theme .ts-card.theme-faculty-hod,
body.light-theme .ts-spotlight-card.theme-faculty-hod {
  background: 
    radial-gradient(ellipse at 15% 15%, rgba(199, 210, 254, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(233, 213, 255, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(186, 230, 253, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(221, 214, 254, 0.85) 0%, transparent 50%),
    linear-gradient(145deg, #818cf8 0%, #6366f1 32%, #a855f7 68%, #60a5fa 100%);
  color: #0f172a;
}

/* 2. Faculty Sponsor Card (Prof. Vandana): Deep Jewel Emerald, Jade, Electric Teal & Aquamarine Prism */
.ts-card.theme-faculty-sponsor,
.ts-spotlight-card.theme-faculty-sponsor {
  background: 
    radial-gradient(ellipse at 15% 15%, rgba(45, 212, 191, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(56, 189, 248, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(16, 185, 129, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(6, 182, 212, 0.75) 0%, transparent 50%),
    linear-gradient(145deg, #0d9488 0%, #0f766e 28%, #059669 65%, #0284c7 100%);
  color: #042f2e;
}

body.light-theme .ts-card.theme-faculty-sponsor,
body.light-theme .ts-spotlight-card.theme-faculty-sponsor {
  background: 
    radial-gradient(ellipse at 15% 15%, rgba(94, 234, 212, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(125, 211, 252, 0.85) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(110, 231, 183, 0.88) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(103, 232, 249, 0.8) 0%, transparent 50%),
    linear-gradient(145deg, #2dd4bf 0%, #14b8a6 32%, #10b981 68%, #38bdf8 100%);
  color: #042f2e;
}

/* Faculty Spotlight Dossier Borders & Accents */
.ts-spotlight-dossier.dossier-faculty-hod {
  border-color: #6366f1;
}
body.light-theme .ts-spotlight-dossier.dossier-faculty-hod {
  background: #eef2ff;
  border-color: #0B0F0D;
}

.ts-spotlight-dossier.dossier-faculty-sponsor {
  border-color: #0d9488;
}
body.light-theme .ts-spotlight-dossier.dossier-faculty-sponsor {
  background: #f0fdfa;
  border-color: #0B0F0D;
}

/* ═══════════════════════════════════════════════════════════════
   DECK VIEW (Chapter Officers Fanned Row)
   ═══════════════════════════════════════════════════════════════ */
.ts-cards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.4rem, 0.9vw, 0.75rem);
  width: 100%;
  padding: 0.5rem 0.5rem 1rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ts-cards-row.is-hidden {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* Individual Card (Perfect fit inside stage) */
.ts-card {
  width: clamp(124px, 12vw, 145px);
  height: clamp(215px, 20vw, 238px);
  border-radius: 18px;
  border: 2.5px solid #0B0F0D;
  box-shadow: 4px 4px 0px #0B0F0D;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

/* Fanned angles for Chapter Officers */
.ts-cards-row .ts-card:nth-child(1) { transform: rotate(-4.5deg) translateY(5px); }
.ts-cards-row .ts-card:nth-child(2) { transform: rotate(-2.7deg) translateY(2px); }
.ts-cards-row .ts-card:nth-child(3) { transform: rotate(-0.9deg) translateY(0px); }
.ts-cards-row .ts-card:nth-child(4) { transform: rotate(0.9deg) translateY(0px); }
.ts-cards-row .ts-card:nth-child(5) { transform: rotate(2.7deg) translateY(2px); }
.ts-cards-row .ts-card:nth-child(6) { transform: rotate(4.5deg) translateY(5px); }
.ts-cards-row .ts-card:nth-child(7) { transform: rotate(6deg) translateY(7px); }

.ts-card:hover {
  transform: rotate(0deg) translateY(-14px) scale(1.08) !important;
  box-shadow: 0 18px 30px -8px rgba(0, 0, 0, 0.25), 6px 6px 0px #0B0F0D !important;
  z-index: 15;
}

/* ── Vibrant Card Colors from Video ── */
.ts-card.theme-orange { background: #f97316; color: #431407; }
.ts-card.theme-purple { background: #a855f7; color: #3b0764; }
.ts-card.theme-cyan   { background: #06b6d4; color: #083344; }
.ts-card.theme-yellow { background: #facc15; color: #422006; }
.ts-card.theme-green  { background: #84cc16; color: #14532d; }
.ts-card.theme-pink   { background: #f43f5e; color: #4c0519; }
.ts-card.theme-blue   { background: #3b82f6; color: #172554; }

/* In Light Theme */
body.light-theme .ts-card.theme-orange { background: #fb923c; color: #0f172a; }
body.light-theme .ts-card.theme-purple { background: #c084fc; color: #0f172a; }
body.light-theme .ts-card.theme-cyan   { background: #38bdf8; color: #0f172a; }
body.light-theme .ts-card.theme-yellow { background: #fde047; color: #0f172a; }
body.light-theme .ts-card.theme-green  { background: #86efac; color: #0f172a; }
body.light-theme .ts-card.theme-pink   { background: #fb7185; color: #0f172a; }
body.light-theme .ts-card.theme-blue   { background: #93c5fd; color: #0f172a; }

/* ── Avatar Illustration & Photo Container ── */
.ts-avatar-wrap {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.ts-avatar-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ts-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.85) 65%, rgba(0, 0, 0, 0.45) 80%, rgba(0, 0, 0, 0.1) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.85) 65%, rgba(0, 0, 0, 0.45) 80%, rgba(0, 0, 0, 0.1) 92%, transparent 100%);
}

.ts-card:hover .ts-avatar-svg,
.ts-card:hover .ts-avatar-img {
  transform: scale(1.08) translateY(-2px);
}

.ts-avatar-fallback {
  width: 100%;
  height: 100%;
}

/* ── Card Typography (Handwritten signature style from video) ── */
.ts-info {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.ts-name {
  font-family: 'Caveat', 'Patrick Hand', cursive, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: inherit;
}

.ts-location {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  color: inherit;
}

/* ── Micro-Stickers Floating Around Cards ── */
.ts-sticker {
  position: absolute;
  pointer-events: none;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 2px solid #0B0F0D;
  border-radius: 50%;
  box-shadow: 2.5px 2.5px 0px #0B0F0D;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  z-index: 6;
}

.ts-sticker-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.ts-card:hover .ts-stk-tl { transform: translate(-4px, -6px) rotate(-18deg) scale(1.18); box-shadow: 3.5px 3.5px 0px #0B0F0D; }
.ts-card:hover .ts-stk-tr { transform: translate(4px, -6px) rotate(18deg) scale(1.18); box-shadow: 3.5px 3.5px 0px #0B0F0D; }
.ts-card:hover .ts-stk-bl { transform: translate(-4px, 4px) rotate(-12deg) scale(1.15); box-shadow: 3.5px 3.5px 0px #0B0F0D; }
.ts-card:hover .ts-stk-br { transform: translate(4px, 4px) rotate(15deg) scale(1.15); box-shadow: 3.5px 3.5px 0px #0B0F0D; }

.ts-stk-tl { top: -8px; left: -8px; transform: rotate(-10deg); }
.ts-stk-tr { top: -8px; right: -8px; transform: rotate(10deg); }
.ts-stk-bl { bottom: -8px; left: -8px; transform: rotate(-8deg); }
.ts-stk-br { bottom: -8px; right: -8px; transform: rotate(8deg); }

/* ═══════════════════════════════════════════════════════════════
   SPOTLIGHT VIEW (Figma Split Screen Mode)
   ═══════════════════════════════════════════════════════════════ */
.ts-spotlight-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  animation: tsScaleIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ts-spotlight-wrap.is-hidden {
  display: none;
}

@keyframes tsScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ts-spotlight-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 860px) {
  .ts-spotlight-content {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
  }
}

/* Left Spotlight Card */
.ts-spotlight-card {
  width: 250px;
  height: 360px;
  border-radius: 26px;
  border: 3px solid #0B0F0D;
  box-shadow: 6px 6px 0px #0B0F0D;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

@media (min-width: 860px) {
  .ts-spotlight-card {
    width: 280px;
    height: 390px;
  }
}

.ts-spotlight-card .ts-avatar-wrap {
  height: 240px;
}

.ts-spotlight-card .ts-avatar-img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0, 0, 0, 0.85) 68%, rgba(0, 0, 0, 0.45) 82%, rgba(0, 0, 0, 0.1) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0, 0, 0, 0.85) 68%, rgba(0, 0, 0, 0.45) 82%, rgba(0, 0, 0, 0.1) 94%, transparent 100%);
}

.ts-spotlight-card .ts-sticker {
  width: 42px;
  height: 42px;
  padding: 6px;
  border: 2.5px solid #0B0F0D;
  box-shadow: 3.5px 3.5px 0px #0B0F0D;
  top: -12px;
  right: -12px;
  transform: rotate(14deg);
}

.ts-spotlight-card .ts-name {
  font-size: 2.4rem;
}

.ts-spotlight-card .ts-location {
  font-size: 0.95rem;
}

/* Right Detail Container Box */
.ts-spotlight-dossier {
  flex: 1;
  border-radius: 26px;
  border: 3px solid #0B0F0D;
  box-shadow: 6px 6px 0px #0B0F0D;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: all 0.35s ease;
}

/* Tinted container fills */
.dossier-green  { background: #ecfccb; color: #14532d; }
.dossier-orange { background: #ffedd5; color: #431407; }
.dossier-yellow { background: #fef9c3; color: #422006; }
.dossier-purple { background: #f3e8ff; color: #3b0764; }
.dossier-pink   { background: #ffe4e6; color: #4c0519; }
.dossier-cyan   { background: #e0f2fe; color: #0369a1; }
.dossier-blue   { background: #dbeafe; color: #1e40af; }

body:not(.light-theme) .dossier-green  { background: #14532d; color: #f0fdf4; border-color: #84cc16; box-shadow: 6px 6px 0px #84cc16; }
body:not(.light-theme) .dossier-orange { background: #431407; color: #fff7ed; border-color: #fb923c; box-shadow: 6px 6px 0px #fb923c; }
body:not(.light-theme) .dossier-yellow { background: #422006; color: #fefce8; border-color: #fde047; box-shadow: 6px 6px 0px #fde047; }
body:not(.light-theme) .dossier-purple { background: #3b0764; color: #faf5ff; border-color: #c084fc; box-shadow: 6px 6px 0px #c084fc; }
body:not(.light-theme) .dossier-pink   { background: #4c0519; color: #fff1f2; border-color: #fb7185; box-shadow: 6px 6px 0px #fb7185; }
body:not(.light-theme) .dossier-cyan   { background: #082f49; color: #f0f9ff; border-color: #38bdf8; box-shadow: 6px 6px 0px #38bdf8; }
body:not(.light-theme) .dossier-blue   { background: #172554; color: #eff6ff; border-color: #60a5fa; box-shadow: 6px 6px 0px #60a5fa; }

.ts-dossier-role {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  opacity: 0.95;
}

.ts-dossier-role-sticker {
  width: 26px;
  height: 26px;
  background: #ffffff;
  border: 1.5px solid #0B0F0D;
  border-radius: 50%;
  box-shadow: 1.5px 1.5px 0px #0B0F0D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.ts-dossier-role-sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ts-dossier-quote {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.ts-dossier-bio {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.88;
  margin: 0 0 1.5rem;
}

/* Skill Tags */
.ts-dossier-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.ts-skill-pill {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: #ffffff;
  color: #0B0F0D;
  border: 2px solid #0B0F0D;
  box-shadow: 2px 2px 0px #0B0F0D;
}

body:not(.light-theme) .ts-skill-pill {
  background: #111A16;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 2px 2px 0px rgba(255, 255, 255, 0.4);
}

/* Social Buttons */
.ts-dossier-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.ts-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  background: #0B0F0D;
  color: #ffffff;
  border: 2px solid #0B0F0D;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body:not(.light-theme) .ts-action-btn {
  background: #ffffff;
  color: #0B0F0D;
  border-color: #ffffff;
}

.ts-action-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #0B0F0D;
  background: #1e293b;
}

body:not(.light-theme) .ts-action-btn:hover {
  background: #f1f5f9;
  box-shadow: 5px 5px 0px #ffffff;
}

.ts-action-btn svg {
  width: 17px;
  height: 17px;
}

/* ── Bottom Member Thumbnail Switcher ── */
.ts-bottom-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1.5px dashed rgba(0, 0, 0, 0.12);
}

body:not(.light-theme) .ts-bottom-switcher {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.ts-switcher-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: rgba(0, 0, 0, 0.05);
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #0B0F0D;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

body:not(.light-theme) .ts-switcher-chip {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.ts-switcher-chip:hover {
  transform: translateY(-1.5px);
  background: rgba(0, 0, 0, 0.1);
}

body:not(.light-theme) .ts-switcher-chip:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ts-switcher-chip.is-active {
  border-color: #0B0F0D;
  background: #ffffff;
  color: #0B0F0D;
  box-shadow: 2px 2px 0px #0B0F0D;
  transform: scale(1.04);
}

body:not(.light-theme) .ts-switcher-chip.is-active {
  background: #ffffff;
  color: #0B0F0D;
  border-color: #ffffff;
  box-shadow: 2px 2px 0px #ffffff;
}

.ts-switcher-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

body:not(.light-theme) .ts-switcher-dot {
  border-color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (Mobile & Tablet Optimization)
   ═══════════════════════════════════════════════════════════════ */

/* Mobile Swipe Hint */
.ts-swipe-hint {
  display: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  text-align: center;
  margin-top: 0.5rem;
  color: var(--v-text, #D1FAE5);
}

body.light-theme .ts-swipe-hint {
  color: #475569;
}

@media (max-width: 1024px) {
  .ts-showcase-wrap {
    padding: 1.25rem 0.75rem 3rem;
  }
  .ts-stage {
    padding: 2.25rem 1.25rem 2.75rem;
  }
  .ts-card {
    width: clamp(118px, 11vw, 135px);
    height: clamp(200px, 18vw, 225px);
  }
}

@media (max-width: 860px) {
  .ts-stage {
    padding: 2rem 1rem 2.25rem;
    border-radius: 22px;
    min-height: auto;
  }

  .ts-stage-title {
    font-size: 1.85rem;
  }

  .ts-swipe-hint {
    display: block;
  }

  /* Horizontal Snap Carousel on Mobile */
  .ts-cards-row {
    gap: 0.75rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 1.25rem 0.75rem 1.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ts-cards-row::-webkit-scrollbar {
    display: none;
  }

  .ts-card {
    scroll-snap-align: center;
    width: 145px;
    height: 220px;
    transform: none !important;
  }

  .ts-card:hover,
  .ts-card:active {
    transform: scale(1.03) !important;
  }

  /* Spotlight on Mobile */
  .ts-spotlight-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .ts-spotlight-card {
    width: 220px;
    height: 310px;
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }

  .ts-spotlight-card .ts-avatar-wrap {
    height: 190px;
  }

  .ts-spotlight-card .ts-name {
    font-size: 2rem;
  }

  .ts-spotlight-dossier {
    width: 100%;
    padding: 1.6rem 1.25rem;
    border-radius: 20px;
  }

  .ts-dossier-quote {
    font-size: 1.3rem;
  }

  .ts-dossier-bio {
    font-size: 0.92rem;
  }

  /* Bottom Switcher: Horizontally Scrollable Pills on Mobile */
  .ts-bottom-switcher {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 1rem 0.5rem 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ts-bottom-switcher::-webkit-scrollbar {
    display: none;
  }

  .ts-switcher-chip {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }

  .ts-back-btn {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .ts-showcase-wrap {
    padding: 0.75rem 0.5rem 2.5rem;
  }

  .ts-stage {
    padding: 1.5rem 0.75rem 1.75rem;
    border-radius: 18px;
  }

  .ts-stage-title {
    font-size: 1.6rem;
  }

  .ts-stage-subtitle {
    font-size: 0.85rem;
  }

  .ts-card {
    width: 135px;
    height: 205px;
    padding: 0.65rem 0.4rem;
  }

  .ts-avatar-wrap {
    height: 115px;
  }

  .ts-name {
    font-size: 1.35rem;
  }

  .ts-location {
    font-size: 0.62rem;
  }

  .ts-spotlight-card {
    width: 195px;
    height: 280px;
  }

  .ts-spotlight-card .ts-avatar-wrap {
    height: 170px;
  }

  .ts-spotlight-dossier {
    padding: 1.35rem 1rem;
  }

  .ts-dossier-quote {
    font-size: 1.15rem;
  }

  .ts-dossier-actions {
    width: 100%;
  }

  .ts-action-btn {
    flex: 1;
    justify-content: center;
  }
}
