/* 移动端基础布局、组件和各页面样式。修改公共选择器前检查所有路由。 */
:root {
  --bg: #1c1c20;
  --panel: #242429;
  --soft: #2c2c32;
  --gold: #ff0a9d;
  --gold2: #ff5cc0;
  --text: #ffffff;
  --muted: #a0a0a8;
  --line: #ffffff1a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #1c1c20;
  color: var(--text);
  font:
    15px/1.6 'Microsoft YaHei',
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
}
#app {
  max-width: 480px;
  min-height: 100dvh;
  margin: auto;
  background: var(--bg);
  padding-bottom: 90px;
  position: relative;
  box-shadow: 0 0 100px #0008;
}
header {
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #1c1c20e6;
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
header h1 {
  font-size: 23px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 创作者中心标题行：标题不换行，新建短剧按钮固定 40% 宽度。 */
.creator-new {
  width: 40%;
  flex: 0 0 40%;
  white-space: nowrap;
  text-align: center;
}
header .back {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(140deg, #ff5cc0, #e01f47);
  color: #ffffff;
  font: bold 29px Arial;
}
.brand strong {
  font-size: 19px;
}
/* 站点LOGO：固定为头部原有 39px 槽位高度，宽度按比例自适应，不随图片原始尺寸放大。 */
.brand-logo-img {
  display: block;
  height: 39px;
  width: auto;
  max-width: 60vw;
  border-radius: 10px;
  object-fit: contain;
}
.head-icon {
  font-size: 21px;
  min-width: 36px;
  min-height: 40px;
}
.head-icon .hd-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
/* 会员中心金币卡片：整块可点击，进入财务明细。 */
.coin-cell {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  margin: 0 0 10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
/* 金币/会员两格卡片：等高拉伸、按钮底部对齐且同宽，左右视觉整齐。 */
.row.stat-row {
  align-items: stretch;
}
.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-cell .coin-cell {
  margin-bottom: 4px;
}
.stat-cell > button:last-child {
  margin-top: auto;
}
/* 创作者招募页：头图卡片与顶级UP卡片高亮。 */
.recruit-hero {
  background: linear-gradient(160deg, #14161c, #1d0d13 70%);
  border: 1px solid #ff0a9d33;
}
.recruit-hero h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 8px 0;
}
.level-top {
  border: 1px solid var(--gold);
  box-shadow: 0 0 18px #ff0a9d22;
}
.stats .card small {
  display: block;
}
/* 入驻申请四步向导：步骤条、结果卡与底部操作栏。 */
.steps {
  display: flex;
  align-items: center;
  gap: 6px;
}
.steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}
.steps .step b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.steps .step span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.steps .step.active b {
  background: linear-gradient(135deg, #ff5cc0, #e01f47);
  color: #ffffff;
  border-color: transparent;
}
.steps .step.active span {
  color: var(--gold);
}
.steps .step.done b {
  border-color: var(--gold);
  color: var(--gold);
}
.steps i {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-bottom: 18px;
}
.wizard-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wizard-bar .hint {
  margin: 0;
  color: var(--gold);
}
.wizard-btns {
  display: flex;
  gap: 10px;
}
.wizard-btns button {
  flex: 1;
}
.review-card {
  text-align: center;
  padding: 34px 20px;
}
.review-dots {
  color: var(--gold);
  letter-spacing: 6px;
  font-size: 12px;
  margin-bottom: 12px;
}
.review-card .kv {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.review-card .kv span {
  color: var(--muted);
}
.warn-note {
  background: #ff0a9d14;
  border: 1px solid #ff0a9d44;
  border-radius: 10px;
  padding: 10px 12px;
}
.content {
  padding: 18px 16px;
}
/* 含底部固定操作栏的页面（短剧详情/充值等），内容区预留操作栏高度，避免遮挡剧集列表。 */
.content:has(.fixed-action) {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.gap {
  height: 18px;
}
.section {
  margin: 24px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section h2 {
  font-size: 20px;
}
.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 3px;
}
/* 图片广告：首页Banner与信息流广告 */
.hero-img,
.hero-img a,
.hero-img img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-img img {
  object-fit: cover;
}
.ad-img {
  display: block;
  padding: 0;
  overflow: hidden;
}
.ad-img img {
  display: block;
  width: 100%;
}
/* 弹窗广告：倒计时结束后才可关闭 */
.ad-popup {
  align-items: center;
  justify-content: center;
  display: flex;
}
.ad-popup-sheet {
  max-width: 320px;
  width: 86%;
  text-align: center;
}
.ad-popup-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.ad-popup-close {
  margin-top: 12px;
  width: 100%;
}
.ad-popup-close:disabled {
  opacity: 0.55;
  pointer-events: none;
}
/* 广告轮播 */
.ad-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.ad-img .ad-carousel {
  height: auto;
}
.ad-slide {
  width: 100%;
  height: 100%;
}
.ad-slide.hidden {
  display: none;
}
.ad-slide img,
.ad-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.ad-nolink {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-img .ad-slide img {
  object-fit: cover;
}
.ad-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.ad-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff55;
}
.ad-dots i.on {
  background: var(--gold, #ff0a9d);
}
/* 播放前广告 */
.preroll {
  align-items: center;
  justify-content: center;
  display: flex;
}
.preroll-box {
  max-width: 340px;
  width: 88%;
  text-align: center;
  position: relative;
}
.preroll-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
/* 倒计时/跳过按钮：右上角，透明背景 */
.preroll-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 8px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.preroll-count:disabled {
  cursor: default;
  opacity: 0.85;
}
.hero-copy {
  position: absolute;
  bottom: 29px;
  left: 24px;
  right: 20px;
}
.hero h2 {
  font-family: 'Songti SC', 'SimSun', serif;
  font-size: 39px;
  line-height: 1.25;
  margin: 11px 0;
}
.hero p {
  font-size: 12px;
  color: #b9b9c0;
}
.hero .primary {
  margin-top: 19px;
  width: auto;
  padding: 9px 21px;
  font-size: 12px;
  min-height: 38px;
}
.primary,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-radius: 28px;
  padding: 13px 18px;
  min-height: 48px;
  font-weight: 700;
}
.primary {
  background: linear-gradient(100deg, #ff0a9d, #ff5cc0);
  color: #ffffff;
  width: 100%;
}
.secondary {
  border: 1px solid #ffffff33;
  color: #ffffff;
}
.small {
  padding: 7px 12px;
  min-height: 32px;
  font-size: 12px;
}
.wide {
  width: 100%;
}
.gold {
  color: var(--gold);
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 17px;
  margin-bottom: 14px;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  white-space: nowrap;
  flex: 1;
  min-height: 43px;
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 11px;
}
.tabs button.active {
  background: linear-gradient(100deg, #ff0a9d, #ff5cc0);
  color: #ffffff;
  font-weight: 700;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 13px 0;
  scrollbar-width: none;
}
.chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 6px 13px;
  color: var(--muted);
  font-size: 12px;
}
.chip.active {
  border-color: #ff0a9d;
  color: var(--gold);
  background: #ff0a9d14;
}
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 18px 0;
}
.quick button {
  background: var(--panel);
  border-radius: 15px;
  padding: 14px 3px;
  min-height: 95px;
}
.quick b {
  display: block;
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 7px;
}
.quick strong {
  font-size: 12px;
  display: block;
}
.quick small {
  font-size: 9px;
  display: block;
  line-height: 1.4;
  margin-top: 4px;
}
.grid {
  display: grid;
  /* 手机版一行两个漫剧卡片；桌面端（≥800px）仍为六个。 */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 11px;
}
.poster {
  aspect-ratio: 2/3;
  border-radius: 12px;
  background: url('/assets/posters.webp') center/300% 200%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 7px 16px #0003;
}
.poster:after {
  content: '';
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent, #0009);
}
.poster span {
  position: absolute;
  top: 7px;
  left: 6px;
  color: #fff;
  background: #ff0a9dd9;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  z-index: 1;
}
.poster button {
  position: absolute;
  right: 5px;
  top: 4px;
  z-index: 2;
  background: #0008;
  border-radius: 50%;
  width: 24px;
}
.drama-card {
  padding: 0;
  text-align: left;
  width: 100%;
  min-width: 0;
}
.drama-card h3 {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drama-card small {
  font-size: 10px;
}
.row {
  display: flex;
  gap: 13px;
  align-items: center;
}
.row .grow,
.grow {
  flex: 1;
  min-width: 0;
}
.row .poster {
  width: 67px;
  flex-shrink: 0;
}
.row h3 {
  line-height: 1.4;
  margin: 6px 0;
}
.row p {
  font-size: 12px;
  color: var(--muted);
}
.tag {
  display: inline-block;
  background: #418168;
  color: white;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 5px;
}
.tag.goldtag {
  background: #ff0a9d;
  color: #ffffff;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin: 14px 0;
}
.stats .card {
  margin: 0;
}
.stats b {
  display: block;
  font-size: 24px;
  color: var(--gold);
}
.stats small {
  font-size: 11px;
}
.stats.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  text-align: center;
}
.stats.four .card {
  padding: 11px 3px;
  border-radius: 13px;
}
.stats.four b {
  font-size: 21px;
}
.balance {
  background: linear-gradient(135deg, #231a20, #16161a);
  border: 1px solid #ff0a9d3a;
}
.balance b {
  font-size: 32px;
  color: var(--gold);
}
.empty {
  text-align: center;
  padding: 65px 10px;
  color: var(--muted);
}
.empty .illustration {
  font-size: 65px;
  color: #4a4a52;
  line-height: 1.7;
}
.empty strong {
  display: block;
  font-size: 17px;
  color: var(--text);
}
.empty small {
  display: block;
  margin-top: 7px;
}
.menu {
  padding: 0;
  overflow: hidden;
}
.menu button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 17px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.menu button:last-child {
  border: 0;
}
.menu .glyph {
  width: 34px;
  height: 37px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ff0a9d14;
  color: var(--gold);
}
.menu strong {
  font-size: 15px;
  display: block;
}
.menu small {
  font-size: 11px;
  display: block;
}
.menu .arrow {
  margin-left: auto;
  color: var(--muted);
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  width: 100%;
  background: #202024;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  outline: 0;
  min-height: 44px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #ff0a9d;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
label.field {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
}
label.field:last-child {
  margin-bottom: 0;
}
label.field input,
label.field textarea,
label.field select {
  display: block;
  margin-top: 7px;
  font-weight: 400;
}
input::placeholder,
textarea::placeholder {
  color: #6a6a72;
}
input[type='file'] {
  max-width: 100%;
  font-size: 12px;
  margin-top: 10px;
  color: var(--muted);
}
.hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 12px 0;
}
.error {
  color: #ff6b6b;
  font-size: 12px;
  margin: 12px 0;
  min-height: 0;
}
.dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
  display: flex;
  background: #1c1c20f5;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  z-index: 25;
  padding: 8px 7px calc(8px + env(safe-area-inset-bottom));
}
.dock button {
  flex: 1;
  font-size: 10px;
  min-height: 47px;
  color: #8e8899;
  transition: color 0.2s;
}
.dock-ic {
  display: grid;
  place-items: center;
  line-height: 1.6;
}
.dock-ic svg {
  display: block;
}
.dock .active {
  color: var(--gold);
}
.dock .active .dock-ic {
  filter: drop-shadow(0 0 8px #ff0a9d88);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.actions > * {
  flex: 1;
}
.fixed-action {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
  z-index: 26;
  background: #1c1c20eb;
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sheet {
  max-width: 440px;
  width: 100%;
  max-height: 88dvh;
  overflow: auto;
  background: #161618;
  border: 1px solid #ffffff26;
  border-radius: 24px;
  padding: 24px;
  position: relative;
}
.sheet.bottom {
  align-self: flex-end;
  max-width: 480px;
  border-radius: 25px 25px 0 0;
  padding-bottom: 30px;
}
.overlay-backdrop.bottom {
  padding: 0;
}
.sheet .close {
  position: absolute;
  right: 12px;
  top: 10px;
  min-height: 36px;
  min-width: 36px;
  color: var(--muted);
  font-size: 23px;
}
.sheet h2 {
  margin-bottom: 18px;
  font-size: 21px;
}
.sheet .statement {
  background: #ffffff05;
  padding: 21px;
  border-radius: 17px;
  line-height: 1.9;
  margin: 18px 0;
  text-align: center;
  font-size: 14px;
}
.sheet p {
  font-size: 13px;
}
.sheet .actions {
  margin-top: 22px;
}
.sheet .empty {
  padding: 45px 8px;
}
.miniavatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #331428;
  color: var(--gold);
  display: grid;
  place-items: center;
}
.ad {
  background: radial-gradient(ellipse at right, #4a1f2c, #17171c 70%);
  border: 1px solid #ff0a9d44;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 17px;
  position: relative;
  color: var(--gold);
}
.ad h3 {
  font-size: 23px;
  font-family: SimSun, serif;
  letter-spacing: 3px;
}
.ad small {
  font-size: 9px;
  position: absolute;
  right: 8px;
  bottom: 5px;
  color: #8a8a92;
}
.ad p {
  font-size: 11px;
  color: #b0b0b8;
}
.days {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 23px 0;
}
.day {
  flex: 1;
  min-width: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  padding: 12px 3px;
  background: var(--panel);
  font-size: 10px;
  color: var(--muted);
}
.day b {
  display: block;
  font-size: 15px;
  color: #b9b9c0;
}
.day.active {
  border-color: var(--gold);
  box-shadow: 0 0 16px #ff0a9d1a;
  color: var(--gold);
}
.day.active b {
  color: var(--gold);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}
.plan-grid.vip {
  grid-template-columns: repeat(3, 1fr);
}
.plan {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px 8px;
  background: var(--panel);
  text-align: center;
}
.plan.active {
  border-color: var(--gold);
  background: #ff0a9d19;
}
.plan b {
  font-size: 24px;
  color: var(--gold);
  display: block;
}
.plan strong {
  display: block;
}
.plan small {
  font-size: 11px;
  display: block;
}
.feature-icons {
  display: flex;
  text-align: center;
  justify-content: space-around;
  margin: 20px 0;
  font-size: 10px;
}
.feature-icons b {
  display: block;
  color: var(--gold);
  font-size: 24px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
  margin: 17px 0;
}
.episode {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 45px;
  background: #1c1c20;
  font-size: 14px;
}
.episode.lock:after {
  content: '币';
  position: absolute;
  font-size: 8px;
  right: 2px;
  top: 0;
  color: var(--gold);
}
.episode.current {
  background: #ff0a9d;
  color: #ffffff;
}
.detail-head {
  align-items: flex-start;
}
.detail-head .poster {
  width: 125px;
}
.description {
  font-size: 13px;
  color: #b0b0b8;
  margin: 15px 0;
}
.comment {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.comment:last-child {
  border: 0;
}
.comment p {
  font-size: 13px;
  margin: 8px 0;
}
.comment small {
  font-size: 10px;
}
.player {
  height: calc(100dvh - 70px);
  background: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player .no-video {
  padding: 60px;
  text-align: center;
  z-index: 1;
  max-width: 80%;
}
.player-controls {
  position: absolute;
  right: 8px;
  bottom: 185px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  z-index: 2;
}
.player-controls button {
  display: block;
  min-width: 46px;
  font-size: 24px;
}
.player-controls small {
  display: block;
  color: #ddd;
  font-size: 10px;
}
.player-bottom {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 28px;
  z-index: 2;
  text-shadow: 0 2px 5px #000;
}
.player-bottom h3 {
  font-size: 19px;
}
.player-bottom .card {
  background: #161618bb;
  margin-top: 12px;
  padding: 10px;
  font-size: 12px;
}
.progress {
  height: 3px;
  background: #ffffff30;
  position: relative;
  margin-top: 20px;
}
.progress span {
  display: block;
  background: var(--gold);
  height: 100%;
  width: 4%;
}
.login {
  padding: 50px 20px;
}
.login .logo {
  width: 72px;
  height: 72px;
  margin: auto;
  font-size: 49px;
  border-radius: 22px;
}
.login .brand-title {
  text-align: center;
  margin: 12px 0 40px;
  font-size: 20px;
}
.login h2 {
  font-size: 31px;
  margin-bottom: 4px;
}
.login .hint {
  margin-bottom: 25px;
}
.login input {
  background: #202024;
  margin-bottom: 13px;
}
.login .agreement {
  font-size: 11px;
  margin: 15px 0 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.login .agreement button {
  padding: 0;
  color: var(--gold);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 50px !important;
}
.password-wrap button {
  position: absolute;
  right: 8px;
  top: 4px;
  height: 38px;
  color: var(--muted);
}
.login-footer {
  text-align: center;
  margin-top: 25px;
}
.login-footer button {
  color: var(--gold);
  font-weight: 700;
}
.login-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 44px 0 6px;
}
.message-row {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.message-row h3 {
  font-size: 14px;
}
.message-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 55dvh;
  padding: 12px 0;
}
.bubble {
  max-width: 85%;
  align-self: flex-end;
  background: #ff0a9d;
  border-radius: 16px 16px 2px 16px;
  padding: 12px 15px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.bubble.reply {
  align-self: flex-start;
  background: var(--panel);
  border-radius: 16px 16px 16px 2px;
}
.bubble img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
}
.chat-compose {
  display: flex;
  gap: 8px;
}
.chat-compose input {
  min-width: 0;
}
.chat-compose button {
  font-size: 23px;
  width: 42px;
  flex-shrink: 0;
}
.credential {
  text-align: center;
}
.credential .logo {
  margin: 7px auto 19px;
  width: 67px;
  height: 67px;
  font-size: 48px;
}
.credential canvas {
  background: #fff;
  border-radius: 15px;
  margin: 20px auto 10px;
  max-width: 190px;
}
.rewards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rewards button {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
}
.rewards button.active {
  border-color: var(--gold);
  color: var(--gold);
}
.invite-hero {
  text-align: center;
  padding: 35px 15px;
  background: radial-gradient(ellipse at top, #3d1622, #12060b 66%);
  border: 1px solid #ff0a9d70;
  border-radius: 20px;
  margin-bottom: 18px;
}
.invite-hero h2 {
  font-family: SimSun, serif;
  font-size: 36px;
  line-height: 1.5;
  color: var(--gold);
}
.invite-hero strong {
  font-size: 65px;
  line-height: 1.3;
  color: #ff9fb2;
}
.agency-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}
.agency-levels .card {
  padding: 15px 5px;
  background: #161618b3;
  text-align: center;
}
.agency-levels b {
  font-size: 35px;
  display: block;
  color: var(--gold);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 5px;
  text-align: left;
  vertical-align: top;
}
.table-wrap {
  overflow-x: auto;
}
details {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.admin-notice,
.mode-note {
  font-size: 11px;
  color: #b0b0b8;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 17px;
}
.notice-dot {
  width: 5px;
  height: 5px;
  background: #ff0a9d;
  border-radius: 50%;
  display: inline-block;
}
.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  margin: 12px 0;
}
.nomination-list {
  max-height: 52dvh;
  overflow: auto;
}
.nomination-list .row {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.nomination-list .poster {
  width: 52px;
}
.nomination-list .row h3 {
  font-size: 14px;
}
.nomination-list .selected {
  outline: 1px solid var(--gold);
  outline-offset: -1px;
  background: #ff0a9d12;
}
.nomination-list button {
  width: 100%;
  text-align: left;
}
.tags-select {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}
.tags-select button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 12px;
}
.tags-select button.active {
  color: #ffffff;
  background: #ff0a9d;
}
.inline-link {
  color: var(--gold);
  padding: 0;
  font-size: 12px;
}
.rank-num {
  font-size: 28px;
  color: var(--gold);
  width: 28px;
  flex-shrink: 0;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.icon-grid button {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 7px;
  text-align: center;
}
.icon-grid b {
  color: var(--gold);
  font-size: 26px;
  display: block;
}
.icon-grid strong {
  display: block;
  font-size: 12px;
  margin: 7px 0 3px;
}
.icon-grid small {
  display: block;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.record {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.record small {
  display: block;
  font-size: 10px;
}
.status {
  font-size: 10px;
  color: #ff8aa5;
  background: #ff0a9d16;
  border-radius: 6px;
  padding: 3px 7px;
}
.danger {
  color: #ff6b6b;
}
.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.mobile-search input {
  min-width: 0;
}
.mobile-search button {
  min-width: 45px;
}
.tools-link {
  display: block;
  text-align: center;
  margin: 32px 0;
  color: var(--muted);
  font-size: 10px;
}
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 12px 20px;
  border: 1px solid #ff0a9d70;
  border-radius: 14px;
  background: #1c1c20;
  z-index: 200;
  display: none;
  font-size: 13px;
}
.hidden {
  display: none !important;
}
.library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.library button {
  text-align: left;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.library small {
  display: block;
  font-size: 10px;
}
.terms {
  font-size: 13px;
  line-height: 2;
}
.terms h3 {
  margin: 20px 0 8px;
}
.horizontal {
  display: flex;
  gap: 11px;
  overflow: auto;
}
.horizontal .drama-card {
  min-width: 120px;
  width: 120px;
}
.editor-note {
  font-size: 10px;
  color: var(--muted);
  margin: 16px 0;
  text-align: center;
}
.upload-progress {
  height: 5px;
  background: var(--panel);
  border-radius: 5px;
  overflow: hidden;
}
.upload-progress i {
  height: 100%;
  display: block;
  background: var(--gold);
}
@media (min-width: 800px) {
  body {
    background: radial-gradient(ellipse at top, #232329, #1c1c20 65%);
  }
  #app {
    max-width: 1100px;
  }
  .content {
    padding: 26px 38px;
  }
  .hero {
    height: 450px;
    background-position: 60% 42%;
  }
  .hero-copy {
    left: 43px;
    bottom: 45px;
  }
  .hero h2 {
    font-size: 57px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero .primary {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 21px;
  }
  .quick {
    max-width: 660px;
    margin: 25px auto;
  }
  .dock,
  .fixed-action {
    width: min(1100px, 100%);
  }
  .dock {
    padding-left: 20%;
    padding-right: 20%;
  }
  header {
    height: 76px;
    padding: 0 36px;
  }
  .content.narrow {
    max-width: 650px;
    margin: auto;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats.four {
    grid-template-columns: repeat(4, 1fr);
  }
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .icon-grid {
    gap: 18px;
  }
  .icon-grid button {
    padding: 22px;
  }
  .sheet {
    max-width: 500px;
  }
  .library {
    grid-template-columns: repeat(4, 1fr);
  }
  .player {
    height: 850px;
    max-width: 480px;
    margin: auto;
  }
  .login {
    max-width: 480px;
    margin: auto;
  }
  .menu {
    max-width: 650px;
    margin: auto;
  }
  .detail-head .poster {
    width: 155px;
  }
  .episode-grid {
    grid-template-columns: repeat(10, 1fr);
  }
  .tabs {
    max-width: 100%;
  }
  .chat {
    min-height: 470px;
  }
  .nomination-list {
    max-height: 50dvh;
  }
}
@media (max-width: 360px) {
  .content {
    padding: 15px 11px;
  }
  .icon-grid {
    gap: 5px;
  }
  .icon-grid button {
    padding: 12px 3px;
  }
  .hero h2 {
    font-size: 33px;
  }
  .plan-grid.vip b {
    font-size: 21px;
  }
  .quick strong {
    font-size: 10px;
  }
}
.empty .illustration {
  width: 210px;
  height: 175px;
  margin: 0 auto 19px;
  font-size: 0;
  background: url('/assets/empty-ref.png') 52.7% 35.4%/229.4% 609.4% no-repeat;
  border-radius: 15px;
}


/* ================= 抖音式沉浸播放（覆盖样式，置末优先级最高） ================= */
/* 播放页：去掉头部后的全屏沉浸布局 */
.player {
  height: 100dvh;
  background: #000;
}
.p-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
}
.p-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00000080;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.rail-on {
  color: var(--gold);
}
.player-controls {
  right: 10px;
  bottom: 150px;
  gap: 18px;
  text-align: center;
}
.player-controls b {
  display: block;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 400;
}
.player-controls small {
  display: block;
  font-size: 10px;
  color: #fff;
}
.player-controls button {
  color: #fff;
  font-size: 15px;
  min-width: 44px;
  text-shadow: 0 1px 6px #000000a6;
}
.player-bottom {
  left: 16px;
  right: 86px;
  bottom: 22px;
}
.p-meta {
  font-size: 12px;
  color: #ffffffb3;
  margin: 4px 0 10px;
}
.p-detail {
  background: #ffffff1f;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  backdrop-filter: blur(6px);
}
.player .progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  margin: 0;
  background: #ffffff26;
}

/* ================= 短剧刷剧页 / 小说 / 商城 ================= */
/* 短剧页：竖向滑动刷剧，每屏一部 */
.shorts {
  height: calc(100dvh - 64px);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  background: #000;
}
.shorts::-webkit-scrollbar {
  display: none;
}
.shorts-item {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
}
.shorts-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.shorts-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shorts-poster img,
.shorts-poster .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shorts-info {
  position: absolute;
  left: 16px;
  right: 86px;
  bottom: 22px;
  z-index: 3;
  text-shadow: 0 1px 6px #000000a6;
}
.shorts .no-video {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
  color: #fff;
}
@media (min-width: 800px) {
  .shorts {
    max-width: 480px;
    margin: auto;
  }
}

/* 小说列表与阅读 */
.novel-row {
  cursor: pointer;
  align-items: flex-start;
}
.novel-cover {
  width: 64px;
  height: 86px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff14;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.novel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.novel-summary {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0;
}
.novel-reader h1 {
  font-size: 22px;
  margin-bottom: 6px;
}
.novel-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.novel-text {
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
  margin-bottom: 16px;
}
.novel-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
}
.novel-end {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 24px 0;
}

/* 商城 */
.mall-balance {
  font-size: 12px;
  color: var(--muted);
}
.mall-card {
  cursor: pointer;
  text-align: center;
}
.mall-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff14;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 8px;
}
.mall-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mall-price {
  color: var(--gold);
  display: block;
  margin-top: 4px;
}
.mall-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.mall-balance-line {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.mall-pay {
  margin-bottom: 10px;
}

/* 富文本正文（小说阅读 / 商品描述） */
.novel-rich {
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}
.novel-rich p {
  margin-bottom: 14px;
}
.novel-rich img,
.mall-rich img {
  max-width: 100%;
  border-radius: 10px;
  margin: 6px 0;
}
.mall-rich {
  max-height: 40dvh;
  overflow-y: auto;
  margin-bottom: 10px;
}

/* ================= 番茄式小说阅读 ================= */
.novel-hero {
  align-items: flex-start;
  gap: 14px;
}
.novel-cover.big {
  width: 96px;
  height: 128px;
  font-size: 30px;
}
.novel-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.novel-toc {
  padding: 4px 0;
}
.novel-toc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text, #fff);
  background: none;
  border-bottom: 1px solid #ffffff12;
  text-align: left;
}
.novel-toc-row:last-child {
  border-bottom: none;
}

/* 阅读器三主题 */
.reader {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.reader-paper {
  background: #f6f1e7;
  color: #3a3428;
}
.reader-eye {
  background: #e3efe3;
  color: #2f3a2f;
}
.reader-night {
  background: #0f1113;
  color: #b9bdc4;
}
.reader-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: inherit;
  border-bottom: 1px solid #00000010;
}
.reader-night .reader-top {
  border-bottom-color: #ffffff14;
}
.reader-top strong {
  flex: 1;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reader-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0000000a;
  color: inherit;
  font-size: 16px;
}
.reader-night .reader-icon {
  background: #ffffff12;
}
.reader-body {
  flex: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 18px 20px 30px;
  line-height: 1.95;
}
.reader-title {
  font-size: 1.25em;
  margin-bottom: 18px;
  font-weight: 700;
}
.reader-content {
  word-break: break-word;
}
.reader-content p {
  margin-bottom: 1em;
}
.reader-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 8px 0;
}
.reader-nav {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.reader-nav-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 24px;
  background: #0000000d;
  color: inherit;
  font-size: 14px;
}
.reader-night .reader-nav-btn {
  background: #ffffff14;
}
.reader-nav-btn:disabled {
  opacity: 0.35;
}
.reader-nav-btn.toc {
  flex: 0.6;
}
.reader-progress {
  text-align: center;
  font-size: 12px;
  opacity: 0.55;
  margin-top: 14px;
}
.reader-panel {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: inherit;
  border-top: 1px solid #00000010;
  display: grid;
  gap: 12px;
}
.reader-night .reader-panel {
  border-top-color: #ffffff14;
}
.reader-panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.reader-panel-row .reader-nav-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
}
.reader-panel-row .on {
  outline: 2px solid var(--gold);
}

/* 小说书架（最近阅读） */
.shelf-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.shelf-row::-webkit-scrollbar {
  display: none;
}
.shelf-card {
  flex-shrink: 0;
  min-width: 132px;
  max-width: 160px;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff10;
  border: 1px solid #ffffff14;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shelf-card .shelf-title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shelf-card small {
  color: var(--gold, #f7c96b);
  font-size: 11px;
}

/* 商城分类筛选与两列网格 */
.mall-cats {
  margin-top: 2px;
}
.mall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mall-grid .mall-card h3 {
  font-size: 14px;
  margin: 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 商品详情页 */
.mall-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff14;
  display: grid;
  place-items: center;
  font-size: 48px;
  margin-bottom: 12px;
}
.mall-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mall-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.mall-hero-meta .mall-price {
  font-size: 17px;
}

/* 支付页支付方式选项 */
.pay-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 2px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.pay-option:last-of-type {
  border-bottom: none;
}

/* ================= 播放页：禁滚动 + 可拖拽进度条 ================= */
html.no-scroll,
body.no-scroll {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}
.player {
  position: fixed;
  inset: 0;
  z-index: 30;
  height: 100dvh;
  width: 100%;
}
.p-top-right {
  display: flex;
  gap: 10px;
}
.p-time {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  font-size: 11px;
  color: #ffffffcc;
  text-shadow: 0 1px 4px #000;
  pointer-events: none;
}
.player .progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 18px;
  margin-top: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.player .progress::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #ffffff30;
}
.player .progress span {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  width: 0;
}
.player .progress .progress-dot {
  position: absolute;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, 3.5px) scale(0);
  transition: transform 0.15s;
}
.player .progress:hover .progress-dot,
.player .progress.dragging .progress-dot {
  transform: translate(-50%, 3.5px) scale(1);
}
.player .progress.dragging::before,
.player .progress.dragging span {
  height: 5px;
}

/* ================= 短剧页推荐/收藏双栏 + 横屏播放 ================= */
.shorts-tabs {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 31;
  display: flex;
  gap: 26px;
}
.shorts-tabs button {
  color: #ffffffa6;
  font-size: 16px;
  text-shadow: 0 1px 6px #000000a6;
  padding: 4px 2px;
}
.shorts-tabs button.on {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #fff;
}
/* 横屏模式：不支持系统锁屏时把画面旋转90度铺满，竖握手机也能全屏看横屏剧 */
.player.force-land video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100dvh;
  height: 100dvw;
  max-width: none;
  transform: translate(-50%, -50%) rotate(90deg);
  object-fit: contain;
}
.p-land {
  width: auto;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 13px;
}

/* ================= 播放页LOGO + 红果式横屏控制层 ================= */
.p-logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 34px;
  max-width: 40%;
  object-fit: contain;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  opacity: 0.6; /* 半透明水印效果，不遮挡正片 */
}
/* 右上角按钮组整体下移，给LOGO让位 */
.player .p-top {
  top: calc(54px + env(safe-area-inset-top));
}
.p-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-size: 66px;
  color: #ffffffd9;
  text-shadow: 0 2px 14px #000a;
  pointer-events: none;
}
/* 横屏切换键：进度条上方右侧（红果同款位置） */
.p-land-btn {
  position: absolute;
  right: 12px;
  bottom: 30px;
  z-index: 6;
  padding: 6px 12px;
  border-radius: 18px;
  background: #00000080;
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(6px);
}
/* 横屏模式：互动栏移到左下角横排，暂停键在首位 */
.player.force-land .player-controls {
  left: 14px;
  right: auto;
  bottom: 30px;
  flex-direction: row;
  align-items: flex-end;
  gap: 22px;
}
.player.force-land .player-bottom {
  left: 14px;
  right: 40%;
  bottom: 96px;
}
.player.force-land .p-land-btn {
  bottom: 30px;
  right: 14px;
}
/* 横屏控制层隐藏时彻底沉浸式 */
.player.ctl-off .p-top,
.player.ctl-off .player-controls,
.player.ctl-off .player-bottom,
.player.ctl-off .p-land-btn {
  opacity: 0;
  pointer-events: none;
}
.player .p-top,
.player .player-controls,
.player .player-bottom,
.player .p-land-btn {
  transition: opacity 0.25s;
}

/* ===== 我的页面 V2.9.1 重构：参考设计稿的深色卡片 + 多彩实心图标 ===== */
.mine {
  padding-top: 0;
}
/* 头部横幅：暗紫粉渐变 + 装饰光斑，替代旧版顶部留白 */
.mine-hero {
  position: relative;
  margin: -18px -16px 0;
  padding: 46px 16px 20px;
  background:
    radial-gradient(120% 90% at 85% 0%, #ff0a9d33 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 100%, #8b5cf62e 0%, transparent 60%),
    linear-gradient(180deg, #2a2028 0%, #1c1c20 100%);
  border-radius: 0 0 22px 22px;
}
.mine-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mine-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff0a9d, #8b5cf6);
  border: 2px solid #ffffff2e;
  flex: none;
}
.mine-hero h2 {
  margin: 0;
  font-size: 19px;
}
.mine-id {
  color: var(--muted);
  cursor: pointer;
}
.mine-vip-badge {
  flex: none;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  background: #ffffff14;
  color: var(--muted);
}
.mine-vip-badge.on {
  background: linear-gradient(135deg, #f7b500, #ff8a00);
  color: #2a1c00;
  font-weight: 700;
}
.mine-hero-icons {
  position: absolute;
  top: 10px;
  right: 14px;
  display: flex;
  gap: 4px;
}
.mine-hero-icons button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffffb8;
  font-size: 15px;
}
/* 余额卡 */
.mine-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.mine-balance small {
  color: var(--muted);
}
.mine-cash {
  margin: 2px 0;
  font-size: 26px;
  color: var(--gold);
}
.mine-sub {
  opacity: 0.75;
}
.mine-withdraw {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff0a9d, #ff5cc0);
  box-shadow: 0 6px 18px #ff0a9d44;
}
/* 快捷三键 */
.mine-quick {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.mine-quick button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 13px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12px;
}
/* 分组宫格 */
.mine-sec {
  margin-top: 14px;
  padding: 14px 6px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.mine-sec h3 {
  margin: 0 0 10px 10px;
  font-size: 14px;
  color: #d8d4de;
}
.mine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.mine-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 10px;
  font-size: 11px;
  color: #cfccd6;
}
.mine-grid i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #ffffff08;
}
/* 底部列表 */
.mine-links {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.mine-links button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  font-size: 13px;
  text-align: left;
}
.mine-links button + button {
  border-top: 1px solid #ffffff0a;
}
.mine-links em {
  font-style: normal;
  color: #6b6774;
  font-size: 17px;
}

/* ===== V2.9.1 面型图标改造：播放页 / 短剧页 / 会员中心的文字符号全部换成实心 SVG ===== */
/* 互动栏图标尺寸 + 投影（图标本身是 fill=currentColor，颜色由各按钮内联/类名控制） */
.player-controls b svg {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 1px 6px #000000a6);
}
/* 收藏激活=金黄（点赞激活沿用 .rail-on 主题粉 #ff0a9d） */
.player-controls .star-on {
  color: #f7b500;
}
/* 顶部圆钮改 flex 居中，容纳 SVG 图标 */
.p-round {
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-round svg {
  width: 20px;
  height: 20px;
  display: block;
}
/* 暂停时中央大播放键 */
.p-center svg {
  width: 66px;
  height: 66px;
  display: block;
}
/* 横屏切换键：图标 + 文字横排 */
.p-land-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}
.p-land-btn svg {
  width: 15px;
  height: 15px;
}
/* 会员中心头部小图标 + ID 复制图标 */
.mine-hero-icons button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mine-id svg {
  vertical-align: -1px;
  margin-left: 3px;
  opacity: 0.6;
}

/* ===== V2.9.1 毛玻璃质感升级：深色玻璃拟态 + 主题色辉光 ===== */
/* 全局氛围：顶部淡粉/淡蓝极光渐变，让纯深色背景有层次而不脏 */
body {
  background:
    radial-gradient(120% 55% at 85% -10%, #ff0a9d12, transparent 60%),
    radial-gradient(100% 45% at -10% 0%, #4f7cff0e, transparent 55%),
    #1c1c20;
}
/* 通用卡片/分组/列表/页签条：半透明 + 背景模糊 + 顶部高光描边，形成玻璃拟态 */
.card,
.tabs,
.mine-sec,
.mine-links,
.mine-balance,
.mine-quick button,
.sheet,
.statement {
  background: #2424299e;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid #ffffff12;
  box-shadow:
    0 10px 30px #00000040,
    inset 0 1px 0 #ffffff0d;
}
/* 弹层仍保持更暗一档，保证内容可读性 */
.sheet {
  background: #1b1b20e8;
}
/* 主按钮与选中态：主题色辉光 + 顶部高光，按下有质感 */
.primary,
.tabs button.active {
  box-shadow:
    0 6px 22px #ff0a9d40,
    inset 0 1px 0 #ffffff2e;
}
.chip.active {
  box-shadow: 0 0 14px #ff0a9d2e, inset 0 1px 0 #ffffff14;
  background: #ff0a9d1f;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* 底部导航：更强模糊 + 顶部发光描边 */
.dock {
  background: #1c1c20cc;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-top: 1px solid #ffffff14;
  box-shadow: 0 -6px 24px #00000059;
}
/* 底部固定操作条与导航统一玻璃质感 */
.fixed-action {
  background: #1c1c20cc;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-top: 1px solid #ffffff14;
}
/* 我的页面快捷三键宫格内的玻璃小卡片圆角补齐 */
.mine-quick button {
  border-radius: 16px;
}

/* ===== 播放/暂停按钮：参考图的深色毛玻璃圆盘 ===== */
/* 竖屏暂停时中央大播放键：玻璃圆盘 + 白色三角 */
.p-center {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14141873;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid #ffffff29;
  box-shadow:
    inset 0 1px 0 #ffffff1f,
    inset 0 -6px 14px #00000066,
    0 12px 34px #0000008c;
  color: #fff;
  font-size: 0;
  text-shadow: none;
}
.p-center svg {
  width: 30px;
  height: 30px;
  margin-left: 4px; /* 播放三角视觉重心偏左，右移居中 */
  filter: drop-shadow(0 1px 4px #0009);
}
/* 横屏控制条上的播放/暂停键：同款玻璃圆盘，仅图标 */
.p-playglass {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #14141873;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid #ffffff29;
  box-shadow:
    inset 0 1px 0 #ffffff1f,
    inset 0 -4px 10px #00000066,
    0 8px 24px #00000080;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.p-playglass b svg {
  width: 22px;
  height: 22px;
}
.p-playglass b svg path[d^="M8 5"] {
  transform: translateX(1px); /* 播放三角居中补偿 */
}
.p-playglass small {
  display: none; /* 圆盘内只保留图标，与参考图一致 */
}

/* ===== V2.9.1 首页美化：分类分割 + 底部星空动画背景 ===== */
/* 分类区块之间用比背景(#1c1c20)稍浅的细分隔线区分栏目，并带一抹主题粉的中部辉光 */
.grid + .section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #34343e;
  position: relative;
}
.grid + .section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff0a9d3d, transparent);
}

/* 星空层压在内容之下：#app 提升一层，星空透过多毛玻璃卡片形成柔光 */
#app {
  position: relative;
  z-index: 1;
}
/* 星空第一层：细密小星，3.2s 呼吸闪烁 */
body::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62vh;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 18px 30px, #ffffff, transparent),
    radial-gradient(1px 1px at 42px 78px, #ffb3e2, transparent),
    radial-gradient(1.2px 1.2px at 76px 18px, #9ec2ff, transparent),
    radial-gradient(1px 1px at 112px 56px, #ffffff, transparent),
    radial-gradient(1.4px 1.4px at 148px 96px, #d6a4ff, transparent),
    radial-gradient(1px 1px at 190px 34px, #8ef0ff, transparent),
    radial-gradient(1.2px 1.2px at 66px 130px, #ffd9f0, transparent),
    radial-gradient(1px 1px at 132px 150px, #ffffff, transparent);
  background-size: 180px 180px;
  animation: star-twinkle 3.2s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
  mask-image: linear-gradient(to top, #000 55%, transparent);
}
/* 星空第二层：较大彩星 + 底部粉蓝星云辉光，4.8s 反向闪烁，两层交错更绚丽 */
body::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70vh;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 30px 40px, #ffffff, transparent),
    radial-gradient(1.6px 1.6px at 90px 120px, #ff9edb, transparent),
    radial-gradient(1.8px 1.8px at 170px 70px, #8ab4ff, transparent),
    radial-gradient(1.4px 1.4px at 230px 160px, #ffffff, transparent),
    radial-gradient(2px 2px at 300px 110px, #c9a0ff, transparent),
    radial-gradient(1.5px 1.5px at 130px 200px, #8ef0ff, transparent),
    radial-gradient(65% 45% at 12% 108%, #ff0a9d17, transparent 70%),
    radial-gradient(60% 42% at 88% 104%, #4f7cff17, transparent 70%);
  background-size:
    340px 340px, 340px 340px, 340px 340px,
    340px 340px, 340px 340px, 340px 340px,
    100% 100%, 100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
  animation: star-twinkle 4.8s ease-in-out infinite alternate-reverse;
  -webkit-mask-image: linear-gradient(to top, #000 50%, transparent 92%);
  mask-image: linear-gradient(to top, #000 50%, transparent 92%);
}
@keyframes star-twinkle {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.95;
  }
}
/* 播放页/刷剧页为纯黑沉浸背景，星空会被其黑色背景自然遮挡，不影响观看 */
