:root {
  --bs-mint: #d8b45a;
  --bs-mint-soft: rgba(216,180,90,0.12);
  --bs-mint-deep: #e6c979;
  --bs-ink: #f4f6f2;
  --bs-ink-2: #a8b3ad;
  --bs-line: #1f312a;
  --bs-bg: #050b09;
  --bs-card: #0e1a16;
  --bs-radius: 18px;
  --bs-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --bs-tab-h: 62px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.bs-body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(216,180,90,0.10) 0%, rgba(5, 9, 11, 0) 60%),
    var(--bs-bg);
  color: var(--bs-ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.bs-shell {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 0 14px calc(var(--bs-tab-h) + 18px);
  min-height: 100vh;
  background: transparent;
}

/* ---------- 顶栏 ---------- */
.bs-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px 10px;
  background: linear-gradient(180deg, rgba(5, 9, 11, 0.92) 60%, rgba(5, 9, 11, 0));
  backdrop-filter: blur(8px);
}

.bs-vip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0a1417;
  color: #ffe27a;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.bs-start {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--bs-mint);
  background: #101b1e;
  color: var(--bs-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(216, 180, 90, 0.25);
}
.bs-start:hover { background: var(--bs-mint-soft); }

.bs-topbar-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.bs-link {
  color: var(--bs-ink-2);
  font-size: 12px;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(16, 27, 30, 0.72);
}
.bs-link:hover { color: var(--bs-ink); background: #101b1e; }

/* ---------- 首页 ---------- */
.bs-hero {
  position: relative;
  margin: 4px 0 12px;
  border-radius: 22px;
  overflow: hidden;
  min-height: 196px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    linear-gradient(120deg, rgba(6, 14, 16, 0.86), rgba(6, 14, 16, 0.10)),
    url("/Hotvideo/assets/beeshow/covers/bh_01.jpg") center 30% / cover no-repeat;
  color: #f4f6f2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
.bs-hero h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: 0.5px; }
.bs-hero p { margin: 0 0 12px; font-size: 13px; opacity: 0.85; }
.bs-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #d8b45a;
  color: #123;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.bs-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.bs-entry {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: var(--bs-radius);
  background: linear-gradient(135deg, #101b1e, #12211f);
  border: 1px solid rgba(216,180,90,0.28);
  box-shadow: var(--bs-shadow);
  cursor: pointer;
  text-align: left;
  color: var(--bs-ink);
}
.bs-entry:hover { transform: translateY(-1px); }
.bs-entry-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(216,180,90,0.12);
  font-size: 18px;
}
.bs-entry strong { display: block; font-size: 15px; }
.bs-entry span { display: block; font-size: 11px; color: var(--bs-ink-2); margin-top: 3px; }

.bs-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  margin: 6px 0 18px;
}
.bs-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bs-ink);
  font-size: 12px;
  padding: 4px 0;
  position: relative;
}
.bs-cat-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: #101b1e;
  border: 1px solid #1b2b2c;
  font-size: 21px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.bs-cat:hover .bs-cat-ico { background: var(--bs-mint-soft); }
.bs-cat-badge {
  position: absolute;
  top: -4px; right: 8px;
  background: #d8b45a;
  color: #101b1e;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.bs-section { margin-bottom: 18px; }
.bs-section-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px 9px;
}
.bs-section-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.bs-section-more {
  margin-left: auto;
  border: none;
  background: none;
  color: var(--bs-ink-2);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 999px;
}
.bs-section-more:hover { background: #101b1e; color: var(--bs-ink); }

.bs-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 118px;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}
.bs-row { scrollbar-color: rgba(216, 180, 90, 0.35) transparent; }
.bs-row::-webkit-scrollbar { height: 4px; }
.bs-row::-webkit-scrollbar-track { background: transparent; }
.bs-row::-webkit-scrollbar-thumb { background: rgba(216, 180, 90, 0.35); border-radius: 3px; }

.bs-card {
  position: relative;
  border: none;
  padding: 0;
  background: #101b1e;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  color: var(--bs-ink);
}
.bs-card:hover { transform: translateY(-2px); }
.bs-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: linear-gradient(135deg, #24352f, #101b1e);
}
.bs-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #f4f6f2;
  display: grid; place-items: center;
  font-size: 13px;
  backdrop-filter: blur(2px);
}
.bs-card-label {
  display: block;
  padding: 7px 8px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bs-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 8px;
  font-size: 10px;
  color: var(--bs-ink-2);
}

/* ---------- 灵感瀑布流 ---------- */
.bs-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}
.bs-chips::-webkit-scrollbar { display: none; }
.bs-chip {
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #223230;
  background: #101b1e;
  font-size: 13px;
  cursor: pointer;
  color: var(--bs-ink);
}
.bs-chip.is-active { background: var(--bs-mint); border-color: var(--bs-mint); font-weight: 600; }

.bs-masonry { column-count: 2; column-gap: 10px; }
.bs-masonry .bs-card { width: 100%; margin-bottom: 10px; break-inside: avoid; }
.bs-masonry .bs-card-cover { aspect-ratio: 3 / 4; }

/* ---------- 我的 / 作品 ---------- */
.bs-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: var(--bs-radius);
  background: linear-gradient(135deg, #132420, #101b1e 60%);
  border: 1px solid #223230;
  margin-bottom: 14px;
}
.bs-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #e6c979, #a9822c);
  display: grid; place-items: center;
  color: #101b1e;
  font-size: 20px;
  font-weight: 700;
}
.bs-profile h3 { margin: 0 0 4px; font-size: 16px; }
.bs-profile p { margin: 0; font-size: 12px; color: var(--bs-ink-2); }

.bs-vipcard {
  border-radius: var(--bs-radius);
  padding: 16px;
  background: linear-gradient(120deg, #e6c979, #c39a3c);
  color: #201705;
  margin-bottom: 14px;
  border: 1px solid rgba(216,180,90,0.45);
}
.bs-vipcard h3 { margin: 0 0 6px; font-size: 15px; }
.bs-vipcard p { margin: 0 0 12px; font-size: 12px; opacity: 0.8; }
.bs-vipcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.bs-vipcard-grid div { font-size: 11px; }
.bs-vipcard-grid b { display: block; font-size: 17px; margin-bottom: 3px; }

.bs-list { border-radius: var(--bs-radius); overflow: hidden; background: #101b1e; border: 1px solid #1b2b2c; }
.bs-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-bottom: 1px solid #101b1e;
  font-size: 14px;
  background: #101b1e;
  border-left: none; border-right: none; border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--bs-ink);
}
.bs-list-item:last-child { border-bottom: none; }
.bs-list-item:hover { background: #101b1e; }
.bs-list-item small { margin-left: auto; color: var(--bs-ink-2); font-size: 12px; }

.bs-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--bs-ink-2);
  font-size: 13px;
}

.bs-works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bs-work {
  background: #101b1e;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #1b2b2c;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--bs-ink);
}
.bs-work h4 { margin: 0 0 6px; font-size: 13px; }
.bs-work p { margin: 0 0 8px; color: var(--bs-ink-2); font-size: 11px; line-height: 1.5; }
.bs-work .bs-tagline { color: var(--bs-mint-deep); font-weight: 600; font-size: 11px; }

/* ---------- 底部 tab ---------- */
.bs-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 560px);
  height: var(--bs-tab-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(12, 22, 25, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid #1b2b2c;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 30;
}
.bs-tab {
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  color: var(--bs-ink-2);
  cursor: pointer;
}
.bs-tab.is-active { color: var(--bs-ink); font-weight: 700; }
.bs-tab-ico { font-size: 19px; line-height: 1; }

/* ---------- 弹层 ---------- */
.bs-sheet { position: fixed; inset: 0; z-index: 60; }
.bs-sheet-mask { position: absolute; inset: 0; background: rgba(2, 6, 7, 0.66); backdrop-filter: blur(2px); }
.bs-sheet-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  background: #101b1e;
  border-radius: 22px 22px 0 0;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  animation: bsUp 0.22s ease-out;
}
@keyframes bsUp { from { transform: translate(-50%, 14px); opacity: 1; } to { transform: translate(-50%, 0); opacity: 1; } }
.bs-sheet-grip { width: 44px; height: 4px; background: #263632; border-radius: 999px; margin: 4px auto 12px; }

.bs-sheet h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bs-sheet-sub { margin: 0 0 14px; font-size: 12px; color: var(--bs-ink-2); line-height: 1.6; }

.bs-detail-cover {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: rgba(216,180,90,0.12);
}
.bs-detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; font-size: 11px; color: var(--bs-ink-2); }
.bs-pill { background: #101b1e; border-radius: 999px; padding: 5px 10px; }

.bs-field { margin-bottom: 14px; }
.bs-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.bs-field label .req { color: #e08585; }
.bs-input, .bs-textarea, .bs-select {
  width: 100%;
  border: 1px solid #24352f;
  background: #0c1619;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--bs-ink);
  outline: none;
}
.bs-input:focus, .bs-textarea:focus, .bs-select:focus { border-color: var(--bs-mint); background: #101b1e; }
.bs-textarea { min-height: 88px; resize: vertical; }

.bs-upload {
  border: 1.5px dashed #2c3b34;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  color: var(--bs-ink-2);
  font-size: 12px;
  cursor: pointer;
  background: #0c1619;
}
.bs-upload.has-files { border-style: solid; border-color: var(--bs-mint); color: var(--bs-ink); }
.bs-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bs-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid #1b2b2c; }

.bs-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bs-choice {
  border: 1px solid #1b2b2c;
  background: #101b1e;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  color: var(--bs-ink);
}
.bs-choice img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 5px; background: #12211f; }
.bs-choice.is-active { border-color: var(--bs-mint); background: var(--bs-mint-soft); font-weight: 600; }
.bs-choice.is-active::after { content: "✓"; float: right; color: var(--bs-mint-deep); }

.bs-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 10px;
  padding: 12px 0 4px;
  background: linear-gradient(180deg, rgba(12, 22, 25, 0.72), #101b1e 40%);
}
.bs-bar .bs-params {
  flex: 1;
  display: flex;
  gap: 6px;
}
.bs-bar .bs-params select {
  border: 1px solid #24352f;
  border-radius: 10px;
  background: #0c1619;
  font-size: 12px;
  padding: 0 8px;
  height: 44px;
  color: var(--bs-ink);
}
.bs-primary {
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #e6c979, #b8902f);
  color: #201705;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.bs-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.bs-result { margin-top: 14px; }
.bs-result-item {
  border: 1px solid #1b2b2c;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.6;
}
.bs-result-item h4 { margin: 0 0 6px; font-size: 13px; }

.bs-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bs-tab-h) + 18px);
  transform: translateX(-50%);
  background: rgba(8, 16, 18, 0.94);
  color: #f4f6f2;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 80;
  max-width: 86vw;
  text-align: center;
}

@media (max-width: 420px) {
  .bs-row { grid-auto-columns: 104px; }
  .bs-hero { min-height: 170px; }
}

/* ---------- 真出片 ---------- */
.bs-video-box { margin-top: 12px; }

.bs-video {
  width: 100%;
  border-radius: 14px;
  background: #0b1d1a;
  display: block;
  max-height: 62vh;
}

.bs-video-done .bs-detail-meta { margin-top: 8px; }

.bs-job-progress,
.bs-job-fail {
  background: var(--bs-card);
  border: 1px solid var(--bs-line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--bs-shadow);
}

.bs-job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}
.bs-job-head span { font-size: 11px; color: var(--bs-ink-2); }

.bs-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #1b2b2c;
  overflow: hidden;
}
.bs-bar-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bs-mint), var(--bs-mint-deep));
  transition: width 0.6s ease;
}

.bs-job-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--bs-ink-2);
}

.bs-job-fail strong { font-size: 13px; }
.bs-job-fail p { margin: 6px 0 0; font-size: 12px; color: var(--bs-ink-2); line-height: 1.6; }

.bs-prompt {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #101b1e;
  border: 1px solid var(--bs-line);
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--bs-ink-2);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
}

.bs-job-card { padding: 0 !important; overflow: hidden; text-align: left; }
.bs-job-card h4, .bs-job-card p { padding: 0 10px; }
.bs-job-card h4 { margin: 8px 0 4px !important; font-size: 12px; }
.bs-job-card p { margin: 0 0 10px !important; font-size: 11px; color: var(--bs-ink-2); line-height: 1.5; }

.bs-job-cover {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, #1b2b2c, #101b1e);
  overflow: hidden;
}
.bs-job-cover img { width: 100%; height: 100%; object-fit: cover; }

.bs-job-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(12, 22, 25, 0.9);
  color: var(--bs-ink-2);
}
.bs-job-badge.is-running { background: #e6c979; color: #101b1e; }
.bs-job-badge.is-done { background: rgba(216, 180, 90, 0.18); color: #e6c979; border: 1px solid rgba(216, 180, 90, 0.35); }
.bs-job-badge.is-failed { background: #2a1a1a; color: #d98a8a; }

.bs-job-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: var(--bs-mint);
}

/* ---------------------------------------------------------------- 爆款复刻表单 */
.bs-ref-input {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.bs-ref-input .bs-input { flex: 1; height: 42px; }
.bs-extract {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bs-ink);
  background: linear-gradient(120deg, #e6c979, #c39a3c);
  border: none;
}
.bs-extract[disabled] { opacity: .6; }

.bs-ref-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--bs-ink-3, #9ab0ac);
  font-size: 11px;
}
.bs-ref-or::before, .bs-ref-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #1b2b2c;
}

.bs-upload-line { display: block; }

.bs-ref-card {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 8px;
  border-radius: 14px;
  background: #05090b;
  border: 1px solid #1b2b2c;
}
.bs-ref-card img {
  width: 54px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  background: #1b2b2c;
}
.bs-ref-ph {
  width: 54px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #1b2b2c;
  color: #d8b45a;
}
.bs-ref-meta { flex: 1; min-width: 0; }
.bs-ref-meta strong {
  display: block;
  font-size: 13px;
  color: var(--bs-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bs-ref-meta small { display: block; margin-top: 4px; font-size: 11px; color: var(--bs-ink-2); }

.bs-ref-state { margin-top: 8px; font-size: 12px; color: var(--bs-ink-2); min-height: 16px; }
.bs-ref-state .bs-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--bs-mint);
  animation: bsPulse 1s ease-in-out infinite;
}
@keyframes bsPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.bs-ok { color: #d8b45a; }
.bs-err { color: #d98a8a; }

.bs-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bs-field-row select {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #1b2b2c;
  background: #101b1e;
  color: var(--bs-ink);
  padding: 0 10px;
  font-size: 13px;
}

.bs-choice-tight .bs-choice { padding: 8px 6px; }


/* ---------- 我的：成片/收藏统计条 ---------- */
.bs-mine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 14px;
}

.bs-stat {
  border: 1px solid var(--bs-line);
  background: #101b1e;
  border-radius: 16px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
}

.bs-stat b { display: block; font-size: 20px; line-height: 1.2; color: var(--bs-ink); }
.bs-stat span { font-size: 11px; color: var(--bs-ink-2); }
.bs-stat:active { transform: scale(0.98); }

/* VIP 卡是金色底，卡内主按钮要换成墨底金字，否则金叠金看不见 */
.bs-vipcard .bs-primary {
  background: #0b1418;
  color: #e6c979;
  border: 1px solid rgba(216, 180, 90, 0.45);
}
.bs-vipcard .bs-primary:hover { background: #131f24; }

/* 深色主题下的滚动条：默认浏览器白条会突兀，统一成细金条 */
html, .bs-main, .bs-sheet-panel {
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 180, 90, 0.32) transparent;
}
.bs-sheet-panel::-webkit-scrollbar { width: 6px; }
.bs-sheet-panel::-webkit-scrollbar-track { background: transparent; }
.bs-sheet-panel::-webkit-scrollbar-thumb { background: rgba(216, 180, 90, 0.32); border-radius: 3px; }





/* ==================================================================
   PC / 平板自适应：手机竖屏保持不变，宽屏改为横向内容流
   - 720px 起：内容区放宽，横向滑轨改自动填充网格
   - 1024px 起：底栏变顶部胶囊导航，弹层改为居中对话框
   ================================================================== */
@media (min-width: 720px) {
  .bs-shell { width: min(100%, 860px); padding-left: 22px; padding-right: 22px; }
  /* 平板：底栏收成居中的悬浮胶囊，避免 4 个图标被拉得过散 */
  .bs-tabbar {
    width: min(calc(100% - 32px), 440px);
    left: 50%;
    bottom: 14px;
    height: 58px;
    transform: translateX(-50%);
    border: 1px solid var(--bs-line);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  }

  /* 横向滑轨 -> 自动填充网格，避免宽屏右侧留大片空白 */
  .bs-row {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
  }
  .bs-row::-webkit-scrollbar { display: none; }

  .bs-cats { grid-template-columns: repeat(4, 1fr); }
  .bs-masonry { column-count: 3; }
  .bs-hero { min-height: 240px; }
  .bs-sheet-panel { width: min(100%, 640px); }
  .bs-choice-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .bs-shell {
    width: min(100%, 1240px);
    padding: 0 32px 36px;
    display: flex;
    flex-direction: column;
  }

  .bs-topbar { order: -3; padding: 20px 0 6px; }
  .bs-vip, .bs-start { height: 42px; }
  .bs-start { padding: 0 20px; font-size: 15px; }
  .bs-link { height: 42px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 13px; }

  /* 底部 tab 改成顶栏下方的胶囊导航 */
  .bs-tabbar {
    order: -2;
    position: sticky;
    top: 76px;
    left: auto;
    bottom: auto;
    transform: none;
    width: max-content;
    height: auto;
    display: inline-flex;
    gap: 6px;
    align-self: flex-start;
    margin: 2px 0 18px;
    padding: 6px;
    border: 1px solid var(--bs-line);
    border-radius: 999px;
    background: rgba(14, 26, 22, 0.86);
    backdrop-filter: blur(12px);
    padding-bottom: 6px;
    z-index: 25;
  }
  .bs-tab {
    flex-direction: row;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    transition: background .16s ease, color .16s ease;
  }
  .bs-tab:hover { background: rgba(216, 180, 90, 0.10); color: var(--bs-ink); }
  .bs-tab.is-active { background: rgba(216, 180, 90, 0.16); color: var(--bs-mint-deep); }
  .bs-tab-ico { font-size: 15px; }

  .bs-main { order: 0; }

  .bs-hero { min-height: 300px; border-radius: 24px; padding: 28px; margin-top: 6px; }
  .bs-hero h2 { font-size: 34px; }
  .bs-hero p { font-size: 15px; margin-bottom: 16px; }
  .bs-hero-cta { padding: 11px 22px; font-size: 14px; }

  .bs-entries { gap: 14px; margin-bottom: 18px; }
  .bs-entry { padding: 16px 18px; border-radius: 16px; }
  .bs-entry-ico { width: 44px; height: 44px; font-size: 14px; border-radius: 11px; }
  .bs-entry strong { font-size: 17px; }
  .bs-entry-text > span { font-size: 12px; }

  .bs-cats { grid-template-columns: repeat(8, 1fr); gap: 16px 10px; margin: 10px 0 26px; }
  .bs-cat-ico { width: 54px; height: 54px; font-size: 24px; }

  .bs-section { margin-bottom: 26px; }
  .bs-section-head h3 { font-size: 19px; }

  .bs-row { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
  .bs-masonry { column-count: 4; column-gap: 14px; }
  .bs-masonry .bs-card { margin-bottom: 14px; }
  .bs-works-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

  /* 弹层：宽屏居中对话框，不再从底部抽上来 */
  .bs-sheet-panel {
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(100%, 720px);
    max-height: 86vh;
    border-radius: 20px;
    padding: 18px 24px 22px;
    animation: bsPop .18s ease-out;
  }
  .bs-sheet-grip { display: none; }
  @keyframes bsPop {
    from { transform: translate(-50%, -47%); opacity: 0.5; }
    to { transform: translate(-50%, -50%); opacity: 1; }
  }

  .bs-choice-grid { grid-template-columns: repeat(5, 1fr); }
  .bs-bar { padding: 14px 0 8px; }
  .bs-field-row { gap: 12px; }
}


/* 宽屏下的「我的」：左列资料+统计+会员卡，右列功能清单 */
@media (min-width: 1024px) {
  .bs-main[data-bs-view="mine"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 20px;
    align-content: start;
  }
  .bs-main[data-bs-view="mine"] > .bs-profile { grid-column: 1; grid-row: 1; }
  .bs-main[data-bs-view="mine"] > .bs-mine-stats { grid-column: 1; grid-row: 2; }
  .bs-main[data-bs-view="mine"] > .bs-vipcard { grid-column: 1; grid-row: 3; margin-bottom: 0; }
  .bs-main[data-bs-view="mine"] > .bs-list { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .bs-main[data-bs-view="mine"] > .bs-empty { grid-column: 1 / -1; }

  .bs-vipcard { padding: 20px 24px; }
  .bs-vipcard-grid { gap: 14px; }
  .bs-vipcard > div:last-child { max-width: 520px; }
  .bs-mine-stats { gap: 12px; }
  .bs-stat b { font-size: 24px; }
  .bs-list-item { padding: 16px 18px; font-size: 15px; }
}

/* 金卡里的次要按钮不能再用金色字（金底金字看不见），改成墨色描边 */
.bs-vipcard .bs-secondary,
.bs-vipcard .bs-ghost {
  color: #201705 !important;
  border-color: rgba(32, 23, 5, 0.45) !important;
  background: rgba(32, 23, 5, 0.06) !important;
}


/* 宽屏首页顶部：左 hero + 右两个入口竖排，分类与内容列表占满整行 */
@media (min-width: 1024px) {
  .bs-main[data-bs-view="home"] {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    column-gap: 16px;
    align-items: stretch;
  }
  .bs-main[data-bs-view="home"] > .bs-hero { margin: 6px 0 0; min-height: 268px; }
  .bs-main[data-bs-view="home"] > .bs-entries {
    margin: 6px 0 0;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 12px;
  }
  .bs-main[data-bs-view="home"] > .bs-entries .bs-entry { padding: 14px 16px; }
  .bs-main[data-bs-view="home"] > .bs-cats,
  .bs-main[data-bs-view="home"] > .bs-section,
  .bs-main[data-bs-view="home"] > .bs-empty { grid-column: 1 / -1; }
  .bs-main[data-bs-view="home"] > .bs-cats { margin: 18px 0 24px; }
}


/* ---------- 模板详情底部：收藏靠左小胶囊，主按钮「做同款」居中 ---------- */
.bs-detail-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.bs-like-ico {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 90, 0.30);
  background: transparent;
  color: #e6c979;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.bs-like-ico em {
  font-style: normal;
  font-size: 12px;
  color: var(--bs-ink-2);
}

.bs-like-ico:hover { background: var(--bs-mint-soft); }

.bs-detail-cta {
  margin: 0 auto;
  min-width: 168px;
  height: 46px;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 24px rgba(216, 180, 90, 0.22);
}

/* 详情页按钮移到视频上方：不再是吸底条，改成紧贴顶部的操作行 */
.bs-bar.bs-detail-bar {
  position: relative;
  top: auto;
  bottom: auto;
  padding: 0 0 12px;
  background: none;
}


/* 详情页按钮改成半透明叠层，压在视频画面下缘（播放控件条上方），不再占一整行 */
.bs-detail-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0a1210;
}

.bs-detail-stage .bs-detail-cover {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.bs-bar.bs-detail-bar.is-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  margin: 0;
  padding: 14px 12px 10px;
  background: linear-gradient(180deg, rgba(5, 9, 11, 0) 0%, rgba(5, 9, 11, 0.52) 45%, rgba(5, 9, 11, 0.72) 100%);
}

.bs-detail-bar.is-overlay .bs-like-ico {
  left: 12px;
  height: 38px;
  padding: 0 12px;
  border-color: rgba(216, 180, 90, 0.45);
  background: rgba(5, 9, 11, 0.35);
  backdrop-filter: blur(4px);
}

.bs-detail-bar.is-overlay .bs-like-ico em { color: rgba(244, 246, 242, 0.75); }

.bs-detail-bar.is-overlay .bs-detail-cta {
  min-width: 156px;
  height: 44px;
  font-size: 15px;
}

/* ===== 三步流程指示（上传商品图 → 识别卖点 → 选剧情生成） ===== */
.bs-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 6px;
  font-size: 11.5px;
  color: var(--bs-ink-2);
}

.bs-steps b {
  flex: 1;
  height: 1px;
  background: var(--bs-line);
  min-width: 8px;
}

.bs-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.bs-step i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 10px;
  border: 1px solid var(--bs-line);
  color: var(--bs-ink-2);
}

.bs-step.is-active { color: var(--bs-mint-deep); }
.bs-step.is-active i {
  border-color: var(--bs-mint);
  background: var(--bs-mint);
  color: #14210f;
}

.bs-step.is-done { color: rgba(216, 180, 90, 0.8); }
.bs-step.is-done i {
  border-color: rgba(216, 180, 90, 0.5);
  color: var(--bs-mint);
}

/* 条件没满足时主按钮压暗，但仍可点（点了会提示缺什么） */
.bs-primary.is-idle {
  opacity: 0.55;
}

@media (min-width: 720px) {
  .bs-steps { font-size: 12.5px; }
}

/* ===== 上传商品图（第一步）与剧情带货（第二步）共用元素 ===== */
.bs-sheet-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 4px;
}

.bs-sheet-head h3 {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.bs-sheet-head .bs-back {
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  color: var(--bs-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.bs-head-link {
  font-size: 12px;
  color: var(--bs-ink-2);
  white-space: nowrap;
}

.bs-prod-hint {
  font-size: 10.5px !important;
  color: rgba(168, 179, 173, 0.75);
  max-width: 108px;
  line-height: 1.35;
  text-align: center;
}

.bs-prod-count {
  float: right;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--bs-ink-2);
}

.bs-prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bs-ink);
}

.bs-prod-thumb { position: relative; }

.bs-prod-thumb .bs-prod-x {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 90, 0.5);
  background: #16231f;
  color: var(--bs-ink);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.bs-prod-add.is-hidden { display: none; }

.bs-or {
  position: relative;
  margin: 16px 0 12px;
  text-align: center;
  font-size: 12px;
  color: var(--bs-ink-2);
}

.bs-or::before,
.bs-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 26px);
  height: 1px;
  background: var(--bs-line);
}

.bs-or::before { left: 0; }
.bs-or::after { right: 0; }

.bs-flow-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 26px 0 10px;
  font-size: 11.5px;
  color: var(--bs-ink-2);
}

.bs-flow-hint > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bs-flow-hint i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 14px;
  color: var(--bs-mint);
  border: 1px solid rgba(216, 180, 90, 0.32);
  background: rgba(216, 180, 90, 0.07);
}

.bs-flow-hint > b {
  font-weight: 400;
  color: rgba(168, 179, 173, 0.5);
}

.bs-bar-note {
  font-size: 12px;
  color: var(--bs-ink-2);
}

.bs-bar .bs-primary[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.bs-upload-line b {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  color: var(--bs-mint);
  font-weight: 400;
}

/* 收藏按钮挪到右侧：叠层里改成贴右，主按钮继续居中 */
.bs-detail-bar.is-overlay .bs-like-ico {
  left: auto;
  right: 12px;
}

/* ===== 做同款 / 剧情带货 面板（对齐参考图二） ===== */
.bs-prod-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bs-prod-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bs-prod-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1210;
  border: 1px solid var(--bs-line);
}

.bs-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-prod-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  border: 1px dashed rgba(216, 180, 90, 0.4);
  background: rgba(216, 180, 90, 0.06);
  color: var(--bs-mint);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.bs-prod-add b { font-size: 22px; line-height: 1; font-weight: 400; }
.bs-prod-add small { font-size: 11px; color: var(--bs-ink-2); }

.bs-prod-add:hover {
  background: rgba(216, 180, 90, 0.12);
  border-color: rgba(216, 180, 90, 0.65);
}

/* 还没上传时，上传块铺满整行，提示更清楚 */
.bs-prod-wrap.is-empty .bs-prod-add {
  width: 100%;
  height: 112px;
  gap: 8px;
  border-style: dashed;
}

.bs-prod-wrap.is-empty .bs-prod-add b { font-size: 26px; }
.bs-prod-wrap.is-empty .bs-prod-add small { font-size: 12.5px; color: var(--bs-ink-2); }

.bs-field-all {
  float: right;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--bs-ink-2);
  letter-spacing: 0.4px;
}

/* 剧情类型：横滑卡片，封面 + 播放标 + 标题 */
.bs-genre-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.bs-genre-row::-webkit-scrollbar { display: none; }

.bs-genre {
  flex: 0 0 auto;
  width: 96px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bs-ink-2);
  cursor: pointer;
  text-align: center;
}

.bs-genre-cover {
  position: relative;
  display: block;
  width: 96px;
  height: 128px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1210;
  border: 1px solid var(--bs-line);
  transition: border-color 0.18s ease;
}

.bs-genre-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bs-genre-cover i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-style: normal;
  color: #fff;
  background: rgba(5, 9, 11, 0.55);
  border: 1px solid rgba(244, 246, 242, 0.35);
  backdrop-filter: blur(3px);
}

.bs-genre-name {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--bs-ink-2);
  padding: 4px 0;
  border-radius: 8px;
}

.bs-genre.is-active .bs-genre-cover { border-color: rgba(216, 180, 90, 0.85); }
.bs-genre.is-active .bs-genre-name {
  color: var(--bs-mint-deep);
  background: rgba(216, 180, 90, 0.14);
}

/* 模特：自定义 + 横滑 */
.bs-model-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.bs-model-row::-webkit-scrollbar { display: none; }

.bs-model {
  flex: 0 0 auto;
  width: 92px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bs-ink-2);
  font-size: 12px;
  cursor: pointer;
}

.bs-model-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 116px;
  margin-bottom: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #16241f 0%, #0a1210 100%);
  border: 1px solid var(--bs-line);
  color: rgba(216, 180, 90, 0.45);
  font-size: 20px;
}

.bs-model-ph b { font-size: 22px; font-weight: 400; }

.bs-model-ph svg {
  width: 44%;
  height: 44%;
  color: rgba(216, 180, 90, 0.55);
}

.bs-model-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-model-ph b { font-weight: 400; }

.bs-model.is-active .bs-model-ph { border-color: rgba(216, 180, 90, 0.85); }
.bs-model.is-active { color: var(--bs-mint-deep); }

.bs-sheet-panel .bs-bar { position: sticky; }

@media (min-width: 720px) {
  .bs-prod-thumb, .bs-prod-add { width: 108px; height: 108px; }
  .bs-prod-wrap.is-empty .bs-prod-add { height: 128px; }
  .bs-genre { width: 116px; }
  .bs-genre-cover { width: 116px; height: 152px; }
  .bs-model { width: 108px; }
  .bs-model-ph { width: 108px; height: 136px; }
}

/* ===== 带货视频页（BeeShow 三步骤） ===== */
.bs-gv-steps { margin-top: 2px; }

.bs-gv-photo {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px dashed rgba(216, 180, 90, 0.45);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bs-gv-photo.is-empty { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.02); }
.bs-gv-photo img { width: 100%; height: 100%; object-fit: cover; }
.bs-gv-photo-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.bs-gv-photo-empty b { font-size: 24px; font-weight: 300; color: rgba(216, 180, 90, 0.75); }
.bs-gv-photo .bs-prod-x { position: absolute; top: 6px; right: 6px; }

.bs-gv-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bs-gv-cat {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  text-align: center;
  color: var(--bs-ink);
  cursor: pointer;
}
.bs-gv-cat-cover { position: relative; display: block; aspect-ratio: 16 / 11; background: #16241f; overflow: hidden; }
.bs-gv-cat-cover img, .bs-gv-cat-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-gv-cat-cover video { pointer-events: none; }
.bs-gv-cat-cover i {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 12px; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; transition: opacity .18s ease;
}
.bs-gv-cat:hover .bs-gv-cat-cover i,
.bs-gv-cat-cover i:focus-visible { opacity: 1; }
@media (hover: none) { .bs-gv-cat-cover i { opacity: 1; } }
.bs-gv-cat-name { display: block; padding: 8px 0 10px; font-size: 13px; }
.bs-gv-cat.is-active { border-color: rgba(216, 180, 90, 0.8); box-shadow: inset 0 0 0 1px rgba(216, 180, 90, 0.35); }
.bs-gv-cat.is-active .bs-gv-cat-name { color: #e3c780; }

.bs-gv-script { min-height: 190px; line-height: 1.7; }
.bs-gv-photo-empty[hidden], .bs-gv-photo img[hidden], .bs-gv-photo .bs-prod-x[hidden] { display: none !important; }
.bs-gv-cat-img[hidden] { display: none !important; }

/* 对齐 BeeShow 原页 */
.bs-gv-bar {
  display: block;
  padding: 10px 0 14px;
  background: transparent;
  border-top: none;
}
.bs-gv-next, #gvNext {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  font-size: 15px;
  letter-spacing: 1px;
}

.bs-gv-photo {
  width: 92px;
  height: 92px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}
.bs-gv-photo.is-empty { background: rgba(255, 255, 255, 0.92); border-style: dashed; border-color: rgba(0, 0, 0, 0.15); }
.bs-gv-photo-empty { color: rgba(0, 0, 0, 0.45); }
.bs-gv-photo-empty b { color: rgba(0, 0, 0, 0.35); font-size: 22px; }
.bs-gv-photo img { border-radius: 9px; }

.bs-gv-cat {
  border: none;
  border-radius: 10px;
  background: #f2f4f3;
  overflow: hidden;
}
.bs-gv-cat-cover { aspect-ratio: 16 / 10; background: #dfe6e2; }
.bs-gv-cat-cover i {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  font-size: 13px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.bs-gv-cat-cover i b { font-weight: 400; transform: translateX(1px); }
.bs-gv-cat-name {
  padding: 9px 0 11px;
  font-size: 13px;
  color: #26332c;
  background: #f2f4f3;
}
.bs-gv-cat.cat-0 .bs-gv-cat-name { background: linear-gradient(90deg, #86e3c6 0%, #cdf4e3 100%); }
.bs-gv-cat.cat-1 .bs-gv-cat-name { background: #f2f4f3; }
.bs-gv-cat.is-active { box-shadow: 0 0 0 2px rgba(216, 180, 90, 0.55); }
.bs-gv-cat.is-active .bs-gv-cat-name { color: #1f3b31; font-weight: 600; }

/* 生成视频类型：标题居中 + 两卡居中、与图二同格式 */
.bs-gv-cats-title {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.bs-gv-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  justify-items: stretch;
}
.bs-gv-cat-cover { border-radius: 10px 10px 0 0; }
.bs-gv-cat-name {
  text-align: center;
  border-radius: 0 0 10px 10px;
  line-height: 1.2;
}

/* 8 种视频类型：两列网格，左列薄荷标签条、右列浅灰，与图二一致 */
.bs-gv-cats {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bs-gv-cat-name { background: #f2f4f3; }
.bs-gv-cat:nth-child(odd) .bs-gv-cat-name { background: linear-gradient(90deg, #86e3c6 0%, #cdf4e3 100%); }
.bs-gv-cat:nth-child(even) .bs-gv-cat-name { background: #f4f6f5; }
.bs-gv-cat.is-active { box-shadow: 0 0 0 2px rgba(216, 180, 90, 0.55); }
.bs-gv-cat.is-active .bs-gv-cat-name { color: #1f3b31; font-weight: 600; }
.bs-gv-pane { padding-bottom: 140px; }

/* 自定义模特面板（BeeShow 同款浅色弹层） */
.bs-cm-layer { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; }
.bs-cm-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); }
.bs-cm {
  position: relative;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  background: #ffffff;
  color: #1d2621;
  border-radius: 18px 18px 0 0;
  padding: 8px 18px 18px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
}
.bs-cm-grip { width: 46px; height: 4px; border-radius: 4px; background: #d5dbd7; margin: 4px auto 12px; }
.bs-cm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bs-cm-head h3 { font-size: 17px; font-weight: 600; }
.bs-cm-x { border: none; background: none; font-size: 20px; color: #8a9a92; line-height: 1; padding: 0 2px; }
.bs-cm-group { margin-top: 16px; }
.bs-cm-group > label { display: block; font-size: 13px; color: #4a5b52; margin-bottom: 8px; }
.bs-cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-cm-chip {
  border: none;
  background: #f1f3f2;
  color: #4a5b52;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}
.bs-cm-chip.is-active { background: #c8ecdd; color: #12513f; font-weight: 600; }
.bs-cm-desc {
  width: 100%;
  min-height: 74px;
  border: none;
  border-radius: 12px;
  background: #f4f6f5;
  padding: 12px 14px;
  font-size: 13px;
  color: #1d2621;
  resize: vertical;
  line-height: 1.6;
}
.bs-cm-desc::placeholder { color: #a6b2ab; }
.bs-cm-preview { margin-top: 14px; }
.bs-cm-preview img { width: 100%; max-height: 46vh; object-fit: contain; border-radius: 14px; background: #eef1ef; }
.bs-cm-preview-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.bs-cm-use, .bs-cm-again {
  height: 44px; border-radius: 12px; border: none; font-size: 14px; cursor: pointer;
}
.bs-cm-use { background: #1d2621; color: #f6f7f6; font-weight: 600; }
.bs-cm-again { background: #eef1ef; color: #33443b; }
.bs-cm-state { margin: 10px 0 0; font-size: 12px; color: #6d7f76; }
.bs-cm-gen {
  width: 100%;
  height: 50px;
  margin-top: 16px;
  border: none;
  border-radius: 12px;
  background: #14181a;
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
}
.bs-cm-gen:disabled { opacity: 0.6; }

@media (min-width: 720px) {
  .bs-cm { max-width: 520px; margin: 0 auto; border-radius: 18px; margin-bottom: 24px; }
  .bs-cm-layer { align-items: center; }
}

/* 带货视频 · 选模特（对齐原 APP：四列方图 + 底部「模型 | 时长 | 比例」胶囊 + 黑色「生成脚本」） */
.bs-gv-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  overflow: visible;
  padding-bottom: 0;
}
.bs-gv-models .bs-model { width: 100%; }
.bs-gv-models .bs-model-ph {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.06;
  margin-bottom: 5px;
  border-radius: 10px;
  background: #f1f4f2;
  border: 1px solid transparent;
  color: #a2aea7;
}
.bs-gv-models .bs-model-ph svg { width: 42%; height: 42%; color: #a2aea7; }
.bs-gv-models .bs-model-ph.is-custom { background: #f1f4f2; }
.bs-gv-models .bs-model-name { display: block; font-size: 11.5px; line-height: 1.3; }
.bs-gv-models .bs-model-ph:not(.is-custom) + .bs-model-name { display: none; }
.bs-gv-models .bs-model.is-active .bs-model-ph { border-color: rgba(216, 180, 90, 0.85); }
.bs-gv-models .bs-model.is-active .bs-model-ph::after {
  content: '✓';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #c8ecdd;
  color: #12513f;
  font-size: 11px;
  line-height: 19px;
  text-align: center;
  font-weight: 600;
}

.bs-gv-bar { display: flex; align-items: center; gap: 9px; }
#gvParams {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--bs-line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--bs-ink-2);
  white-space: nowrap;
}
#gvParams[hidden] { display: none; }
.bs-gv-param {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font-size: 11.5px;
  cursor: pointer;
}
.bs-gv-param.is-strong { color: var(--bs-ink); }
#gvParams i { width: 1px; height: 13px; background: var(--bs-line); }
#gvParams .bs-gv-caret { font-size: 9px; opacity: 0.6; }
#gvNext.is-script {
  background: #14181a;
  border-color: #14181a;
  color: #f7f8f7;
}

#gvParams { flex: 1 1 auto; justify-content: center; gap: 6px; padding: 0 7px; font-size: 10.5px; }
#gvParams .bs-gv-param { font-size: 10.5px; }
.bs-gv-bar:has(#gvParams:not([hidden])) #gvNext { flex: 0 0 130px; width: 130px; }

/* 带货视频 · 脚本确认（对齐原 APP：类型标题 + 语言/时长/比例胶囊 + 整段描述 + 复制/AI生成 + 黑色「生成」） */
.bs-gv-script-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 10px;
}
.bs-gv-script-head h4 { font-size: 15px; font-weight: 600; color: var(--bs-ink); }
.bs-gv-meta { display: flex; gap: 5px; font-size: 11px; color: var(--bs-ink-2); }
.bs-gv-meta span {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bs-line);
  white-space: nowrap;
}
.bs-gv-script-wrap {
  border: 1px solid var(--bs-line);
  border-radius: 12px;
  padding: 10px 12px 6px;
  background: rgba(255, 255, 255, 0.03);
}
#gvScript {
  width: 100%;
  min-height: 320px;
  background: none;
  border: 0;
  outline: none;
  color: var(--bs-ink);
  font-size: 13px;
  line-height: 1.9;
  resize: vertical;
  padding: 0;
}
.bs-gv-script-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bs-gv-copy, .bs-gv-ai {
  border: 0;
  background: none;
  padding: 2px 0;
  font-size: 11.5px;
  cursor: pointer;
}
.bs-gv-copy { color: var(--bs-ink-2); }
.bs-gv-ai { color: rgba(216, 180, 90, 0.9); }

/* 后台：带货模型名称输入框 */
.bs-admin-input{background:#0f1512;border:1px solid rgba(212,175,55,.35);border-radius:10px;color:#e8efe9;font-size:13px;padding:8px 10px;outline:none}
.bs-admin-input:focus{border-color:rgba(212,175,55,.7)}

/* 生成设置弹层（对齐原 APP：浅色底部弹窗） */
.bs-gs-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9999;display:flex;align-items:flex-end;justify-content:center}
.bs-gs-sheet{width:100%;max-width:520px;background:#f2f2f2;border-radius:22px 22px 0 0;padding:10px 18px 22px;box-sizing:border-box;animation:bsGsUp .22s ease}
.bs-gs-handle{display:block;width:44px;height:5px;background:#c9c9c9;border-radius:3px;margin:2px auto 14px}
.bs-gs-title{font-size:17px;font-weight:600;color:#111;margin:0 0 14px}
.bs-gs-group{background:#fff;border-radius:14px;padding:12px 14px;margin-bottom:12px}
.bs-gs-group p{font-size:13px;color:#666;margin:0 0 10px}
.bs-gs-chips{display:flex;flex-wrap:wrap;gap:8px}
.bs-gs-chip{border:none;background:#eceff0;color:#333;font-size:13px;padding:8px 14px;border-radius:999px;cursor:pointer}
.bs-gs-chip.is-on{background:#a9e8d8;color:#0d3b31;font-weight:600}
.bs-gs-chip small{margin-left:4px;font-size:10px;opacity:.65;font-weight:400}
.bs-gs-save{margin-top:6px;width:100%;height:48px;border:none;border-radius:12px;background:#14181a;color:#fff;font-size:15px;cursor:pointer}
@keyframes bsGsUp{from{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}
/* 后台下拉框可读性修复（深底浅字 + 浅色选项面板） */
.bs-admin-main select, #mSelect, #gmWorkflow, #aType, #aSection {
  color: #eef4ee !important;
  background-color: #101a15 !important;
  border: 1px solid rgba(212,175,55,.38);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}
.bs-admin-main select option, .bs-admin-main select optgroup {
  color: #16201c !important;
  background: #f4f7f2 !important;
}
.bs-admin-main select:focus { border-color: rgba(212,175,55,.85); outline: none; }

/* 顶栏积分胶囊 / 我的积分卡 / 流水 */
.bs-credit-pill{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 11px;border-radius:999px;border:1px solid rgba(216,180,90,.45);background:rgba(216,180,90,.10);color:#e6c979;font-size:11px;font-weight:600;cursor:pointer}
.bs-credit-pill b{color:#fff3cf;font-size:12px}
.bs-credit-pill.is-low{border-color:rgba(224,126,126,.75);background:rgba(224,126,126,.14);color:#ffb6b6}
.bs-credit-pill.is-low b{color:#ffd6d6}
.bs-credit-card{margin:12px 0 14px;padding:14px 15px;border-radius:16px;border:1px solid rgba(216,180,90,.22);background:linear-gradient(145deg,rgba(216,180,90,.10),rgba(255,255,255,.02));}
.bs-credit-head{display:flex;align-items:flex-end;gap:10px;justify-content:space-between}
.bs-credit-head span{display:block;font-size:11px;color:#9fb3aa;margin-bottom:3px}
.bs-credit-head b{display:block;font-size:26px;line-height:1.1;color:#f6e3ad}
.bs-credit-head small{display:block;margin-top:5px;font-size:11px;color:#8fa49a}
.bs-credit-buy{flex:none;height:34px;cursor:pointer;line-height:32px;padding:0 14px;border-radius:999px;border:1px solid rgba(216,180,90,.5);color:#f0d89a;font-size:12px;text-decoration:none;background:rgba(216,180,90,.10)}
.bs-credit-note{margin:11px 0 0;font-size:11px;line-height:1.6;color:#93a69d}
.bs-credit-note b{color:#e6c979}
.bs-credit-ledger{margin-top:10px;border-top:1px dashed rgba(255,255,255,.10);padding-top:6px}
.bs-credit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed rgba(255,255,255,.06)}
.bs-credit-row:last-child{border-bottom:none}
.bs-credit-row span{display:block;min-width:0;font-size:12px;color:#dbe6df;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bs-credit-row span small{display:block;margin-top:2px;font-size:10px;color:#7f938a}
.bs-credit-row b{flex:none;font-size:12px}
.bs-credit-row b.is-out{color:#ff9f9f}
.bs-credit-row b.is-in{color:#8fe0b4}
.bs-credit-empty{margin:10px 0 0;font-size:11px;color:#7f938a}

.bs-analysis-pick{display:flex;align-items:center;gap:10px;margin:2px 0 8px}
.bs-analysis-pick span{font-size:12px;opacity:.72;white-space:nowrap}
.bs-analysis-pick select{flex:1;min-width:0;height:34px;border-radius:10px;border:1px solid #1b2b2c;background:#101b1e;color:var(--bs-ink);padding:0 10px;font-size:12px}

.bs-analysis-rule{font-size:11px;line-height:1.6;color:#7f918f;margin:-2px 0 8px;padding-left:2px}


/* 作品广场 / 公告 / 推广中心 */
.bs-tabbar { grid-template-columns: repeat(5, 1fr); }
.bs-announce { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(216,180,90,.28); background: rgba(216,180,90,.10); color: #e6c979; font-size: 12.5px; line-height: 1.6; }
.bs-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.bs-gallery-head h2 { margin: 0 0 4px; font-size: 22px; }
.bs-gallery-head p { margin: 0; color: #8ba5a0; font-size: 12.5px; }
.bs-gallery-count { color: #d8b45a; font-size: 12px; white-space: nowrap; }
.bs-gallery-search { margin-bottom: 14px; }
.bs-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; padding-bottom: 24px; }
.bs-gallery-card { position: relative; padding: 0; border: 1px solid #1b2b2c; border-radius: 14px; overflow: hidden; background: #101b1e; color: #eef4f1; text-align: left; cursor: pointer; text-decoration: none; display: block; }
.bs-gallery-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.bs-gallery-play { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,11,9,.66); color: #f4d98e; font-size: 11px; }
.bs-gallery-badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: #d8b45a; color: #142220; font-size: 10px; font-weight: 800; }
.bs-gallery-meta { padding: 9px 10px 11px; }
.bs-gallery-meta b { display: block; font-size: 13px; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-gallery-meta small { color: #8ba5a0; font-size: 10.5px; }
.bs-gallery-author { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; max-width: 100%; color: #d8b45a; font-size: 10.5px; text-decoration: none; }
.bs-gallery-author img, .bs-gallery-author i { width: 16px; height: 16px; aspect-ratio: auto; border-radius: 50%; object-fit: cover; display: grid; place-items: center; flex: 0 0 16px; background: rgba(216,180,90,.18); color: #d8b45a; font-style: normal; font-size: 10px; }
.bs-gallery-author span, .bs-gallery-author { overflow: hidden; text-overflow: ellipsis; }
.bs-work-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 10px 0 14px; padding: 9px 11px; border: 1px solid rgba(216,180,90,.22); border-radius: 12px; background: rgba(216,180,90,.05); color: #d8b45a; text-decoration: none; }
.bs-work-owner img, .bs-work-owner i { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; flex: 0 0 34px; background: rgba(216,180,90,.18); color: #d8b45a; font-style: normal; }
.bs-work-owner b { font-size: 13px; font-weight: 700; max-width: calc(100% - 44px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-work-owner small { color: #8ba5a0; font-size: 10.5px; flex: 1 1 100%; }
.bs-promo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.bs-promo-stats div { padding: 12px 10px; border-radius: 12px; background: #101b1e; border: 1px solid #1b2b2c; text-align: center; }
.bs-promo-stats b { display: block; color: #f4d98e; font-size: 18px; margin-bottom: 3px; }
.bs-promo-stats span { color: #8ba5a0; font-size: 10.5px; }
.bs-promo-code { padding: 14px; border-radius: 14px; border: 1px dashed rgba(216,180,90,.42); background: rgba(216,180,90,.06); margin-top: 10px; }
.bs-promo-code small { display: block; color: #8ba5a0; font-size: 10.5px; margin-bottom: 4px; }
.bs-promo-code b { display: block; color: #f4d98e; font-size: 24px; letter-spacing: 2px; }
.bs-promo-code span { display: block; color: #8ba5a0; font-size: 11px; margin: 4px 0 10px; }
.bs-promo-status { margin-top: 10px; padding: 14px; border-radius: 12px; background: rgba(216,180,90,.08); border: 1px solid rgba(216,180,90,.20); color: #e6c979; font-size: 12.5px; line-height: 1.7; }
@media (min-width: 760px) { .bs-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------- 站点设置：轮播点、个人中心协议、新手指引 ---------------- */
.bs-hero-dots { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 2; }
.bs-hero-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.2); cursor: pointer; transition: .2s; }
.bs-hero-dot.is-active { width: 18px; border-radius: 999px; background: #d8b45a; border-color: #d8b45a; }
.bs-mine-legal { margin: 16px 4px 28px; padding: 16px 16px 14px; border: 1px solid rgba(216,180,90,.18); border-radius: 14px; background: rgba(255,255,255,.02); }
.bs-mine-legal h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .12em; color: #b9a269; font-weight: 600; }
.bs-legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.bs-legal-links a { color: #b9c5bc; text-decoration: none; font-size: 12px; line-height: 1.8; }
.bs-legal-links a:hover { color: #e6c979; }
.bs-copyright { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.1); color: #7d8a82; font-size: 11px; line-height: 1.8; }
.bs-copyright a { color: #8e9a92; text-decoration: none; }
.bs-legal-consent { margin: 2px 0 12px; font-size: 11px; color: #9fb0a7; line-height: 1.7; }
.bs-legal-consent a { color: #e6c979; text-decoration: none; }
.bs-guide-list { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 4px; }
.bs-guide-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid rgba(216,180,90,.18); border-radius: 12px; background: rgba(255,255,255,.03); }
.bs-guide-item img { width: 64px; height: 64px; border-radius: 9px; object-fit: cover; flex: none; }
.bs-guide-index { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #d8b45a; color: #16251f; font-size: 13px; font-weight: 700; }
.bs-guide-item b { display: block; color: #f1e7d1; font-size: 14px; margin-bottom: 3px; }
.bs-guide-item p { margin: 0; color: #a9b6ae; font-size: 12px; line-height: 1.65; }
.bs-guide-item a { display: inline-block; margin-top: 6px; color: #e6c979; font-size: 12px; text-decoration: none; }

/* ---------------- 作品广场分类 ---------------- */
.bs-gallery-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.bs-gallery-cats::-webkit-scrollbar { display: none; }
.bs-gallery-cat { flex: none; border: 1px solid rgba(216,180,90,.24); background: rgba(255,255,255,.03); color: #b9c5bc; border-radius: 999px; padding: 7px 13px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.bs-gallery-cat small { color: #7f8c84; margin-left: 3px; }
.bs-gallery-cat.is-active { background: #d8b45a; border-color: #d8b45a; color: #16251f; font-weight: 700; }
.bs-gallery-cat.is-active small { color: #4d4328; }

/* ---------------- 我的收益 / 积分提现 ---------------- */
.bs-gallery-price { position:absolute; right:44px; top:8px; bottom:auto; padding:4px 9px; border-radius:999px; background:#d8b45a; color:#18251f; font-size:11px; font-weight:700; z-index:2; }
.bs-gallery-cat-tag { position:absolute; right:10px; bottom:10px; max-width:calc(100% - 20px); padding:4px 9px; border-radius:999px; background:rgba(18,39,34,.82); border:1px solid rgba(216,180,90,.55); color:#e7cb86; font-size:11px; font-weight:600; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; backdrop-filter:blur(4px); z-index:2; }
.bs-earn-hero { margin:14px 0; padding:18px; border-radius:14px; background:linear-gradient(135deg, rgba(216,180,90,.2), rgba(255,255,255,.04)); border:1px solid rgba(216,180,90,.28); }
.bs-earn-hero small { display:block; color:#b9c5bc; font-size:12px; }
.bs-earn-hero b { display:block; margin:4px 0 2px; color:#f5ead2; font-size:32px; line-height:1.2; }
.bs-earn-hero b i { font-style:normal; font-size:12px; color:#c9b981; margin-left:4px; }
.bs-earn-hero span { color:#9fae9f; font-size:12px; }
.bs-earn-stats { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:8px; margin-bottom:16px; }
.bs-earn-stats div { padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.04); border:1px solid rgba(216,180,90,.14); }
.bs-earn-stats small { display:block; color:#94a39a; font-size:10px; }
.bs-earn-stats b { display:block; margin-top:3px; color:#eee4ce; font-size:18px; }
.bs-earn-form { padding:14px; border-radius:12px; background:rgba(255,255,255,.04); border:1px solid rgba(216,180,90,.18); margin-bottom:18px; }
.bs-earn-form h4 { margin:0 0 10px; font-size:13px; color:#e6c979; }
.bs-earn-form .bs-field { margin-bottom:10px; }
.bs-earn-note { margin:8px 0 0; color:#8f9d95; font-size:11px; line-height:1.7; }
.bs-earn-title { margin:16px 0 8px; font-size:12px; color:#b9a269; letter-spacing:.1em; }
.bs-earn-list { display:flex; flex-direction:column; gap:8px; }
.bs-earn-row { display:flex; justify-content:space-between; gap:12px; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.03); border:1px solid rgba(216,180,90,.12); }
.bs-earn-row b { display:block; color:#ecf2ea; font-size:13px; }
.bs-earn-row small { display:block; color:#93a29a; font-size:11px; margin-top:2px; line-height:1.6; }
.bs-earn-row div { min-width:0; }
.bs-earn-row div > b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bs-earn-status { display:inline-block; padding:2px 7px; border-radius:999px; font-size:10px; }
.bs-earn-status.is-pending { background:rgba(216,180,90,.18); color:#e6c979; }
.bs-earn-status.is-approved { background:rgba(94,160,120,.18); color:#8fd0a2; }
.bs-earn-status.is-paid { background:rgba(94,160,120,.24); color:#9be0ad; }
.bs-earn-status.is-rejected { background:rgba(190,80,60,.18); color:#f0a292; }
@media (max-width:480px) { .bs-earn-stats { grid-template-columns:repeat(2, minmax(0,1fr)); } }

/* ---------- 抖音式上下滑动模板播放 ---------- */
.bs-reels { position: fixed; inset: 0; z-index: 120; background: #000; }
.bs-reels[hidden] { display: none; }
.bs-reels-stage { position: relative; width: min(100vw, 560px); height: 100vh; height: 100dvh; margin: 0 auto; overflow: hidden; background: #000; box-shadow: 0 0 60px rgba(0,0,0,.65); }
.bs-reels-feed { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.bs-reels-feed::-webkit-scrollbar { display: none; }
.bs-reel { position: relative; height: 100vh; height: 100dvh; overflow: hidden; background: #000; scroll-snap-align: start; scroll-snap-stop: always; }
.bs-reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.bs-reel-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 48%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.92) 100%); }
.bs-reels-head { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 14px 14px 26px; padding-top: max(14px, env(safe-area-inset-top)); pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.bs-reels-head button { pointer-events: auto; }
.bs-reels-close, .bs-reels-sound { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(0,0,0,.38); color: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); }
.bs-reels-close { font-size: 27px; padding-bottom: 3px; }
.bs-reels-sound { font-size: 15px; margin-left: auto; }
.bs-reels-count { margin: 0 auto; color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.bs-reels-head .bs-reels-count { pointer-events: none; }
.bs-reel-side { position: absolute; right: 12px; bottom: 196px; z-index: 5; display: flex; flex-direction: column; gap: 18px; }
.bs-reel-round { width: 54px; padding: 0; border: 0; background: transparent; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.bs-reel-round .bs-reel-like-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; color: #f4d478; background: rgba(10,14,12,.42); border: 1px solid rgba(244,212,120,.32); backdrop-filter: blur(8px); transition: transform .16s ease, background .16s ease; }
.bs-reel-round.is-liked .bs-reel-like-ico { background: rgba(216,180,90,.22); color: #ffe39a; transform: scale(1.04); }
.bs-reel-round em { font-style: normal; font-size: 11px; color: rgba(255,255,255,.86); }
.bs-reel-bottom { position: absolute; left: 16px; right: 76px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 5; color: #fff; }
.bs-reel-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: rgba(255,255,255,.78); font-size: 11px; }
.bs-reel-meta i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.45); }
.bs-reel-badge { padding: 2px 8px; border-radius: 999px; background: rgba(216,180,90,.24); border: 1px solid rgba(216,180,90,.42); color: #f0d289; font-weight: 700; }
.bs-reel-tag { padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.82); }
.bs-reel-bottom h3 { margin: 8px 0 4px; font-size: 21px; line-height: 1.35; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.65); }
.bs-reel-bottom > p { margin: 0; max-width: 94%; font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-reel-notes { margin-top: 9px; font-size: 11px; color: rgba(255,255,255,.74); }
.bs-reel-notes summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.bs-reel-notes summary::-webkit-details-marker { display: none; }
.bs-reel-notes summary::after { content: '⌄'; font-size: 10px; }
.bs-reel-notes[open] summary::after { transform: rotate(180deg); }
.bs-reel-notes p { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(3,8,7,.72); border: 1px solid rgba(216,180,90,.16); line-height: 1.8; color: rgba(255,255,255,.8); backdrop-filter: blur(10px); }
.bs-reel-cta { width: 100%; height: 43px; margin-top: 12px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #f1d487, #d8b45a); color: #201a08; font-size: 14px; font-weight: 800; letter-spacing: .04em; cursor: pointer; box-shadow: 0 8px 24px rgba(216,180,90,.25); }
.bs-reel-cta:active { transform: scale(.98); }
.bs-reels-hint { position: absolute; left: 50%; top: 78px; z-index: 5; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: 11px; pointer-events: none; transition: opacity .25s ease; backdrop-filter: blur(8px); }
.bs-reels-hint.is-hidden { opacity: 0; }
.bs-reels-loading, .bs-reels-error { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,.78); font-size: 13px; }
.bs-reels-loading span { width: 26px; height: 26px; border: 2px solid rgba(216,180,90,.25); border-top-color: #d8b45a; border-radius: 50%; animation: bs-reel-spin .9s linear infinite; }
.bs-reels-error button { height: 36px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(216,180,90,.4); background: rgba(216,180,90,.14); color: #f0d289; }
@keyframes bs-reel-spin { to { transform: rotate(360deg); } }
@media (max-width: 400px) {
  .bs-reel-bottom { right: 68px; }
  .bs-reel-side { right: 8px; bottom: 188px; }
  .bs-reel-round .bs-reel-like-ico { width: 44px; height: 44px; }
  .bs-reel-bottom h3 { font-size: 19px; }
}
.bs-reel-meta .bs-reel-cat { padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; }
.bs-reel-meta .is-price { color: #f0d289; font-weight: 800; }
.bs-reel-owner { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; color: #f0d289; text-decoration: none; font-size: 11px; }
.bs-reel-owner img, .bs-reel-owner i { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: rgba(216,180,90,.2); color: #f0d289; font-style: normal; font-size: 11px; }
.bs-reel-owner b { font-size: 11.5px; font-weight: 600; }
.bs-reel-owner small { color: rgba(255,255,255,.58); font-size: 10px; }
.bs-reel-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.bs-reel-fallback[hidden] { display: none; }
/* ---------- 我的：会员 / 充值 / 账号设置三页合一 ---------- */
.bs-vipcard-inline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bs-vipcard-inline h3 { margin: 0; font-size: 14px; }
.bs-vipcard-inline p { margin: 3px 0 0; font-size: 11.5px; }
.bs-vipcard-btn { flex: 0 0 auto; height: 36px; padding: 0 16px; font-size: 12px; }
.bs-mine-merged { margin-top: 14px; border-top: 1px solid rgba(216,180,90,.14); padding-top: 12px; }
.bs-mine-merged .mw-status { margin-top: 0; }
.bs-mine-merged .mw-plans { margin-bottom: 10px; }
.bs-mine-merged .mw-sec-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.bs-mine-refresh { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(216,180,90,.28); background: transparent; color: #d8b45a; font-size: 11px; cursor: pointer; }
.bs-mine-settings { margin-top: 16px; }
.bs-mine-mini { height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(216,180,90,.28); background: rgba(216,180,90,.08); color: #d8b45a; font-size: 11px; cursor: pointer; }
@media (min-width: 1024px) {
  .bs-main[data-bs-view="mine"] { display: block; }
}
