/* ============================================================
   落地页样式（移动优先，560px 居中）
   ============================================================ */

:root {
  --bg: #fdf5f7;
  --bg-2: #ffffff;
  --card: #ffffff;
  --ink: #1a1a1a;
  --sub: #7d7d7d;
  --line: #f5e8ee;
  --pink: #e8417a;
  --pink-2: #b44df0;
  --grad: linear-gradient(100deg, var(--pink), var(--pink-2));
  --soft: #fff0f5;
  --soft: color-mix(in srgb, var(--pink) 8%, var(--card));
  --soft-2: #ffe3ee;
  --soft-2: color-mix(in srgb, var(--pink) 14%, var(--card));
  --ok: #0f9d58;
  --bad: #d93025;
  --warn: #8a3fc0;
  --shell: 560px;
  --radius: 18px;
  --fs: 1;
  --poster-ratio: 3 / 4;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --shadow: 0 2px 12px rgba(232, 65, 122, 0.045);
  --shadow: 0 2px 12px color-mix(in srgb, var(--pink) 9%, transparent);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 9%, var(--bg)) 0%, var(--bg) 200px, var(--bg-2) 480px) fixed;
}

img { max-width: 100%; }

.shell {
  width: auto;
  max-width: var(--shell, 560px);
  margin: 0 auto;
  padding: 10px 14px 88px;
}

/* ---------------- 主题布局开关（后台写入 html class） ---------------- */

html.bg-solid body { background: var(--bg); }

html.head-left .page-title {
  text-align: left;
  padding-left: 2px;
}

html.card-flat .card {
  box-shadow: none;
  border-color: var(--card);
}

html.card-outline .card { box-shadow: none; }

html.density-compact .shell {
  padding-top: 4px;
  padding-bottom: 78px;
}

html.density-compact .card {
  padding: 14px;
  margin-bottom: 9px;
}

html.density-compact .page-title { padding: 4px 0 10px; }
html.density-compact .card-head { margin-bottom: 9px; }
html.density-compact .step-desc { line-height: 1.55; margin-bottom: 7px; }

/* ---------------- 标题 ---------------- */

.page-title {
  margin: 0;
  padding: 10px 0 14px;
  text-align: center;
  font-size: calc(23px * var(--fs));
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------------- 通用卡片 ---------------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin: 0 0 13px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.card-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.pill {
  flex: none;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  white-space: nowrap;
}

.pill.soft {
  color: var(--pink);
  background: var(--soft);
}

/* 选图提示（安卓/苹果选择器不一样，给一句说明） */
.upload-hint {
  margin: 7px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--sub);
  text-align: center;
}

/* ---------------- 说明 ---------------- */

.intro p {
  margin: 0 0 14px;
  font-size: calc(14.5px * var(--fs));
  line-height: 1.95;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.intro p:last-child { margin-bottom: 0; }

.hl {
  color: var(--pink);
  font-weight: 800;
}

/* ---------------- 今日热播 ---------------- */

.hot { padding: 16px 14px 14px; }

.hot-wrap {
  position: relative;
}

/* 横向轮播：每屏张数 / 海报缩放都由后台控制（--hot-per / --hot-size） */
.hot-row {
  --hot-per: 4;
  --hot-size: 1;
  --hot-gap: 8px;
  display: flex;
  gap: var(--hot-gap);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0 3px;
}

.hot-row::-webkit-scrollbar { display: none; }

.hot-row figure {
  flex: 0 0 calc(((100% - (var(--hot-per) - 1) * var(--hot-gap)) / var(--hot-per)) * var(--hot-size));
  min-width: 0;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.hot-row img {
  display: block;
  width: 100%;
  aspect-ratio: var(--poster-ratio, 3 / 4);
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  background: var(--soft);
}

.hot-row figcaption {
  margin-top: 6px;
  font-size: 11px;
  color: var(--sub);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 左右箭头（桌面悬停显示） */
.hot-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(35, 22, 30, 0.45);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(2px);
}

.hot-wrap:hover .hot-nav,
.hot-nav:focus-visible { opacity: 1; }

.hot-nav:hover { background: rgba(35, 22, 30, 0.68); }
.hot-nav.prev { left: -3px; }
.hot-nav.next { right: -3px; }
.hot-nav[hidden] { display: none; }

/* 分页圆点 */
.hot-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 8px;
  margin-top: 10px;
}

.hot-dots:empty { display: none; }

.hot-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--pink) 18%, var(--card));
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.hot-dot.active {
  width: 16px;
  background: var(--pink);
}

@media (max-width: 640px) {
  .hot-nav { display: none; }
}

.hot-tip {
  margin: 14px 0 2px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
}

/* 右上角「查看更多」 */
.hot-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hot-more {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pink);
  padding: 4px 0 4px 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ================= 全部热播剧弹窗 ================= */
.pm {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 24, 0.5);
  z-index: 9000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.pm.on {
  display: flex;
}
.pm-panel {
  background: var(--card);
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  animation: pmup 0.22s ease-out;
  overflow: hidden;
}
@keyframes pmup {
  from { transform: translateY(30px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}
.pm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px 12px;
  border-bottom: 1px solid var(--line);
}
.pm-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.pm-head span {
  font-size: 11.5px;
  color: var(--sub);
}
.pm-x {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 17px;
  line-height: 1;
  color: var(--sub);
  cursor: pointer;
}
.pm-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 14px 26px;
}
.pm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pm-grid figure {
  margin: 0;
  overflow: hidden;
}
.pm-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}
.pm-grid figcaption {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--sub);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- 资源库 ---------------- */

.proof { padding: 16px 16px 14px; }

.proof-num {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--sub);
}

.proof-num b {
  margin: 0 2px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--pink);
}

/* 人数滚动动画 */
.count-num {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  vertical-align: baseline;
  font-variant-numeric: tabular-nums;
}

.count-text { display: inline; }

.cn-digit {
  position: relative;
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 0.58em;
  text-align: center;
}

.cn-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.cn-strip span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.cn-sep { display: inline-block; line-height: 1; }

.cn-flip { perspective: 180px; }

.cn-flip .cn-face {
  display: block;
  height: 1em;
  line-height: 1;
  transform-origin: 50% 60%;
  transform: rotateX(-90deg);
  opacity: 0;
  backface-visibility: hidden;
  transition: transform var(--cn-dur, 1200ms) ease, opacity var(--cn-dur, 1200ms) ease;
}

.cn-flip.in .cn-face { transform: rotateX(0); opacity: 1; }

.cn-fade .cn-face {
  display: block;
  height: 1em;
  line-height: 1;
  opacity: 0;
  transition: opacity var(--cn-dur, 1200ms) ease;
}

.cn-fade.in .cn-face { opacity: 1; }

.cn-slide .cn-face {
  display: block;
  height: 1em;
  line-height: 1;
  opacity: 0;
  transform: translateY(0.7em);
  transition: opacity var(--cn-dur, 1200ms) ease, transform var(--cn-dur, 1200ms) ease;
}

.cn-slide.in .cn-face { opacity: 1; transform: translateY(0); }

.cn-digit.no-anim .cn-face {
  opacity: 1;
  transform: none;
  transition: none;
}

.folder-box {
  position: relative;
  max-height: 298px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, #000 84%, transparent);
}

.fdr {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 2px;
}

.fdr + .fdr { border-top: 1px solid var(--line); }

.fdr-ico {
  position: relative;
  flex: none;
  width: 34px;
  height: 28px;
}

.fdr-ico::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  width: 15px;
  height: 7px;
  background: #63b3ff;
  border-radius: 3px 3px 0 0;
}

.fdr-ico::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 34px;
  height: 23px;
  background: linear-gradient(180deg, #7cc0ff, #4d9dff);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(77, 157, 255, 0.28);
}

.fdr-nm {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdr-mt {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--sub);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.tag {
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--pink) 18%, var(--card));
  border-radius: 9px;
  background: var(--soft);
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.tag.new {
  border-color: color-mix(in srgb, var(--pink) 35%, var(--card));
  background: linear-gradient(135deg, var(--soft), var(--soft-2));
  color: var(--pink);
}

.proof-tip {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--sub);
}

.proof-tip b {
  color: var(--pink);
  font-weight: 800;
}

/* ---------------- 步骤 ---------------- */

.step { padding: 18px; }

.step-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}

.step-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 9px rgba(255, 77, 125, 0.32);
}

.step-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.step-desc {
  margin: 0 0 10px;
  font-size: calc(14.5px * var(--fs));
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
}

.step-ok {
  margin: 0 0 6px;
  color: var(--ok);
  font-size: 13.5px;
  font-weight: 700;
}

.step-warn {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
}

/* ---------------- 平台按钮 ---------------- */

.plat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.plat-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 142px;
  padding: 14px 32px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 0.88);
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
  font-size: calc(15px * var(--fs));
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.plat-btn:hover { transform: translateY(-1px); }
.plat-btn:active { transform: scale(0.97); }

.plat-ico {
  font-size: 2rem;
  line-height: 1;
}

/* ---------------- 上传 ---------------- */

.shot-demo {
  margin: 0 0 15px;
  text-align: center;
}

.shot-demo img {
  display: block;
  width: 100%;
  max-width: 286px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.shot-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.upload-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.upload-head h3 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.upload-head p {
  margin: 0;
  font-size: 12px;
  color: var(--sub);
}

.skip-panel {
  padding: 6px 0 2px;
  text-align: center;
}

.skip-panel p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sub);
}

.upload-count {
  flex: none;
  font-size: 13px;
  color: var(--pink);
}

.upload-count b { font-size: 26px; font-weight: 800; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 18px;
  border: 2px dashed color-mix(in srgb, var(--pink) 32%, var(--card));
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--pink);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.dropzone.drag-over {
  border-color: var(--pink);
  background: var(--soft-2);
}

.up-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.dropzone strong {
  font-size: 14px;
  color: var(--pink);
}

.dropzone em {
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  color: var(--sub);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.preview-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  aspect-ratio: 9 / 14;
}

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

.preview-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 45, 53, 0.72);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.preview-state {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 6px;
  background: rgba(20, 12, 16, 0.62);
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.preview-state.ok { background: rgba(15, 157, 88, 0.88); }
.preview-state.bad { background: rgba(214, 48, 84, 0.9); }
.preview-state.wait { background: rgba(180, 77, 240, 0.85); }

.submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: calc(var(--radius) * 0.68);
  background: var(--grad);
  color: #fff;
  font-family: inherit;
  font-size: calc(16px * var(--fs));
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(255, 107, 157, 0.28);
  cursor: pointer;
  transition: filter 0.16s ease, background 0.16s ease;
}

.submit:not(:disabled):hover { filter: brightness(1.07); }

.submit:disabled {
  background: color-mix(in srgb, var(--sub) 14%, var(--card));
  color: var(--sub);
  box-shadow: none;
  cursor: not-allowed;
}

.progress { margin-top: 12px; }

.progress .bar {
  height: 6px;
  border-radius: 99px;
  background: var(--soft-2);
  overflow: hidden;
}

.progress .bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  transition: width 0.3s ease;
}

.progress p {
  margin: 7px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--sub);
}

.result {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.result.ok { background: color-mix(in srgb, var(--ok) 10%, var(--card)); color: var(--ok); }
.result.bad { background: color-mix(in srgb, var(--bad) 8%, var(--card)); color: var(--bad); }
.result.wait { background: color-mix(in srgb, var(--warn) 10%, var(--card)); color: var(--warn); }

/* ---------------- 弹窗 ---------------- */

.dlg {
  width: calc(100% - 40px);
  max-width: 340px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
}

.dlg::backdrop {
  background: rgba(30, 18, 24, 0.55);
  backdrop-filter: blur(2px);
}

.dlg-box {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  text-align: center;
}

.dlg-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sub);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.dlg-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ok) 12%, var(--card));
  color: var(--ok);
  font-size: 30px;
  font-weight: 800;
}

.dlg-box h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink);
}

.dlg-box p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--sub);
}

.dlg-box p .hl { color: var(--pink); }

.dlg-action {
  display: block;
  height: 46px;
  line-height: 46px;
  border-radius: calc(var(--radius) * 0.68);
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 107, 157, 0.28);
}

/* ---------------- 悬浮按钮 ---------------- */

.float-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 28px;
  border: 0;
  border-radius: 99px;
  background: var(--grad);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 26px rgba(255, 77, 125, 0.45);
  z-index: 900;
  cursor: pointer;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.float-cta.hide {
  opacity: 0;
  transform: translate(-50%, 26px);
  pointer-events: none;
}

/* ---------------- 实时提示 ---------------- */

.live-toast {
  --lt-ms: 400ms;
  position: fixed;
  right: 12px;
  bottom: 15%;
  z-index: 880;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 76vw;
  padding: 9px 14px 9px 9px;
  border: 1px solid color-mix(in srgb, var(--pink) 22%, var(--card));
  border-radius: calc(var(--radius) * 0.78);
  background: color-mix(in srgb, var(--card) 96%, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateX(28px) scale(0.96);
  pointer-events: none;
  transition: transform var(--lt-ms) cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity var(--lt-ms) ease;
}

.live-toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* 动画样式：由后台选择，data-anim 挂在元素上 */
.live-toast[data-anim="fade"] {
  transform: scale(0.97);
}
.live-toast[data-anim="fade"].show {
  transform: scale(1);
}
.live-toast[data-anim="up"] {
  transform: translateY(26px) scale(0.98);
}
.live-toast[data-anim="up"].show {
  transform: translateY(0) scale(1);
}
.live-toast[data-anim="down"] {
  transform: translateY(-26px) scale(0.98);
}
.live-toast[data-anim="down"].show {
  transform: translateY(0) scale(1);
}
.live-toast[data-anim="zoom"] {
  transform: scale(0.78);
}
.live-toast[data-anim="zoom"].show {
  transform: scale(1);
}

/* 正在识别截图时不弹社会证明，避免挡住进度和提交区 */
body.is-busy .live-toast,
body.has-files .live-toast {
  opacity: 0;
  pointer-events: none;
}

.lt-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.lt-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lt-name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 第二行：细小灰字 */
.lt-text {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- 轻提示 ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 950;
  max-width: 80vw;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(40, 20, 30, 0.92);
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--sub);
}

/* ================= 底部备用按钮 ================= */
.foot-cta {
  margin: 14px 0 6px;
  text-align: center;
}
.foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--pink) 35%, var(--card));
  border-radius: 40px;
  background: color-mix(in srgb, var(--pink) 8%, var(--card));
  color: var(--pink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.foot-btn:active {
  transform: scale(0.985);
  background: color-mix(in srgb, var(--pink) 14%, var(--card));
}
.foot-btn-ico {
  font-style: normal;
  font-size: 13px;
  opacity: 0.85;
}
.foot-tip {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--sub);
}

/* 图片查看层 */
.img-view {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.img-view img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ---------------- 小屏 ---------------- */

@media (max-width: 390px) {
  .shell { padding-left: 12px; padding-right: 12px; }
  .page-title { font-size: 21px; }
  .card { padding: 15px; }
  .hot { padding: 14px 11px 12px; }
  .proof { padding: 14px 13px 12px; }
  .preview-grid { gap: 7px; }
  .plat-btn { min-width: 128px; padding: 12px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
