/* BIGAIGC 门户样式——从 HTML 原型（bigaigc-*.html）抽取的暗色科技风基线 */
:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1526;
  --panel: #131a2e;
  --panel-2: #1a2340;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8ecf6;
  --text-dim: #9aa4c0;
  --text-faint: #5c6785;
  --primary: #7f77dd;
  --primary-2: #6a5fd4;
  --teal: #5dcaa5;
  --gold: #e8c07a;
  --red: #e07a7a;
  --radius: 14px;
  --container: 1280px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 34px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: 0.5px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff; font-size: 17px; font-weight: 900;
}
.logo em { font-style: normal; color: var(--teal); }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-dim); }
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); border-color: var(--primary); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.avatar-sm {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--panel-2); font-size: 13px; font-weight: 700; color: var(--primary);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); background: rgba(127, 119, 221, 0.08); }
.btn-teal { background: var(--teal); color: #08251a; }
.btn-teal:hover { filter: brightness(1.08); }
.btn-lg { padding: 13px 30px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 44px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 99px; font-size: 13px; color: var(--teal);
  background: rgba(93, 202, 165, 0.08); border: 1px solid rgba(93, 202, 165, 0.25);
}
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: 1px; margin: 20px 0 12px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-dim); font-size: 16.5px; max-width: 620px; margin: 0 auto 30px; }
.hero-cta { display: flex; justify-content: center; gap: 14px; }

/* ---------- 区块 ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.section-head h2 { font-size: 23px; font-weight: 700; }
.section-head .more { margin-left: auto; font-size: 13.5px; color: var(--text-faint); }
.section-head .more:hover { color: var(--primary); }

/* ---------- 案例卡片墙 ---------- */
.grid-cases {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); transition: 0.25s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(127, 119, 221, 0.5); }
.case-cover { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; background: var(--panel-2); }
.case-cover-empty {
  aspect-ratio: 3 / 4; width: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); color: var(--text-faint); font-size: 12.5px;
}
.case-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 7px; font-size: 12px; font-weight: 600;
  background: rgba(10, 14, 26, 0.75); backdrop-filter: blur(6px); color: var(--teal);
  border: 1px solid rgba(93, 202, 165, 0.3);
}
.case-tag.hot { color: var(--gold); border-color: rgba(232, 192, 122, 0.35); }
.case-info { padding: 14px 16px 16px; }
.case-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.case-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-faint); }
.case-price { margin-left: auto; color: var(--gold); font-weight: 700; }

/* ---------- 筛选 tab / chips ---------- */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 7px 18px; border-radius: 99px; font-size: 13.5px; color: var(--text-dim);
  background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--primary); }
.chip.active { background: rgba(127, 119, 221, 0.16); color: var(--text); border-color: var(--primary); }

/* ---------- 面板 / 表格 ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.panel h2, .panel h3 { margin-bottom: 14px; }
.muted { color: var(--text-dim); font-size: 13.5px; }
.faint { color: var(--text-faint); font-size: 12.5px; }
.accent { color: var(--primary); }
.teal { color: var(--teal); }
.gold { color: var(--gold); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

/* ---------- 数据条 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat-card b { display: block; font-size: 26px; font-weight: 800; color: var(--text); }
.stat-card span { font-size: 13px; color: var(--text-faint); }

/* ---------- 需求卡片 ---------- */
.grid-demands { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.demand-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: 0.2s; display: flex; flex-direction: column; gap: 10px; }
.demand-card:hover { border-color: rgba(127, 119, 221, 0.5); transform: translateY(-2px); }
.demand-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 3px 10px; border-radius: 6px; font-size: 12px; background: var(--panel-2); color: var(--text-dim); }
.tag.primary { background: rgba(127, 119, 221, 0.14); color: var(--primary); }
.tag.teal { background: rgba(93, 202, 165, 0.12); color: var(--teal); }
.demand-card h3 { font-size: 16.5px; font-weight: 650; }
.demand-desc { font-size: 13.5px; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.demand-budget { font-size: 16px; font-weight: 800; color: var(--gold); }
.demand-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-faint); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 7px; }
label .req { color: var(--red); }
.field { width: 100%; padding: 11px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); outline: none; transition: 0.2s; }
.field:focus { border-color: var(--primary); }
select.field { appearance: none; }
textarea.field { min-height: 120px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; }

/* ---------- 提示消息 ---------- */
.messages { max-width: var(--container); margin: 14px auto 0; padding: 0 28px; display: grid; gap: 10px; }
.msg { padding: 12px 18px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.msg.success { background: rgba(93, 202, 165, 0.1); border-color: rgba(93, 202, 165, 0.35); color: var(--teal); }
.msg.error { background: rgba(224, 122, 122, 0.1); border-color: rgba(224, 122, 122, 0.35); color: var(--red); }
.msg.info { background: rgba(127, 119, 221, 0.1); border-color: rgba(127, 119, 221, 0.35); color: var(--primary); }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager a, .pager span { padding: 8px 15px; border-radius: 8px; font-size: 13.5px; background: var(--panel); border: 1px solid var(--line); color: var(--text-dim); }
.pager .cur { background: rgba(127, 119, 221, 0.16); color: var(--text); border-color: var(--primary); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 70px; border-top: 1px solid var(--line); padding: 40px 0 30px; }
.footer-inner { display: flex; gap: 60px; flex-wrap: wrap; }
.footer h4 { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.footer li { font-size: 13px; color: var(--text-faint); margin-bottom: 8px; }
.footer li a:hover { color: var(--primary); }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 认证页 ---------- */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 50px 20px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-brand { text-align: center; margin-bottom: 26px; }
.auth-brand .logo { justify-content: center; margin-bottom: 10px; }

/* ---------- 个人中心 ---------- */
.center-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin-top: 30px; }
.side-nav { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 84px; }
.side-nav a { display: block; padding: 11px 16px; border-radius: 9px; font-size: 14px; color: var(--text-dim); margin-bottom: 4px; }
.side-nav a:hover { color: var(--text); background: var(--panel-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .center-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; }
}

/* ---------- 角色选择弹窗 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(8, 9, 16, 0.72); backdrop-filter: blur(6px); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-mask[hidden] { display: none; }
.modal-card { width: 100%; max-width: 520px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px 28px; position: relative; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--text-faint); font-size: 24px; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 22px; text-align: center; margin-bottom: 6px; }
.modal-sub { text-align: center; font-size: 13.5px; color: var(--text-faint); margin-bottom: 24px; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 26px 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text-dim); transition: 0.2s; }
.role-card strong { font-size: 16.5px; color: var(--text); }
.role-card span { font-size: 13px; }
.role-card em { font-style: normal; font-size: 12px; color: var(--text-faint); background: var(--panel-2); border-radius: 99px; padding: 4px 12px; margin-top: 8px; }
.role-emoji { font-size: 34px; line-height: 1; }
.role-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(127, 119, 221, 0.18); }
.role-maker:hover { border-color: var(--teal); box-shadow: 0 12px 34px rgba(93, 202, 165, 0.18); }

/* ---------- 手机验证码表单 ---------- */
.sms-row { display: flex; gap: 10px; }
.sms-row .field { flex: 1; }
.sms-btn { white-space: nowrap; padding: 0 18px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: rgba(127, 119, 221, 0.14); border: 1px solid rgba(127, 119, 221, 0.4); color: var(--primary); cursor: pointer; transition: 0.2s; }
.sms-btn:hover:not(:disabled) { background: rgba(127, 119, 221, 0.26); }
.sms-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.dev-code { margin-top: 10px; font-size: 12.5px; color: var(--teal); background: rgba(93, 202, 165, 0.08); border: 1px dashed rgba(93, 202, 165, 0.35); border-radius: 8px; padding: 8px 12px; text-align: center; }
.dev-code b { font-size: 15px; letter-spacing: 3px; }
.role-banner { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 13.5px; }
.role-banner.buyer { background: rgba(127, 119, 221, 0.1); border: 1px solid rgba(127, 119, 221, 0.32); color: var(--text-dim); }
.role-banner.maker { background: rgba(93, 202, 165, 0.08); border: 1px solid rgba(93, 202, 165, 0.32); color: var(--text-dim); }
.role-banner .rb-emoji { font-size: 22px; }
.role-banner strong { color: var(--text); }

@media (max-width: 640px) {
  .role-grid { grid-template-columns: 1fr; }
}

/* ---------- 创作工作台 ---------- */
.studio-shell { display: grid; grid-template-columns: 200px 1fr 300px; gap: 20px; align-items: start; margin-top: 20px; }
@media (max-width: 1100px) { .studio-shell { grid-template-columns: 1fr; } }
.step-nav { padding: 10px; position: sticky; top: 84px; }
.step-link { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; font-size: 14.5px; color: var(--text-dim); transition: 0.2s; }
.step-link:hover { color: var(--text); background: rgba(127, 119, 221, 0.07); }
.step-link.on { color: var(--text); background: rgba(127, 119, 221, 0.14); font-weight: 600; }
.step-num { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; background: rgba(127, 119, 221, 0.14); color: var(--primary); flex-shrink: 0; }
.step-link.on .step-num { background: linear-gradient(135deg, var(--primary-2), var(--primary)); color: #fff; }
.st-ok { color: var(--teal); }
.st-doing { color: var(--primary); }
.panel-head-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.panel-head-bar .faint, .panel-head-bar > span { font-size: 12px; color: var(--text-faint); }
.model-picker { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); margin: 12px 0; flex-wrap: wrap; }
.model-picker label { font-size: 12.5px; color: var(--text-faint); }
.model-picker select { background: transparent; border: none; padding: 0; color: var(--text); font-size: 13.5px; }
.asset-grid { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1000px) { .asset-grid { grid-template-columns: repeat(2, 1fr); } }
.asset-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); padding: 14px; }
.field-group { margin-bottom: 8px; }
.field-group label { display: block; font-size: 11.5px; color: var(--text-faint); margin-bottom: 3px; }
.shot-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); padding: 14px 16px; margin-bottom: 12px; }
.shot-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.shot-num { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12.5px; background: rgba(127, 119, 221, 0.14); color: var(--primary); flex-shrink: 0; }
.ledger-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.ledger-row:last-of-type { border-bottom: none; }


/* ---------- 开始创作台 ---------- */
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
@media (max-width: 800px) { .mode-tabs { grid-template-columns: 1fr; } }
.mode-tab { display: flex; flex-direction: column; gap: 5px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: 0.2s; }
.mode-tab strong { font-size: 16px; }
.mode-tab span { font-size: 12.5px; color: var(--text-faint); }
.mode-tab:hover { border-color: rgba(127, 119, 221, 0.45); }
.mode-tab.active { border-color: var(--primary); background: linear-gradient(135deg, rgba(127, 119, 221, 0.16), rgba(93, 202, 165, 0.07)); box-shadow: 0 0 0 1px var(--primary) inset; }
.manual-layout { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .manual-layout { grid-template-columns: 1fr; } }
.manual-form { padding: 0; overflow: hidden; }
.cap-tabs { display: flex; border-bottom: 1px solid var(--line); }
.cap-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 8px; font-size: 14px; color: var(--text-dim); border-bottom: 2px solid transparent; transition: 0.2s; }
.cap-tab:hover { color: var(--text); }
.cap-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; background: rgba(127, 119, 221, 0.06); }
.cap-icon { font-size: 16px; }
.cap-form { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.field-wrap { display: block; margin-bottom: 12px; }
.field-label { display: block; font-size: 12px; color: var(--text-faint); margin-bottom: 6px; }
textarea.field { min-height: 110px; }
.manual-works { min-width: 0; }
.work-stats { display: flex; gap: 28px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.work-filter { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.work-filter a { padding: 6px 14px; border-radius: 99px; font-size: 12.5px; border: 1px solid var(--line); color: var(--text-dim); background: var(--panel); transition: 0.2s; }
.work-filter a:hover { color: var(--text); }
.work-filter a.on { color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--primary)); border-color: transparent; font-weight: 700; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.work-card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; transition: 0.2s; }
.work-card:hover { border-color: rgba(127, 119, 221, 0.5); transform: translateY(-2px); }
.work-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--panel-2); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: 13px; }
.work-cap { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(10, 14, 26, 0.7); backdrop-filter: blur(4px); }
.work-meta { padding: 12px 14px 14px; }
.work-prompt { font-size: 13px; line-height: 1.5; margin-bottom: 6px; color: var(--text-dim); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- 算力充值 ---------- */
.recharge-balance { padding: 16px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, rgba(127, 119, 221, 0.10), rgba(93, 202, 165, 0.05)); }
.preset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.preset-item { position: relative; display: block; cursor: pointer; }
.preset-item input { position: absolute; opacity: 0; }
.preset-item span { display: flex; align-items: center; justify-content: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; background: var(--panel-2); color: var(--text-dim); transition: 0.15s; }
.preset-item:hover span { border-color: rgba(127, 119, 221, 0.5); color: var(--text); }
.preset-item input:checked + span { border-color: var(--primary); color: var(--primary); background: rgba(127, 119, 221, 0.12); box-shadow: 0 0 0 1px var(--primary) inset; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; padding: 10px 16px; font-size: 12px; color: var(--text-faint); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.tag-ok { padding: 3px 10px; border-radius: 6px; font-size: 12px; background: rgba(93, 202, 165, 0.14); color: var(--teal); }
.tag-danger { padding: 3px 10px; border-radius: 6px; font-size: 12px; background: rgba(224, 106, 106, 0.14); color: #e06a6a; }
.danger { color: #e06a6a; }

/* ---------- 一键成片：新建项目表单 ---------- */
.new-project-form { padding: 18px 20px; margin-bottom: 20px; border: 1px dashed rgba(127, 119, 221, 0.45); }
.np-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.np-field { display: flex; flex-direction: column; gap: 6px; }
.np-title { flex: 1; min-width: 240px; }
.np-field input, .np-field select { min-width: 110px; }
.np-btn { white-space: nowrap; }

/* ================= 首页 v2.0 排版（对应原型 bigaigc-home.html） ================= */
.hide { display: none !important; }
.wrap-wide { max-width: 1760px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 860px) { .wrap-wide { padding: 0 20px; } }

/* 宽幅导航（首页） */
.nav-wide .nav-links { gap: 26px; font-size: 14.5px; flex: 1; }
.nav-wide .nav-links a { border-bottom: none; white-space: nowrap; }
.nav-wide .logo b { font-weight: 700; }
.nav-wide .logo em, .home-footer .logo em { color: var(--primary); }
.nav-wide .logo-mark, .home-footer .logo-mark { background: linear-gradient(135deg, #534ab7, var(--primary)); }
.btn-studio { border: 1px solid rgba(93, 202, 165, 0.45); color: var(--teal); background: transparent; }
.btn-studio:hover { background: rgba(93, 202, 165, 0.1); border-color: rgba(93, 202, 165, 0.45); }

/* 导航右侧小入口：消息、限时折扣 */
.nav-ico {
  position: relative; width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--text-dim); background: rgba(255,255,255,0.02);
  transition: 0.2s;
}
.nav-ico:hover { color: var(--text); border-color: var(--primary); background: rgba(127,119,221,0.08); }
.nav-ico .dot {
  position: absolute; top: 8px; right: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--red); border: 2px solid var(--bg);
}
.nav-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--line); color: var(--text-dim); background: rgba(255,255,255,0.02);
}
.nav-tag:hover { border-color: var(--primary); color: var(--text); }
.nav-tag.flash {
  border-color: rgba(224, 122, 122, 0.45); color: #f5a0a0;
  background: linear-gradient(135deg, rgba(224,122,122,0.12), rgba(224,122,122,0.04));
  animation: tagPulse 2s infinite;
}
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 122, 122, 0.25); }
  50% { box-shadow: 0 0 0 4px rgba(224, 122, 122, 0); }
}

/* 注册弹窗底部登录入口 */
.role-login {
  text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--text-dim);
}
.role-login a { color: var(--primary); font-weight: 600; margin-left: 4px; }
.role-login a:hover { text-decoration: underline; }

/* HERO 横幅（banner 背景） */
.home-hero {
  position: relative; overflow: hidden;
  max-width: 1760px; margin: 20px auto 0;
  min-height: 400px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; justify-content: center;
  background: url('/static/img/hero-banner.png') center/cover no-repeat;
}
.home-hero .wrap-wide { padding: 0; }
.home-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 13, 23, 0.35) 0%, rgba(11, 13, 23, 0.72) 100%);
  z-index: 1;
}
.home-hero-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 780px; margin: 0 auto;
  padding: 60px 20px;
  color: #fff;
}
.home-hero .hbadge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #8df6d6;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(141, 246, 214, 0.42); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.home-hero .hbadge i { width: 6px; height: 6px; border-radius: 50%; background: #8df6d6; display: inline-block; }
.home-hero h1 { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: 1px; margin: 0 0 12px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.home-hero h1 em { font-style: normal; background: linear-gradient(120deg, #c8c2ff, #9d94f2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-hero .sub { font-size: 15.5px; color: rgba(255,255,255,0.78); margin: 0 0 26px; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.home-hero .cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.home-hero .cta-row .btn-lg { padding: 12px 26px; font-size: 15px; border-radius: 11px; }
.home-hero .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.home-hero .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.85); }

/* 案例内容墙 */
.home-wall { padding: 24px 0 64px; }
.home-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.htab {
  font-size: 16px; padding: 12px 26px; cursor: pointer; background: transparent; border: none;
  color: var(--text-dim); font-family: inherit; position: relative; transition: color 0.2s; white-space: nowrap;
}
.htab:hover { color: var(--text); }
.htab.on { color: var(--text); font-weight: 600; }
.htab.on::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px;
  height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, #534ab7, var(--primary));
}
.htab .cnt { font-size: 12px; color: var(--text-faint); margin-left: 4px; font-weight: 400; }
.home-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.home-chips .chip { font-size: 13.5px; padding: 6px 18px; }
.home-chips .chip.on { background: linear-gradient(135deg, #534ab7, var(--primary)); color: #fff; border-color: transparent; }

.home-case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.hcase {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.hcase:hover { transform: translateY(-5px); border-color: rgba(127, 119, 221, 0.35); }
.hcase .poster { position: relative; padding-top: 132%; overflow: hidden; background: var(--panel-2); }
.hcase .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.hcase:hover .poster img { transform: scale(1.05); }
.ribbon {
  position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 600;
  border-radius: 6px; padding: 2px 10px; color: #fff;
  background: linear-gradient(135deg, #534ab7, var(--primary));
}
.ribbon.hot { background: linear-gradient(135deg, #993556, #d4537e); }
.ribbon.self { background: linear-gradient(135deg, #0F6E56, #1d9e75); }
.hcase .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px;
  background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(2px); opacity: 0; transition: opacity 0.25s;
}
.hcase:hover .play { opacity: 1; }
.hcase .len { position: absolute; right: 10px; bottom: 10px; font-size: 11px; background: rgba(0, 0, 0, 0.6); border-radius: 5px; padding: 2px 8px; color: #ddd; }
.hcase .info { padding: 13px 15px 15px; flex: 1; display: flex; flex-direction: column; }
.hcase .info .cat { font-size: 12px; letter-spacing: 0.5px; margin-bottom: 4px; }
.hcase .info h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; flex: 1; }
.hcase .info .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hcase .info .by { font-size: 12px; color: var(--text-faint); }
.hcase .info .price { font-size: 13px; color: #ef9f27; font-weight: 600; white-space: nowrap; }
.cat-teal { color: var(--teal); }
.cat-purple { color: var(--primary); }
.cat-coral { color: #f0997b; }

/* 工作台（紧凑左右分栏） */
.home-studio { padding: 60px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.studio-copy .kicker { font-size: 13px; letter-spacing: 4px; color: var(--teal); margin-bottom: 10px; }
.studio-copy h2 { font-size: 28px; font-weight: 600; margin: 0 0 12px; }
.studio-copy > p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 20px; }
.studio-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.sfeat { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
.sf-dot { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: rgba(93, 202, 165, 0.12); }
.sfeat b { display: block; font-size: 14px; margin-bottom: 1px; }
.sfeat span { font-size: 12px; color: var(--text-faint); }
.studio-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.studio-shot { background: var(--panel); border: 1px solid rgba(127, 119, 221, 0.35); border-radius: 16px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.shot-bar { display: flex; gap: 7px; margin-bottom: 14px; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4468; }
.shot-bar i:first-child { background: #e0655a; }
.shot-bar i:nth-child(2) { background: #e0b355; }
.shot-bar i:nth-child(3) { background: #6bcf8e; }
.shot-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shot-cell { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; }
.shot-cell b { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.shot-cell span { font-size: 11.5px; color: var(--text-faint); }
.shot-cell.mode { border-color: rgba(93, 202, 165, 0.4); }
.shot-cell.mode b { color: var(--teal); }
.shot-pipe { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; flex-wrap: wrap; }
.shot-pipe > span:not(.pa) { font-size: 12px; color: var(--text-dim); background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px; }
.shot-pipe .pa { color: var(--text-faint); font-size: 11px; }

/* 入驻 CTA 横条 */
.home-join { margin-top: 60px; }
.join-inner {
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(140deg, rgba(83, 74, 183, 0.3), rgba(83, 74, 183, 0.07));
  border: 1px solid rgba(127, 119, 221, 0.35);
  padding: 40px 48px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.j-copy { flex: 1; min-width: 280px; }
.join-inner h2 { font-size: 24px; font-weight: 600; margin: 0 0 8px; }
.join-inner p { color: var(--text-dim); font-size: 14px; max-width: 560px; margin: 0; }
.j-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* 首页页脚（四栏） */
.home-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid .f-brand p { font-size: 13px; color: var(--text-faint); margin-top: 12px; max-width: 300px; }
.foot-grid h5 { font-size: 14px; margin: 0 0 12px; color: var(--text); }
.foot-grid a { display: block; font-size: 13px; color: var(--text-faint); padding: 3px 0; transition: color 0.2s; }
.foot-grid a:hover { color: var(--text-dim); }
.home-copyright { text-align: center; color: var(--text-faint); font-size: 12.5px; margin-top: 40px; }

/* 首页响应式 */
@media (max-width: 1080px) {
  .home-hero h1 { font-size: 34px; }
}
@media (max-width: 860px) {
  .home-hero { min-height: 320px; margin-top: 12px; border-radius: 16px; }
  .home-hero-inner { padding: 48px 20px; }
  .home-hero h1 { font-size: 28px; }
  .home-hero .sub { font-size: 14px; }
  .home-case-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .studio-feats { grid-template-columns: 1fr; }
  .home-tabs { overflow-x: auto; }
}
