:root {
  /* 品牌色：像素引擎橙（浅爽版）#fa9136 */
  --brand: #fa9136; --brand-2: #ffb978; --brand-soft: #fff5eb;
  --bg: #faf8f5; --card: #ffffff; --line: #f1ebe3;
  --ink: #1c1e2e; --ink-2: #4d5266; --ink-3: #8a90a6;
  --green: #16a34a; --green-soft: #e7f7ee;
  --orange: #d97706; --orange-soft: #fdf1e0;
  --red: #dc2626; --red-soft: #fdeaea;
  --purple: #7c3aed; --purple-soft: #f1eafd;
  --blue: #2563eb; --blue-soft: #e8effd;
  --gray-soft: #f0ede8;
  --shadow: 0 1px 2px rgba(28,30,46,.05), 0 8px 24px -12px rgba(28,30,46,.12);
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 14px; }
a { color: var(--brand); text-decoration: none; }

/* ============ 登录页 ============ */
.login-wrap { display: flex; min-height: 100vh; }
.login-hero {
  flex: 0 0 70%; padding: 56px 64px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #f79d4f 0%, #fabf7a 48%, #ffe4c7 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  text-shadow: 0 1px 2px rgba(80,40,0,.12);
}
.login-panel { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.hero-brand { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hero-logo { width: 124px; height: auto; opacity: .96; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(120,50,0,.18)); margin-top: 4px; }
.slogan { font-size: 16px; font-weight: 600; opacity: .95; letter-spacing: .5px; font-style: italic; }
.login-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255,255,255,.14);
}
.login-hero::before {
  content: ""; position: absolute; right: 80px; bottom: -160px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255,255,255,.10);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.brand-text-only { font-size: 24px; font-weight: 700; letter-spacing: .5px; line-height: 1.25; }
.brand-badge { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; font-size: 20px; }
.hero-title { font-size: 34px; font-weight: 700; line-height: 1.35; margin: 40px 0 14px; }
.hero-sub { font-size: 15px; opacity: .82; max-width: 460px; }
.hero-flow { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; position: relative; z-index: 1; }
.hero-step { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px);
  padding: 12px 16px; border-radius: 12px; max-width: 430px; font-size: 13.5px; }
.hero-step b { font-weight: 600; }
.hero-num { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; position: relative; z-index: 1; }
.culture-card { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
  padding: 16px; border-radius: 14px; }
.culture-card .culture-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.culture-card .culture-text { font-size: 13px; opacity: .9; line-height: 1.55; }
@media (max-width: 1100px) { .culture-grid { grid-template-columns: 1fr; } }
.login-card { width: 400px; max-width: 100%; }
.login-card h2 { font-size: 24px; margin-bottom: 6px; }
.login-card .sub { color: var(--ink-3); margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: all .15s; border: 1.5px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; width: 100%; padding: 12px; }
.btn-primary:hover { background: #e88820; }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(.93); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(.93); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.login-err { background: var(--red-soft); color: var(--red); padding: 10px 14px;
  border-radius: 10px; font-size: 13px; margin-bottom: 16px; }

/* ============ 主框架 ============ */
.layout { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.sidebar .brand { color: var(--ink); padding: 22px 18px; font-size: 17px; line-height: 1.25; white-space: normal; }
.sidebar .brand-badge { background: var(--brand); color: #fff; width: 34px; height: 34px; font-size: 17px; }
.nav { padding: 8px 12px; flex: 1; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; margin-bottom: 2px; transition: all .12s; width: 100%; text-align: left; }
.nav-item:hover { background: var(--gray-soft); }
.nav-item.active { background: var(--brand-soft); color: var(--brand); }
.nav-item .count { margin-left: auto; background: var(--gray-soft); color: var(--ink-3);
  font-size: 12px; padding: 1px 8px; border-radius: 999px; font-weight: 600; }
.nav-item.active .count { background: #fff; color: var(--brand); }
.side-user { border-top: 1px solid var(--line); padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.side-user .name { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.side-user .role { font-size: 12px; color: var(--ink-3); }
.logout { margin-left: auto; color: var(--ink-3); font-size: 12.5px; padding: 4px 8px; border-radius: 6px; }
.logout:hover { color: var(--red); background: var(--red-soft); }
.main { flex: 1; padding: 28px 36px; position: relative; min-width: 0; }
.main-inner { position: relative; z-index: 1; }
.page-watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 0; overflow: hidden; }
.page-watermark img { width: 92%; max-width: 1100px; opacity: .05; transform: scale(1.4); transform-origin: center; }
.page-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.page-head h1 { font-size: 22px; }
.page-head .hint { color: var(--ink-3); font-size: 13px; }

/* ============ 卡片 / 表格 ============ */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { padding: 18px; }
.stat-card .num { font-size: 30px; font-weight: 700; line-height: 1.2; }
.stat-card .label { color: var(--ink-3); font-size: 13px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.video-card { padding: 16px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all .15s; }
.video-card:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.video-card .v-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.video-card .v-main { flex: 1; min-width: 0; }
.video-card .v-title { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-card .v-meta { color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.video-card .v-right { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-blue { background: var(--blue-soft); color: var(--blue); }
.b-orange { background: var(--orange-soft); color: var(--orange); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-purple { background: var(--purple-soft); color: var(--purple); }
.b-green { background: var(--green-soft); color: var(--green); }
.b-gray { background: var(--gray-soft); color: var(--ink-3); }
.b-my { background: var(--brand-soft); color: var(--brand); }
.b-taken { background: var(--orange-soft); color: var(--orange); }
.empty { text-align: center; padding: 70px 20px; color: var(--ink-3); }
.empty .ico { font-size: 40px; margin-bottom: 10px; }

/* ============ 上传 ============ */
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.drop-zone { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 24px;
  text-align: center; color: var(--ink-3); transition: all .15s; cursor: pointer; background: #fbfbfe; }
.drop-zone:hover, .drop-zone.drag { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.drop-zone .big { font-size: 34px; margin-bottom: 8px; }
.drop-zone.has-file { border-style: solid; border-color: var(--green); color: var(--ink); background: var(--green-soft); }
.progress { height: 8px; border-radius: 999px; background: var(--gray-soft); overflow: hidden; margin-top: 14px; }
.progress > div { height: 100%; background: var(--brand); border-radius: 999px; transition: width .2s; }
.form-col textarea { min-height: 96px; resize: vertical; }

/* ============ 详情页 ============ */
.detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-head h1 { font-size: 21px; margin-right: 4px; }
.detail-head .spacer { flex: 1; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.player-box { overflow: hidden; }
.player-box video, .player-box audio { width: 100%; display: block; background: #000; aspect-ratio: 16/9; }
.player-meta { padding: 14px 18px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
.brief-box { padding: 14px 18px; font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; }
.section-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.timeline { display: flex; flex-direction: column; gap: 16px; }
.ver-card { overflow: hidden; }
.ver-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: #fafbff; border-bottom: 1px solid var(--line); }
.ver-head .vtag { background: var(--brand); color: #fff; font-weight: 700; font-size: 12.5px;
  padding: 2px 10px; border-radius: 8px; }
.ver-head .time { color: var(--ink-3); font-size: 12.5px; margin-left: auto; }
.ver-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.ai-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: linear-gradient(180deg, #f8f9ff, #fff); }
.ai-box .ai-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ai-box .ai-top b { font-size: 14px; }
.ai-score { margin-left: auto; font-size: 24px; font-weight: 800; color: var(--brand); }
.demo-flag { font-size: 11.5px; background: var(--orange-soft); color: var(--orange); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.real-flag { font-size: 11.5px; background: var(--green-soft); color: var(--green); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.dim-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin-bottom: 5px; }
.dim-row .d-name { width: 64px; color: var(--ink-2); flex-shrink: 0; }
.dim-bar { flex: 1; height: 6px; background: var(--gray-soft); border-radius: 999px; overflow: hidden; }
.dim-bar > div { height: 100%; border-radius: 999px; background: var(--brand-2); }
.dim-row .d-val { width: 30px; text-align: right; color: var(--ink-2); font-weight: 600; }
.issue { display: flex; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 12.8px; margin-bottom: 7px; }
.issue .sev { font-weight: 700; font-size: 11px; padding: 1px 7px; border-radius: 6px; height: fit-content; flex-shrink: 0; margin-top: 2px; }
.issue.high { background: var(--red-soft); } .issue.high .sev { background: var(--red); color: #fff; }
.issue.mid { background: var(--orange-soft); } .issue.mid .sev { background: var(--orange); color: #fff; }
.issue.low { background: var(--gray-soft); } .issue.low .sev { background: var(--ink-3); color: #fff; }
.issue .i-cat { font-weight: 600; margin-right: 4px; }
.issue .i-sug { color: var(--ink-2); display: block; margin-top: 2px; }
.ai-summary { font-size: 13px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
.review-box { border-left: 3px solid var(--brand-2); background: #fafbff; border-radius: 0 10px 10px 0; padding: 12px 14px; }
.review-box .r-top { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 6px; flex-wrap: wrap; }
.review-box .r-comment { font-size: 13.5px; white-space: pre-wrap; }
.tag-chip { background: var(--gray-soft); color: var(--ink-2); font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }
.ver-note { font-size: 12.8px; color: var(--ink-2); background: var(--gray-soft); border-radius: 8px; padding: 8px 12px; }
.ai-pending { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 13px; padding: 12px 14px;
  background: var(--blue-soft); border-radius: 10px; }
.spinner { width: 15px; height: 15px; border: 2px solid var(--blue); border-top-color: transparent;
  border-radius: 50%; animation: spin 1s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-box-empty { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13px;
  padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--gray-soft); }


/* ============ 审核面板 ============ */
.review-panel { padding: 18px; position: sticky; top: 20px; }
.score-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.score-row input[type=range] { flex: 1; accent-color: var(--brand); }
.score-val { font-size: 22px; font-weight: 800; color: var(--brand); width: 44px; text-align: right; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag-opt { padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 12.5px; color: var(--ink-2); transition: all .12s; }
.tag-opt.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.decision-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.decision-row .btn { flex: 1; min-width: 100px; }
.notice { padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.notice.n-blue { background: var(--blue-soft); color: var(--blue); }
.notice.n-orange { background: var(--orange-soft); color: var(--orange); }
.notice.n-green { background: var(--green-soft); color: var(--green); }
.notice.n-red { background: var(--red-soft); color: var(--red); }

/* 最近动态 */
.feed { display: flex; flex-direction: column; gap: 10px; }
.feed-item { display: flex; gap: 10px; align-items: baseline; font-size: 13px; padding: 10px 14px; }
.feed-item .t { color: var(--ink-3); font-size: 12px; flex-shrink: 0; }
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 13.5px; z-index: 99; box-shadow: var(--shadow); animation: fadein .2s; }
@keyframes fadein { from { opacity: 0; transform: translate(-50%, -8px); } }

/* ---- 创作者通知：铃铛 + 面板 + Toast ---- */
.bell-wrap { position: relative; }
.bell { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bell:hover { border-color: var(--brand); background: var(--brand-soft); }
.bell-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.notif-panel { position: absolute; bottom: 46px; left: 0; width: 320px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 60; display: none; }
.notif-panel.open { display: block; animation: fadein .15s; }
.np-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px;
  border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; position: sticky; top: 0; background: #fff; }
.np-readall { color: var(--brand); font-size: 12.5px; background: none; border: none; cursor: pointer; }
.np-readall:hover { text-decoration: underline; }
.np-list { padding: 6px; }
.np-item { position: relative; padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.np-item:hover { background: var(--brand-soft); }
.np-item.np-unread { background: #fff7ed; }
.np-title { font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.np-meta { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.np-comment { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.45; white-space: pre-wrap; }
.np-dot { position: absolute; top: 12px; right: 12px; color: var(--red); font-size: 10px; }
.np-empty { padding: 26px; text-align: center; color: var(--ink-3); font-size: 13px; }
.notif-toast { top: auto; bottom: 24px; left: auto; right: 24px; transform: none; max-width: 340px; text-align: left;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: 12px 16px; cursor: pointer; }
.notif-toast:hover { box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.notif-toast .nt-title { font-size: 12.5px; color: var(--brand); font-weight: 700; margin-bottom: 4px; }
.notif-toast .nt-body { font-size: 13px; line-height: 1.45; color: var(--ink); }
.notif-toast .nt-hint { font-size: 11.5px; color: var(--ink-3); margin-top: 6px; }

@media (max-width: 980px) {
  .login-hero { display: none; }
  .detail-grid, .upload-grid { grid-template-columns: 1fr; }
  .sidebar { width: 72px; }
  .sidebar .brand span, .nav-item span:not(.count), .side-user .info, .logout { display: none; }
}

/* ============ v2：类型选择 / 图文网格 / 封面 / Lightbox ============ */
.type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin-bottom: 16px; }
.type-card { padding: 22px; text-align: center; cursor: pointer; border: 2px solid var(--line); transition: all .15s; }
.type-card:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.type-card.on { border-color: var(--brand); background: var(--brand-soft); }
.type-card .t-ico { font-size: 34px; margin-bottom: 6px; }
.type-card .t-name { font-size: 16px; font-weight: 700; }
.type-card .t-desc { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.cover-preview { max-width: 100%; max-height: 180px; border-radius: 10px; margin-bottom: 8px; }
.cover-show { width: 100%; display: block; cursor: zoom-in; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.img-grid-lg { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 0; }
.img-cell { position: relative; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; background: var(--gray-soft); border: 1px solid var(--line); }
.img-cell img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.img-cell .img-no { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.img-cell .first-flag { position: absolute; left: 6px; top: 6px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 6px; }
.img-cell .img-del { position: absolute; right: 5px; top: 5px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.img-cell .img-del:hover { background: var(--red); }
.lightbox { position: fixed; inset: 0; background: rgba(15,16,26,.82); z-index: 200;
  display: flex; align-items: center; justify-content: center; cursor: zoom-out; animation: fadein .15s; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.brief-box b { display: block; margin-bottom: 4px; }
code { background: var(--gray-soft); padding: 1px 6px; border-radius: 6px; font-size: 12px; }

/* ============ v3：板块审核工作区 / admin ============ */
.main-wide { max-width: 1800px; margin: 0 auto; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
/* 左侧媒体列自然铺开，不再卡视口高度：图片多时整页纵向滚动，所有板块（含标题文案、AI 建议）都能完整看到 */
.media-col { display: flex; flex-direction: column; gap: 16px; }
.media-col img { max-height: 75vh; width: 100%; object-fit: contain; display: block; border-radius: 10px; cursor: zoom-in; background: #f5f5f5; }
.media-col video { max-height: 75vh; width: 100%; object-fit: contain; background: #000; }
.items-col { display: flex; flex-direction: column; gap: 14px; }
.item-card { padding: 16px 18px; border-left: 3px solid var(--line); }
.item-card.item-bad { border-left-color: var(--red); }
.item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14.5px; }
.item-head .badge { margin-left: auto; }
.item-body { margin-bottom: 10px; }
.item-preview { max-width: 200px; max-height: 260px; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; display: block; }
.item-history { border-top: 1px dashed var(--line); padding-top: 10px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 7px; }
.h-row .h-tag { font-size: 12px; padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.h-row .h-ok { background: var(--green-soft); color: var(--green); }
.h-row .h-no { background: var(--red-soft); color: var(--red); }
.h-row .h-comment { font-size: 12.8px; color: var(--ink-2); margin-top: 3px; padding-left: 2px; white-space: pre-wrap; }
.item-passed { display: flex; align-items: center; gap: 10px; background: var(--green-soft); color: var(--green);
  font-size: 12.8px; font-weight: 600; padding: 9px 12px; border-radius: 10px; }
.item-passed .btn { margin-left: auto; }
.item-input { display: flex; flex-direction: column; gap: 8px; }
.item-input textarea { min-height: 56px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 13px; resize: vertical; outline: none; }
.item-input textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; width: fit-content; }
.seg-btn { padding: 6px 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); background: #fff; transition: all .12s; }
.seg-btn.on { background: var(--brand); color: #fff; }
.seg-btn.on[data-d=changes] { background: var(--red); }
.submit-bar { padding: 16px 18px; position: sticky; bottom: 16px; box-shadow: 0 -4px 24px -8px rgba(28,30,46,.15); z-index: 5; }
.slot-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.slot-card.slot-need { border-color: var(--red); background: #fffafa; }
.slot-card.slot-ok { border-color: #bbe5c8; background: #fbfefc; }
.slot-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.slot-head .badge { margin-left: auto; }
.slot-rev { font-size: 12.8px; color: var(--ink-2); margin-bottom: 8px; white-space: pre-wrap; }
/* 逐张图片上传槽位 */
.slot-pick { border: 2px dashed var(--line); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; transition: .15s; background: #fff; }
.slot-pick:hover { border-color: var(--brand); background: var(--brand-soft); }
.slot-pick .big { font-size: 26px; margin-bottom: 6px; }
.slot-pick .slot-hint { font-size: 12.8px; color: var(--ink-3); }
.slot-thumb-wrap { margin-bottom: 8px; }
.slot-thumb { max-width: 100%; max-height: 140px; border-radius: 8px; display: block; margin: 0 auto; background: #f5f5f5; }
.slot-x { margin-left: auto; border: none; background: #fdecec; color: var(--red); width: 22px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 12px; line-height: 1; }
.slot-x:hover { background: #f9d5d5; }
.slot-add { align-self: flex-start; margin-top: 2px; padding: 10px 16px; border: 1.5px dashed var(--brand); background: #fff; color: var(--brand); border-radius: var(--radius); cursor: pointer; font-size: 13.5px; font-weight: 600; }
.slot-add:hover { background: var(--brand-soft); }
/* 提交人显示 */
.v-submitter { font-size: 12.8px; color: var(--ink-2); margin-top: 3px; }
.v-submitter b { color: var(--brand); }
.v-account { color: var(--ink-2); }
.v-account b { color: #d97706; }
.detail-submitter { font-size: 13px; color: var(--ink-2); background: var(--brand-soft); border: 1px solid #e3e4fb; padding: 3px 10px; border-radius: 999px; align-self: center; }
.detail-submitter b { color: var(--brand); }
.detail-account { font-size: 13px; color: var(--ink-2); background: #fff7ed; border: 1px solid #fde6c2; padding: 3px 10px; border-radius: 999px; align-self: center; }
.detail-account b { color: #d97706; }
.detail-upload { font-size: 13px; color: var(--ink-2); background: var(--brand-soft); border: 1px solid #e3e4fb; padding: 3px 10px; border-radius: 999px; align-self: center; }
.detail-upload b { color: var(--brand); }
/* 查重提示横幅 */
.dup-banner { margin: 14px 0 0; padding: 12px 16px; background: #fef3e2; border: 1px solid #f6c87a; border-radius: 12px; }
.dup-title { font-weight: 700; color: #b45309; margin-bottom: 6px; }
.dup-item { font-size: 13.5px; color: #7c4a06; padding: 2px 0; }
.dup-item b { color: #92400e; }
.dup-link { display: inline-block; padding: 1px 8px; background: #fff; color: #b45309 !important; border: 1px solid #f6c87a; border-radius: 999px; text-decoration: none; font-size: 12.5px; margin-left: 4px; transition: background .15s; }
.dup-link:hover { background: #fde68a; }
/* 筛选条 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 16px; padding: 14px 16px; }
.filter-item { display: flex; flex-direction: column; gap: 4px; }
.filter-item label { font-size: 12px; color: var(--ink-3); }
.filter-item select, .filter-item input { padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 9px; font-size: 14px; min-width: 150px; background: #fff; }
.filter-bar .btn { height: 38px; }
/* 团队统计表 */
.stat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stat-table th { text-align: left; padding: 13px 18px; background: #fafbff; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line); }
.stat-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
.stat-table .totals-row td { background: #f5f6ff; font-weight: 600; border-top: 2px solid var(--line); }
/* 外网低码率代理片提示 */
.video-wrap { position: relative; }
.proxy-tip { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proxy-tip .btn { margin: 0; }
.drop-sm { padding: 18px 16px; }
.drop-sm .big { font-size: 22px; margin-bottom: 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; padding: 12px 16px; background: #fafbff; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: none; }
.tbl select { padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.stage-row { display: flex; align-items: center; gap: 10px; }
.stage-no { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.stage-row input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.stage-row select { flex: 1.4; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
@media (max-width: 1100px) { .review-layout { grid-template-columns: 1fr; } }
.item-info { font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }

/* ============ 图文项目：横向滚动多列布局 ============ */
.review-layout.image-review { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.rail-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rail-section-head .hint { color: var(--ink-3); font-size: 12.5px; }
.image-rail { width: 100%; overflow-x: auto; overflow-y: visible;
  scrollbar-width: thin; padding: 4px 6px 16px; margin: -4px -6px -16px; }
.image-rail::-webkit-scrollbar { height: 10px; }
.image-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.image-rail::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }
.image-rail-inner { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 16px; align-items: stretch; min-height: 1px; }
.rail-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rail-col .card { margin: 0; }
.rail-col .item-card { flex: 1; }
.rail-col img { max-height: 48vh; width: 100%; object-fit: contain; display: block; border-radius: 10px; cursor: zoom-in; background: #f5f5f5; }
.rail-col-copy { /* 与 image 列等宽；如有更多文案可适度放宽 */ }
.ai-wrap { width: 100%; }
@media (max-width: 1100px) {
  .image-rail-inner { grid-auto-columns: 86vw; }
}

/* ============ 品牌化：像素引擎 ============ */
.brand-logo { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.sidebar .brand-logo { width: 68px; height: 68px; }
.login-hero .brand-logo { width: 92px; height: 92px; }
.hero-foot { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.2); padding: 9px 14px; border-radius: 12px; width: fit-content;
  font-size: 12.5px; position: relative; z-index: 1; }
.foot-logo { height: 26px; width: auto; }
.side-company { padding: 0 14px 12px; font-size: 10.5px; color: var(--ink-3); line-height: 1.5; text-align: center; }

/* ============ 右下角快捷链接 ============ */
.footer-links { position: fixed; right: 18px; bottom: 16px; display: flex; gap: 9px; z-index: 60; max-width: 60vw; flex-wrap: wrap; justify-content: flex-end; }
.fl-item { background: var(--card); border: 1px solid var(--line); color: var(--ink-2); padding: 8px 16px; border-radius: 22px;
  font-size: 13px; font-weight: 500; box-shadow: var(--shadow); white-space: nowrap; transition: border-color .15s, color .15s, transform .15s; }
.fl-item:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

/* ============ 首次登录强制改密遮罩 ============ */
.force-pw-overlay { position: fixed; inset: 0; background: linear-gradient(150deg, #f79d4f 0%, #fabf7a 48%, #ffe4c7 100%);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.force-pw-card { width: 420px; max-width: 100%; background: #fff; border-radius: 18px; padding: 32px;
  box-shadow: 0 20px 60px -20px rgba(80,40,0,.35); }
.force-pw-card .brand { margin-bottom: 18px; color: var(--ink); }
.force-pw-card h2 { font-size: 22px; margin-bottom: 8px; }
.force-pw-card .sub { color: var(--ink-3); font-size: 13px; margin-bottom: 22px; }
.force-pw-err { color: var(--red); font-size: 13px; margin-top: 12px; min-height: 18px; }

/* ============ AI 模型接入 ============ */
.ai-model-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 10px; }
.ai-model-main { flex: 1; min-width: 0; }
.ai-model-name { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ai-model-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-model-ops { display: flex; gap: 8px; flex-shrink: 0; }
.tag { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-gray { background: var(--gray-soft); color: var(--ink-3); }

/* ============ 弹窗 ============ */
.modal-overlay { position: fixed; inset: 0; background: rgba(40,20,0,.4); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; z-index: 60; padding: 20px; }
.modal { width: 100%; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 24px 60px -20px rgba(80,40,0,.4); }
.modal h3 { font-size: 18px; }
