/* ============ 画音作品站 · 古风雅韵 · 深色 · Artlist 式排版 ============ */
:root {
  --bg: #0b0d12;
  --bg-elev: #10131a;
  --surface: #13161e;
  --surface-2: #191d27;
  --hover: #1c212d;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --gold: #c9a86a;
  --gold-bright: #e2c690;
  --gold-dim: rgba(201, 168, 106, 0.35);
  --gold-ghost: rgba(201, 168, 106, 0.1);
  --ink-red: #a5382f;
  --text: #f0ede3;
  --text-dim: #a4a9b6;
  --text-faint: #6f7480;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", "Songti SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: 0.03em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ================= 顶部导航（logo 左 · 菜单中 · 操作右） ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-seal {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(160deg, #b0443a, var(--ink-red));
  color: #f5ead6; font-family: var(--serif); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(165, 56, 47, 0.45);
  writing-mode: vertical-rl; letter-spacing: 2px;
}
.brand-name { font-family: var(--serif); font-size: 19px; color: var(--text); letter-spacing: 0.14em; line-height: 1.2; }
.brand-sub { font-size: 10px; color: var(--text-faint); letter-spacing: 0.3em; }
/* 上传的 LOGO 图片（高度由后台设置，默认 40px；宽度自适应，超宽自动等比缩放） */
.brand-logo {
  display: block; width: auto; max-width: 190px; object-fit: contain;
  border-radius: 8px; flex: none;
}
.brand-text { min-width: 0; }

/* ================= 统一封面填充（cover-fill） =================
   任何比例的封面图放进任何比例的容器：底层同图模糊放大铺满，
   前景完整显示，不裁切、不露黑边。标准 8:5 图在接近比例的容器里几乎满铺。 */
.cover-fill { position: relative; overflow: hidden; }
.cover-fill .cf-blur {
  position: absolute; inset: -8%;
  width: 116%; height: 116%;
  object-fit: cover;
  filter: blur(26px) saturate(1.15) brightness(0.72);
  transform: scale(1.06);
}
.cover-fill .cf-main {
  position: relative; width: 100%; height: 100%;
  object-fit: contain; display: block;
}

/* 后台封面比例提示 */
.field-hint { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; line-height: 1.7; }
.field-hint .ok { color: #7dc98f; }
.field-hint .warn { color: #e2b45c; }
.field-hint button { margin-left: 8px; }

/* 后台「站点标识」实时预览条 */
.brand-preview {
  display: flex; align-items: center; min-height: 78px;
  padding: 16px 20px; margin-bottom: 16px; border-radius: 12px;
  background: #0b0d12; border: 1px solid var(--line);
}
.brand-preview .brand { margin: 0; }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 14px; color: var(--text-dim);
  white-space: nowrap;   /* 导航项多时不折行，整行紧凑排列 */
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--gold-bright); background: var(--gold-ghost); }
.header-cta { flex: none; display: flex; gap: 10px; }

/* ---------- 二级下拉菜单 ---------- */
.nav-sub-wrap { position: relative; display: flex; }
.nav-parent { display: inline-flex; align-items: center; gap: 4px; padding-right: 10px; }
.nav-caret { font-size: 9px; opacity: .65; transition: transform .16s; }
.nav-sub-wrap:hover .nav-caret, .nav-sub-wrap.open .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 176px;
  padding: 6px; border-radius: 12px; z-index: 80;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  display: none; flex-direction: column; gap: 2px;
}
/* 悬停展开：留一块透明过渡区，鼠标从一级移到二级不会断开 */
.nav-sub::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-sub-wrap:hover .nav-sub,
.nav-sub-wrap:focus-within .nav-sub,
.nav-sub-wrap.open .nav-sub { display: flex; }
.nav-sub a { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; }
.nav-sub a.active { color: var(--gold-bright); }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: 10px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: all 0.18s; font-family: var(--sans);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #e0c185, #bd9250);
  color: #17120b; font-weight: 600;
}
.btn-gold:hover { filter: brightness(1.07); box-shadow: 0 6px 22px rgba(201, 168, 106, 0.28); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text-dim); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-bright); background: var(--gold-ghost); }
.btn-danger { background: rgba(165, 56, 47, 0.15); color: #d97b6f; border-color: rgba(165, 56, 47, 0.4); }
.btn-danger:hover { background: rgba(165, 56, 47, 0.28); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 34px; font-size: 15px; border-radius: 12px; }

/* ================= Hero（居中大标题式） ================= */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 80px; text-align: center;
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(201, 168, 106, 0.1), transparent 62%),
    radial-gradient(700px 360px at 82% 8%, rgba(165, 56, 47, 0.07), transparent 60%);
  border-bottom: 1px solid var(--line-soft);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(700px 320px at 50% 0%, #000, transparent 75%);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.42em; color: var(--gold); margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 30px; height: 1px; background: var(--gold-dim); }
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.3; margin-bottom: 20px; font-weight: 600;
}
.hero h1 .gold { color: var(--gold-bright); }
.hero p.lead { color: var(--text-dim); font-size: 17px; max-width: 38em; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* 数据条 */
.hero-stats {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  margin-top: 64px; position: relative; z-index: 1;
}
.stat b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold-bright); }
.stat span { font-size: 12px; color: var(--text-faint); letter-spacing: 0.2em; }

/* ================= 分区标题 ================= */
.section { padding: 72px 0 0; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.section-head h2 { font-size: 26px; }
.section-head .en { font-size: 11px; letter-spacing: 0.3em; color: var(--text-faint); text-transform: uppercase; }
.section-head .more { margin-left: auto; font-size: 13px; color: var(--gold); transition: color 0.15s; }
.section-head .more:hover { color: var(--gold-bright); }

/* ================= 目录大瓷片（标题 + 箭头 + 背景图媒体区） ================= */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.catalog-tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; aspect-ratio: 10 / 8; min-width: 0;
  background: var(--bg-elev);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.catalog-tile:hover { transform: translateY(-4px); border-color: var(--gold-dim); box-shadow: var(--shadow); }
.tile-head { display: flex; align-items: center; gap: 10px; flex: none; }
.tile-head h3 { font-size: 17px; margin: 0; }
.catalog-tile .tile-arrow {
  margin-left: auto; font-size: 16px; line-height: 1; color: var(--text-faint);
  transition: color 0.2s, transform 0.2s;
}
.catalog-tile:hover .tile-arrow { color: var(--gold-bright); transform: translate(3px, -3px); }
.tile-media {
  position: relative; flex: 1; min-height: 0;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-elev) 70%);
}
.tile-media .cf-main, .tile-media > img { transition: transform 0.4s ease; }
.catalog-tile:hover .tile-media .cf-main, .catalog-tile:hover .tile-media > img { transform: scale(1.05); }
.tile-media .tile-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 72px; color: rgba(201, 168, 106, 0.14);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-elev) 70%);
}
.tile-media .tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 9px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(8, 9, 13, 0) 0%, rgba(8, 9, 13, 0.78) 90%);
  opacity: 0; transition: opacity 0.22s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.catalog-tile:hover .tile-media .tile-caption { opacity: 1; }

/* ================= 服务卡 ================= */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); padding: 22px 20px;
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover { border-color: var(--gold-dim); background: var(--surface-2); }
.service-icon { font-size: 22px; margin-bottom: 12px; }
.service-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-dim); }

/* ================= 作品行（Artlist 式单列列表） ================= */
.work-rows { display: flex; flex-direction: column; }
.work-row {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 16px 12px 12px; border-radius: var(--radius);
  border: 1px solid transparent; border-bottom: none;
  transition: background 0.15s, border-color 0.15s;
}
.work-row:hover { background: var(--surface); border-color: var(--line-soft); }
.work-row.playing { background: var(--gold-ghost); border-color: var(--gold-dim); }
.row-cover {
  position: relative; width: 68px; height: 68px; flex: none;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(150deg, #232838, #14171f);
  cursor: pointer;
}
.row-cover img { width: 100%; height: 100%; object-fit: cover; }
.row-cover .no-cover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; color: rgba(201, 168, 106, 0.4);
}
.row-cover .row-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 10, 14, 0.55); opacity: 0; transition: opacity 0.18s;
}
.row-cover:hover .row-play, .work-row.playing .row-play { opacity: 1; }
.row-play .p-circle {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-bright); color: #17120b;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 15.5px; font-weight: 500; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-title a:hover { color: var(--gold-bright); }
.row-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.row-date { font-size: 12px; color: var(--text-faint); }
.mini-chip {
  font-size: 11px; padding: 1px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim);
}
.mini-chip.gold { border-color: var(--gold-dim); color: var(--gold-bright); background: var(--gold-ghost); }
.row-right { flex: none; display: flex; align-items: center; gap: 18px; color: var(--text-faint); font-size: 12.5px; }
.row-arrow { color: var(--text-faint); transition: transform 0.15s, color 0.15s; }
.work-row:hover .row-arrow { transform: translateX(3px); color: var(--gold); }

/* 播放中的均衡器动画 */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2.5px; background: var(--gold-bright); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.2s; }
.eq i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }

/* ================= 作品库工具栏（搜索 + pill 筛选） ================= */
.library-head { padding-top: 56px; }
.library-title { text-align: center; margin-bottom: 34px; }
.library-title h1 { font-size: 32px; margin-bottom: 8px; }
.library-title p { color: var(--text-faint); font-size: 14px; }
.lib-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search-box input {
  width: 100%; padding: 11px 16px 11px 42px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 14px; outline: none; transition: border-color 0.15s;
}
.search-box input:focus { border-color: var(--gold-dim); }
.search-box::before {
  content: "🔍"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; opacity: 0.6;
}
.result-count { font-size: 13px; color: var(--text-faint); margin-left: auto; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-bar button {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text-dim); cursor: pointer; font-size: 13px;
  transition: all 0.15s;
}
.filter-bar button.active, .filter-bar button:hover {
  border-color: var(--gold-dim); color: var(--gold-bright); background: var(--gold-ghost);
}

/* ================= 作品详情 ================= */
.detail-hero {
  display: grid; grid-template-columns: 360px 1fr; gap: 36px;
  padding: 56px 0 28px; align-items: start;
}
.detail-cover {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 8/5; background: linear-gradient(150deg, #232838, #14171f);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .no-cover { font-family: var(--serif); font-size: 36px; color: rgba(201, 168, 106, 0.4); letter-spacing: 0.2em; }
.breadcrumb { font-size: 13px; color: var(--text-faint); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-bright); }
.detail-info h1 { font-size: 28px; line-height: 1.45; margin-bottom: 16px; }
.detail-info .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 3px 12px; border-radius: 999px; font-size: 12px; border: 1px solid var(--gold-dim); color: var(--gold-bright); background: var(--gold-ghost); }
.detail-info .summary { color: var(--text); font-size: 15.5px; margin-bottom: 12px; font-family: var(--serif); }
.detail-info .desc { margin-top: 4px; }
.contact-box {
  margin-top: 20px; padding: 13px 18px; border-radius: 10px;
  background: var(--gold-ghost); border: 1px dashed var(--gold-dim);
  font-size: 13.5px; color: var(--gold-bright);
}

/* 曲目行（详情页）：序号 / 内嵌封面 / 标题+多标签 / 波形 / 时长 / 播放 */
.track-list { margin-top: 40px; }
.track-list .list-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px;
  padding: 0 16px;
}
.track-list .list-head h2 { font-size: 20px; }
.track-list .list-head span { font-size: 12px; color: var(--text-faint); }
.track-item {
  display: grid;
  grid-template-columns: 34px 42px minmax(140px, 1.1fr) minmax(160px, 2fr) auto auto;
  gap: 14px; align-items: center;
  padding: 11px 16px; border-radius: 10px;
  transition: background 0.15s;
}
.track-item:hover { background: var(--surface); }
.track-item.playing { background: var(--gold-ghost); }
.track-no { text-align: center; color: var(--text-faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.track-item.playing .track-no { display: none; }
.track-item .eq-slot { display: none; justify-content: center; }
.track-item.playing .eq-slot { display: flex; }

.track-cover {
  width: 42px; height: 42px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(150deg, #232838, #14171f);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.track-cover img { width: 100%; height: 100%; object-fit: cover; }
.track-cover .tc-fallback { color: rgba(201, 168, 106, 0.5); font-size: 17px; }

.track-main { min-width: 0; }
.track-title { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-item:hover .track-title { color: var(--gold-bright); }
.track-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.track-chips .mini-chip { font-size: 10.5px; padding: 0 8px; }

.track-wave { min-width: 0; }
.wave-canvas { width: 100%; height: 36px; display: block; cursor: pointer; border-radius: 6px; }
.wave-canvas:hover { background: rgba(255, 255, 255, 0.03); }
.wave-empty { font-size: 12px; color: var(--text-faint); text-align: center; padding: 8px 0; border: 1px dashed var(--line); border-radius: 8px; }

.track-dur {
  font-size: 12.5px; color: var(--text-faint); font-variant-numeric: tabular-nums;
  white-space: nowrap; flex: none; min-width: 44px; text-align: right;
}

/* 授权条款 */
.license-box {
  margin-top: 36px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--line-soft);
}
.license-box h3 { font-size: 15px; color: var(--gold-bright); margin-bottom: 12px; }
.license-box pre { white-space: pre-wrap; font-family: var(--sans); font-size: 13px; color: var(--text-dim); }

/* ================= 关于 / 页脚 ================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); padding: 26px; }
.info-card h3 { color: var(--gold-bright); font-size: 16px; margin-bottom: 12px; }
.info-card p, .info-card li { color: var(--text-dim); font-size: 14px; }
.info-card ul { list-style: none; }
.info-card li { padding: 4px 0; }
.info-card li::before { content: "·"; color: var(--gold); margin-right: 8px; }

.site-footer { margin-top: 90px; border-top: 1px solid var(--line-soft); background: var(--bg-elev); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 52px 0 44px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 13px; max-width: 30em; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.18em; color: var(--text-dim); margin-bottom: 14px; font-weight: 500; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; color: var(--text-dim); padding: 4px 0; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--text-faint); font-size: 12.5px;
}

/* 备案信息行 */
.footer-beian {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center;
  padding: 4px 0 22px; font-size: 12px; color: var(--text-faint);
}
.footer-beian a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text-faint); text-decoration: none; transition: color 0.15s;
}
.footer-beian a:hover { color: var(--gold-bright); }
.footer-beian img { height: 15px; width: auto; display: block; }

/* ================= 管理后台 ================= */
.admin-wrap { max-width: 980px; margin: 40px auto; padding: 0 28px; }
.login-card {
  max-width: 420px; margin: 90px auto; padding: 44px 38px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); text-align: center;
}
.login-card h1 { font-size: 22px; color: var(--gold-bright); margin-bottom: 8px; }
.login-card .sub { color: var(--text-faint); font-size: 13px; margin-bottom: 30px; }
.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text);
  font-size: 14px; font-family: var(--sans); outline: none; transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-dim); }
.field textarea { resize: vertical; min-height: 80px; }
.field .hint { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.admin-panel { display: none; }
.admin-panel.show { display: block; }
.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface);
}
.admin-row img { width: 72px; height: 46px; object-fit: cover; border-radius: 6px; background: var(--bg-elev); }
.admin-row .t { flex: 1; min-width: 0; }
.admin-row .t b { font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-row .t span { font-size: 12px; color: var(--text-faint); }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(5, 7, 10, 0.78); backdrop-filter: blur(5px);
  display: none; align-items: flex-start; justify-content: center; overflow-y: auto; z-index: 100; padding: 40px 16px;
}
.modal-backdrop.show { display: flex; }
.modal {
  width: 100%; max-width: 680px; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: 16px; padding: 30px 30px 26px;
}
.modal h2 { font-size: 19px; color: var(--gold-bright); margin-bottom: 20px; }
/* 编辑弹窗顶部的分享链接 */
.modal-link {
  display: flex; align-items: center; gap: 10px;
  margin: -8px 0 18px; padding: 9px 12px; border-radius: 10px;
  background: rgba(217, 185, 111, .06); border: 1px solid rgba(217, 185, 111, .22);
  font-size: 12px; min-width: 0;
}
.modal-link[hidden] { display: none; }
.modal-link .ml-label { flex-shrink: 0; color: var(--gold-bright); }
.modal-link a {
  flex: 0 1 auto; min-width: 0; color: var(--text-faint); text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border-bottom: 1px dashed transparent; transition: color .15s, border-color .15s;
}
.modal-link a:hover { color: var(--gold-bright); border-bottom-color: rgba(217, 185, 111, .5); }
.modal-link .btn { padding: 3px 10px; font-size: 11.5px; flex-shrink: 0; }
.modal-link .ml-draft { flex-shrink: 0; color: var(--text-faint); font-size: 11.5px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.cover-preview { width: 160px; border-radius: 8px; border: 1px solid var(--line); margin-top: 8px; display: none; }
.cover-preview.show { display: block; }
.upload-zone {
  border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px;
  background: var(--surface);
}
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--surface-2); border: 1px solid var(--gold-dim); color: var(--gold-bright);
  padding: 10px 22px; border-radius: 999px; font-size: 13px; opacity: 0;
  transition: all 0.3s; z-index: 200; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty-tip { text-align: center; color: var(--text-faint); padding: 60px 0; font-size: 14px; }

/* 后台弹窗分区标题（首页内容设置） */
.cs-head {
  font-size: 14px; color: var(--gold-bright); margin: 18px 0 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
}
.cs-head:first-of-type { margin-top: 4px; }

/* ================= 响应式 ================= */
@media (max-width: 960px) {
  .nav { display: none; }
  .catalog-grid, .services { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-cover { max-width: 440px; }
  .about-grid, .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 76px 0 56px; }
  .hero-stats { gap: 32px; }
  .track-item { grid-template-columns: 34px 42px minmax(0, 1fr) auto auto; }
  .track-wave { display: none; }
}
@media (max-width: 560px) {
  .catalog-grid, .services { grid-template-columns: 1fr; }
  .row-right .row-meta { display: none; }
  .work-row { gap: 12px; }
  .site-header .container { height: 60px; }
}

/* ================= 作品推荐轮播 ================= */
.carousel-wrap { position: relative; }
.car-track {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.car-track::-webkit-scrollbar { display: none; }
.feat-card {
  position: relative; flex: 0 0 340px; height: 213px; /* 8:5，与封面标准比例一致 */
  border-radius: 14px; overflow: hidden; scroll-snap-align: start;
  border: 1px solid var(--line-soft); background: var(--surface);
}
.feat-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.feat-card:hover img { transform: scale(1.05); }
.feat-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 40px; color: rgba(201, 168, 106, 0.35);
  background: linear-gradient(150deg, #232838, #14171f);
}
.feat-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 56px 16px 16px;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0) 0%, rgba(5, 6, 10, 0.92) 78%);
  pointer-events: none;
}
.feat-overlay b {
  display: block; font-size: 15.5px; font-weight: 500; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.feat-card:hover .feat-overlay b { color: var(--gold-bright); }
.feat-overlay span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.66); margin-top: 5px;
}
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10, 12, 17, 0.72); border: 1px solid var(--line);
  color: var(--text); font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: all 0.15s;
}
.car-nav:hover { background: var(--gold-bright); color: #17120b; border-color: transparent; }
.car-nav.hidden { display: none; }
.car-nav.prev { left: -10px; }
.car-nav.next { right: -10px; }
.car-dots { display: flex; gap: 7px; justify-content: center; margin-top: 16px; }
.car-dot {
  width: 7px; height: 7px; border-radius: 50%; padding: 0; border: none;
  background: rgba(255, 255, 255, 0.22); cursor: pointer; transition: all 0.2s;
}
.car-dot.active { background: var(--gold-bright); transform: scale(1.25); }

@media (max-width: 640px) {
  .feat-card { flex-basis: 260px; height: 340px; }
}

/* ================= 热门作品板块（左排行榜 + 右波形曲目列表） ================= */
.section-head .hot-range { font-size: 12px; color: var(--text-faint); }
.hot-card {
  display: grid; grid-template-columns: 320px 1fr;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  overflow: hidden;
}
.hot-side {
  padding: 22px 16px 16px; border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255, 255, 255, 0.012);
}
.hot-side-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0 8px; }
.hot-side-head .flame { font-size: 20px; }
.hot-side-head b { display: block; font-size: 15px; line-height: 1.4; }
.hot-side-head span { font-size: 11.5px; color: var(--text-faint); }
.hot-rank-item {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 9px 8px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: inherit; cursor: pointer; font-family: var(--sans);
  transition: background 0.15s, border-color 0.15s;
}
.hot-rank-item:hover { background: var(--surface-2); border-color: var(--line-soft); }
.hot-rank-item.playing { background: var(--gold-ghost); border-color: var(--gold-dim); }
.rank-no {
  font-family: var(--serif); font-size: 20px; color: var(--gold);
  width: 24px; text-align: center; flex: none;
}
.hot-rank-item.playing .rank-no { color: var(--gold-bright); }
.rank-cover {
  width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none;
  background: linear-gradient(150deg, #232838, #14171f);
  display: flex; align-items: center; justify-content: center;
}
.rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-cover .no-cover { font-family: var(--serif); font-size: 14px; color: rgba(201, 168, 106, 0.4); }
.rank-info { flex: 1; min-width: 0; }
.rank-info b {
  display: block; font-size: 13.5px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rank-info span {
  display: block; font-size: 11.5px; color: var(--text-faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hot-side-foot { margin-top: auto; font-size: 11px; color: var(--text-faint); padding: 14px 8px 0; }

.hot-main-list { display: flex; flex-direction: column; padding: 10px 12px; justify-content: center; }
.hot-row {
  display: grid;
  grid-template-columns: 40px 44px minmax(150px, 1.2fr) minmax(140px, 2fr) auto auto auto;
  gap: 14px; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  transition: background 0.15s;
}
.hot-row:hover { background: var(--surface); }
.hot-row.playing { background: var(--gold-ghost); }
.hot-play {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; cursor: pointer; transition: all 0.15s;
}
.hot-row:hover .hot-play, .hot-row.playing .hot-play {
  background: var(--gold-bright); color: #17120b; border-color: transparent;
}
.hot-cover {
  width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none;
  background: linear-gradient(150deg, #232838, #14171f);
  display: flex; align-items: center; justify-content: center;
}
.hot-cover img { width: 100%; height: 100%; object-fit: cover; }
.hot-cover .tc-fallback { color: rgba(201, 168, 106, 0.5); font-size: 16px; }
.hot-main { min-width: 0; }
.hot-title {
  font-size: 14.5px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hot-row.playing .hot-title { color: var(--gold-bright); }
.hot-sub {
  display: flex; align-items: center; gap: 8px; margin-top: 2px;
  font-size: 12px; color: var(--text-faint); overflow: hidden;
}
.hot-sub a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-sub a:hover { color: var(--gold-bright); }
.hot-tags { display: inline-flex; gap: 4px; flex: none; }
.hot-tags .mini-chip { font-size: 10px; padding: 0 7px; }
.hot-wave { min-width: 0; }
.hot-wave-canvas { width: 100%; height: 34px; display: block; cursor: pointer; border-radius: 6px; }
.hot-wave-canvas:hover { background: rgba(255, 255, 255, 0.03); }
.hot-dur {
  font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums;
  white-space: nowrap; min-width: 44px; text-align: right;
}
.hot-plays { font-size: 12px; color: var(--text-faint); white-space: nowrap; min-width: 52px; text-align: right; }
.hot-row.playing .hot-plays { color: var(--gold); }
.hot-goto { flex: none; }

@media (max-width: 1020px) {
  .hot-card { grid-template-columns: 1fr; }
  .hot-side { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .hot-side-foot { display: none; }
}
@media (max-width: 760px) {
  .hot-row { grid-template-columns: 40px 44px minmax(0, 1fr) auto; }
  .hot-wave, .hot-tags, .hot-plays, .hot-dur { display: none; }
}

/* ================= 广告横幅（后台可配置） ================= */
.ad-banner {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ad-banner:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); }
.ad-banner img { width: 100%; height: 220px; object-fit: cover; display: block; }
@media (max-width: 560px) {
  .ad-banner img { height: 140px; }
}

/* ================= 热门专辑（浏览量马赛克网格） ================= */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 232px;
  gap: 10px;
}
.album-tile {
  position: relative; display: block; overflow: hidden;
  border-radius: 10px; background: var(--surface);
  border: 1px solid var(--line-soft);
}
.album-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.album-tile:hover img { transform: scale(1.06); }
.album-tile .album-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 34px; color: var(--gold-dim);
  background: linear-gradient(150deg, #1b1f2b, #12151d);
}
/* 悬停信息遮罩：默认轻微露出，悬停时完全展开 */
.album-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0) 30%, rgba(8, 9, 13, 0.72) 78%, rgba(8, 9, 13, 0.9));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.album-tile:hover .album-overlay { opacity: 1; }
.album-overlay b {
  font-size: 16px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transform: translateY(6px); transition: transform 0.25s ease;
}
.album-overlay span {
  margin-top: 4px; font-size: 12px; color: var(--text-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transform: translateY(6px); transition: transform 0.25s ease 0.04s;
}
.album-tile:hover .album-overlay b,
.album-tile:hover .album-overlay span { transform: translateY(0); }
.album-tile:hover .album-overlay b { color: var(--gold-bright); }

@media (max-width: 960px) {
  .albums-grid { grid-auto-rows: 170px; }
  .album-tile { grid-column: span 6 !important; }
}
@media (max-width: 560px) {
  .albums-grid { grid-auto-rows: 150px; gap: 8px; }
}

/* ================= 顶部导航登录态 ================= */
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: 13px; transition: border-color 0.2s;
}
.user-chip:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--gold-dim), rgba(165, 56, 47, 0.5));
  color: var(--text); font-family: var(--serif); font-size: 14px; font-weight: 600;
}
.user-avatar.lg { width: 64px; height: 64px; font-size: 30px; }

/* ================= 用户中心 ================= */
.user-guest { display: flex; justify-content: center; padding: 70px 16px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px; box-shadow: var(--shadow);
}
.auth-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: var(--surface); padding: 4px; border-radius: 10px; }
.auth-tab {
  flex: 1; padding: 9px 0; border: none; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--text-faint); font-size: 14px; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.auth-tab.active { background: var(--gold); color: #16130b; font-weight: 600; }
.auth-submit { width: 100%; justify-content: center; margin-top: 6px; }
.auth-err { color: #d97b6f; font-size: 13px; margin-top: 10px; text-align: center; min-height: 18px; }
.auth-tip { text-align: center; font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }

.user-hub { padding-bottom: 60px; }
.user-hero {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(150deg, var(--surface-2), var(--bg-elev));
  border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px; margin-top: 30px; box-shadow: var(--shadow);
}
.user-hero-info { flex: 1; min-width: 0; }
.user-hero-info h1 { font-size: 24px; margin: 0 0 4px; }
.user-hero-info span { font-size: 13px; color: var(--text-faint); }
.user-section { margin-top: 34px; }
.fav-list { display: flex; flex-direction: column; gap: 10px; }
.fav-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-elev); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 10px 16px 10px 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.fav-item:hover { border-color: var(--gold-dim); transform: translateX(3px); }
.fav-item img, .fav-noimg {
  width: 62px; height: 62px; border-radius: 8px; object-fit: cover; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #232838, #14171f);
  color: var(--gold-dim); font-family: var(--serif); font-size: 18px;
}
.fav-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fav-info b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-info span { font-size: 12px; color: var(--text-faint); }
.fav-heart { color: var(--ink-red); font-size: 18px; flex: none; }

/* 详情页收藏按钮 */
.detail-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* 网盘下载区（详情页） */
.dl-box {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 4px 0 26px; padding: 16px 20px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 168, 106, .08), rgba(201, 168, 106, .02));
  border: 1px solid rgba(201, 168, 106, .28);
}
.dl-ico {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #17120b; background: linear-gradient(135deg, #e0c185, #bd9250);
}
.dl-main { flex: 1 1 260px; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.dl-main b { font-size: 15px; color: var(--text); font-weight: 600; }
.dl-main > span { font-size: 12.5px; color: var(--text-dim); line-height: 1.9; }
.dl-link { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.dl-code-wrap { margin-left: 4px; }
.dl-code {
  display: inline-block; padding: 1px 8px; border-radius: 6px; margin-left: 2px;
  background: rgba(201, 168, 106, .16); color: var(--gold-bright);
  font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em;
}
.dl-blocked { color: #d9b96f; }
.dl-box .btn { flex: none; }
@media (max-width: 640px) {
  .dl-box { padding: 14px 16px; }
  .dl-box .btn { width: 100%; }
}
.fav-btn { border: 1px solid var(--gold-dim); color: var(--gold-bright); background: var(--gold-ghost); }
.fav-btn:hover { border-color: var(--gold); }
.fav-btn.active { background: var(--ink-red); border-color: var(--ink-red); color: var(--text); }

/* ================= WordPress 式管理后台外壳 ================= */
.admin-shell { display: flex; min-height: 100vh; background: var(--bg); }
.admin-side {
  width: 224px; flex: none; display: flex; flex-direction: column;
  background: var(--bg-elev); border-right: 1px solid var(--line);
  padding: 18px 12px; position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.admin-side > .brand { margin: 2px 6px 22px; }
.admin-menu, .admin-side-foot { display: flex; flex-direction: column; gap: 4px; }
.admin-side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.admin-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: none; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--text-dim); font-size: 14px; text-align: left;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.admin-menu-item:hover { background: var(--hover); color: var(--text); }
.admin-menu-item.active { background: var(--gold-ghost); color: var(--gold-bright); font-weight: 500; }
.mi-icon { width: 20px; text-align: center; flex: none; }

.admin-main { flex: 1; min-width: 0; padding: 0 30px 50px; }
.admin-topbar {
  display: flex; align-items: baseline; gap: 14px;
  padding: 24px 0 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 24px;
}
.admin-topbar h1 { font-size: 22px; margin: 0; }
.admin-topbar-sub { font-size: 12.5px; color: var(--text-faint); }

.admin-sec { display: none; }
.admin-sec.show { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.admin-count { font-size: 13px; color: var(--text-faint); margin-left: auto; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* 用户管理：搜索框 + 分页条 */
.admin-search {
  flex: 1 1 320px; max-width: 420px;
  padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text);
  font-size: 13.5px; font-family: var(--sans); outline: none; transition: border-color 0.15s;
}
.admin-search:focus { border-color: var(--gold-dim); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 20px; }
.pager button {
  min-width: 34px; height: 34px; padding: 0 11px;
  border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-dim);
  font-size: 13px; font-family: var(--sans); cursor: pointer;
  transition: all 0.15s;
}
.pager button:hover:not(:disabled):not(.active) { border-color: var(--gold-dim); color: var(--gold-bright); }
.pager button.active { background: var(--gold-bright); color: #17120b; border-color: transparent; font-weight: 600; cursor: default; }
.pager button:disabled { opacity: 0.38; cursor: default; }
.pager .pager-info { font-size: 12.5px; color: var(--text-faint); margin-left: 10px; }
.user-pwd-box { border-top: 1px dashed var(--line); margin: 4px 0 14px; padding-top: 16px; }
.user-pwd-box h4 { font-size: 14px; color: var(--gold); margin-bottom: 12px; }

/* 仪表盘 */
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dash-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg-elev); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 20px 12px;
}
.dash-card b { font-size: 26px; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.dash-card span:last-child { font-size: 12.5px; color: var(--text-faint); }
.dc-icon { font-size: 20px; }
.dash-actions { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.dash-panel {
  background: var(--bg-elev); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 18px 20px;
}
.dash-panel h3 { margin: 0 0 12px; font-size: 16px; }
.dash-panel .admin-row { padding: 8px 10px; border-radius: 8px; }
.dash-panel .admin-row:hover { background: var(--hover); }

/* 首页内容平铺卡片 */
.content-card {
  background: var(--bg-elev); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 20px 22px; margin-bottom: 16px;
}
.admin-save-bar {
  position: sticky; bottom: 0; padding: 14px 0;
  background: linear-gradient(180deg, transparent, var(--bg) 40%);
  display: flex; justify-content: flex-end;
}

@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-side {
    width: 100%; height: auto; position: static;
    flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px;
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .admin-side > .brand { margin: 0 10px 0 0; }
  .admin-menu, .admin-side-foot { flex-direction: row; flex-wrap: wrap; margin: 0; padding: 0; border: none; }
  .admin-menu-item { width: auto; padding: 8px 10px; font-size: 13px; }
  .admin-main { padding: 0 16px 40px; }
}

/* ---------- 内容迁移（WordPress 导入） ---------- */
.mi-row { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mi-row:last-child { border-bottom: none; }
.mi-row-title { font-size: 14px; font-weight: 600; color: var(--text); }
.mi-row-sub { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.mi-chip {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-size: 11px; line-height: 1.6; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mi-chip-ok   { background: rgba(143,191,127,.15); color: #8fbf7f; }
.mi-chip-warn { background: rgba(217,185,111,.15); color: #d9b96f; }
.mi-chip-bad  { background: rgba(217,123,111,.15); color: #d97b6f; }
.mi-chip-done { background: rgba(255,255,255,.08); color: var(--text-faint); }
.mi-user-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 12px; }
.mi-user-table th, .mi-user-table td { padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; color: var(--text-dim); }
.mi-user-table th { color: var(--text-faint); font-weight: 600; }
.mi-user-table code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 4px; color: #d9b96f; }

/* 迁移 - 用户 CSV 帮助块 */
.mi-code { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 4px; font-size: 12px; color: #d9b96f; }
.mi-help { margin-bottom: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 0 14px; background: rgba(255,255,255,.02); }
.mi-help summary { cursor: pointer; padding: 12px 0; font-size: 13px; color: #d9b96f; list-style: none; }
.mi-help summary::-webkit-details-marker { display: none; }
.mi-help summary::before { content: '？ '; }

/* 注册：验证码行 */
.code-row { display: flex; gap: 8px; align-items: stretch; }
.code-row input { flex: 1; }
.code-row .btn { white-space: nowrap; flex: none; }

/* ---------- 富文本编辑器（后台「详细介绍」） ---------- */
.modal-lg { max-width: 860px; }

.rt { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.rt-toolbar {
  display: flex; flex-wrap: wrap; gap: 2px; align-items: center;
  padding: 7px 8px; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.rt-btn {
  height: 30px; min-width: 30px; padding: 0 8px;
  border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: var(--text-dim); font-size: 12.5px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; transition: background .15s, color .15s, border-color .15s;
}
.rt-btn:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.rt-btn.active { background: rgba(201, 168, 106, .16); border-color: rgba(201, 168, 106, .4); color: var(--gold-bright); }
.rt-sep { width: 1px; height: 17px; background: var(--line); margin: 0 5px; flex: none; }
.rt-select {
  /* 高度改为自适应：固定 28px 在 Windows 下中文字形会顶到上下边缘、下缘被裁 */
  height: auto; min-height: 30px; box-sizing: border-box;
  padding: 5px 26px 5px 10px; border-radius: 6px; font-size: 13px;
  line-height: 1.5;
  background: var(--bg-elev); color: var(--text-dim); border: 1px solid var(--line);
  font-family: inherit; cursor: pointer;
  min-width: 96px; flex: 0 0 auto;   /* 不被工具栏挤压，右侧留足箭头空间防截断 */
}
.rt-select option { background: var(--bg-elev); color: var(--text); padding: 6px 10px; }
.rt-body {
  min-height: 170px; max-height: 420px; overflow-y: auto;
  padding: 14px 16px; outline: none; word-break: break-word;
  font-size: 14px; line-height: 1.85; color: var(--text-dim);
}
.rt-body.is-empty::before { content: attr(data-ph); color: var(--text-faint); pointer-events: none; }
.rt-source {
  display: block; width: 100%; min-height: 170px; max-height: 420px;
  padding: 14px 16px; border: none; outline: none; resize: vertical;
  background: var(--surface); color: #b9d8b0;
  font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 12.5px; line-height: 1.7;
}
.rt-source[hidden] { display: none; }
.rt-src .rt-toolbar { opacity: .7; }
.rt-foot {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 6px 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--text-faint);
}
.rt-count { flex: none; }
.rt-tip { text-align: right; }

/* 编辑器内 / 详情页共用的富文本排版 */
.rich-text { color: var(--text-dim); font-size: 14.5px; line-height: 1.9; }
.rt-body p, .rich-text p { margin: 0 0 11px; }
.rt-body p:last-child, .rich-text p:last-child { margin-bottom: 0; }
.rt-body h2, .rich-text h2 { font-size: 19px; line-height: 1.5; color: var(--text); margin: 20px 0 10px; font-weight: 600; }
.rt-body h3, .rich-text h3 { font-size: 16.5px; line-height: 1.5; color: var(--text); margin: 18px 0 8px; font-weight: 600; }
.rt-body h4, .rich-text h4 { font-size: 15px; line-height: 1.5; color: var(--text); margin: 16px 0 8px; font-weight: 600; }
.rt-body h2:first-child, .rich-text h2:first-child,
.rt-body h3:first-child, .rich-text h3:first-child { margin-top: 0; }
.rt-body ul, .rich-text ul, .rt-body ol, .rich-text ol { margin: 0 0 11px; padding-left: 22px; }
.rt-body li, .rich-text li { margin-bottom: 5px; }
.rt-body blockquote, .rich-text blockquote {
  margin: 13px 0; padding: 9px 16px; border-left: 3px solid var(--gold-dim);
  background: rgba(255, 255, 255, .03); color: var(--text); border-radius: 0 6px 6px 0;
}
.rt-body a, .rich-text a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.rt-body img, .rich-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; display: block; }
.rt-body hr, .rich-text hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.rt-body pre, .rich-text pre {
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 14px; overflow-x: auto; font-size: 12.5px; line-height: 1.7;
  font-family: ui-monospace, Consolas, Menlo, monospace; color: #b9d8b0; margin: 0 0 11px;
}
.rt-body code, .rich-text code { background: rgba(255, 255, 255, .08); padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.rt-body strong, .rt-body b, .rich-text strong, .rich-text b { color: var(--text); font-weight: 600; }

/* ---------- 草稿 / 预览 / 最后修改时间 ---------- */
.work-meta {
  margin-right: auto; font-size: 12px; color: var(--text-faint);
  align-self: center; text-align: left; line-height: 1.6;
}
.admin-row .row-stamp { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text-faint); }
/* 作品分享链接行 */
.admin-row .row-link {
  display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0;
}
.admin-row .row-link a {
  flex: 0 1 auto; min-width: 0; font-size: 11.5px; color: var(--text-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-decoration: none; border-bottom: 1px dashed transparent; transition: color .15s, border-color .15s;
}
.admin-row .row-link a:hover { color: var(--gold-bright); border-bottom-color: rgba(217, 185, 111, .5); }
.admin-row .row-link .btn { padding: 3px 10px; font-size: 11.5px; flex-shrink: 0; }
.admin-row.is-draft .row-link a { opacity: .55; }
@media (max-width: 640px) {
  .admin-row .row-link a { font-size: 11px; }
}
.admin-row.is-draft { background: rgba(217, 185, 111, .04); }
.draft-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 20px;
  font-size: 10.5px; font-weight: 500; vertical-align: 1px;
  background: rgba(217, 185, 111, .16); color: #d9b96f;
}
.preview-bar {
  margin-bottom: 14px; padding: 9px 16px; border-radius: 8px;
  background: rgba(217, 185, 111, .1); border: 1px solid rgba(217, 185, 111, .3);
  color: #d9b96f; font-size: 12.5px;
}
.detail-info .updated-at { font-size: 12px; color: var(--text-faint); align-self: center; }

/* ---------- 分类管理（后台） ---------- */
.cat-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.cat-row:last-child { border-bottom: none; }
.cat-order {
  width: 22px; flex: none; text-align: center;
  font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums;
}
.cat-row input[type="text"], .cat-row input:not([type]) {
  padding: 8px 10px; border-radius: 8px; font-size: 13px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.cat-row .cat-name { flex: 0 1 190px; min-width: 130px; }
.cat-row .cat-desc { flex: 1 1 220px; min-width: 160px; }
.cat-nav {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: 12.5px; color: var(--text-dim); cursor: pointer; white-space: nowrap;
}
.cat-nav input { width: 15px; height: 15px; accent-color: #c9a86a; }
.admin-hint {
  margin: 14px 2px 0; font-size: 12.5px; line-height: 1.95; color: var(--text-faint);
}
.post-tabs { display: flex; gap: 6px; margin-left: auto; }

/* ---------- 菜单管理（后台） ---------- */
.menu-item {
  padding: 10px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.menu-item:last-child { border-bottom: none; }
.menu-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.menu-line .menu-text { flex: 0 1 190px; min-width: 130px; }
.menu-line .menu-url { flex: 1 1 260px; min-width: 180px; }
.menu-line input[type="text"] {
  padding: 8px 10px; border-radius: 8px; font-size: 13px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.menu-tip { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 12.5px; color: var(--text-dim); cursor: pointer; white-space: nowrap; }
.menu-tip input { width: 15px; height: 15px; accent-color: #c9a86a; }
.menu-subs { margin: 8px 0 0 34px; padding-left: 12px; border-left: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; }
.menu-sub {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .022);
}
.menu-sub-mark { flex: none; font-size: 12px; color: var(--text-faint); }
.menu-sub .menu-text { flex: 0 1 170px; min-width: 120px; }
.menu-sub .menu-url { flex: 1 1 240px; min-width: 170px; }
.menu-empty { font-size: 12.5px; color: var(--text-faint); padding: 4px 0 0; }
.menu-badge {
  display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 10.5px;
  background: var(--gold-ghost); color: var(--gold-bright); vertical-align: 1px;
}

/* ---------- 文章列表 ---------- */
.post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px;
}
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(201, 168, 106, .45); box-shadow: 0 14px 34px rgba(0, 0, 0, .32); }
.post-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-elev); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-cover .no-cover {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 40px; color: rgba(201, 168, 106, .35);
}
.post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 {
  margin: 0; font-size: 16.5px; line-height: 1.55; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-body p {
  margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta {
  margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-faint);
}

/* ---------- 文章 / 页面详情 ---------- */
.article-wrap { max-width: 860px; padding: 26px 0 70px; }
.article-body { padding: 0 2px; }
.article-body h1 {
  margin: 14px 0 12px; font-family: var(--serif); font-weight: 600;
  font-size: 30px; line-height: 1.45; color: var(--text);
}
.article-body .meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.article-body .updated-at { font-size: 12px; color: var(--text-faint); }
.article-lead {
  margin: 0 0 20px; padding-left: 14px; border-left: 3px solid var(--gold-dim);
  font-size: 15px; line-height: 1.9; color: var(--text-dim);
}
.article-cover {
  width: 100%; height: auto; border-radius: 14px; margin: 4px 0 24px;
  border: 1px solid var(--line); display: block;
}
.article-foot { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.nav.nav-dense a { font-size: 13px; padding: 8px 9px; }

@media (max-width: 720px) {
  .article-body h1 { font-size: 24px; }
  .post-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-row .cat-name, .cat-row .cat-desc { flex: 1 1 100%; }
}

/* ---------- 文章 / 页面：独立编辑页（整页大编辑器） ---------- */
.pe-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.pe-head h2 { font-size: 18px; color: var(--gold-bright); margin: 0; }
.pe-meta { font-size: 12px; color: var(--text-faint); }
.pe-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
#p-save.is-dirty::after { content: ' ●'; color: #d9b96f; font-size: 11px; vertical-align: 1px; }

.pe-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.pe-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.pe-title {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text);
  font-size: 20px; font-weight: 600; line-height: 1.4; font-family: var(--sans); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.pe-title:focus { border-color: rgba(217, 185, 111, .55); box-shadow: 0 0 0 3px rgba(217, 185, 111, .08); }
.pe-title::placeholder { color: var(--text-faint); font-weight: 400; }

/* 正文编辑器：吃掉整屏剩余高度，不再被 420px 卡住 */
#sec-post-edit .rt-body,
#sec-post-edit .rt-source {
  height: clamp(420px, calc(100vh - 330px), 1000px);
  min-height: 420px; max-height: none;
  font-size: 15px; line-height: 1.9;
}
#sec-post-edit .rt-body { padding: 22px 26px; }

.pe-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.pe-card {
  background: var(--bg-elev); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 14px 16px;
}
.pe-card h4 {
  font-size: 12.5px; color: var(--gold-bright); margin: 0 0 10px;
  font-weight: 600; letter-spacing: .02em;
}
.pe-card .field { margin-bottom: 10px; }
.pe-card .field:last-child { margin-bottom: 0; }
.pe-card .field label { font-size: 12px; margin-bottom: 5px; }
.pe-card .field input, .pe-card .field select { padding: 8px 10px; font-size: 13px; }
.pe-card textarea {
  width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 13px; line-height: 1.7;
  font-family: var(--sans); resize: vertical; outline: none;
}
.pe-card textarea:focus { border-color: var(--gold-dim); }
.pe-cats { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-dim); }
.pe-cats label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pe-card .cover-preview { margin-top: 8px; }

@media (max-width: 1080px) {
  .pe-body { grid-template-columns: 1fr; }
  .pe-side { position: static; }
  #sec-work-edit .pe-actions { margin-left: 0; width: 100%; }
  #sec-post-edit .rt-body, #sec-post-edit .rt-source { height: 60vh; }
}

/* ---------- 作品编辑页：页内卡片 / 链接 / 编辑器高度 ---------- */
#sec-work-edit .pe-editor-label {
  font-size: 12.5px; color: var(--gold-bright); font-weight: 600;
  margin-bottom: 8px; letter-spacing: .02em;
}
#sec-work-edit .rt-body,
#sec-work-edit .rt-source {
  height: clamp(320px, calc(100vh - 560px), 720px);
  min-height: 320px; max-height: none;
  font-size: 14.5px; line-height: 1.9;
}
#sec-work-edit .rt-body { padding: 18px 22px; }

.pe-cover { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.pe-cover input[type="file"] { padding: 6px; font-size: 12.5px; max-width: 100%; }
.pe-cover .cover-preview { margin-top: 0; width: 170px; }

.pe-note { font-size: 11.5px; color: var(--text-faint); line-height: 1.7; margin: 8px 0 0; }
.pe-hint { font-size: 12px; color: var(--text-faint); margin: 0; }
.pe-hint[hidden] { display: none; }
.pe-sub { font-size: 11px; color: var(--text-faint); font-weight: 400; margin-left: 4px; }

.pe-link { display: flex; flex-direction: column; gap: 8px; }
.pe-link[hidden] { display: none; }
.pe-link a {
  display: block; font-size: 11.5px; color: var(--text-faint); text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 5px 8px; border-radius: 7px; background: var(--bg);
  border: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  transition: color .15s, border-color .15s;
}
.pe-link a:hover { color: var(--gold-bright); border-color: rgba(217, 185, 111, .45); }
.pe-link-foot { display: flex; align-items: center; gap: 8px; }
.pe-link-foot .btn { padding: 4px 10px; font-size: 11.5px; }
.pe-link-foot .ml-draft { font-size: 11.5px; color: var(--text-faint); }
.pe-link-foot .ml-draft[hidden] { display: none; }

#sec-work-edit .pe-cats { gap: 7px; }

/* ---------- 首页：广播剧作品（竖版封面卡片） ---------- */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px 20px;
}
.drama-card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.drama-cover {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px;
  overflow: hidden; background: var(--bg-elev); border: 1px solid var(--line-soft);
  transition: transform .2s, box-shadow .2s;
}
.drama-card:hover .drama-cover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.drama-cover img, .drama-cover .cf-blur { width: 100%; height: 100%; object-fit: cover; display: block; }
.drama-noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: var(--text-faint); background: var(--bg-elev);
}
.drama-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, #ff6a4d, #f5412e);
  box-shadow: 0 2px 8px rgba(245, 65, 46, .4); letter-spacing: .02em;
}
.drama-title {
  margin: 10px 0 4px; font-size: 14.5px; font-weight: 600; color: var(--text);
  line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.drama-card:hover .drama-title { color: var(--gold-bright); }
.drama-credit {
  margin: 0; font-size: 12px; color: var(--text-faint); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 广播剧模块：编辑器占位块 / 文章正文内嵌 ---------- */
.rt-body p[data-drama] {
  margin: 14px 0; padding: 20px 16px; border: 1px dashed rgba(217, 185, 111, .55);
  border-radius: 10px; background: rgba(217, 185, 111, .07);
  color: var(--gold-bright); text-align: center; font-size: 13px; line-height: 1.7;
}
.rich-text .drama-embed { margin: 26px 0; }
.rich-text .drama-embed a { text-decoration: none; }
.rich-text .drama-embed .drama-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 18px 14px; }
.rich-text .drama-embed .drama-title { font-size: 13.5px; margin-top: 8px; }
.rich-text .drama-embed .drama-credit { font-size: 11.5px; }

/* ---------- 登录页：忘记密码链接 ---------- */
.gold-link { color: var(--gold-bright); text-decoration: none; font-size: 12.5px; cursor: pointer; }
.gold-link:hover { text-decoration: underline; }
