/* ============================================================
   星河漫剧 · 前台主样式
   移动端优先（抖音引流流量 100% 手机），≥768px 桌面端自适应
   ============================================================ */
:root {
  --bg: #0a0a11;
  --bg2: #101018;
  --surface: #16161f;
  --surface2: #1d1d29;
  --line: rgba(255, 255, 255, .07);
  --text: #eef0f6;
  --muted: #9aa1b3;
  --brand: #5b7cfa;
  --brand2: #9b5cfa;
  --grad: linear-gradient(120deg, #5b7cfa 0%, #9b5cfa 100%);
  --grad-warm: linear-gradient(120deg, #ff8a3d 0%, #ff2d78 100%);
  --radius: 12px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ================= 移动端基础 ================= */

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #0f0f18;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
}
.logo { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.logo-ico {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; box-shadow: 0 4px 12px rgba(91, 124, 250, .4);
}
.logo-txt {
  font-size: 17px; font-weight: 800; letter-spacing: .3px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav { display: none; }
.top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 1; min-width: 0; }
.search { position: relative; flex: 1; min-width: 0; }
.search input {
  width: 100%; height: 36px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); padding: 0 36px 0 14px; font-size: 13px;
  outline: none; transition: border-color .2s;
}
.search input:focus { border-color: var(--brand); }
.search input::placeholder { color: #6b7186; }
.search button {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; font-size: 14px;
}
.admin-link {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px; transition: all .2s;
}
.admin-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- 公告条 ---------- */
.announce {
  background: rgba(91, 124, 250, .07);
  border-bottom: 1px solid var(--line);
}
.ann-inner {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  font-size: 12.5px; color: #c3cbdd; overflow: hidden; white-space: nowrap;
}
.ann-ico { font-size: 12px; flex-shrink: 0; }
.ann-text { overflow: hidden; text-overflow: ellipsis; }
.ann-close {
  margin-left: auto; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  color: #8892ad; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.ann-close:active { background: rgba(255, 255, 255, .1); }

/* ---------- 主内容 ---------- */
.main { padding: 8px 12px 100px; min-height: 70vh; }

/* ---------- 页头 + 筛选胶囊 ---------- */
.page-head { margin: 14px 2px 10px; }
.page-title { font-size: 20px; font-weight: 800; }
.page-sub { color: #aeb4c6; margin-top: 3px; font-size: 12px; }
.filter-pills {
  position: relative;
  display: flex; gap: 8px; margin: 4px 0 14px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 2px 40px 4px 2px;
}
.filter-pills::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40px;
  background: linear-gradient(90deg, rgba(10, 10, 17, 0), var(--bg) 88%);
  pointer-events: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0; padding: 7px 16px; border-radius: 999px; font-size: 13px;
  background: var(--surface2); border: 1px solid rgba(255, 255, 255, .14);
  color: #b6bccd; transition: all .2s;
}
.pill.on {
  background: var(--grad); color: #fff; font-weight: 600;
  border-color: transparent; box-shadow: 0 4px 14px rgba(91, 124, 250, .4);
}

/* ---------- 双列海报网格 ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
}
.card { cursor: pointer; display: block; }
.poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden;
  background: var(--surface);
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .38); color: #fff; font-size: 18px; opacity: 0; transition: opacity .2s;
}
.poster-play::before {
  content: "▶"; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  padding-left: 2px; box-shadow: 0 6px 18px rgba(91, 124, 250, .55);
}
.card:active .poster-play { opacity: 1; }
.badge-hot, .badge-score {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px;
}
.badge-hot { background: linear-gradient(120deg, #ff6a3d, #ff2d78); color: #fff; }
.badge-score { background: rgba(0, 0, 0, .72); color: #ffd257; }
.card-body { padding: 7px 1px 0; }
.card-title {
  font-size: 13.5px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.9em;
}
.card-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.pager a, .pager span {
  min-width: 34px; height: 34px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.pager a:active { color: #fff; border-color: var(--brand); }
.pager .cur { background: var(--grad); color: #fff; border: none; font-weight: 600; }

/* ---------- 详情页 ---------- */
.detail-wrap { display: flex; gap: 14px; margin-top: 12px; }
.detail-poster { flex-shrink: 0; }
.detail-poster img {
  width: 128px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55);
}
.detail-info { flex: 1; min-width: 0; }
.detail-title { font-size: 18px; font-weight: 800; line-height: 1.4; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 9px 0; }
.chip {
  font-size: 11.5px; padding: 3px 11px; border-radius: 999px;
  background: rgba(91, 124, 250, .14); color: #a8b8ff; border: 1px solid rgba(91, 124, 250, .3);
}
.chip.cat { background: rgba(155, 92, 250, .14); color: #cbb2ff; border-color: rgba(155, 92, 250, .3); }
.detail-meta { display: flex; gap: 18px; color: var(--muted); font-size: 12.5px; align-items: baseline; }
.detail-meta b { color: #ffd257; font-size: 14px; }
.detail-desc {
  color: #c4c9d8; font-size: 13.5px; line-height: 2; margin-top: 12px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px;
}
.detail-actions { margin-top: 14px; display: flex; gap: 10px; }
.detail-actions .btn { flex: 1; padding: 11px 10px; }
.detail-actions .btn-ghost {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .45);
}
.sec-title-sm { font-size: 15px; font-weight: 700; margin-bottom: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; padding: 10px 22px; font-size: 14px; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(91, 124, 250, .4); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost {
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.btn-ghost:active { background: rgba(255, 255, 255, .2); }
.btn-lg { padding: 12px 26px; font-size: 15px; }
.btn-mini { padding: 6px 13px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- 选集 ---------- */
.ep-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.ep-btn {
  display: block; text-align: center; padding: 9px 4px; font-size: 12.5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); transition: all .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ep-btn:active { border-color: var(--brand); color: #fff; }
.ep-btn.on { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }

/* ---------- 播放页 ---------- */
.player-box {
  margin: 10px -12px 0; background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  aspect-ratio: 16 / 9;
}
.player-box video { width: 100%; height: 100%; display: block; }
.play-head { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; flex-wrap: wrap; }
.play-title { font-size: 17px; font-weight: 800; }
.play-ep-tag { color: var(--muted); font-size: 12px; }
.play-views { color: var(--muted); font-size: 11.5px; margin-left: auto; }
.ep-nav { display: flex; gap: 10px; margin: 14px 0; }
.ep-nav .btn { flex: 1; padding: 10px 8px; font-size: 13.5px; }
.ep-nav .btn:disabled { opacity: .35; }

/* ---------- 区块 ---------- */
.sec { margin-top: 26px; }
.sec-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.sec-title { font-size: 16px; font-weight: 700; }
.sec-ico { font-size: 15px; }
.sec-more { margin-left: auto; color: var(--muted); font-size: 12px; }
.cards {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 2px 1px 8px; scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.cards .card { flex: 0 0 128px; }

/* ---------- 详情页吸底操作条（移动端） ---------- */
.detail-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: #101018;
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + var(--safe-b));
  display: flex; gap: 10px;
}
.detail-sticky .btn { flex: 1; padding: 13px 8px; font-size: 15px; }
.detail-sticky .btn-earn { background: var(--grad-warm); color: #fff; box-shadow: 0 6px 20px rgba(255, 45, 120, .45); }
body:has(.detail-sticky) .main { padding-bottom: 96px; }
body:has(.detail-sticky) .bottom-nav { display: none; }

/* ---------- 引流弹窗（屏幕居中，进页面立即可见） ---------- */
.lead-modal {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(4, 4, 10, .74); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lead-modal.show { display: flex; animation: leadFade .25s ease; }
@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
.lead-card {
  position: relative; width: 100%; max-width: 400px; max-height: 82vh; overflow-y: auto;
  background: linear-gradient(160deg, #1a1a2e 0%, #131320 60%, #101018 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px;
  padding: 28px 22px 22px; text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
  animation: leadPop .3s cubic-bezier(.2, 1.2, .4, 1);
}
@keyframes leadPop { from { transform: scale(.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lead-close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--muted); font-size: 15px;
}
.lead-gift { font-size: 40px; line-height: 1; margin-bottom: 8px; }
.lead-title { font-size: 18px; font-weight: 800; }
.lead-text {
  color: #c4c9d8; font-size: 13.5px; line-height: 1.9; margin: 9px 0 15px;
  white-space: pre-wrap; word-break: break-word;
}
.lead-btn-main {
  display: block; width: 100%; cursor: pointer;
  background: var(--grad-warm);
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .3px;
  border-radius: 999px; padding: 14px 10px; text-align: center;
  box-shadow: 0 8px 22px rgba(255, 45, 120, .4);
  animation: leadShine 2.2s infinite;
}
@keyframes leadShine {
  0%, 100% { box-shadow: 0 8px 22px rgba(255, 45, 120, .4); }
  50% { box-shadow: 0 8px 36px rgba(255, 138, 61, .75); }
}
.lead-btn-sub {
  display: block; width: 100%; margin-top: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; font-size: 14px; font-weight: 600;
  border-radius: 999px; padding: 11px 10px;
}
.lead-skip {
  margin-top: 10px; padding: 6px 12px 4px; display: inline-block;
  color: #9aa1b3; font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- 底部弹层变体（任务页作品列表用） ---------- */
.lead-modal.lead-modal-sheet { align-items: flex-end; padding: 0; }
.lead-modal.lead-modal-sheet .lead-card {
  max-width: none; max-height: 84vh;
  border-radius: 20px 20px 0 0; border-bottom: none;
  padding-bottom: calc(20px + var(--safe-b));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
  animation: leadUp .3s cubic-bezier(.2, 1, .4, 1);
}
@keyframes leadUp { from { transform: translateY(60%); opacity: .4; } to { transform: translateY(0); opacity: 1; } }

/* ---------- 任务页 ---------- */
.task-hero {
  margin-top: 4px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #241a4d 0%, #3d1d5e 45%, #5c1f4d 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}
.task-hero::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 65%);
  top: -110px; right: -70px;
}
.task-hero-inner { position: relative; padding: 34px 18px 28px; text-align: center; }
.task-hero-ico { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.task-hero-title { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.task-hero-sub { color: #d6c9f0; font-size: 14px; margin: 8px 0 18px; }
.task-hero-tip { margin-top: 12px; color: #8f7fb5; font-size: 11.5px; }

.task-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.task-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 10px; text-align: center;
}
.task-step-num {
  width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(91, 124, 250, .4);
}
.task-step-title { font-size: 13.5px; font-weight: 700; }
.task-step-desc { color: var(--muted); font-size: 11px; margin-top: 4px; line-height: 1.6; }

.task-works-box {
  background: var(--surface); border: 1px dashed rgba(255, 170, 60, .5);
  border-radius: 14px; padding: 28px 16px; text-align: center;
}
.task-works-emoji { font-size: 34px; margin-bottom: 6px; }
.task-works-box p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 14px; }

.task-rules {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.task-rule { color: #c4c9d8; font-size: 13px; line-height: 1.8; }

.task-contact {
  background: linear-gradient(160deg, rgba(255, 170, 60, .08), rgba(255, 45, 120, .06));
  border: 1px solid rgba(255, 170, 60, .35); border-radius: 14px; padding: 20px 16px;
}
.task-contact-head { font-size: 14px; font-weight: 700; color: #ffd257; margin-bottom: 12px; }
.task-contact-grid { display: flex; flex-direction: column; gap: 12px; }
.task-contact-label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.task-contact-value { display: flex; align-items: center; gap: 10px; }
.task-contact-v { font-size: 19px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.task-contact-note { color: #c9c2b8; font-size: 12.5px; margin-top: 12px; line-height: 1.9; }

/* ---------- 作品列表弹层 ---------- */
.works-list {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  max-height: 46vh; overflow-y: auto; padding-right: 2px;
}
.works-item {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: 12px 14px; flex-shrink: 0;
}
.works-item-title { font-size: 14px; font-weight: 700; }
.works-item-note { color: #ffd257; font-size: 12px; margin-top: 3px; }
.works-item-actions { display: flex; gap: 8px; margin-top: 10px; }
.works-item-actions .btn { flex: 1; padding: 9px 4px; font-size: 12.5px; }
.works-empty { color: var(--muted); text-align: center; padding: 22px 0; }

/* ---------- 空状态 ---------- */
.empty-state { text-align: center; padding: 60px 16px; color: var(--muted); }
.empty-state .big { font-size: 44px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 24px; }
.footer-inner { padding: 26px 16px 30px; text-align: center; }
.footer-logo { font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-sub { color: var(--muted); font-size: 12px; margin-top: 6px; }
.footer-text { color: #5d6377; font-size: 11px; margin-top: 8px; line-height: 1.9; }
.footer-copy { color: #4a4f62; font-size: 11px; margin-top: 10px; }

/* ---------- 底部导航 ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  background: #101018;
  border-top: 1px solid var(--line);
  display: flex;
  padding-bottom: var(--safe-b);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 6px; color: var(--muted); font-size: 10.5px;
  transition: color .2s;
}
.bottom-nav .bn-ico { font-size: 20px; line-height: 1.2; }
.bottom-nav a.on { color: #fff; font-weight: 600; }
.bottom-nav a.on .bn-ico {
  background: var(--grad); border-radius: 12px; padding: 1px 10px;
  box-shadow: 0 3px 10px rgba(91, 124, 250, .45);
}
.bottom-nav .bn-earn .bn-ico {
  background: var(--grad-warm); border-radius: 12px; padding: 1px 12px;
  box-shadow: 0 3px 12px rgba(255, 45, 120, .5);
  animation: leadShine 2.5s infinite;
}
.bottom-nav .bn-earn { color: #ffb3cd; }

/* ================= 桌面端（≥768px） ================= */
@media (min-width: 768px) {
  .topbar-inner {
    max-width: 1240px; margin: 0 auto; height: 62px; gap: 34px; padding: 0 20px;
  }
  .logo-ico { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
  .logo-txt { font-size: 20px; letter-spacing: .5px; }
  .nav { display: flex; align-items: center; gap: 26px; font-size: 15px; flex: 1; }
  .nav a, .nav .nav-item { color: var(--muted); transition: color .2s; position: relative; padding: 4px 0; }
  .nav a:hover, .nav .nav-item:hover { color: #fff; }
  .nav a.on { color: #fff; font-weight: 600; }
  .nav a.on::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
    border-radius: 2px; background: var(--grad);
  }
  .nav-drop { position: relative; }
  .nav-item { cursor: pointer; user-select: none; }
  .drop-menu {
    position: absolute; top: calc(100% + 12px); left: -14px; min-width: 132px;
    background: var(--surface2); border: 1px solid var(--line); border-radius: 12px;
    padding: 8px; display: none; flex-direction: column; gap: 2px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5); z-index: 200;
  }
  .drop-menu a { padding: 8px 12px; border-radius: 8px; font-size: 14px; }
  .drop-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .nav-drop:hover .drop-menu { display: flex; }
  .top-right { gap: 14px; }
  .search { flex: none; }
  .search input { width: 230px; padding: 0 40px 0 18px; font-size: 13.5px; transition: width .25s, border-color .2s; }
  .search input:focus { width: 290px; }
  .admin-link { width: 36px; height: 36px; font-size: 16px; }

  .ann-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; font-size: 13px; }

  .main { max-width: 1240px; margin: 0 auto; padding: 8px 20px 60px; }
  .page-head { margin: 26px 0 20px; }
  .page-title { font-size: 26px; }
  .page-sub { font-size: 13.5px; }
  .filter-pills { flex-wrap: wrap; overflow: visible; margin: 4px 0 24px; }
  .pill { padding: 8px 20px; font-size: 14px; }
  .grid { grid-template-columns: repeat(auto-fill, 162px); gap: 22px 18px; justify-content: start; }
  .card-title { font-size: 14px; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .card-meta { font-size: 12px; }
  .badge-hot, .badge-score { font-size: 12px; padding: 2px 9px; top: 8px; right: 8px; }
  .card:hover .poster { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0, 0, 0, .55); }
  .card:hover .poster img { transform: scale(1.06); }
  .card:hover .poster-play { opacity: 1; }
  .poster { transition: transform .25s, box-shadow .25s; }
  .poster img { transition: transform .35s; }
  .poster-play { font-size: 20px; }
  .poster-play::before { width: 46px; height: 46px; }
  .cards { gap: 15px; }
  .cards .card { flex-basis: 158px; }

  .detail-wrap { gap: 36px; margin-top: 34px; }
  .detail-poster img { width: 252px; border-radius: 14px; }
  .detail-title { font-size: 30px; letter-spacing: .5px; }
  .chip { font-size: 12.5px; padding: 4px 13px; }
  .detail-meta { gap: 26px; font-size: 13.5px; }
  .detail-meta b { font-size: 15px; }
  .detail-desc { font-size: 14px; padding: 14px 18px; max-width: 720px; }
  .detail-actions { margin-top: 24px; }
  .detail-sticky { display: none; }
  .sec { margin-top: 34px; }
  .sec-title { font-size: 20px; }
  .sec-title-sm { font-size: 17px; }
  .ep-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
  .ep-btn { padding: 10px 6px; font-size: 13px; }
  .ep-btn:hover { border-color: var(--brand); color: #fff; transform: translateY(-1px); }

  .player-box { margin-top: 26px; border-radius: 14px; overflow: hidden; max-height: 640px; }
  .play-title { font-size: 23px; }
  .ep-nav { margin: 18px 0; }
  .ep-nav .btn { flex: none; padding: 10px 24px; }

  .task-hero-inner { padding: 56px 24px 48px; max-width: 720px; margin: 0 auto; }
  .task-hero-ico { font-size: 58px; }
  .task-hero-title { font-size: 34px; }
  .task-hero-sub { font-size: 15.5px; }
  .task-steps { gap: 16px; }
  .task-step { padding: 24px 20px; }
  .task-step-num { width: 44px; height: 44px; font-size: 20px; }
  .task-step-title { font-size: 16px; }
  .task-step-desc { font-size: 13px; }
  .task-works-box { padding: 40px 20px; }
  .task-rule { font-size: 14px; }
  .task-contact { padding: 26px 28px; }
  .task-contact-grid { flex-direction: row; gap: 26px; }
  .task-contact-v { font-size: 20px; }

  .lead-modal { align-items: center; padding: 20px; }
  .lead-card {
    max-width: 420px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12);
    padding: 34px 30px 26px;
    animation: leadPop .3s cubic-bezier(.2, 1.2, .4, 1);
  }
  .lead-card-wide { max-width: 560px; }
  .lead-title { font-size: 20px; }
  .lead-text { font-size: 14px; }

  .footer-inner { max-width: 1240px; margin: 0 auto; padding: 40px 20px 34px; }
  .footer-logo { font-size: 18px; }
  .footer-sub { font-size: 13px; }
  .footer-text { font-size: 12.5px; }
  .footer-copy { font-size: 12px; }

  .bottom-nav { display: none; }
  .detail-sticky { display: none; }
}
