/* ============================================================
   芸汐赋能 · 设计系统
   意象：午夜剪辑室 / 导播台 / 监视器暖光 / REC 录制灯
   ============================================================ */

:root {
  --bg: #101014;
  --bg-soft: #141419;
  --card: #191920;
  --card-hover: #1e1e27;
  --ink: #f2efe8;
  --ink-dim: #9a96a6;
  --line: #2a2a35;
  --rec: #ff5c1a;
  --rec-deep: #d84a10;
  --mark: #ffb020;
  --green: #3ecf8e;
  --red: #ff4d4f;
  --radius-card: 10px;
  --radius-btn: 8px;
  --radius-tag: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ui: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-num: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  touch-action: pan-x pan-y; /* 移动端禁止双指缩放(pinch-zoom)，保留页面滚动 */
  -webkit-tap-highlight-color: transparent;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
}
::selection { background: rgba(255, 92, 26, 0.35); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a48; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(16, 16, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.rec-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 10px rgba(255, 92, 26, 0.8);
  animation: rec-blink 2.4s ease-in-out infinite;
}
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.brand-text { font-weight: 900; font-size: 17px; letter-spacing: 0.5px; }
.brand-ver {
  display: inline-block; margin-left: 6px; vertical-align: 2px;
  font: 600 10px/1 var(--font-num); letter-spacing: 0.5px;
  color: var(--mark); border: 1px solid var(--line-strong);
  padding: 2px 5px; border-radius: 6px;
}
.brand-sub {
  font-family: var(--font-num); font-size: 10px; letter-spacing: 2.5px;
  color: var(--ink-dim); margin-top: 4px;
}
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 7px 16px; border-radius: var(--radius-btn);
  font-size: 14px; color: var(--ink-dim);
  border: 1px solid transparent;
  transition: all 180ms var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--card); }
.nav a.active { color: var(--ink); background: var(--card); border-color: var(--line); }
.nav a.nav-admin { color: var(--mark); }
.nav a.nav-admin.active { border-color: rgba(255, 176, 32, 0.4); }

/* 管理端顶栏用户区（登录态） */
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user-name { font-size: 12.5px; color: var(--mark); font-family: var(--font-num); letter-spacing: 0.5px; }

/* ---------- 管理端登录页 ---------- */
.login-view { display: flex; align-items: flex-start; justify-content: center; padding-top: 7vh; }
.admin-login-card { width: 100%; max-width: 380px; padding: 30px; text-align: center; }
.admin-login-card h3 { font-size: 18px; font-weight: 900; margin: 14px 0 8px; }
.admin-login-card .field { text-align: left; margin-top: 16px; }
.flame-icon {
  width: 54px; height: 54px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 176, 32, 0.12); border: 1px solid rgba(255, 176, 32, 0.5);
  color: var(--mark); font-size: 24px;
}

/* 黄色高亮按钮（爆款详情 · 提醒演示） */
.btn-warn-yellow {
  background: var(--mark); border-color: var(--mark); color: #16100b; font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.35), 0 4px 18px rgba(255, 176, 32, 0.28);
}
.btn-warn-yellow:hover { background: #ffc24d; border-color: #ffc24d; color: #16100b; }

/* IP 定制 · 左侧爱心列 + 竖排含AI演示 */
.hot-card-side-ic .hot-fav-btn { margin-bottom: 2px; }

/* ---------- 布局 ---------- */
.view { max-width: 1280px; margin: 0 auto; padding: 28px 28px 64px; min-height: calc(100vh - 158px); }
.boot-loading { padding: 80px 0; text-align: center; color: var(--ink-dim); font-family: var(--font-mono); }
.footer {
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-dim); font-size: 12px;
}
.footer-mono { font-family: var(--font-mono); letter-spacing: 1px; }

/* ---------- Hero ---------- */
.hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(255, 92, 26, 0.13), transparent),
    var(--card);
  padding: 34px 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "REC";
  position: absolute; top: 26px; right: 32px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  color: var(--rec);
  display: flex; align-items: center; gap: 6px;
}
.hero-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px;
  color: var(--rec); margin-bottom: 10px;
}
.hero h1 {
  font-size: 30px; font-weight: 900; letter-spacing: 1px; line-height: 1.3;
  margin-bottom: 8px;
}
.hero p { color: var(--ink-dim); max-width: 560px; }
.hero-stats { display: flex; gap: 40px; margin-top: 24px; flex-wrap: wrap; }
.hstat-num { font-family: var(--font-num); font-size: 26px; font-weight: 700; }
.hstat-num em { font-style: normal; color: var(--rec); }
.hstat-label { font-size: 12px; color: var(--ink-dim); letter-spacing: 1px; }

/* ---------- 公告条 ---------- */
.notice {
  border: 1px dashed rgba(255, 176, 32, 0.45);
  background: rgba(255, 176, 32, 0.06);
  color: var(--mark);
  border-radius: var(--radius-btn);
  padding: 9px 16px; font-size: 13px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.notice::before { content: ""; width: 6px; height: 6px; background: var(--mark); border-radius: 50%; flex: none; }

/* ---------- 筛选条 ---------- */
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.search-box { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.search-box input {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-btn); color: var(--ink);
  padding: 9px 12px 9px 34px; font-size: 14px; outline: none;
  transition: border-color 180ms var(--ease);
}
.search-box input:focus { border-color: var(--rec); }
.search-box svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-dim); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--ink-dim);
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  transition: all 160ms var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-dim); }
.chip.on { background: var(--rec); border-color: var(--rec); color: #16100b; font-weight: 700; }
.select {
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius-btn); padding: 8px 12px; font-size: 14px; outline: none;
}
.select:focus { border-color: var(--rec); }

/* ---------- 视频卡片网格 ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.vcard {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
  cursor: pointer;
}
.vcard:hover { transform: translateY(-3px); border-color: var(--rec); }
.vcard-cover {
  position: relative; aspect-ratio: 9 / 16; max-height: 300px;
  background: linear-gradient(160deg, #1c1c26, #14141b);
  overflow: hidden;
}
.vcard-cover img { width: 100%; height: 100%; object-fit: cover; }
.vcard-cover .cover-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--ink-dim);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 92, 26, 0.12), transparent 65%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 26px);
}
.vcard-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 14, 0.36); opacity: 0;
  transition: opacity 180ms var(--ease);
}
.vcard:hover .vcard-play { opacity: 1; }
.vcard-play span {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--rec); color: #16100b;
  display: flex; align-items: center; justify-content: center;
}
.duration-badge {
  position: absolute; right: 8px; bottom: 8px;
  font-family: var(--font-mono); font-size: 11px;
  background: rgba(10, 10, 14, 0.82); color: var(--ink);
  padding: 2px 8px; border-radius: var(--radius-tag);
}
.vcard-body { padding: 12px 14px 14px; }
.vcard-title {
  font-size: 14.5px; font-weight: 700; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 42px;
}
.vcard-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 9px 0 10px; }
.tag {
  font-family: var(--font-mono); font-size: 11px;
  background: rgba(255, 176, 32, 0.1); color: var(--mark);
  border: 1px solid rgba(255, 176, 32, 0.28);
  padding: 1px 8px; border-radius: var(--radius-tag);
}
.tag.plain { background: var(--bg-soft); color: var(--ink-dim); border-color: var(--line); }
.vcard-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-dim);
}
.vcard-meta b { color: var(--ink); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: var(--radius-btn); font-size: 14px; font-weight: 500;
  padding: 9px 18px; border: 1px solid transparent;
  transition: all 170ms var(--ease);
}
.btn-primary { background: var(--rec); color: #16100b; font-weight: 700; }
.btn-primary:hover { background: var(--rec-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rec); color: var(--rec); }
.btn-danger { background: transparent; border-color: rgba(255, 77, 79, 0.5); color: var(--red); }
.btn-danger:hover { background: rgba(255, 77, 79, 0.1); }
.btn-outline-mark { background: transparent; border-color: var(--mark); color: var(--mark); }
.btn-outline-mark:hover { background: rgba(255, 176, 32, 0.12); }
.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; color: var(--ink-dim); margin-bottom: 6px; letter-spacing: 0.5px; }
.input, .textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-btn); color: var(--ink);
  padding: 10px 12px; font-size: 14px; outline: none;
  transition: border-color 180ms var(--ease);
}
.input:focus, .textarea:focus { border-color: var(--rec); }
.textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 8, 11, 0.7);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: mask-in 180ms var(--ease);
}
@keyframes mask-in { from { opacity: 0; } }
.modal {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card);
  max-width: 860px; width: 100%; max-height: 88vh; overflow-y: auto;
  animation: modal-in 220ms var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--card); z-index: 2;
}
.modal-title { font-weight: 700; font-size: 16px; }
.modal-close {
  background: none; border: none; color: var(--ink-dim); font-size: 22px;
  line-height: 1; padding: 2px 6px; border-radius: 6px;
}
.modal-close:hover { color: var(--ink); background: var(--bg-soft); }
.modal-body { padding: 22px; }

/* 视频详情弹窗 */
.detail-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.detail-player {
  aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius-card);
  overflow: hidden; border: 1px solid var(--line);
}
.detail-player video { width: 100%; height: 100%; }
.detail-info h2 { font-size: 19px; font-weight: 900; margin-bottom: 8px; line-height: 1.4; }
.detail-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); margin-bottom: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.script-box {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 14px 16px; font-size: 13.5px; line-height: 1.9; white-space: pre-wrap;
  max-height: none; overflow: visible; margin-bottom: 14px;
  color: #d9d4c8;
}
.script-full {
  background: none; border: 1px solid var(--line); color: var(--mark);
  border-radius: var(--radius-tag); padding: 3px 10px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 160ms var(--ease); white-space: nowrap;
}
.script-full:hover { border-color: var(--mark); background: rgba(255, 176, 32, 0.1); }

/* 详情 · 口播 + 发布文案全文（已拍案例可见） */
.detail-pub { margin: 2px 0 14px; border: 1px dashed var(--line); border-radius: var(--radius-btn); padding: 12px 14px; }
.detail-pub-head { font-size: 13px; font-weight: 700; color: var(--mark); margin-bottom: 12px; display: flex; align-items: baseline; gap: 8px; }
.detail-pub-body { display: grid; gap: 14px; }

/* 全屏提词看板 */
body.tb-open { overflow: hidden; }
.textboard-mask {
  position: fixed; inset: 0; z-index: 200;
  background: #000;
  display: flex; flex-direction: column;
}
.textboard-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 20, 0.95);
}
.textboard-title { font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: 0.5px; }
.textboard-tools { display: flex; align-items: center; gap: 8px; }
.textboard-btn, .textboard-close {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius-btn); padding: 6px 14px; font-size: 13px; cursor: pointer;
  transition: all 160ms var(--ease); font-weight: 700;
}
.textboard-btn:hover { border-color: var(--mark); color: var(--mark); }
.textboard-close { font-size: 18px; padding: 2px 12px; }
.textboard-close:hover { border-color: var(--red); color: var(--red); }
.textboard-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: 30px 40px; }
.textboard-text {
  font-size: 30px; line-height: 1.85; color: #f2efd8; white-space: pre-wrap;
  max-width: 960px; width: 100%; text-align: left; transition: font-size 120ms var(--ease);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}
.textboard-hint {
  margin-top: auto; padding: 10px 0 6px; font-size: 12px; color: var(--ink-dim);
  font-family: var(--font-mono); letter-spacing: 1px;
}
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-modal .detail-actions { margin: 0 22px 22px; }
.detail-modal .detail-actions .btn { white-space: nowrap; }
.d-btn-row { display: flex; gap: 10px; }
.d-btn-row .btn { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; }

/* ---------- 流式输出区 ---------- */
.stream-box {
  background: #0b0b0f; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 18px 20px; min-height: 180px; max-height: 480px; overflow-y: auto;
  font-size: 14px; line-height: 1.85;
}
.stream-box.streaming::after {
  content: "▋"; color: var(--rec); margin-left: 2px;
  animation: cursor-blink 0.9s steps(1) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
.stream-box h2, .stream-box h3, .stream-box h4 { margin: 16px 0 8px; line-height: 1.4; }
.stream-box h2 { font-size: 17px; color: var(--rec); }
.stream-box h3 { font-size: 15.5px; color: var(--mark); }
.stream-box h4 { font-size: 14.5px; }
.stream-box p { margin: 7px 0; color: #d9d4c8; }
.stream-box ul, .stream-box ol { margin: 8px 0 8px 22px; color: #d9d4c8; }
.stream-box li { margin: 4px 0; }
.stream-box strong { color: var(--ink); }
.stream-empty { color: var(--ink-dim); font-family: var(--font-mono); font-size: 13px; padding: 30px 0; text-align: center; }

/* ---------- Toast ---------- */
#toast-root { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: #0b0b0f; border: 1px solid var(--rec); color: var(--ink);
  padding: 10px 22px; border-radius: var(--radius-btn); font-size: 14px;
  animation: toast-in 200ms var(--ease);
  max-width: 80vw;
}
.toast.err { border-color: var(--red); }
.toast.ok { border-color: var(--green); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 骨架屏 / 空态 ---------- */
.skeleton {
  border-radius: var(--radius-card); background: var(--card);
  aspect-ratio: 9/16; max-height: 300px;
  animation: skeleton-breathe 1.4s ease-in-out infinite;
}
@keyframes skeleton-breathe { 50% { opacity: 0.45; } }
.empty {
  text-align: center; padding: 70px 20px; color: var(--ink-dim);
  border: 1px dashed var(--line); border-radius: var(--radius-card);
  grid-column: 1 / -1;
}
.empty-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; margin-top: 6px; }

.load-more-wrap { text-align: center; margin-top: 26px; }

/* ---------- 页头 ---------- */
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 24px; font-weight: 900; letter-spacing: 0.5px; }
.page-head p { color: var(--ink-dim); font-size: 13.5px; margin-top: 4px; }

/* ---------- 打卡 ---------- */
.checkin-layout { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: start; }
.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 20px 22px;
}
.panel-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.panel-title::before { content: ""; width: 8px; height: 8px; background: var(--rec); border-radius: 2px; }
.mood-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.checkin-list { display: flex; flex-direction: column; gap: 12px; }
.checkin-item {
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 13px 16px; background: var(--bg-soft);
  animation: toast-in 220ms var(--ease);
}
.checkin-item .ci-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.ci-name { font-weight: 700; font-size: 14px; }
.ci-mood {
  font-family: var(--font-mono); font-size: 11px; color: var(--green);
  border: 1px solid rgba(62, 207, 142, 0.35); padding: 1px 8px; border-radius: var(--radius-tag);
}
.ci-content { font-size: 13.5px; color: #d9d4c8; }
.ci-date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); }

/* ---------- 管理端 ---------- */
.admin-tabs { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.admin-tab {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--ink-dim); font-size: 14px; padding: 10px 16px;
  transition: all 160ms var(--ease);
}
.admin-tab:hover { color: var(--ink); }
.admin-tab.on { color: var(--rec); border-bottom-color: var(--rec); font-weight: 700; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 18px 20px; transition: border-color 180ms var(--ease);
}
.stat-card:hover { border-color: var(--rec); }
.stat-num { font-family: var(--font-num); font-size: 30px; font-weight: 700; }
.stat-num.accent { color: var(--rec); }
.stat-label { color: var(--ink-dim); font-size: 12px; letter-spacing: 1px; margin-top: 2px; }

/* 表格 */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; padding: 11px 14px; background: var(--bg-soft);
  color: var(--ink-dim); font-weight: 500; font-size: 12.5px; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 150ms var(--ease); }
.table tbody tr:hover { background: rgba(255, 92, 26, 0.04); }
.table .num { font-family: var(--font-mono); font-size: 12.5px; }
.table-thumb {
  width: 40px; height: 64px; border-radius: 6px; object-fit: cover;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.status-pill {
  font-family: var(--font-mono); font-size: 11px; padding: 2px 9px; border-radius: 999px;
  display: inline-block;
}
.status-pill.published, .status-pill.signed, .status-pill.done { color: var(--green); background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.3); }
.status-pill.draft, .status-pill.potential { color: var(--ink-dim); background: var(--bg-soft); border: 1px solid var(--line); }
.status-pill.intent { color: var(--mark); background: rgba(255, 176, 32, 0.08); border: 1px solid rgba(255, 176, 32, 0.3); }
.status-pill.running { color: var(--rec); background: rgba(255, 92, 26, 0.08); border: 1px solid rgba(255, 92, 26, 0.3); }
.status-pill.ok { color: var(--green); background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.3); }
.status-pill.err { color: var(--red); background: rgba(255, 77, 79, 0.08); border: 1px solid rgba(255, 77, 79, 0.3); }
.dot-pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 4px; animation: dotPulse 1s infinite; vertical-align: 1px; }
@keyframes dotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* 编辑弹窗：逐字段重新生成 */
.edit-regen-row { display: flex; gap: 8px; align-items: stretch; }
.edit-regen-row .textarea, .edit-regen-row .input { flex: 1; }
.edit-regen-row .btn { align-self: flex-end; white-space: nowrap; }
.score-pill { font-family: var(--font-mono); font-size: 10.5px; padding: 1px 7px; border-radius: 999px; font-weight: 700; }
.score-pill.ok { color: var(--green); background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.3); }
.score-pill.low { color: var(--mark); background: rgba(255, 176, 32, 0.08); border: 1px solid rgba(255, 176, 32, 0.3); }

/* 批量上传队列 */
.up-q-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-btn); margin-bottom: 6px; background: var(--bg-soft); font-size: 12.5px; }

/* 内容类型切换（口播/纯视频） */
.seg { display: inline-flex; }
.seg-btn {
  font-size: 12px; font-family: inherit; cursor: pointer;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--radius-btn);
  background: var(--bg-soft); color: var(--ink-dim); transition: all 150ms var(--ease);
}
.seg-btn:hover { border-color: var(--rec); color: var(--ink); }
.seg-btn.on { background: var(--rec); border-color: var(--rec); color: #101014; font-weight: 600; }
.seg-sm .seg-btn { padding: 3px 10px; font-size: 11.5px; }

/* 已上传素材列表（上传页） */
.up-done-tip {
  display: flex; align-items: center; padding: 14px 16px; margin-bottom: 8px;
  border: 1px solid rgba(255,176,32,.45); border-left: 3px solid var(--rec);
  border-radius: var(--radius-card); background: rgba(255,176,32,.06);
  font-size: 13px; line-height: 1.6;
}
.up-done-tip .btn { flex: none; }
.up-v-item {
  display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-card); margin-bottom: 8px; background: var(--bg);
  transition: opacity 200ms var(--ease);
}
.up-v-item:hover { border-color: var(--rec); }
.up-v-thumb { width: 42px; height: 56px; object-fit: cover; border-radius: 6px; background: #000; flex: none; border: 1px solid var(--line); }
.up-v-thumb-empty { display: flex; align-items: center; justify-content: center; color: var(--ink-dim); font-size: 10px; background: var(--bg-soft); }

/* 上传区 */
.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius-card);
  padding: 40px 20px; text-align: center; color: var(--ink-dim);
  transition: all 180ms var(--ease); cursor: pointer;
  background: var(--bg-soft);
}
.dropzone:hover, .dropzone.drag { border-color: var(--rec); color: var(--ink); background: rgba(255, 92, 26, 0.05); }
.dropzone svg { margin-bottom: 10px; }
.dz-hint { font-family: var(--font-mono); font-size: 11.5px; margin-top: 6px; color: var(--ink-dim); }
.upload-preview { display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; }
.upload-preview video, .upload-preview img {
  width: 120px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: #000;
}
.progress-line { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 10px; }
.progress-line i { display: block; height: 100%; background: var(--rec); width: 0; transition: width 200ms var(--ease); }

/* 动态事件流 */
.event-list { display: flex; flex-direction: column; }
.event-item {
  display: flex; gap: 14px; padding: 13px 4px;
  border-bottom: 1px dashed var(--line); font-size: 13.5px;
}
.event-item:last-child { border-bottom: none; }
.event-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); margin-top: 7px; flex: none; }
.event-time { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-dim); white-space: nowrap; }
.event-type-badge { font-family: var(--font-mono); font-size: 11px; color: var(--mark); }

/* 生成页布局 */
.gen-layout { display: grid; grid-template-columns: 400px 1fr; gap: 22px; align-items: start; }
.gen-history-item {
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 12px 16px; margin-bottom: 10px; cursor: pointer;
  background: var(--bg-soft); transition: border-color 160ms var(--ease);
}
.gen-history-item:hover { border-color: var(--rec); }
.gen-history-item .gh-title { font-weight: 700; font-size: 13.5px; margin-bottom: 3px; }
.gen-history-item .gh-time { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); }

.section-gap { margin-top: 26px; }
.split-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.split-head h2 { font-size: 17px; font-weight: 900; }

.mono { font-family: var(--font-mono); }
.dim { color: var(--ink-dim); }

/* ---------- 顶栏双标签开关（客户端 / 管理端） ---------- */
.nav-switch { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.nav-switch a { border-radius: 999px; padding: 6px 22px; }
.nav-switch a.active { background: var(--rec); color: #16100b; font-weight: 700; border-color: var(--rec); }
.nav-switch a.nav-admin.active { background: var(--mark); border-color: var(--mark); color: #16100b; }

/* ---------- 顶栏角标（客户端/管理端标识） ---------- */
.side-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--rec); border: 1px solid var(--rec); border-radius: 6px;
  padding: 4px 10px; background: rgba(255, 92, 26, 0.08);
}
.side-badge-admin { color: var(--mark); border-color: var(--mark); background: rgba(255, 176, 32, 0.08); }

/* ---------- 客户端底栏（视频 / 待拍摄 / 待发布 / 爆款 / 我的） ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 1px 7px; color: var(--ink-dim);
  transition: color 160ms var(--ease);
  position: relative;
}
.tabbar-item.active { color: var(--rec); }
.tabbar-item.active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2.5px; background: var(--rec); border-radius: 0 0 3px 3px;
}
.tabbar-icon { display: flex; }
.tabbar-icon svg { width: 21px; height: 21px; }
.tabbar-label { font-size: 10px; letter-spacing: 0.3px; white-space: nowrap; }
.view.with-tabbar { padding-bottom: 90px; }
#toast-root { bottom: 84px; }

/* ---------- 轮播图（16:9） ---------- */
.carousel {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  margin-bottom: 16px;
}
.skeleton-carousel { animation: skeleton-breathe 1.4s ease-in-out infinite; }
.carousel-track {
  display: flex; height: 100%; transition: transform 320ms var(--ease);
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
  touch-action: pan-y; /* 纵向滚动交给页面，横向滑动由 JS 手势接管 */
  cursor: grab;
}
.carousel-track.dragging { cursor: grabbing; }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 12px;
  background: linear-gradient(transparent, rgba(10, 10, 13, 0.82));
  font-weight: 700; font-size: 14px; letter-spacing: 0.3px;
}
.carousel-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; z-index: 2; }
.carousel-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(242, 239, 232, 0.35); cursor: pointer; transition: all 200ms var(--ease); }
.carousel-dots i.on { background: var(--rec); width: 16px; }
.carousel-empty { display: flex; align-items: center; justify-content: center; }
.carousel-empty-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-dim); font-size: 13px; }
.carousel-empty-inner b { color: var(--ink); font-size: 17px; }

/* ---------- 7 天打卡条 ---------- */
/* 标签配置（管理端） */
.tags-admin-list { display: flex; flex-direction: column; gap: 10px; }
.tags-admin-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.tag-add-row { display: flex; gap: 10px; margin-top: 16px; }
.tag-add-row .input { flex: 1; }

.checkin-strip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 14px 16px;
  margin-bottom: 18px;
}
.cs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cs-title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cs-title svg { color: var(--rec); }
.cs-count { color: var(--rec); font-family: var(--font-num); font-weight: 700; }
.cs-hint { font-size: 12px; color: var(--ink-dim); }
.cs-points { font-weight: 900; font-size: 14px; color: var(--rec); margin: 0 2px; }
.cs-cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cs-cell {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 2px; border: 1px solid var(--line); border-radius: var(--radius-btn);
  background: var(--bg-soft);
}
.cs-cell.today { border-color: rgba(255, 176, 32, 0.55); }
.cs-cell.on { border-color: var(--rec); background: rgba(255, 92, 26, 0.07); }
.cs-week { font-size: 11px; color: var(--ink-dim); }
.cs-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
}
.cs-cell.on .cs-dot { border: 1px solid var(--rec); background: var(--rec); color: #16100b; }
.cs-day { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); }
.cs-cell.on .cs-day { color: var(--ink); }
.cs-neednick {
  width: 100%; border: 1px dashed var(--line); border-radius: var(--radius-btn);
  background: var(--bg-soft); color: var(--ink-dim); padding: 14px;
  font-size: 13px; transition: all 160ms var(--ease);
}
.cs-neednick:hover { border-color: var(--rec); color: var(--rec); }

/* ---------- 小红书式瀑布流 ---------- */
.masonry { columns: 5; column-gap: 14px; }
.mcard {
  break-inside: avoid; margin-bottom: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden; cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.mcard:hover { transform: translateY(-3px); border-color: var(--rec); }
.mcard-cover { position: relative; background: #14141b; overflow: hidden; }
.mcard-cover.r34 { aspect-ratio: 3 / 4; }
.mcard-cover.r45 { aspect-ratio: 4 / 5; }
.mcard-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcard-body { padding: 10px 12px 12px; }
.mcard-title {
  font-size: 13.5px; font-weight: 700; line-height: 1.45; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mcard-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-dim); flex-wrap: wrap; }
.mcard-ind {
  font-family: var(--font-mono); font-size: 10.5px;
  border: 1px solid var(--line); border-radius: 4px; padding: 0 5px;
  color: var(--mark); white-space: nowrap;
}
.mcard-stat { display: inline-flex; align-items: center; gap: 3px; }
.mcard-stat svg { width: 11px; height: 11px; }
.empty-masonry { column-span: all; }
.skeleton-m { aspect-ratio: 3 / 4; max-height: none; }

/* ---------- 待拍摄 ---------- */
.want-list, .pub-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.want-card {
  display: flex; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 12px 14px;
  transition: border-color 180ms var(--ease);
}
.want-card:hover { border-color: var(--rec); }
.want-cover {
  width: 74px; aspect-ratio: 9 / 16; flex: none;
  border-radius: var(--radius-btn); overflow: hidden; position: relative; background: #14141b;
}
.want-cover img { width: 100%; height: 100%; object-fit: cover; }
.want-cover .cover-fallback { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-dim); }
.want-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.want-title { font-weight: 700; font-size: 14px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.want-meta { font-size: 12px; color: var(--ink-dim); margin: 4px 0 8px; }
.want-note { font-size: 12px; color: var(--mark); margin-bottom: 8px; }
.want-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; justify-content: flex-end; }
.want-brief { font-size: 12.5px; color: var(--ink-dim); line-height: 1.55; margin: 6px 0 8px; }

/* 待拍摄 · 爆款条目（来自「添加进待拍摄」） */
.hot-want-card { align-items: center; }
.hot-want-cover {
  width: 66px; aspect-ratio: 3 / 4; flex: none;
  border-radius: var(--radius-btn);
  background: rgba(255, 176, 32, 0.1); border: 1px solid rgba(255, 176, 32, 0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hot-want-flame { color: var(--rec); line-height: 1; }
.hot-want-flame svg { width: 22px; height: 22px; }
.hot-want-no { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--ink); }

/* ---------- 待发布 ---------- */
.pub-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 15px 18px;
  transition: border-color 180ms var(--ease);
}
.pub-card:hover { border-color: var(--rec); }
.pub-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pub-title { font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.pub-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-dim); margin: 8px 0 10px; }
.pub-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pub-preview {
  font-size: 13px; color: #d9d4c8; line-height: 1.65;
  background: var(--bg-soft); border-left: 3px solid var(--rec);
  padding: 8px 12px; border-radius: 0 var(--radius-tag) var(--radius-tag) 0;
  margin-bottom: 12px;
}
.pub-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status-pill.on { color: var(--green); background: rgba(62, 207, 142, 0.1); border: 1px solid rgba(62, 207, 142, 0.3); }
.status-pill.warn { color: var(--mark); background: rgba(255, 176, 32, 0.08); border: 1px solid rgba(255, 176, 32, 0.3); }

/* ---------- 我的 ---------- */
.me-grid { display: grid; gap: 14px; max-width: 780px; }
.me-card .panel-title svg { color: var(--rec); }
.me-nick-row { display: flex; gap: 10px; }
.me-nick-row .input { flex: 1; }
.ci-item { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.ci-item:last-child { border-bottom: none; }
.ci-item .ci-date { flex: none; }
.ci-item .ci-content { flex: 1; min-width: 0; }
.ci-item .ci-mood { flex: none; }
.me-gen-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px dashed var(--line); cursor: pointer;
}
.me-gen-row:last-child { border-bottom: none; }
.me-gen-row:hover .me-gen-title { color: var(--rec); }
.me-gen-title { font-size: 13.5px; }

/* ---------- 生成方案弹窗 ---------- */
.gen-ref {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-btn); padding: 10px 12px; font-size: 13px;
}
.gen-ref svg { color: var(--rec); flex: none; }
.gen-form .stream-box { margin-top: 14px; max-height: 340px; min-height: 120px; }
.md-view { font-size: 13.5px; line-height: 1.8; }
.md-view h2 { font-size: 17px; color: var(--rec); margin: 14px 0 8px; }
.md-view h3 { font-size: 15px; color: var(--mark); margin: 12px 0 6px; }
.md-view h4 { font-size: 14px; margin: 10px 0 6px; }
.md-view p { margin: 7px 0; color: #d9d4c8; }
.md-view ul, .md-view ol { margin: 8px 0 8px 22px; color: #d9d4c8; }
.md-view li { margin: 4px 0; }
.md-view strong { color: var(--ink); }

/* ---------- 轮播配置（管理端） ---------- */
.banner-admin-list { display: flex; flex-direction: column; gap: 10px; }
.banner-admin-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 10px 14px;
}
.banner-admin-thumb {
  width: 128px; aspect-ratio: 16 / 9; flex: none;
  object-fit: cover; border-radius: var(--radius-tag); border: 1px solid var(--line);
}
.banner-admin-info { flex: 1; min-width: 0; }
.banner-admin-info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.dropzone-img { padding: 28px 20px; }
.upload-preview-img { flex-direction: column; }
.upload-preview-img img { width: 240px; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 补充按钮规格 ---------- */
.btn-accent { background: var(--mark); color: #16100b; font-weight: 700; }
.btn-accent:hover { filter: brightness(1.08); }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: var(--radius-tag); gap: 5px; }

/* ---------- 筛选条微改 ---------- */
.filterbar-flat { margin-bottom: 16px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { flex: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .masonry { columns: 4; }
}
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .checkin-layout, .gen-layout { grid-template-columns: 1fr; }
  .masonry { columns: 3; }
}
@media (max-width: 720px) {
  .view { padding: 14px 12px 48px; }
  .view.with-tabbar { padding-bottom: 84px; }
  .topbar { padding: 0 12px; }
  .brand-sub { display: none; }
  .brand-text { font-size: 15px; }
  .nav-switch a { padding: 5px 14px; font-size: 12.5px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .masonry { columns: 2; column-gap: 10px; }
  .mcard { margin-bottom: 10px; }
  .mcard-body { padding: 8px 10px 10px; }
  .mcard-title { font-size: 12.5px; }
  .detail-wrap { grid-template-columns: 1fr; }
  .modal.detail-modal {
    display: flex; flex-direction: column;
    padding: 0; overflow: hidden;
  }
  .detail-modal .modal-body { flex: 1; min-height: 0; overflow-y: auto; }
  .detail-modal .detail-actions {
    flex: none;
    border-top: 1px solid var(--line);
    background: var(--card);
    margin: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  }
  .detail-modal .detail-actions .btn {
    font-size: 13px; white-space: nowrap; padding: 11px 8px;
  }
  .detail-player { max-width: 300px; margin: 0 auto; }
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 23px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .page-head h1 { font-size: 20px; }
  .want-cover { width: 60px; }
  .modal-mask { padding: 12px; }
  .modal-body { padding: 16px; }
  .cs-cells { gap: 5px; }
  .banner-admin-thumb { width: 96px; }
  .table-wrap { overflow-x: auto; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .vcard-cover { max-height: 380px; }
  .cs-week { font-size: 10px; }
  .cs-dot { width: 18px; height: 18px; }
}

/* ---------- 素材卡标签行 ---------- */
.mcard-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.mcard-tag {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--mark);
  background: rgba(255, 176, 32, 0.08); border: 1px solid rgba(255, 176, 32, 0.28);
  border-radius: 6px; padding: 2px 7px;
}

/* ---------- 文案折叠 ---------- */
.script-box.collapsed { max-height: 132px; overflow: hidden; position: relative; }
.script-box.collapsed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  background: linear-gradient(transparent, var(--bg-soft));
}
.script-toggle {
  display: block; margin: 0 auto 12px; background: none; border: none; cursor: pointer;
  color: var(--rec); font-size: 12.5px; padding: 0; font-weight: 700;
}

/* ---------- 本周上新月标 / 详情按钮 / 平台分栏 ---------- */
.new-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  transform: scale(0.72); transform-origin: top left;
  background: var(--rec); color: #101014;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; letter-spacing: 0.5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
/* 爆款角标：卡片封面右上角，REC 橙实底 + 火焰，与上新/专属同规格（左上角）区分开用右上角 */
.hot-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  transform: scale(0.72); transform-origin: top right;
  background: var(--rec); color: #101014;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; letter-spacing: 0.5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.detail-meta .hot-badge {
  position: static; transform: none; display: inline-block; margin-right: 2px;
}
.d-btn-row { display: flex; gap: 12px; }
.d-btn-row .btn { flex: 1; }
.d-btn-col { display: grid; gap: 10px; }
.btn-locked { position: relative; opacity: 0.55; }
.lock-corn {
  position: absolute; top: -11px; left: -11px; z-index: 3;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--rec); color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 92, 26, 0.35), 0 2px 8px rgba(0, 0, 0, 0.5);
}
.lock-corn svg { width: 12px; height: 12px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.plan-platforms { display: flex; gap: 8px; margin: 12px 0 14px; }
.plan-tab {
  flex: 1; padding: 8px 0; border: 1px solid var(--line); background: transparent;
  color: var(--ink-dim); border-radius: 8px; cursor: pointer; font-size: 13px;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.plan-tab.on { background: var(--rec); border-color: var(--rec); color: #101014; font-weight: 700; }
/* 三平台 tab 配色：视频号=渲染绿 / 抖音=REC 橙 / 小红书=标记黄 */
.plan-tab.sp-shipinhao.on { background: var(--green); border-color: var(--green); }
.plan-tab.sp-douyin.on { background: var(--rec); border-color: var(--rec); }
.plan-tab.sp-xiaohongshu.on { background: var(--mark); border-color: var(--mark); }
.plan-tab.sp-shipinhao:not(.on):hover { border-color: var(--green); color: var(--green); }
.plan-tab.sp-douyin:not(.on):hover { border-color: var(--rec); color: var(--rec); }
.plan-tab.sp-xiaohongshu:not(.on):hover { border-color: var(--mark); color: var(--mark); }
.plan-box.copied { border-color: var(--green, #3ECF8E); }
.plan-box-copy:disabled { opacity: 0.6; cursor: default; }
.pub-platform { margin-bottom: 14px; }
.pub-platform-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin: 4px 0 8px; flex-wrap: wrap;
}
.pub-platform-name {
  font-family: var(--font-mono); font-size: 11px; color: var(--mark);
  letter-spacing: 1px; margin: 0; display: flex; align-items: center; gap: 8px; flex: 1;
}
.pub-platform-name::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* 三平台发布模块配色：视频号=渲染绿 / 抖音=REC 橙 / 小红书=标记黄 */
.pub-platform { border-left: 3px solid var(--line); padding-left: 10px; transition: border-color 180ms var(--ease); }
.pub-platform.sp-shipinhao { border-left-color: var(--green); }
.pub-platform.sp-douyin { border-left-color: var(--rec); }
.pub-platform.sp-xiaohongshu { border-left-color: var(--mark); }
.pub-platform.sp-shipinhao .pub-platform-name { color: var(--green); }
.pub-platform.sp-douyin .pub-platform-name { color: var(--rec); }
.pub-platform.sp-xiaohongshu .pub-platform-name { color: var(--mark); }
.pub-platform.sp-shipinhao .plan-box-head { background: rgba(62, 207, 142, 0.06); }
.pub-platform.sp-douyin .plan-box-head { background: rgba(255, 92, 26, 0.06); }
.pub-platform.sp-xiaohongshu .plan-box-head { background: rgba(255, 176, 32, 0.06); }
.pub-platform.sp-shipinhao .plan-box:first-child { border-top-color: rgba(62, 207, 142, 0.35); }
.pub-platform.sp-douyin .plan-box:first-child { border-top-color: rgba(255, 92, 26, 0.35); }
.pub-platform.sp-xiaohongshu .plan-box:first-child { border-top-color: rgba(255, 176, 32, 0.35); }
/* 编辑弹窗爆款切换激活态 */
#e-hot .seg-btn.hot-on { background: var(--rec); border-color: var(--rec); color: #101014; font-weight: 700; }

/* ---------- 发布方案弹窗（分框复制） ---------- */
.plan-modal { max-width: 560px; }
.plan-note { font-size: 12.5px; color: var(--ink-dim); margin-bottom: 12px; }
.plan-boxes { display: grid; gap: 12px; margin-bottom: 14px; }
.plan-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-btn); overflow: hidden; }
.plan-box-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 92, 26, 0.05);
}
.plan-box-label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--mark); }
.plan-box-copy {
  background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-dim);
  font-size: 11.5px; padding: 3px 10px; cursor: pointer; transition: border-color .18s, color .18s;
}
.plan-box-copy:hover { border-color: var(--rec); color: var(--rec); }
.plan-box-body {
  padding: 12px 14px; font-size: 13.5px; line-height: 1.8; white-space: pre-wrap;
  color: #d9d4c8; max-height: 220px; overflow-y: auto;
}
.plan-box-body.pending { color: var(--ink-dim); font-style: italic; }
.plan-actions { display: flex; justify-content: flex-end; }

/* ---------- 左滑删除 ---------- */
.swipe-item { position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.swipe-content { position: relative; z-index: 1; transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); touch-action: pan-y; }
.swipe-content > * { margin-bottom: 0; }
.swipe-actions { position: absolute; inset: 0; display: flex; justify-content: flex-end; z-index: 0; }
.swipe-del {
  width: 84px; border: none; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer; letter-spacing: 1px;
}

/* ---------- 我的页：会员 / IP 定位 ---------- */
.me-member { display: flex; align-items: center; gap: 14px; }
.me-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 92, 26, 0.12); border: 1px solid rgba(255, 92, 26, 0.4);
  color: var(--rec); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
}
.me-member-info { flex: 1; min-width: 0; }
.me-member-no { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.me-member-name { font-size: 16.5px; font-weight: 900; }
.me-member-sub { font-size: 12px; color: var(--ink-dim); margin-top: 3px; font-family: var(--font-mono); }
.login-form { max-width: 340px; }
.ip-summary { display: grid; gap: 8px; }
.ip-summary-row { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.6; }
.ip-summary-row > span:first-child { color: var(--ink-dim); flex-shrink: 0; min-width: 70px; }
.ip-summary-row > span:last-child { color: var(--ink); }
.ip-lock-tip {
  border: 1px dashed rgba(255, 176, 32, 0.35); border-radius: var(--radius-btn);
  background: rgba(255, 176, 32, 0.05); padding: 12px 14px; margin-bottom: 14px;
  font-size: 13px; color: var(--mark); line-height: 1.7;
}

/* ---------- 打卡计划三态格子 ---------- */
.cs-cell.planned { border-color: rgba(255, 176, 32, 0.55); }
.cs-cell.planned .cs-dot { border: 1px solid var(--mark); }
.cs-cell.unplanned { border-style: dashed; opacity: 0.75; }

/* ---------- 打卡计划编辑器 ---------- */
.plan-edit-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 14px; }
.plan-edit-cell {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 2px; border: 1px dashed var(--line); border-radius: var(--radius-btn);
  background: var(--bg-soft); cursor: pointer; color: var(--ink-dim);
  transition: all 160ms var(--ease);
}
.plan-edit-cell.on {
  border: 1px solid var(--mark); background: rgba(255, 176, 32, 0.1); color: var(--ink);
}
.plan-edit-cell.today { box-shadow: inset 0 -2px 0 var(--rec); }
.plan-edit-week { font-size: 11px; }
.plan-edit-day { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.plan-edit-actions { display: flex; gap: 10px; margin-bottom: 12px; }
.plan-edit-actions .btn { flex: 1; }

/* ---------- 积分卡片 / 积分条 ---------- */
.points-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.points-main { display: flex; align-items: baseline; gap: 8px; }
.points-num { font-family: var(--font-num); font-size: 34px; font-weight: 700; color: var(--mark); line-height: 1; }
.points-label { font-size: 12px; color: var(--ink-dim); }
.points-pending {
  font-size: 11.5px; color: var(--mark); border: 1px solid rgba(255, 176, 32, 0.4);
  border-radius: 999px; padding: 3px 10px; background: rgba(255, 176, 32, 0.07);
}
.points-pill {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--card); padding: 10px 14px; margin-bottom: 14px;
}
.points-pill-num { font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--mark); }
.points-pill-label { font-size: 12px; color: var(--ink-dim); }
.points-pill-pending {
  font-size: 11px; color: var(--mark); border: 1px solid rgba(255, 176, 32, 0.4);
  border-radius: 999px; padding: 2px 8px;
}
.points-pill-hint { margin-left: auto; font-size: 11.5px; color: var(--ink-dim); }

/* ---------- 专属角标 ---------- */
.ex-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  transform: scale(0.72); transform-origin: top left;
  background: var(--mark); color: #101014;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; letter-spacing: 0.5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

/* ---------- 已发布日期分组 ---------- */
.pub-date-group { margin-bottom: 16px; }
.pub-date-head {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer; padding: 6px 2px; margin-bottom: 10px;
  color: var(--ink);
}
.pub-date-label { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; }
.pub-date-count { font-size: 11.5px; color: var(--ink-dim); }
.pub-date-arrow { margin-left: auto; color: var(--ink-dim); display: flex; transition: transform 180ms var(--ease); }
.pub-date-group.folded .pub-date-arrow { transform: rotate(-90deg); }
.pub-date-group.folded .pub-date-body { display: none; }

/* ---------- 爆款页 ---------- */
.hot-tabs { display: flex; gap: 8px; }
.hot-tab { flex: 1; padding: 8px 10px; font-size: 12.5px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-dim); cursor: pointer;
  transition: all 180ms var(--ease); font-weight: 600; }
.hot-tab:hover { border-color: var(--rec); color: var(--ink); }
.hot-tab.on { background: var(--rec); border-color: var(--rec); color: #101014; }
.hot-tab.on .tab-cnt { background: rgba(16,16,20,0.28); color: #101014; }
.tab-cnt { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px;
  font-size: 10.5px; line-height: 18px; background: var(--line); color: var(--ink-dim); font-family: var(--font-mono); }

.hot-list { display: grid; gap: 12px; }
.hot-card {
  position: relative;
  display: flex; gap: 14px; align-items: stretch;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 14px; cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.hot-card:hover { transform: translateY(-2px); border-color: var(--rec); }
.hot-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.hot-card-title { font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.hot-card-reason { font-size: 12px; line-height: 1.65; color: var(--ink-dim); }
.hot-card-reason .mark { color: var(--mark); font-weight: 700; margin-right: 4px; }
.hot-card-brief { font-size: 12.5px; color: var(--ink-dim); line-height: 1.6; }
.hot-card-side {
  flex: none; width: 40px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px;
  padding-top: 2px;
}
.hot-demo-vert {
  writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 1px;
  font-family: var(--font-num); font-size: 10px; font-weight: 700; color: var(--mark);
  background: rgba(255,176,32,0.12); border: 1px solid rgba(255,176,32,0.45);
  border-radius: 5px; padding: 3px 3px; line-height: 1.1; white-space: nowrap;
}
.hot-card-mid {
  flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-left: 2px solid var(--mark); padding: 0 6px;
}
.hot-fav-btn {
  flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 50%; color: var(--ink-dim); cursor: pointer;
  transition: all 160ms var(--ease);
}
.hot-card:hover .hot-fav-btn { border-color: var(--mark); color: var(--mark); }
.hot-fav-btn:hover { transform: scale(1.12); border-color: var(--mark); color: var(--mark); }
.hot-fav-btn.on { color: var(--mark); border-color: var(--mark); background: rgba(255,176,32,0.12); }
.hot-index { display: flex; align-items: center; gap: 4px; color: var(--rec); }
.hot-index svg { width: 16px; height: 16px; }
.hot-index-num { font-family: var(--font-num); font-size: 22px; font-weight: 700; }
.hot-index-label { font-size: 10.5px; color: var(--ink-dim); }
.hot-demo-badge {
  margin-top: 4px; font-size: 10px; font-weight: 700; color: var(--mark);
  border: 1px solid rgba(255,176,32,0.5); background: rgba(255,176,32,0.1);
  border-radius: 999px; padding: 2px 7px; white-space: nowrap; letter-spacing: 0.5px;
}
.hot-has-video {
  margin-top: 4px; font-size: 10px; color: var(--green);
  border: 1px solid rgba(62, 207, 142, 0.4); border-radius: 999px; padding: 2px 7px;
}
.hot-index-lg svg { width: 20px; height: 20px; }
.hot-index-lg .hot-index-num { font-size: 30px; }
.hot-detail-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.hot-detail-title { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0 0 12px; }
.hot-video { margin: 0 auto 14px; text-align: center; }
.hot-video video {
  width: 200px; max-width: 70%; max-height: 380px; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: #000; display: block; margin: 0 auto;
}
.hot-video-label { font-size: 11px; color: var(--ink-dim); text-align: center; margin-top: 6px; font-family: var(--font-mono); }

/* ---------- 管理端 · 定向推送 ---------- */
.target-list { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; }
.target-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  border: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius-btn);
  padding: 10px 12px; cursor: pointer; text-align: left; color: var(--ink);
  transition: all 160ms var(--ease);
}
.target-item:hover { border-color: var(--rec); }
.target-item.on { border-color: var(--mark); background: rgba(255, 176, 32, 0.08); }
.target-item-name { font-weight: 700; font-size: 13.5px; }

/* ===== IP 定位 AI 完整度评分 ===== */
.ip-ai-row { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; flex-wrap: wrap; }
.ip-score-chip { font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; background: rgba(255, 176, 32, 0.1); color: var(--mark); border: 1px solid rgba(255, 176, 32, 0.45); }
.ip-score-chip.on { color: var(--green); border-color: var(--green); background: rgba(62, 207, 142, 0.1); }
.ip-score-chip.low { color: var(--red); border-color: var(--red); background: rgba(255, 77, 79, 0.08); }
.ip-score-modal .ip-score-big { text-align: center; margin: 6px 0 2px; }
.ip-score-num { font-family: var(--font-mono); font-size: 64px; font-weight: 700; line-height: 1; }
.ip-score-num.on { color: var(--green); }
.ip-score-num.mid { color: var(--mark); }
.ip-score-num.low { color: var(--red); }
.ip-score-unit { font-size: 18px; color: var(--muted); margin-left: 6px; }
.ip-advice-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ip-advice-item { background: rgba(255, 176, 32, 0.06); border: 1px solid rgba(255, 176, 32, 0.25); border-radius: 8px; padding: 10px 12px; }
.ip-advice-title { font-size: 13px; font-weight: 700; color: var(--mark); margin-bottom: 3px; }
.ip-advice-txt { font-size: 12.5px; line-height: 1.7; color: var(--text-dim); }
.ip-advice-foot { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px; }

/* ===== 管理端筛选标签：高亮 / 置灰切换（统一 UI，无眼睛图标） ===== */
.tags-admin-item .chip-toggle { font-family: inherit; line-height: 1.4; cursor: pointer; user-select: none; }
.tags-admin-item .chip-toggle:hover { opacity: 0.85; border-color: var(--ink-dim); }
.tags-admin-item .chip.off,
.tags-admin-item .chip-toggle.off {
  background: var(--bg-soft); border-color: var(--line); color: var(--muted);
  font-weight: 400; opacity: 0.68; text-decoration: line-through;
}
.tag-hidden-tip { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.tags-admin-item.tag-hidden-row { background: rgba(127, 127, 127, 0.04); }

/* ===== 爆款管理详情：爆款理由橙色高亮 ===== */
.hot-reason-panel {
  margin-top: 12px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255, 92, 26, 0.08);
  border: 1px solid rgba(255, 92, 26, 0.45);
  border-left: 4px solid var(--rec);
}
.hot-reason-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--rec); margin-bottom: 6px;
}
.hot-reason-txt { font-size: 13.5px; line-height: 1.75; color: var(--ink); }

/* ===== 打卡模块骨架（固定结构，数据后填不跳动） ===== */
.cs-cell.sk { background: var(--bg-soft); border-color: var(--line); }
.cs-cell.sk .cs-week, .cs-cell.sk .cs-day { color: transparent; }
.cs-cell.sk .cs-dot { display: none; }
.cs-cells .cs-cell.sk { animation: csPulse 1.6s ease-in-out infinite; }
@keyframes csPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ===== 首页弹窗：竖屏 9:16 纯图（左上倒计时 / 右上关闭） ===== */
.hp-img-mask {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(0, 0, 0, 0.3);
  display: flex; align-items: center; justify-content: center;
  animation: hpIn 0.22s ease;
}
@keyframes hpIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.hp-img-card {
  position: relative;
  width: min(63vw, 281px);
  aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}
.hp-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-img-dot {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  font: 600 12px/1 var(--font-mono); padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.5px; pointer-events: none;
}
.hp-img-close {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.hp-img-close:hover { background: rgba(0, 0, 0, 0.8); }

/* ===== 首页弹窗管理端：关闭按钮更大点击区 / 竖屏 9:16 预览 ===== */
.hp-img-close { width: 36px; height: 36px; font-size: 20px; }
.upload-preview-916 {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 138px; aspect-ratio: 9 / 16;
  background: var(--bg); border: 1px dashed var(--line); border-radius: 10px;
  overflow: hidden; padding: 0; position: relative;
}
.upload-preview-916 img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0;
}
.upload-preview-916 .btn {
  position: static; z-index: auto; margin: 0; box-shadow: none;
}
/* 图片预览框 + 右侧操作按钮水平布局 */
.hp-preview-row {
  display: flex; align-items: center; gap: 14px;
}

/* ========== 管理端手机端适配（移动后台） ========== */
@media (max-width: 720px) {
  /* 上传页两栏 → 单栏（内联 grid 需 !important 覆盖） */
  .gen-layout { grid-template-columns: 1fr !important; gap: 12px; }

  /* 6 个后台 tab 一行横滑，不换行堆叠 */
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 14px; }
  .admin-tabs::-webkit-scrollbar { display: none; }
  .admin-tab { flex: none; font-size: 12.5px; padding: 7px 11px; }

  /* 顶栏：手机只留品牌与退出，隐藏用户名避免挤压 */
  .admin-user-name { display: none; }

  /* 弹窗贴近屏幕 */
  .modal-mask { padding: 10px; }
  .modal { max-width: 100%; max-height: 92vh; }
  .modal-head { padding: 12px 14px; }
  .modal-title { font-size: 14.5px; }

  /* 概览统计卡紧凑 */
  .stat-cards { gap: 10px; margin-bottom: 14px; }
  .stat-card { padding: 12px; }
  .stat-num { font-size: 22px; }

  /* 面板更紧凑 */
  .panel { padding: 14px; }
  .panel-title { font-size: 13.5px; margin-bottom: 10px; }

  /* 首页配置三面板内部元素紧凑化 */
  .split-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .tags-admin-item { flex-wrap: wrap; }
  .tag-add-row { flex-wrap: wrap; gap: 8px; }

  /* 分段选择/按钮组允许换行 */
  .seg { flex-wrap: wrap; }
  .row-actions { gap: 5px; }

  /* 素材管理操作行允许换行 */
  .mt-toolbar, .list-actions, .filter-row { flex-wrap: wrap; gap: 8px; }

  /* 表格字体略小，横向滚动游标更窄 */
  .table-wrap { font-size: 12px; }
  .table-wrap th, .table-wrap td { padding: 8px 10px; }

  /* 轮播配置项：缩略图+信息更紧凑 */
  .banner-admin-item { gap: 10px; }
  .banner-admin-thumb { width: 88px; }
}
@media (max-width: 420px) {
  .stat-cards { grid-template-columns: 1fr; }
}
