/* 直播助手模块样式 */
.live-demo {
  padding: 40px 36px;
  text-align: left;
}
.live-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(126, 200, 255, 0.15);
  color: #7ec8ff;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.live-demo h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #e6f1ff;
}
.live-demo p {
  color: #8aa;
  margin-bottom: 20px;
  line-height: 1.7;
}
.live-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.live-note {
  font-size: 13px;
  color: #557 !important;
  margin-bottom: 0 !important;
}
.live-note a {
  color: #7ec8ff;
  text-decoration: none;
}
.live-note a:hover {
  text-decoration: underline;
}
/* TOKEN 套餐价目表 */
.live-pricing {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(126,200,255,0.2);
  border-radius: 12px;
  background: rgba(126,200,255,0.05);
}
.lp-title {
  font-size: 14px;
  font-weight: bold;
  color: #7ec8ff;
  margin-bottom: 12px;
}
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.lp-item {
  background: rgba(13,21,38,0.7);
  border: 1px solid rgba(126,200,255,0.15);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  position: relative;
}
.lp-item .lp-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,107,107,0.2);
  color: #ff8787;
}
.lp-item .lp-name {
  font-size: 14px;
  font-weight: 600;
  color: #e6f1ff;
  margin-bottom: 6px;
}
.lp-item .lp-price {
  font-size: 22px;
  font-weight: 800;
  color: #7ec8ff;
}
.lp-item .lp-price small {
  font-size: 11px;
  font-weight: 400;
  color: #557;
}
.lp-item .lp-tokens {
  font-size: 12px;
  color: #8aa;
  margin-top: 4px;
}
.lp-item .lp-desc {
  font-size: 11px;
  color: #557;
  margin-top: 6px;
  line-height: 1.5;
}

/* 直播助手·特点卡片横向排列 */
.avatar-points-h {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media(max-width: 900px){
  .avatar-points-h { grid-template-columns: repeat(2, 1fr); }
}

/* 版本分类导航 */
.live-ver-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.lv-tab {
  position: relative;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(126,200,255,0.18);
  background: rgba(13,21,38,0.7);
  color: #cfe3ff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.lv-tab.on {
  border-color: #7ec8ff;
  background: rgba(126,200,255,0.12);
  box-shadow: 0 0 18px rgba(126,200,255,0.25);
}
.lv-tab[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.lv-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  vertical-align: 1px;
}
.lv-tab.on .lv-tag {
  background: rgba(120,255,180,0.18);
  color: #7dffb0;
}
.lv-tab[disabled] .lv-tag {
  background: rgba(255,255,255,0.08);
  color: #889;
}

/* 截图教程 */
.live-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.ls-col {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(126,200,255,0.15);
  background: rgba(13,21,38,0.7);
}
.ls-col img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ls-col span {
  display: block;
  text-align: center;
  padding: 8px 6px;
  font-size: 12px;
  color: #8fb7dd;
}

/* 深度自定义 */
.live-custom {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(126,200,255,0.18);
  border-radius: 12px;
  background: rgba(126,200,255,0.05);
}
.live-custom h4 {
  color: #7ec8ff;
  font-size: 15px;
  margin-bottom: 12px;
}
.lc-item {
  color: #c6d8ee;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.lc-item b {
  color: #7ec8ff;
  margin-right: 4px;
}
.lc-note {
  font-size: 13px;
  color: #8aa;
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 0 !important;
}

/* 四步流程图 */
.live-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 20px 0;
}
.lf-step {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid rgba(126,200,255,0.16);
  background: rgba(13,21,38,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lf-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg,#7ec8ff,#5aa8ff);
  color: #0a1526;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.lf-step b {
  color: #e6f1ff;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.4;
}
.lf-step p {
  color: #8aa;
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.lf-step img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-top: auto;
  cursor: zoom-in;
  transition: transform .2s;
}
.lf-step img:hover { transform: scale(1.03); }
.lf-step img.lf-logo {
  object-fit: contain;
  background: rgba(126,200,255,0.06);
  padding: 14px;
}
.lf-arrow {
  display: flex;
  align-items: center;
  color: #7ec8ff;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
@media(max-width: 760px){
  .live-flow { flex-wrap: wrap; }
  .lf-arrow { transform: rotate(90deg); width: 100%; justify-content: center; }
  .lf-step { min-width: calc(50% - 8px); }
}

/* ===== 手机端整体优化 ===== */
@media(max-width: 760px){
  .live-demo { padding: 22px 14px; }
  .live-demo h3 { font-size: 20px; }
  .live-badge { font-size: 11px; }

  /* 版本导航：2x2 网格 */
  .live-ver-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .lv-tab { width: 100%; text-align: center; padding: 10px 6px; font-size: 13px; }
  .lv-tag { margin-left: 4px; font-size: 10px; padding: 2px 6px; }

  /* 流程图：竖排，每步一行 + 竖箭头 */
  .live-flow { flex-direction: column; gap: 4px; }
  .lf-arrow { transform: rotate(90deg); height: 22px; width: 100%; justify-content: center; font-size: 20px; }
  .lf-step { width: 100%; min-width: 0; }
  .lf-step img { aspect-ratio: 16/9; }

  /* 功能截图：2 列 */
  .live-shots { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* logo 略小 */
  .live-logo img { height: 36px; }
  .live-logo { gap: 10px; }

  /* CTA 按钮全宽 */
  .live-cta .btn { width: 100%; justify-content: center; }

  /* 价目表 2 列 */
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 520px){
  .avatar-points-h { grid-template-columns: 1fr; }
  .lp-grid { grid-template-columns: 1fr; }
}

/* 顶部 logo 居中 + 两侧装饰线 */
.live-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.live-logo::before,
.live-logo::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126,200,255,0.45));
}
.live-logo::after {
  background: linear-gradient(90deg, rgba(126,200,255,0.45), transparent);
}
.live-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* 点击放大 lightbox */
.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,6,15,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 40px;
}
.img-lightbox.show { display: flex; }
.img-lightbox img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(126,200,255,0.3);
}
