﻿/* =====================================================================
   追漫剧主题样式 · 粉白浅色
   复刻自 tv63.cn 的视觉体系：淡粉渐变底 + 白色圆角卡片 + 粉红强调色。
   目录：基础 → 外壳 → 标题 → 卡片 → 简介 → 热播 → 资源库 → 步骤 →
        上传 → 弹窗 → 提示 → 漂浮按钮 → 资源页 → 无障碍
   ===================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #fdf5f7;
  --card: #fff;
  --ink: #1a1a1a;
  --sub: #7d7d7d;
  --line: #f5e8ee;
  --pink: #e8417a;
  --pink2: #ff4d7d;
  --grad: linear-gradient(100deg, #ff6b9d, #b44df0);
  --grad-cta: linear-gradient(135deg, #ff8fb8, #ff4d7d);
  --ease: cubic-bezier(.2, .9, .3, 1.25);
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 顶部淡淡的粉色光晕，往下过渡到白 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #fdeef3 0%, #fdf5f7 200px, #fff 480px);
}

img { max-width: 100%; }
a { color: inherit; }

/* ---------- 外壳 ---------- */
.promo-shell {
  width: auto;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 14px 88px;
}

/* ---------- 大标题 ---------- */
.page-title {
  margin: 0 0 16px;
  padding: 10px 0 14px;
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: -.01em;
  color: var(--ink);
}

/* ---------- 卡片底座 ---------- */
.intro-card,
.step-card,
.upload-card,
.hot-card,
.proof-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(232, 65, 122, .045);
}

.intro-card,
.step-card,
.upload-card {
  margin: 0 0 13px;
  padding: 18px;
}

.intro-card { padding-bottom: 16px; }
.step-card { padding: 16px; }

/* ---------- 简介卡 ---------- */
.intro-card > p {
  margin: 0 0 14px;
  color: #2b2b2b;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .2px;
}

.intro-card > p + p { margin-top: 16px; }

.intro-card > p b,
.intro-card > p strong {
  font-weight: 500;
  color: #2b2b2b;
}

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

/* ---------- 今日热播剧 ---------- */
.hot-card {
  margin: 0 0 18px;
  padding: 16px 14px 14px;
}

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

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

.hot-tag {
  background: var(--grad);
  color: #697782;
  font-size: 12px;
  line-height: 1.65;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
  white-space: nowrap;
}

.hot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hot-row figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

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

.hot-row figcaption {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.65;
  color: #6a6a6a;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* ---------- 真实资源库 ---------- */
.proof-card {
  padding: 16px 16px 14px;
  margin: 14px 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(232, 65, 122, .09);
}

.proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.proof-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #2b2b2b;
}

.proof-badge {
  font-size: 11px;
  color: var(--pink);
  background: #fff0f5;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 800;
  white-space: nowrap;
}

.proof-num {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
}

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

/* 更新目录：底部渐隐，暗示"还有更多" */
.folder-box {
  position: relative;
  max-height: 298px;
  overflow: hidden;
  margin-top: 2px;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, #000 84%, rgba(0, 0, 0, 0));
}

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

.fdr + .fdr { border-top: 1px solid #f7f3f5; }

/* 纯 CSS 画的蓝色文件夹，不依赖 emoji（各机型差异大） */
.fdr-ico {
  width: 34px;
  height: 28px;
  position: relative;
  flex: none;
}

.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, .28);
}

.fdr-bd {
  min-width: 0;
  overflow: hidden;
}

.fdr-nm {
  font-size: 14.5px;
  font-weight: 700;
  color: #2f2f33;
  line-height: 1.3;
}

.fdr-mt {
  font-size: 12px;
  color: #a3a3ab;
  margin-top: 2px;
  line-height: 1.3;
}

.proof-names {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.proof-names .pn {
  font-size: 12px;
  color: #5a5a5a;
  background: #fdf4f8;
  border: 1px solid #f8dde7;
  padding: 5px 10px;
  border-radius: 9px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
}

.proof-names .pn.new {
  background: linear-gradient(135deg, #fff0f5, #ffe3ee);
  border-color: #ffbed4;
  color: #d1467a;
}

.proof-tip {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #9c9098;
  text-align: center;
}

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

/* ---------- 步骤标题 ---------- */
.step-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}

.step-heading > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8fb8, #ff4d7d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 9px rgba(255, 77, 125, .32);
}

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

/* ---------- 步骤正文 ---------- */
.step-desc,
.keyword-instruction > span,
.keyword-need > span {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
}

.keyword-instruction {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.75;
}

.step-desc .hl,
.keyword-need .hl,
.keyword-instruction .hl {
  color: #ff2e63;
  font-weight: 800;
  font-style: normal;
  padding: 0 1px;
}

.keyword-panel {
  padding: 1px 0 0;
  background: transparent;
}

/* ---------- 平台按钮（小红书等） ---------- */
.plat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  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: 16px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.plat-ico {
  font-size: 2rem;
  line-height: 1;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
}

/* ---------- 上传区说明 ---------- */
.keyword-need {
  margin: 0;
  color: #555;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.8;
}

.keyword-need .tip-ok,
.keyword-need .tip-pink { color: inherit; }

.keyword-need .tip-ok { font-weight: 500; }
.keyword-need .tip-pink { color: #d1467a; font-weight: 500; }

/* 成功评论示意图 */
.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;
  font-size: 11px;
  font-weight: 700;
  background: var(--pink);
  color: #fff;
}

/* ---------- 上传控件 ---------- */
.upload-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.upload-heading h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
}

.upload-heading p {
  margin: 0;
  font-size: 12px;
  color: #8a8a8a;
}

.upload-count {
  display: flex;
  align-items: baseline;
  flex: none;
  color: var(--pink);
}

.upload-count strong {
  font-size: 26px;
  font-weight: 700;
}

.upload-count span { font-size: 15px; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  border: 2px dashed #ffc4d8;
  border-radius: 16px;
  background: #fdf9fb;
  color: var(--pink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.dropzone.drag-over {
  border-color: var(--pink2);
  background: #fff3f8;
}

.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

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

.dropzone strong {
  font-size: 14px;
  font-weight: 600;
  color: #c9366a;
}

.dropzone em {
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  color: #b9a3ae;
}

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

.preview-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 9px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #eef2f6;
}

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

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

.upload-rules {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
  font-size: 11px;
  color: #a8a8a8;
}

.upload-rules span { color: #a8a8a8; }

/* 提交按钮 */
.submit-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 107, 157, .28);
  transition: filter .16s ease;
}

.submit-upload:hover { filter: brightness(1.07); }
.submit-upload:active { filter: brightness(.98); }

.submit-upload:disabled {
  background: #edf0f3;
  color: #a8b0b8;
  box-shadow: none;
  cursor: not-allowed;
}

/* 未选满 3 张时点提交：抖一下提示位置 */
.shake { animation: shake .45s ease; }

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* ---------- 解锁弹窗 ---------- */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
}

dialog::backdrop {
  background: rgba(21, 35, 47, .55);
  backdrop-filter: blur(2px);
}

.check-dialog {
  width: min(450px, calc(100% - 28px));
}

.dialog-box {
  position: relative;
  padding: 22px 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 16px 44px rgba(27, 42, 52, .16);
}

.dialog-box h2 {
  margin: 12px 0 7px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.dialog-box > p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #6a6a6a;
}

.dialog-box > p strong {
  color: var(--pink);
  font-weight: 700;
}

.check-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border: 5px solid #d8edf8;
  border-top-color: #1aa2e9;
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.check-dialog.is-complete .check-icon {
  animation: none;
  border-color: #3dbd72;
  position: relative;
}

.check-dialog.is-complete .check-icon::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #36a966;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.dialog-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 107, 157, .28);
}

.dialog-action:hover { filter: brightness(1.07); }

.dialog-close {
  position: absolute;
  right: 12px;
  top: 6px;
  border: 0;
  background: none;
  color: #8997a4;
  font-size: 28px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 35px;
  transform: translate(-50%, 20px);
  max-width: min(440px, calc(100% - 30px));
  padding: 11px 17px;
  border-radius: 12px;
  background: rgba(40, 20, 30, .92);
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
  box-shadow: 0 8px 24px rgba(20, 32, 40, .16);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

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

/* ---------- 实时完成提示 ---------- */
.live-toast {
  position: fixed;
  right: 12px;
  bottom: 15%;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 76vw;
  padding: 9px 14px 9px 9px;
  border: 1px solid #ffe0d6;
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateX(28px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s var(--ease), opacity .38s ease;
}

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

.lt-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

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

.lt-name {
  font-size: 13px;
  font-weight: 800;
  color: #2b2b2b;
  line-height: 1.25;
}

.lt-text {
  margin-top: 1px;
  font-size: 12.5px;
  color: #8a8a8a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.float-cta:active { transform: translateX(-50%) scale(.96); }

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

/* ---------- 资源页 ---------- */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 0 14px;
}

.top-bar .back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #a08f96;
  text-decoration: none;
}

.top-bar .back:hover { color: var(--pink); }

.brand {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #a08f96;
}

.unlock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #ffd6e3;
  border-radius: 99px;
  background: #fff0f5;
  color: #d1467a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lib-search {
  position: relative;
  margin: 14px 0 16px;
}

.lib-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  box-shadow: 0 2px 10px rgba(232, 65, 122, .05);
}

.lib-search input::placeholder { color: #b9a9b1; }

.lib-search input:focus {
  border-color: #ffc4d8;
  box-shadow: 0 0 0 3px rgba(255, 119, 158, .12);
}

.lib-search .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #c9b3bf;
  pointer-events: none;
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lib-card {
  position: relative;
  font-family: inherit;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(232, 65, 122, .045);
  transition: transform .16s ease, box-shadow .16s ease;
}

.lib-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 65, 122, .12);
}

.lib-card .thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3eef1;
}

.lib-card .cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.lib-card .body {
  display: block;
  padding: 9px 11px 12px;
}

.lib-card .name {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lib-card .meta {
  display: block;
  margin: 3px 0 0;
  font-size: 11.5px;
  color: #a08f96;
}

.lib-card .flag {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--grad-cta);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 77, 125, .35), 0 0 0 1.5px rgba(255, 255, 255, .9);
}

.lib-empty {
  margin: 28px 0;
  text-align: center;
  color: #a08f96;
  font-size: 13px;
}

.lib-foot code {
  padding: 1px 5px;
  border-radius: 5px;
  background: #fff0f5;
  color: #d1467a;
  font-size: 11px;
}

.lib-foot {
  margin: 22px 0 4px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.7;
  color: #b3a4ab;
}

.player-box {
  width: min(560px, calc(100% - 24px));
}

.player-box .dialog-box {
  text-align: left;
  padding: 18px;
}

.player-box .close {
  position: absolute;
  right: 10px;
  top: 6px;
  border: 0;
  background: none;
  color: #b3a8ad;
  font-size: 26px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}

.player-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding-right: 26px;
}

.player-head img {
  width: 54px;
  height: 72px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
}

.player-head h2 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 700;
}

.player-head p {
  margin: 0;
  font-size: 12px;
  color: #a08f96;
}

.player-screen {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #17131a;
  color: #fff;
  font-size: 12px;
  overflow: hidden;
}

.player-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 10, 14, .25), rgba(15, 10, 14, .62));
}

.player-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.player-screen span {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.8;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

.ep-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 148px;
  overflow-y: auto;
  padding-bottom: 2px;
}

.ep-list button {
  font-family: inherit;
  min-width: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fdf7fa;
  color: #6b5a61;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ep-list button:hover,
.ep-list button.is-active {
  border-color: #ffb9d0;
  background: #fff0f5;
  color: var(--pink);
}

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .promo-shell { padding: 20px 14px 88px; }

  .intro-card,
  .step-card,
  .upload-card {
    margin: 0 0 11px;
    padding: 15px;
  }

  .page-title { margin-bottom: 13px; }
  .hot-tag { font-size: 11px; }

  .intro-card { padding-bottom: 13px; }
  .intro-card > p { margin-bottom: 12px; }
  .step-card { padding: 14px; }

  .upload-heading { align-items: flex-start; }
  .upload-rules { gap: 7px; }
  .dialog-box { padding: 22px 18px; }

  .lib-grid { gap: 10px; }
  .lib-card .body { padding: 8px 9px 11px; }
  .lib-card .name { font-size: 13px; }
}

@media (max-width: 390px) {
  .preview-grid { gap: 7px; }
}

/* ---------- 无障碍 / 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid rgba(232, 65, 122, .35);
  outline-offset: 2px;
}
