* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #fff;
  color: #333;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
.page {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 70px;
  min-height: 100vh;
}

/* ===== 顶部导航 ===== */
.top-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: linear-gradient(120deg, #505c89, #505c81);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.header-top {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 8px;
}
.brand {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand em {
  font-style: normal;
  color: #fcf518;
}
.search-box {
  flex: 1;
  position: relative;
}
.search-box input {
  width: 100%;
  height: 34px;
  border: none;
  border-radius: 17px;
  padding: 0 14px 0 32px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  color: #333;
  outline: none;
}
.search-box::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border: 2px solid #888;
  border-radius: 50%;
}
.search-box::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 7px;
  height: 2px;
  background: #888;
  transform: rotate(45deg);
  border-radius: 2px;
}
.account {
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  text-decoration: none;
  display: inline-block;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
/* 分类栏包一层可折叠容器：上滑收起、下滑展开（抖音同款吸顶交互） */
.cat-wrap {
  overflow: hidden;
  max-height: 220px;
  transition: max-height 0.25s ease;
}
.top-header.collapsed .cat-wrap {
  max-height: 0;
}
.top-header.collapsed {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}
.cat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 手机上 6 列太挤，4 字分类会被截断；4 列更宽更紧凑 */
  padding: 4px 10px 10px;
  gap: 6px;
}
.cat {
  padding: 4px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #e8e9f2;
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat.active {
  background: #fcf518;
  color: #333;
  font-weight: 600;
}
.cat.empty {
  color: #a6a8b3;  /* 空分类（没有片）文字置灰，一眼知道点进去是空的 */
}
.cat.empty.active {
  color: #555;     /* 选中的空分类保持高亮底色，文字用深灰而不是亮灰 */
}
.cat.cat-more {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
/* 「更多」分类弹窗：浅色主题（双类名提高优先级，压住通用 .sheet 的样式） */
.sheet.cat-sheet {
  background: #fff;
  border-radius: 16px;
  margin: 0 16px;
  padding-bottom: 18px;
  max-width: 480px;
  width: calc(100% - 32px);
}
.sheet.cat-sheet .sheet-title {
  padding: 14px 16px 8px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.cat-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 列：4 字分类放得全，不再截成「XX…」 */
  gap: 8px;
  padding: 10px 16px;
  max-height: 55vh;
  overflow-y: auto;
}
.cat-sheet-item {
  padding: 9px 4px;
  border-radius: 10px;
  background: #f2f3f7;
  color: #333;  /* 深字浅底，清晰可读 */
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.cat-sheet-item.on {
  background: #fcf518;
  color: #333;
  font-weight: 600;
}
/* 弹窗里空分类（没有片）文字置灰，与顶栏一致 */
.cat-sheet-item.empty {
  color: #b0b2bd;
}
.cat-sheet-item.empty.on {
  color: #555;  /* 选中态保持可读 */
}
.sheet.cat-sheet .pay-actions .btn-gray {
  background: #f2f3f7;
  color: #333;
}

/* ===== 公告栏 ===== */
.notice {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fffbe6;
  border-bottom: 1px solid #f2e9c8;
  font-size: 12px;
  color: #8a6d1a;
  overflow: hidden;
  white-space: nowrap;
}
.notice span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-more {
  flex: none;
  color: #f50304;
  font-weight: 600;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ===== 视频列表 ===== */
.list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 12px 4px;
}
.item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #f0f0f0;
  transition: transform 0.15s;
}
.item:active {
  transform: scale(0.97);
}
.img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eee;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
}
.watched {
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffe08a;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 8px;
}
.heart {
  position: absolute;
  right: 6px;
  top: 6px;
  color: #9aa0ad;
  font-size: 16px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.heart:hover {
  color: #cfd4dd;
}
.item-title {
  padding: 8px 9px 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-info {
  padding: 0 9px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #999;
}
.hot-num {
  color: #f50304;
  font-weight: 600;
}
.free-tip {
  color: #2a9d3f;
  font-weight: 600;
}

/* ===== 底部导航 ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  z-index: 100;
}
.bottom-nav a {
  flex: 1;
  text-align: center;
  padding: 7px 0 9px;
  font-size: 11px;
  color: #888;
}
.bottom-nav a .ico {
  display: block;
  font-size: 18px;
  line-height: 22px;
}
.bottom-nav a.on {
  color: #f50304;
  font-weight: 600;
}

/* 回到顶部：右下角半透明小按钮（滑过 600px 才出现，点到即回顶；中性色不抢视线） */
.back-top {
  position: fixed;
  right: 14px;
  bottom: 84px;  /* 底栏导航（约 70px）之上 */
  z-index: 90;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(80, 92, 137, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  padding: 0;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-top:active {
  background: rgba(80, 92, 137, 0.85);
}
/* 桌面端：对齐到居中 480px 栏目内的右侧（手机 <500px 用默认 right:14px） */
@media (min-width:500px) {
  .back-top { right: calc(50% - 226px); }
}

/* ===== 通用弹层 ===== */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  display: none;
}
.modal-mask.show {
  display: flex;
}
.sheet {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 18px 16px 24px;
  animation: up 0.25s ease;
}
@keyframes up {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.sheet-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sheet-sub {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* 付费弹窗 */
.pay-preview {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.pay-preview img {
  width: 132px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
}
.pay-preview .pp-info {
  flex: 1;
  padding-top: 4px;
}
.pp-title {
  font-size: 15px;
  font-weight: 600;
}
.pp-meta {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
}
.plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}
.plan .price {
  color: #f50304;
  font-weight: 700;
  font-size: 15px;
}
.plan.hot {
  border-color: #f3b501;
  background: #fffdf2;
}
.plan.hot::before {
  content: "推荐";
  font-size: 10px;
  color: #fff;
  background: #f50304;
  border-radius: 8px;
  padding: 1px 6px;
  margin-right: 8px;
}
.plan .tip {
  font-size: 11px;
  color: #aaa;
}
.pay-note {
  margin-top: 12px;
  font-size: 11px;
  color: #b0a88c;
  line-height: 1.6;
  border-top: 1px dashed #e5ddbf;
  padding-top: 10px;
}
.pay-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.btn {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-gray {
  background: #f0f0f0;
  color: #666;
}
.btn-yellow {
  background: linear-gradient(180deg, #fcf518, #f3b501);
  color: #333;
  box-shadow: 0 3px 10px rgba(243, 181, 1, 0.4);
}

/* 支付通道 */
.channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.channel {
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
}
.channel .c-ico {
  font-size: 26px;
  display: block;
  margin-bottom: 6px;
}
.channel .c-name {
  font-size: 13px;
  font-weight: 600;
}
.channel .c-desc {
  font-size: 10px;
  color: #bbb;
  margin-top: 3px;
}

/* ===== 收款码页 ===== */
.qr-page {
  background: #f5f6fa;
  min-height: 100vh;
}
.qr-top {
  background: linear-gradient(120deg, #505c89, #505c81);
  color: #fff;
  padding: 16px 16px 42px;
  position: relative;
}
.qr-back {
  position: absolute;
  left: 10px;
  top: 12px;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.qr-store {
  text-align: center;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.qr-card {
  max-width: 420px;
  margin: -38px auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 46px 18px 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  width: calc(100% - 32px);
}
.qr-order {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: #666;
  padding-bottom: 14px;
  border-bottom: 1px dashed #eee;
}
.qr-order b {
  color: #333;
  flex: 1;
  min-width: 0;
  margin-left: 10px;
  text-align: right;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.qr-money {
  text-align: center;
  padding: 18px 0 6px;
}
.qr-money .lab {
  font-size: 13px;
  color: #999;
}
.qr-money .num {
  font-size: 34px;
  font-weight: 700;
  color: #f50304;
}
.qr-money .num small {
  font-size: 16px;
}
.qr-img-wrap {
  width: 220px;
  height: 220px;
  margin: 12px auto;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
  background: #fff;
}
.qr-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr-timer {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 6px 0 12px;
}
.qr-timer b {
  color: #f50304;
  font-size: 15px;
}
.qr-btn {
  display: block;
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 23px;
  background: linear-gradient(180deg, #fcf518, #f3b501);
  color: #333;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(243, 181, 1, 0.4);
  margin-bottom: 12px;
}
.qr-tip {
  text-align: center;
  font-size: 11px;
  color: #999;
  line-height: 1.7;
  padding: 10px 0 4px;
  border-top: 1px dashed #eee;
}
.replace-hint {
  background: #fff8e6;
  border: 1px dashed #e8c766;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: #8a6d1a;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.6;
}

/* ===== 播放页 ===== */
.play-page {
  background: #111;
  min-height: 100vh;
}
.play-head {
  background: #000;
}
.play-head video {
  width: 100%;
  display: block;
  max-height: 40vh;
  background: #000;
}
.play-info {
  background: #fff;
  padding: 4px 0 0;
}
.play-title {
  padding: 12px 14px 4px;
  font-size: 17px;
  font-weight: 700;
}
.play-meta {
  padding: 4px 14px 10px;
  font-size: 12px;
  color: #999;
}
.play-desc {
  margin: 0 14px;
  padding: 12px 0;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}
.play-rec {
  padding: 14px;
}
.play-rec h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.rec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ===== 账号中心 ===== */
.auth-page {
  background: #f5f6fa;
  min-height: 100vh;
}
.auth-top {
  background: linear-gradient(120deg, #505c89, #505c81);
  color: #fff;
  padding: 16px 16px 40px;
  position: relative;
}
.auth-back {
  position: absolute;
  left: 10px;
  top: 12px;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.auth-card {
  max-width: 420px;
  margin: -24px auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  width: calc(100% - 32px);
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 18px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 15px;
  color: #999;
  cursor: pointer;
  position: relative;
}
.auth-tab.on {
  color: #333;
  font-weight: 700;
}
.auth-tab.on::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 40px;
  height: 3px;
  background: #f3b501;
  border-radius: 3px;
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  display: block;
}
.form-label .req {
  color: #f50304;
}
.form-input {
  width: 100%;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s;
}
.form-input:focus {
  border-color: #f3b501;
}
.form-tip {
  font-size: 11px;
  color: #aaa;
  margin-top: 5px;
  line-height: 1.6;
}
.form-tip b {
  color: #f50304;
}
.form-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 23px;
  background: linear-gradient(180deg, #fcf518, #f3b501);
  color: #333;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(243, 181, 1, 0.35);
  margin-top: 6px;
}
.form-switch {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 14px;
}
.form-switch a {
  color: #f50304;
  font-weight: 600;
}
.auth-msg {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
  min-height: 18px;
}
.auth-msg.err {
  color: #f50304;
}
.auth-msg.ok {
  color: #2a9d3f;
}
.auth-logged {
  text-align: center;
  padding: 10px 0 4px;
}
.auth-logged .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(120deg, #505c89, #505c81);
  color: #fff;
  font-size: 24px;
  line-height: 60px;
  margin: 0 auto 10px;
}
.auth-logged .acc-name {
  font-size: 17px;
  font-weight: 700;
}
.auth-logged .acc-sub {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* ===== 账号中心：我的权限 ===== */
.perm-head {
  font-size: 15px;
  font-weight: 700;
  padding: 10px 4px 8px;
  border-bottom: 1px solid #f0f1f5;
  margin-bottom: 8px;
}
.perm-sub {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin: 14px 4px 8px;
}
#permBody .row {
  background: #fafbfc;
  border-radius: 8px;
  margin-bottom: 6px;
}
#permBody .row img {
  width: 68px;
  height: 42px;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
  margin-right: 10px;
}
#permBody .ann {
  margin-bottom: 8px;
}

/* ===== 新增：公告更多 / 页脚 / 加载更多 ===== */
.load-more {
  text-align: center;
  padding: 4px 12px 18px;
}
.load-more .btn {
  min-width: 160px;
}
/* 「加载更多」已改成滚动自动加载，这里只保留一行小灰字提示（正在加载…/已经到底啦） */
.load-more .load-tip {
  display: inline-block;
  font-size: 12px;
  color: #a8adb8;
  letter-spacing: 1px;
  padding: 6px 0;
}
/* 无真封面时的文字卡：渐变底 + 片名，取代默认占位图（避免满屏一样的兔子/花图） */
.img-wrap.no-cover {
  background: linear-gradient(135deg, #3a2d5e 0%, #24344f 55%, #17223a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.no-cover-text {
  color: #f5f0ff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 封面图：先半透明，加载完再淡入，避免图片「啪」地弹出造成闪烁 */
.img-wrap img {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.img-wrap img.ld {
  opacity: 1;
}
/* 卡片入场淡入（整块不再生硬弹出） */
.item {
  animation: item-in 0.22s ease both;
}
@keyframes item-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
/* 骨架屏：数据没到前的灰色占位卡（闪烁感的根治） */
.sk-item { pointer-events: none; animation: none; }
.sk-img {
  background: linear-gradient(90deg, #e9ebf0 25%, #f4f6fa 45%, #e9ebf0 65%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.2s linear infinite;
}
.sk-title {
  height: 15px; margin: 6px 8px 2px; border-radius: 5px;
  background: #e6e8ee;
}
.sk-info {
  height: 10px; margin: 6px 8px 4px; border-radius: 5px;
  background: #eceef3;
}
@keyframes sk-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.site-footer {
  padding: 8px 16px 20px;
  font-size: 11px;
  color: #a8adb8;
  text-align: center;
  line-height: 1.9;
}
.heart.on {
  color: #f50304;
}

/* ===== 新增：提示条 ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 12px);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 300;
  max-width: 80%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== 新增：列表弹窗（公告 / 收藏 / 已购） ===== */
.list-box {
  max-height: 50vh;
  overflow-y: auto;
  padding: 4px 0 8px;
}
.list-empty {
  text-align: center;
  color: #bbb;
  font-size: 13px;
  padding: 26px 10px;
  line-height: 1.9;
}
.ann {
  background: #f7f8fb;
  border-left: 3px solid #c9cfdd;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.ann.warn { background: #fff5f4; border-left-color: #f50304; }
.ann.ok { background: #f1fbf5; border-left-color: #2a9d3f; }
.ann-t { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ann-c { font-size: 13px; color: #555; line-height: 1.7; }
.ann-l { margin-top: 6px; font-size: 13px; }
.ann-l a { color: #f50304; }
.ann-d { margin-top: 6px; font-size: 11px; color: #aaa; }
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}
.row:active { background: #f5f6fa; }
.row img {
  width: 78px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #eceff5;
  flex: none;
}
.row-t { font-size: 14px; line-height: 1.5; }
.row-s { display: block; font-size: 11px; color: #aaa; margin-top: 3px; }

/* ===== 新增：播放页 ===== */
.play-loading,
.play-locked,
.play-fallback {
  color: #bbb;
  text-align: center;
  padding: 60px 20px;
  font-size: 13px;
  background: #000;
  line-height: 1.9;
}
.play-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.play-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.play-iframe-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #1a1a1a;
  color: #ddd;
  font-size: 13px;
}
.play-iframe-bar .bar-site {
  flex: none;
  color: #f50303;
  font-weight: 700;
  font-size: 13px;
}
.play-iframe-bar .bar-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.play-tags {
  padding: 0 14px 8px;
}
.play-tags .tag {
  display: inline-block;
  background: #f2f3f7;
  color: #666;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  margin: 0 6px 6px 0;
}
/* 播放页收藏：标题旁小爱心（点一下变红，与列表封面爱心同款交互，不碍眼） */
.play-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.play-title-row .play-title {
  padding: 12px 0 4px;
  flex: 1;
}
.play-fav-heart {
  padding: 8px 6px 8px 14px;
  font-size: 20px;
  color: #9aa0ad;
  cursor: pointer;
  line-height: 1;
}
.play-fav-heart.on {
  color: #f50304;
}
/* 点收藏后右上角轻提示（1.2 秒消失） */
.play-fav-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 16px;
  animation: fav-toast-in 0.2s ease;
  pointer-events: none;
}
@keyframes fav-toast-in {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.play-notice {
  margin: 0 14px 12px;
  font-size: 12px;
  color: #8a6d1a;
  background: #fffbe6;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.7;
}
.play-foot {
  padding: 6px 16px 40px;
  font-size: 11px;
  color: #99a0ad;
  text-align: center;
  line-height: 1.9;
  background: #f7f8fb;
}
.paywall {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 210;
  padding: 20px;
}
.paywall.show { display: flex; }
.paywall-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px 18px;
  width: 100%;
  max-width: 330px;
  text-align: center;
}
.paywall-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  background: #eceff5;
}
.pw-title { font-size: 16px; font-weight: 700; margin-top: 12px; }
.pw-sub { font-size: 12px; color: #999; margin-top: 6px; }
.pw-actions { margin-top: 16px; }
.pw-actions .btn {
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 22px;
}
.pw-tip { font-size: 12px; color: #999; margin-top: 6px; line-height: 1.7; }

/* ===== 新增：收银台影片行 ===== */
.qr-film {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f8fb;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0 0 14px;
  font-size: 13px;
}
.qr-film img {
  width: 62px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  background: #eceff5;
}
