.who-tabs-only {
  --font: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  position: relative;
  padding: 20px 0;
  margin-top: 0;
  background: transparent;
  overflow: hidden;
}

.who-tabs-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(140, 170, 220, 0.15) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 0%, rgba(0,0,0,0.7) 55%, transparent 100%);
}

.who-bg-glow {
  position: absolute;
  inset: -140px 0 -140px;
  pointer-events: none;
  transition: background 0.9s ease;
  z-index: 1;
  filter: blur(22px);
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 78% 58% at 50% 44%, #000 0%, rgba(0,0,0,0.85) 58%, transparent 100%);
}

.who-tabs-only .section-wrap {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.role-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.role-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.role-tab-icon {
  font-size: 15px;
  line-height: 1;
}

.role-tab-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  font-family: var(--font);
}

.role-tab:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.role-tab.active {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.3);
}

.role-tab.active .role-tab-label {
  color: #fff;
  font-weight: 600;
}

.role-spotlight {
  max-width: 1080px;
  margin: 0 auto;
}

.role-panel {
  display: none;
  grid-template-columns: 400px 1fr;
  gap: 56px;
  align-items: stretch;
  animation: rolePanelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.role-panel.active {
  display: grid;
}

@keyframes rolePanelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.role-scene {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 28px 72px rgba(0, 0, 0, 0.48);
}

.role-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 165px;
  z-index: 3;
  pointer-events: none;
}

.scene-nameplate {
  position: relative;
  z-index: 4;
  padding: 0 28px 28px;
}

.scene-role-name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  font-family: var(--font);
}

.scene-float-card {
  position: absolute;
  background: rgba(10, 16, 30, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  z-index: 5;
  min-width: 110px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.42);
}

.sfc-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.85px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.79);
  margin-bottom: 4px;
  font-family: var(--font);
}

.sfc-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.3px;
  font-family: var(--font);
}

.role-wins-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.role-headline {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.9px;
  margin: 0 0 18px;
  font-family: var(--font);
}

.role-win {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.role-win:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.win-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.07);
}

.win-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font);
}

.win-desc {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font);
}

.role-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.progress-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-dot.active {
  background: rgba(255, 255, 255, 0.22);
}

.progress-dot.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.88);
  animation: whoDotTimer var(--dot-dur, 9s) linear forwards;
}

@keyframes whoDotTimer {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 1024px) {
  .role-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .role-scene {
    min-height: 370px;
  }

  .role-headline {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .who-tabs-only .section-wrap {
    padding: 0 14px;
  }

  .role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
  }

  .role-tab {
    justify-content: center;
    padding: 8px 10px;
  }

  .role-tab-label {
    font-size: 12px;
  }

  .role-panel {
    gap: 18px;
  }

  .role-scene {
    min-height: 340px;
    border-radius: 18px;
  }

  .scene-float-card {
    min-width: 88px;
    padding: 8px 10px;
  }

  .sfc-value {
    font-size: 14px;
  }

  .scene-role-name {
    font-size: 18px;
  }

  .role-headline {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .role-win {
    padding: 12px;
    gap: 10px;
  }

  .win-title {
    font-size: 14px;
  }

  .win-desc {
    font-size: 13px;
  }

  .win-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .role-progress {
    margin-top: 18px;
  }
}
