.before-after {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 2.8vw, 40px);
  width: 100%;
  padding: clamp(40px, 6.7vw, 96px) clamp(16px, 6.7vw, 96px);
  background: #fff;
}

/* Reusable: Tab (23:333) */
.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ba-tab {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid #e3e7ea;
  background: #fff;
  color: #6b7680;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ba-tab--active {
  border: 1.5px solid #1a6df5;
  color: #1a6df5;
}

.ba-pair-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: 1148px;
}

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #e3e7ea;
  background: #fff;
  color: #3d474f;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
}

.ba-pair {
  position: relative;
  display: flex;
  gap: clamp(10px, 1.7vw, 24px);
  flex: 1;
  aspect-ratio: 996 / 340;
}

.ba-shot {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
}

.ba-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(13px);
  background: rgba(255,255,255,0.22);
}

.ba-shot--placeholder {
  background: #8fa3b6;
}

.ba-pair--unlocked .ba-shot::after {
  display: none;
}

.ba-chip {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 14px;
  border-radius: 6px;
  background: #0f2338;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
}

.ba-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(14px, 1.5vw, 22px) clamp(18px, 2vw, 28px);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px 0 rgba(15,36,56,0.18);
  z-index: 1;
  white-space: nowrap;
}

.ba-lock__icon {
  width: 24px;
  height: 24px;
}

.ba-lock__text {
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 600;
  line-height: 1.55;
  color: #171b1e;
  text-align: center;
}

.ba-auth {
  display: flex;
  gap: 12px;
}

.ba-auth__login,
.ba-auth__join {
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.ba-auth__login {
  background: #1a6df5;
  color: #fff;
}

.ba-auth__join {
  background: #fff;
  border: 1.2px solid #e3e7ea;
  color: #171b1e;
}

/* Mobile — node 65:1803 (compact single gated pair) */
@media (max-width: 900px) {
  .before-after {
    padding: 48px 20px;
    gap: 24px;
  }

  .ba-tab {
    padding: 9px 16px;
    font-size: 12px;
  }

  .ba-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .ba-lock {
    white-space: normal;
    max-width: 220px;
  }

  .ba-auth {
    width: 100%;
  }

  .ba-auth__login,
  .ba-auth__join {
    flex: 1;
    text-align: center;
  }
}
