/* ============================================================
   AI电影（AIDianYing.cn）— 全站样式 · 科技感商业版
   深空暗色主题 + 霓虹渐变 + 毛玻璃质感
   ============================================================ */
:root {
  --bg: #070a14;
  --bg-2: #0c1120;
  --panel: rgba(18, 24, 44, 0.72);
  --panel-solid: #12182c;
  --panel-2: #1a2138;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ecf7;
  --text-dim: #97a1bd;
  --primary: #6d5efc;
  --primary-2: #a29bfe;
  --accent: #22d3ee;
  --accent-2: #ff6b9d;
  --gold: #ffc451;
  --danger: #f04d6a;
  --ok: #2dd4a7;
  --radius: 16px;
  --maxw: 1200px;
  --glow-primary: 0 8px 32px rgba(109, 94, 252, 0.45);
  --glow-accent: 0 8px 32px rgba(34, 211, 238, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 全站背景：星空 + 极光 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 40% at 78% 8%, rgba(109, 94, 252, 0.22), transparent 70%),
    radial-gradient(45% 38% at 12% 92%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(40% 30% at 60% 70%, rgba(255, 107, 157, 0.10), transparent 70%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 85%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 0.5em; font-weight: 800; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 0.8em; }
::selection { background: rgba(109, 94, 252, 0.4); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff;
  padding: 8px 14px; z-index: 99; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.hidden { display: none !important; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.22s ease;
  color: var(--text); background: rgba(26, 33, 56, 0.8); text-decoration: none;
  position: relative;
}
.btn:hover { transform: translateY(-2px); color: #fff; border-color: rgba(109, 94, 252, 0.6); box-shadow: var(--glow-primary); }
.btn-primary {
  background: linear-gradient(120deg, #6d5efc 0%, #8b7cff 50%, #22d3ee 120%);
  color: #fff; border: none;
  box-shadow: 0 6px 22px rgba(109, 94, 252, 0.45);
}
.btn-primary:hover { color: #fff; filter: brightness(1.12); box-shadow: 0 10px 34px rgba(109, 94, 252, 0.6); }
.btn-agent {
  background: linear-gradient(120deg, #ffc451 0%, #ff9f6e 55%, #ff6b9d 120%);
  color: #22150a; border: none;
  box-shadow: 0 6px 22px rgba(255, 150, 90, 0.35);
}
.btn-agent:hover { color: #22150a; filter: brightness(1.06); box-shadow: 0 10px 34px rgba(255, 150, 90, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow-accent); }
.btn-danger { background: transparent; border-color: rgba(240, 77, 106, 0.55); color: var(--danger); }
.btn-danger:hover { background: rgba(240, 77, 106, 0.14); box-shadow: 0 6px 20px rgba(240, 77, 106, 0.25); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 13px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 20, 0.72); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-logo { font-size: 22px; filter: drop-shadow(0 0 10px rgba(255, 196, 81, 0.6)); }
.brand-name {
  background: linear-gradient(120deg, #fff 20%, #a29bfe 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 7px 13px; border-radius: 999px; color: var(--text-dim); font-size: 14.5px; font-weight: 600;
  transition: all 0.2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(109, 94, 252, 0.22); }
.main-nav a.active { color: #fff; background: linear-gradient(120deg, rgba(109, 94, 252, 0.3), rgba(34, 211, 238, 0.16)); box-shadow: inset 0 0 0 1px rgba(109, 94, 252, 0.35); }
.header-right { display: flex; align-items: center; gap: 8px; }
.user-chip { font-size: 13px; color: var(--text-dim); white-space: nowrap; }
.user-chip:hover { color: var(--text); }
.credit-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
  font-size: 12.5px; color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.credit-chip:hover { box-shadow: var(--glow-accent); color: var(--accent); }
.chip-plan { padding: 2px 8px; border-radius: 999px; background: linear-gradient(120deg, #6d5efc, #a29bfe); color: #fff; font-weight: 700; }
.chip-plan.is-warn { background: rgba(240, 77, 106, 0.7); }
.chip-credit { padding: 0 6px; color: var(--gold); }
.notice-chip { position: relative; font-size: 16px; padding: 6px; border-radius: 999px; color: var(--text-dim); text-decoration: none; }
.notice-chip:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.badge-dot {
  position: absolute; top: -2px; right: -6px; min-width: 17px; height: 17px; border-radius: 999px;
  background: linear-gradient(120deg, #ff6b9d, #f04d6a); color: #fff; font-size: 10.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
  box-shadow: 0 0 0 2px var(--bg);
}
#noticeBadge { position: static; box-shadow: none; margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 8px; font-size: 18px; padding: 4px 10px; cursor: pointer; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: rgba(12, 17, 32, 0.6); backdrop-filter: blur(8px); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 44px 20px 24px; }
.footer-col p { color: var(--text-dim); font-size: 13.5px; }
.footer-col h3 { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col li a, .footer-bottom a { color: var(--text-dim); font-size: 13.5px; }
.footer-col li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 16px 20px; display: flex; justify-content: space-between;
  color: var(--text-dim); font-size: 12.5px; flex-wrap: wrap; gap: 8px;
}

/* ---------- 英雄区 ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 60px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(109, 94, 252, 0.42), transparent 70%),
    radial-gradient(50% 45% at 8% 90%, rgba(34, 211, 238, 0.22), transparent 70%);
  pointer-events: none;
}
.hero h1 {
  background: linear-gradient(120deg, #ffffff 10%, #c9c3ff 45%, #22d3ee 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 32px rgba(109, 94, 252, 0.35));
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 5px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(34, 211, 238, 0.1); color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.35); margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}
.hero-sub { font-size: clamp(1.08rem, 2vw, 1.4rem); color: var(--primary-2); font-weight: 700; margin-top: 14px; }
.hero-desc { color: var(--text-dim); max-width: 560px; margin-top: 6px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-card { perspective: 1200px; }
.film-strip {
  background: #080b15; border: 1px solid var(--line-strong); border-radius: 20px; padding: 14px;
  transform: rotate(2deg); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(109, 94, 252, 0.25);
  transition: transform 0.4s ease;
}
.film-strip:hover { transform: rotate(0deg) translateY(-6px); }
.strip-row {
  height: 14px; border-radius: 7px; margin: 4px 0;
  background: repeating-linear-gradient(90deg, #1a2138 0 10px, #080b15 10px 20px);
}
.screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #141e30, #243b55);
}
.screen-scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 40% at 72% 30%, rgba(34, 211, 238, 0.65), transparent 70%),
    radial-gradient(35% 35% at 20% 80%, rgba(255, 107, 157, 0.45), transparent 70%);
  animation: heroScene 12s ease-in-out infinite alternate;
}
@keyframes heroScene {
  0% { transform: scale(1) translate(0, 0); filter: hue-rotate(0deg); }
  100% { transform: scale(1.12) translate(-3%, 2%); filter: hue-rotate(40deg); }
}
.screen-sub {
  position: absolute; left: 0; right: 0; bottom: 16px; text-align: center;
  color: rgba(255, 255, 255, 0.9); font-size: 14px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.hero-pricing, .hero-agent { text-align: center; padding: 66px 0 30px; }
.hero-pricing h1, .hero-agent h1 { display: inline-block; }

/* ---------- 章节 ---------- */
.section { padding: 56px 0; }
.section-dark { background: rgba(12, 17, 32, 0.55); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head.center { text-align: center; display: block; }
.section-sub { color: var(--text-dim); }
.more { font-size: 14px; font-weight: 700; white-space: nowrap; }
.count { color: var(--text-dim); font-size: 14px; font-weight: 400; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---------- 流程卡片 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}
.step-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none;
  background: linear-gradient(120deg, rgba(109, 94, 252, 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.25s ease;
}
.step-card:hover { border-color: rgba(109, 94, 252, 0.55); transform: translateY(-6px); box-shadow: var(--glow-primary); }
.step-card:hover::after { opacity: 1; }
.step-card p { color: var(--text-dim); font-size: 14px; margin: 0; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; margin-bottom: 16px;
  background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff;
  box-shadow: 0 8px 22px rgba(109, 94, 252, 0.4);
}

/* ---------- 作品卡片 ---------- */
.movie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.movie-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}
.movie-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), var(--glow-accent); }
.card-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #080b15; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.movie-card:hover .card-cover img { transform: scale(1.06); }
.badge-feat, .badge-private, .badge-play, .badge-score {
  position: absolute; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  backdrop-filter: blur(4px);
}
.badge-feat { top: 10px; left: 10px; background: linear-gradient(120deg, #ff6b9d, #f04d6a); color: #fff; box-shadow: 0 4px 14px rgba(240, 77, 106, 0.4); }
.badge-private { top: 10px; left: 10px; background: rgba(0, 0, 0, 0.6); color: var(--gold); border: 1px solid rgba(255, 196, 81, 0.5); }
.badge-score { top: 10px; right: 10px; background: rgba(0, 0, 0, 0.55); color: var(--gold); }
.badge-play {
  inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(0, 0, 0, 0.5); color: #fff; border: 2px solid rgba(255, 255, 255, 0.7);
  opacity: 0; transition: opacity 0.25s ease;
}
.movie-card:hover .badge-play { opacity: 1; }
.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-title { margin: 0 0 6px; font-size: 15.5px; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-meta { font-size: 12.5px; color: var(--text-dim); margin: 0 0 6px; }
.card-summary {
  font-size: 13px; color: var(--text-dim); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-time { font-size: 12px; color: #666f85; margin-top: auto; padding-top: 6px; }
.card-foot { display: flex; gap: 6px; padding: 0 14px 14px; flex-wrap: wrap; }
.inline { display: inline; }

/* ---------- 定价 / 套餐 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  position: relative; background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 20px; padding: 30px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: all 0.25s ease; backdrop-filter: blur(12px);
}
.price-card:hover { transform: translateY(-8px); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), var(--glow-accent); }
.price-card.is-popular {
  border-color: rgba(109, 94, 252, 0.7);
  box-shadow: 0 18px 50px rgba(109, 94, 252, 0.3), inset 0 0 30px rgba(109, 94, 252, 0.08);
}
.price-card.agent-card {
  border-color: rgba(255, 196, 81, 0.4);
  background: linear-gradient(160deg, rgba(255, 196, 81, 0.09), var(--panel) 55%);
}
.price-card.agent-card:hover { border-color: rgba(255, 196, 81, 0.8); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 8px 32px rgba(255, 196, 81, 0.3); }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap;
  background: linear-gradient(120deg, #6d5efc, #22d3ee); color: #fff; box-shadow: 0 6px 18px rgba(109, 94, 252, 0.5);
}
.price-card h3 { margin: 0; font-size: 1.15rem; }
.price-amount { display: flex; align-items: baseline; gap: 4px; }
.price-cur { font-size: 16px; color: var(--text-dim); font-weight: 700; }
.price-num { font-size: 44px; font-weight: 900; letter-spacing: -1px; background: linear-gradient(120deg, #fff, #a29bfe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price.orig { font-size: 15px; color: #666f85; text-decoration: line-through; }
.commission-line { font-size: 14px; color: var(--text-dim); margin: 0; }
.commission-line b { color: var(--gold); font-size: 17px; }
.price-features { list-style: none; padding: 0; margin: 4px 0 10px; font-size: 13.5px; color: var(--text-dim); display: grid; gap: 8px; }
.price-features li::before { content: ""; }
.price-card .btn { margin-top: auto; }

/* ---------- 收银台 ---------- */
.checkout-wrap { max-width: 640px; }
.checkout-card, .result-card {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 40px 36px; text-align: center; backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.checkout-plan { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 22px; }
.pay-channels { display: grid; gap: 12px; text-align: left; }
.pay-channel {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); color: var(--text);
  transition: all 0.2s ease; font-size: 15px;
}
.pay-channel:hover { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.07); transform: translateX(4px); }
.pay-icon { font-size: 26px; }
.pay-channel b { display: block; font-size: 15.5px; }
.pay-channel em { font-style: normal; font-size: 12.5px; color: var(--text-dim); }
.pay-qr-box { margin-top: 22px; }
.pay-qr { display: flex; justify-content: center; }
.pay-qr img, .pay-qr canvas { border-radius: 12px !important; background: #fff !important; padding: 8px; }
.pay-status-line { font-size: 13px; color: var(--text-dim); }
.result-icon { font-size: 60px; width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.result-icon.ok { background: rgba(45, 212, 167, 0.15); color: var(--ok); box-shadow: 0 0 40px rgba(45, 212, 167, 0.35); }
.result-icon.wait { background: rgba(255, 196, 81, 0.15); color: var(--gold); }

/* ---------- 用户中心 / 代理后台 ---------- */
.dash-grid { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 22px; align-items: start; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px;
  backdrop-filter: blur(10px);
}
.panel h2 { font-size: 17px; margin: 0 0 14px; }
.stat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
  backdrop-filter: blur(10px); transition: all 0.2s ease;
}
.stat-card:hover { border-color: rgba(109, 94, 252, 0.4); transform: translateY(-2px); }
.stat-card small { color: var(--text-dim); font-size: 12.5px; display: block; }
.stat-card big { font-size: 30px; font-weight: 900; display: block; margin: 2px 0; background: linear-gradient(120deg, #fff, #a29bfe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { font-size: 12.5px; color: var(--text-dim); display: block; }
.stat-card.is-warn big { background: linear-gradient(120deg, #fff, #ff9aae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.invite-box { display: flex; gap: 8px; }
.invite-box input {
  flex: 1; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong); color: var(--text); font-size: 13.5px; outline: none; min-width: 0;
}
.agent-form label { display: block; margin-bottom: 14px; }
.agent-form label span { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; font-weight: 600; }
.agent-form input { width: 100%; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; outline: none; }
.agent-form input:focus { border-color: var(--primary); }
.invite-list { display: flex; flex-wrap: wrap; gap: 8px; }
.invite-chip { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 13px; }
.invite-chip em { font-style: normal; color: var(--text-dim); font-size: 11.5px; margin-left: 4px; }
.notice-list { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.notice-item {
  text-align: left; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; cursor: pointer; transition: all 0.2s ease;
}
.notice-item:hover { border-color: rgba(34, 211, 238, 0.4); }
.notice-item b { font-size: 14px; display: block; }
.notice-item p { margin: 2px 0; font-size: 13px; color: var(--text-dim); }
.notice-item em { font-style: normal; font-size: 11.5px; color: #666f85; }
.notice-item.is-new { border-color: rgba(240, 77, 106, 0.45); background: rgba(240, 77, 106, 0.06); }
.form-success { background: rgba(45, 212, 167, 0.12); border: 1px solid rgba(45, 212, 167, 0.4); color: #6ff0d2; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-top: 12px; }

/* ---------- 数据表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.data-table th {
  text-align: left; padding: 12px 14px; font-size: 12.5px; color: var(--text-dim); font-weight: 700;
  background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(109, 94, 252, 0.05); }
.data-table em { font-style: normal; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; white-space: nowrap; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form input { padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); color: var(--text); font-size: 13px; width: 80px; outline: none; }
.tag-ok { background: rgba(45, 212, 167, 0.14); color: var(--ok); border-color: rgba(45, 212, 167, 0.35); }
.tag-wait { background: rgba(255, 196, 81, 0.14); color: var(--gold); border-color: rgba(255, 196, 81, 0.35); }
.tag-no { background: rgba(240, 77, 106, 0.14); color: var(--danger); border-color: rgba(240, 77, 106, 0.35); }
.tag-agent { background: linear-gradient(120deg, rgba(255, 196, 81, 0.2), rgba(255, 107, 157, 0.15)); color: var(--gold); border-color: rgba(255, 196, 81, 0.4); }

/* ---------- FAQ / 协议 ---------- */
.faq { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  backdrop-filter: blur(10px);
}
.faq-list summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "＋ "; color: var(--accent); }
.faq-list details[open] summary::before { content: "－ "; }
.faq-list p { color: var(--text-dim); font-size: 13.5px; margin: 10px 0 0; }
.agreement-box { white-space: pre-line; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; color: var(--text-dim); font-size: 14px; }

/* ---------- 代理脉冲 ---------- */
.agent-pulse { display: flex; align-items: center; justify-content: center; }
.pulse-ring {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  border: 2px solid rgba(255, 196, 81, 0.25);
  animation: pulse 3s ease-out infinite;
}
.pulse-ring::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 1px solid rgba(255, 196, 81, 0.15); }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 1 } 100% { transform: scale(1.25); opacity: 0 } }
.pulse-core {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, rgba(255, 196, 81, 0.2), rgba(109, 94, 252, 0.25));
  border: 1px solid rgba(255, 196, 81, 0.4); box-shadow: 0 0 80px rgba(255, 196, 81, 0.25);
}
.pulse-core big { font-size: 46px; font-weight: 900; background: linear-gradient(120deg, #ffc451, #ff6b9d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse-core small { color: var(--text-dim); font-size: 13px; padding: 0 24px; }

/* ---------- 标签 / 面包屑 ---------- */
.tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px;
  background: rgba(255, 255, 255, 0.08); color: var(--text-dim); border: 1px solid var(--line);
}
.tag-ai { background: rgba(34, 211, 238, 0.14); color: var(--accent); border-color: rgba(34, 211, 238, 0.35); }
.tag-private { background: rgba(255, 196, 81, 0.12); color: var(--gold); border-color: rgba(255, 196, 81, 0.35); }
.chip {
  display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; font-size: 13px; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); color: var(--text-dim); border: 1px solid var(--line);
  text-decoration: none; transition: all 0.2s ease;
}
.chip:hover, .chip.on { background: rgba(109, 94, 252, 0.2); color: #fff; border-color: var(--primary); }
.chip.on { color: var(--accent-2); }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; color: #4a5168; }

/* ---------- CTA ---------- */
.cta-band { padding: 40px 0 64px; }
.cta-inner {
  text-align: center; padding: 56px 24px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(109, 94, 252, 0.3), rgba(34, 211, 238, 0.16));
  border: 1px solid rgba(109, 94, 252, 0.45);
  box-shadow: 0 30px 80px rgba(109, 94, 252, 0.2), inset 0 0 60px rgba(109, 94, 252, 0.08);
}
.cta-inner h2 { margin-bottom: 20px; }
.cta-inline { text-align: center; margin: 26px 0; }

/* ---------- 认证 ---------- */
.auth-wrap, .page-body { padding: 44px 0 64px; }
.auth-card {
  max-width: 440px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 20px; padding: 40px 34px; backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: 4px; }
.auth-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.auth-form label { display: block; margin-bottom: 16px; }
.auth-form label span, .field-label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 6px; font-weight: 600; }
.auth-form input, .auth-form textarea, .field input, .field textarea, .settings-form input, .settings-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font: inherit;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--text); outline: none;
  transition: border-color 0.2s ease;
}
.auth-form input::placeholder, .field input::placeholder { color: #5b6480; }
.auth-form input:focus, .auth-form textarea:focus, .field input:focus, .field textarea:focus, .settings-form input:focus, .settings-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109, 94, 252, 0.15);
}
.auth-form textarea, .field textarea { resize: vertical; }
.auth-switch { text-align: center; color: var(--text-dim); font-size: 13.5px; margin: 16px 0 0; }
.auth-switch a { font-weight: 700; }
.form-error {
  background: rgba(240, 77, 106, 0.12); border: 1px solid rgba(240, 77, 106, 0.4); color: #ff93a9;
  padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px;
}
.form-ok {
  background: rgba(45, 212, 167, 0.12); border: 1px solid rgba(45, 212, 167, 0.4); color: #6ff0d2;
  padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px;
}
.field { display: block; margin-bottom: 18px; }
.field-foot { font-size: 12.5px; color: #666f85; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); margin: 14px 0; }
.checkbox input { width: auto; accent-color: var(--primary); }
.field-sm { max-width: 120px; }
.checkbox-field { display: flex; align-items: center; gap: 8px; }
.checkbox-field input { width: auto !important; }

/* ---------- 创作工作室 ---------- */
.studio { padding: 44px 0 72px; max-width: 880px; }
.studio-head h1 { margin-bottom: 6px; }
.studio-head p { color: var(--text-dim); }
.studio-form {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 20px; padding: 30px; margin-top: 22px;
  backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.studio-inspire { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 22px; }
.studio-inspire > span { font-size: 13px; color: var(--text-dim); }
.inspire-chip { font-size: 12.5px; }
.studio-note { font-size: 13px; color: #666f85; text-align: center; margin-top: 10px; }
.studio-note.warn { color: #ff93a9; }
#storyInput { min-height: 150px; line-height: 1.8; }
.gen-progress { text-align: center; padding: 46px 0; }
.gen-loader {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.gen-progress p { color: var(--text-dim); font-size: 14.5px; }
.gen-result { margin-top: 34px; }
.gen-result .logline { color: var(--primary-2); font-size: 15px; font-style: italic; }
.player-mount { margin: 18px 0; }
.player-tip { font-size: 12.5px; color: #666f85; }
.scenebook { margin: 22px 0; }
.save-form {
  background: var(--panel); border: 1px dashed rgba(109, 94, 252, 0.55); border-radius: 16px; padding: 20px 24px; margin-top: 24px;
  backdrop-filter: blur(10px);
}
.save-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 分镜剧本 ---------- */
.scene-list { display: flex; flex-direction: column; gap: 10px; }
.scene-item {
  display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; backdrop-filter: blur(8px);
}
.scene-item:hover { border-color: rgba(34, 211, 238, 0.35); }
.scene-no {
  width: 34px; height: 34px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff;
}
.scene-main { flex: 1; min-width: 0; }
.scene-top { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.scene-top strong { color: var(--text); font-size: 14.5px; }
.scene-top em { font-style: normal; font-weight: 600; }
.scene-visual { font-size: 14px; color: var(--text); }
.scene-nar { font-size: 13.5px; color: var(--text-dim); margin-top: 4px; }
.scene-dlg { font-size: 13.5px; color: var(--accent-2); margin-top: 3px; font-style: italic; }
.scene-dur { color: #666f85; font-size: 13px; white-space: nowrap; }

/* ---------- 作品详情 ---------- */
.work-page { padding: 30px 0 60px; }
.work-hero { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 34px; }
.work-hero-bg { position: absolute; inset: 0; opacity: 0.35; filter: blur(2px); }
.work-hero-inner { position: relative; padding: 40px 32px; }
.work-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; font-size: 13.5px; color: var(--text-dim); }
.work-logline { font-size: 16px; color: #fff; max-width: 700px; }
.work-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.story-quote {
  margin: 0 0 10px; padding: 16px 20px; border-left: 3px solid var(--primary);
  background: var(--panel); border-radius: 0 12px 12px 0; color: var(--text-dim); font-size: 15px;
}
.work-author { color: var(--text-dim); font-size: 13.5px; }

/* ---------- 播放器 ---------- */
.fp-wrap {
  background: #05070e; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(109, 94, 252, 0.12);
}
.fp-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.fp-bg { position: absolute; inset: 0; transition: background 1.2s ease; }
.fp-canvas { position: absolute; inset: 0; }
.fp-title {
  position: absolute; top: 16px; left: 20px; font-size: 17px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.fp-scene-info { position: absolute; top: 52px; left: 20px; font-size: 12.5px; }
.fp-act, .fp-emotion {
  display: inline-block; padding: 3px 10px; border-radius: 999px; margin-right: 6px;
  background: rgba(0, 0, 0, 0.45); color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.15);
}
.fp-sub {
  position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; padding: 0 40px; pointer-events: none;
}
.fp-dialogue {
  font-size: 16px; color: #fff; font-style: italic; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); margin-bottom: 8px;
  min-height: 1.2em;
}
.fp-narration {
  font-size: 14px; color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); min-height: 1.4em;
}
.fp-scenes { display: flex; gap: 6px; padding: 10px 14px; background: #0b0e17; flex-wrap: wrap; }
.fp-dot {
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text-dim); font-size: 12px; cursor: pointer; transition: all 0.15s ease;
}
.fp-dot:hover { color: #fff; border-color: var(--accent); }
.fp-dot.on { background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff; border-color: transparent; }
.fp-controls { display: flex; align-items: center; gap: 12px; padding: 10px 16px 14px; background: #0b0e17; }
.fp-play {
  width: 40px; height: 40px; flex: none; border-radius: 50%; font-size: 14px; cursor: pointer;
  background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(109, 94, 252, 0.45);
}
.fp-play:hover { filter: brightness(1.15); }
.fp-bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
.fp-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.2s linear; }
.fp-time { font-size: 12px; color: var(--text-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- 沉浸播放页 ---------- */
.watch-body { background: #04050b; }
.watch-shell { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 24px; max-width: 1100px; margin: 0 auto; }
.watch-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.watch-title { color: var(--text-dim); font-size: 14px; }
.watch-mount { aspect-ratio: 16 / 9; }
.watch-foot { margin-top: 16px; text-align: center; }

/* ---------- 空状态 / 404 ---------- */
.empty-state {
  text-align: center; padding: 60px 24px; background: var(--panel); border: 1px dashed var(--line-strong); border-radius: 20px;
}
.empty-icon { font-size: 48px; margin-bottom: 10px; }
.empty-state h3 { font-size: 20px; }
.empty-state p { color: var(--text-dim); }
.empty { color: var(--text-dim); padding: 20px 0; }

/* ---------- 搜索框 ---------- */
.search-box { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 8px 5px 14px; }
.search-box input { background: none; border: none; color: var(--text); width: 180px; font-size: 13.5px; outline: none; }
.search-box button { background: none; border: none; cursor: pointer; font-size: 14px; color: var(--text-dim); }
.sort-bar { display: flex; gap: 6px; }
.sort-bar a { font-size: 13px; color: var(--text-dim); padding: 4px 10px; border-radius: 999px; }
.sort-bar a.on { background: rgba(34, 211, 238, 0.14); color: var(--accent); }

/* ============================================================
   管理后台（深色科技风）
   ============================================================ */
.admin-body { display: flex; background: #0a0e1c; color: #dbe2f4; font-family: inherit; min-height: 100vh; }
.admin-side {
  width: 236px; flex: none; background: linear-gradient(180deg, #111730, #0b1020);
  color: #fff; padding: 22px 0; border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; padding: 0 22px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.admin-side nav { display: flex; flex-direction: column; padding: 14px 12px; gap: 4px; overflow-y: auto; }
.admin-side nav a {
  padding: 10px 14px; border-radius: 10px; color: rgba(255, 255, 255, 0.66); font-size: 14.5px; font-weight: 500;
}
.admin-side nav a:hover { background: rgba(109, 94, 252, 0.22); color: #fff; }
.admin-side nav a.on { background: linear-gradient(120deg, #6d5efc, #a29bfe); color: #fff; box-shadow: 0 6px 18px rgba(109, 94, 252, 0.4); }
.admin-side nav a.ext { color: rgba(255, 255, 255, 0.42); font-size: 13.5px; }
.admin-main { flex: 1; padding: 32px 36px; min-width: 0; }
.admin-title { margin-bottom: 22px; font-size: 1.5rem; }
.admin-h2 { font-size: 17px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-tabs a { padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-dim); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.admin-tabs a.on { background: linear-gradient(120deg, rgba(109, 94, 252, 0.3), rgba(34, 211, 238, 0.16)); color: #fff; border-color: rgba(109, 94, 252, 0.5); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.admin-body .stat-num { font-size: 26px; font-weight: 900; color: #a29bfe; }
.admin-body .stat-card.stat-money .stat-num { background: linear-gradient(120deg, #ffc451, #ff9f6e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.admin-body .stat-label { color: #7a8499; font-size: 13.5px; margin-top: 2px; }
.admin-body .stat-label em { font-style: normal; color: var(--gold); }
.admin-sec { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 24px; }
.admin-sec h2 { font-size: 16px; margin-bottom: 14px; }
.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-row {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); flex-wrap: wrap;
}
.admin-thumb { width: 76px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; }
.admin-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; flex: none; }
.admin-row-main { flex: 1; min-width: 160px; }
.admin-row-main strong { font-size: 14.5px; }
.admin-row-main strong a { color: #dbe2f4; }
.admin-row-main strong a:hover { color: #a29bfe; }
.admin-row-main span { display: block; font-size: 12.5px; color: #7a8499; }
.admin-row-main .tag { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: #a29bfe; }
.admin-time { font-size: 12.5px; color: #7a8499; }
.admin-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-row-actions .btn { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #dbe2f4; }
.admin-row-actions .btn:hover { box-shadow: none; border-color: #6d5efc; color: #a29bfe; }
.admin-row-actions .btn-danger { color: #f04d6a; border-color: rgba(240, 77, 106, 0.45); }
.admin-row-actions .btn-danger:hover { background: rgba(240, 77, 106, 0.12); color: #f04d6a; }
.admin-search { display: flex; gap: 8px; margin-bottom: 16px; }
.admin-search input {
  padding: 9px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; font-size: 14px; outline: none; min-width: 240px;
  background: rgba(255, 255, 255, 0.04); color: #dbe2f4;
}
.admin-search .btn { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #dbe2f4; }

/* 后台柱状图 */
.bar-chart { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 10px 6px 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.bar-val { font-size: 12px; color: var(--text-dim); margin-bottom: 6px; white-space: nowrap; }
.bar-body { width: 70%; max-width: 56px; height: 100%; display: flex; align-items: flex-end; background: rgba(255, 255, 255, 0.03); border-radius: 8px 8px 0 0; overflow: hidden; }
.bar-fill {
  width: 100%; border-radius: 8px 8px 0 0; min-height: 4px;
  background: linear-gradient(180deg, #22d3ee 0%, #6d5efc 100%);
  box-shadow: 0 0 18px rgba(109, 94, 252, 0.45);
  transition: height 0.5s ease;
}
.bar-col:hover .bar-fill { filter: brightness(1.25); }
.bar-label { font-size: 12px; color: #7a8499; margin-top: 8px; }

/* 大模型预设与服务商 */
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.preset-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; text-align: left;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.preset-card b { font-size: 14px; }
.preset-card small { color: var(--text-dim); font-size: 12px; }
.preset-card em { font-style: normal; font-size: 11.5px; color: var(--accent); word-break: break-all; }
.preset-card .btn { margin-top: 6px; }
.provider-list { display: grid; gap: 14px; }
.provider-row {
  display: grid; grid-template-columns: 1.2fr 1.6fr 1.2fr 1.4fr 0.7fr auto; gap: 10px; align-items: end;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 14px; padding: 14px 16px;
}
.provider-row .field { margin-bottom: 0; }
.provider-actions { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.test-result { font-size: 12px; color: var(--text-dim); max-width: 260px; word-break: break-all; }
.sub-block { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.sub-block h3 { font-size: 14px; margin-bottom: 10px; color: var(--text-dim); }

.settings-form { max-width: 820px; }
.set-block { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.set-block h2 { font-size: 16px; margin-bottom: 14px; }
.set-hint { color: #8b95b0; font-size: 13px; background: rgba(109, 94, 252, 0.08); border-radius: 8px; padding: 8px 12px; }
.settings-form .field { margin-bottom: 14px; }
.settings-form .field-label { color: #8b95b0; }
.settings-form input, .settings-form textarea, .settings-form select {
  background: rgba(255, 255, 255, 0.045) !important; border-color: rgba(255, 255, 255, 0.14) !important; color: #dbe2f4 !important;
}
.settings-form input:focus, .settings-form textarea:focus, .settings-form select:focus { border-color: #6d5efc !important; }
.settings-form select { width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; outline: none; }
.admin-login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: #05070e; }
.admin-login-card {
  width: 100%; max-width: 400px; background: linear-gradient(160deg, #141a30, #0c1020); color: #fff;
  border: 1px solid rgba(109, 94, 252, 0.35); border-radius: 20px; padding: 34px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(109, 94, 252, 0.2);
}
.admin-login-card .admin-brand { padding: 0 0 16px; border: none; justify-content: center; }
.admin-login-card h1 { font-size: 1.35rem; text-align: center; margin-bottom: 18px; }
.admin-login-card .auth-form label span { color: rgba(255, 255, 255, 0.6); }
.admin-login-card .auth-form input { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.admin-back { display: block; text-align: center; color: rgba(255, 255, 255, 0.5); font-size: 13px; margin-top: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .movie-grid, .grid-4, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .movie-grid, .grid-3, .grid-4, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    background: var(--panel-solid); border-bottom: 1px solid var(--line); padding: 12px 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-right { display: none; }
}
@media (max-width: 640px) {
  .movie-grid, .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 48px 0 36px; }
  .save-actions .btn { width: 100%; }
  .admin-body { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; }
  .admin-side nav { flex-direction: row; flex-wrap: wrap; }
  .admin-main { padding: 22px 18px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .fp-sub { padding: 0 16px; bottom: 18px; }
  .fp-dialogue { font-size: 14px; }
  .fp-narration { font-size: 12.5px; }
  .header-inner { gap: 8px; }
  .brand-name { display: none; }
  .checkout-card, .result-card { padding: 28px 20px; }
  .preset-grid { grid-template-columns: 1fr; }
  .provider-row { grid-template-columns: 1fr; }
}
