/* ============ T2V Studio — 深色科技风（青绿色主题） ============ */
:root{
  --bg:#07080d;
  --bg-2:#0d1018;
  --panel:rgba(20,24,36,.72);
  --panel-2:rgba(28,33,48,.6);
  --line:rgba(0,212,170,.14);
  --line-2:rgba(0,212,170,.26);
  --txt:#e8ecf7;
  --txt-dim:#8e9ab5;
  --txt-dim2:#616d88;
  --accent:#00d4aa;
  --accent-2:#00b4d8;
  --accent-3:#22d3ee;
  --ok:#22c55e;
  --warn:#f59e0b;
  --err:#ef4444;
  --radius:16px;
  --shadow:0 18px 50px rgba(0,0,0,.55);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:var(--bg);
  color:var(--txt);
  font-family:"Inter","PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
  position:relative;
  -webkit-font-smoothing:antialiased;
}
/* 背景网格 + 光晕 */
.bg-grid{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(0,212,170,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,212,170,.045) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 90% 70% at 50% 0%,#000 40%,transparent 100%);
}
.bg-glow{position:fixed;border-radius:50%;filter:blur(120px);opacity:.5;z-index:0;pointer-events:none}
.bg-glow.one{width:600px;height:600px;top:-220px;left:-120px;background:radial-gradient(circle,rgba(0,212,170,.5),transparent 65%)}
.bg-glow.two{width:560px;height:560px;top:20%;right:-200px;background:radial-gradient(circle,rgba(0,180,216,.42),transparent 65%)}

/* ============ 顶栏 ============ */
.topbar{
  position:sticky;top:0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 26px;
  background:rgba(9,11,18,.78);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:13px}
.logo{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;font-size:15px;font-weight:700;
  box-shadow:0 6px 22px rgba(0,212,170,.45);
}
.brand-text h1{font-size:17px;font-weight:700;letter-spacing:.3px}
.brand-text span{font-size:11.5px;color:var(--txt-dim);letter-spacing:.4px}
.topbar-right{display:flex;align-items:center;gap:12px}
.server-pill{
  display:flex;align-items:center;gap:8px;
  padding:7px 13px;border-radius:999px;font-size:12.5px;
  background:var(--panel-2);border:1px solid var(--line);color:var(--txt-dim);
}
.server-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--warn);box-shadow:0 0 10px currentColor}
.server-pill.online .dot{background:var(--ok);box-shadow:0 0 10px var(--ok)}
.server-pill.offline .dot{background:var(--err);box-shadow:0 0 10px var(--err)}

/* ============ 按钮 ============ */
.btn{
  font:inherit;cursor:pointer;border-radius:11px;border:1px solid var(--line-2);
  background:var(--panel-2);color:var(--txt);
  padding:9px 16px;font-size:13.5px;font-weight:600;
  transition:.18s;display:inline-flex;align-items:center;gap:8px;justify-content:center;
}
.btn:hover{background:rgba(40,48,70,.8);border-color:rgba(120,150,255,.5);transform:translateY(-1px)}
.btn.ghost{background:transparent}
.btn.primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  border:none;color:#fff;box-shadow:0 8px 26px rgba(0,212,170,.4);
}
.btn.primary:hover{filter:brightness(1.1);box-shadow:0 10px 34px rgba(0,212,170,.55)}
.btn.primary:disabled{opacity:.55;cursor:not-allowed;transform:none;filter:grayscale(.3)}
.btn.big{width:100%;padding:15px;font-size:15.5px;border-radius:13px;margin-top:18px}
.btn:active{transform:translateY(0) scale(.99)}

/* ============ 布局 ============ */
.layout{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(380px,420px) 1fr;gap:22px;
  padding:22px 26px 60px;max-width:1680px;margin:0 auto;align-items:start;
}
@media(max-width:1080px){.layout{grid-template-columns:1fr}}

.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  padding:22px;
}
.composer{position:sticky;top:86px}
@media(max-width:1080px){.composer{position:static}}

.panel-title{font-size:15.5px;font-weight:700;display:flex;align-items:center;gap:9px;margin-bottom:16px}
.panel-title .ico{font-size:16px}
.panel-title .count{
  font-size:11.5px;font-weight:600;color:var(--txt-dim);
  background:var(--panel-2);border:1px solid var(--line);
  padding:2px 9px;border-radius:999px;margin-left:2px;
}

/* ============ 输入 ============ */
.field-label{font-size:12.5px;font-weight:600;color:var(--txt-dim);margin:14px 0 8px;letter-spacing:.3px;display:flex;align-items:center;gap:6px}
.field-label::before{content:"";width:3px;height:12px;background:linear-gradient(180deg,var(--accent),var(--accent-2));border-radius:2px}
textarea,input[type=number],input[type=text],input[type=password],input:not([type]),select{
  width:100%;font:inherit;font-size:13.5px;color:var(--txt);
  background:linear-gradient(180deg,rgba(12,15,24,.85),rgba(8,10,16,.9));
  border:1px solid rgba(0,212,170,.2);
  border-radius:10px;padding:11px 13px;resize:vertical;outline:none;transition:.18s;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
textarea:focus,input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(0,212,170,.12),inset 0 1px 0 rgba(255,255,255,.05);background:linear-gradient(180deg,rgba(15,18,30,.95),rgba(10,12,20,.95))}
textarea::placeholder,input::placeholder{color:rgba(148,163,184,.45)}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px;cursor:pointer}
select option{background:#0f121e;color:var(--txt)}
.row-between{display:flex;justify-content:space-between;align-items:center;margin-top:7px}
.hint{font-size:11.5px;color:var(--txt-dim2)}
.counter{font-size:11.5px;color:var(--txt-dim2);font-variant-numeric:tabular-nums}

/* ============ 方向切换（横屏/竖屏） ============ */
.orient-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.orient-btn{
  font:inherit;cursor:pointer;color:var(--txt-dim);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  padding:13px 10px;border-radius:13px;
  background:var(--panel-2);border:1.5px solid var(--line);transition:.18s;
}
.orient-btn:hover{border-color:var(--line-2);background:rgba(36,42,62,.7);color:var(--txt)}
.orient-btn.active{
  border-color:var(--accent);color:#fff;
  background:linear-gradient(135deg,rgba(0,212,170,.18),rgba(0,180,216,.12));
  box-shadow:0 0 0 3px rgba(0,212,170,.12),0 8px 22px rgba(0,212,170,.18);
}
.orient-btn .ori-ico{
  width:34px;height:22px;border-radius:5px;border:2.5px solid currentColor;
  display:block;transition:.2s;
}
.orient-btn .ori-ico.vert{width:22px;height:34px}
.orient-btn.active .ori-ico{color:var(--accent-3);box-shadow:0 0 14px rgba(34,211,238,.45)}
.orient-btn span:last-child{font-size:12.5px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:2px}
.orient-btn em{font-style:normal;font-size:10.5px;color:var(--txt-dim2);font-weight:500}
.orient-btn.active em{color:rgba(255,255,255,.6)}

/* ============ 分段选择（清晰度/时长） ============ */
.seg-group{display:flex;gap:7px;background:rgba(8,10,16,.5);padding:5px;border-radius:12px;border:1px solid var(--line)}
.seg{
  flex:1;font:inherit;cursor:pointer;color:var(--txt-dim);
  display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:9px 6px;border-radius:9px;border:none;background:transparent;
  font-size:13px;font-weight:600;transition:.16s;white-space:nowrap;
}
.seg em{font-style:normal;font-size:10px;color:var(--txt-dim2);font-weight:500}
.seg:hover{background:rgba(0,212,170,.12);color:var(--txt)}
.seg.active{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;
  box-shadow:0 4px 14px rgba(0,212,170,.35);
}
.seg.active em{color:rgba(255,255,255,.75)}
.seg.danger em{color:var(--warn)}

/* 分辨率提示 */
.res-note{font-size:11px;color:var(--txt-dim2);margin-top:7px;display:flex;align-items:center;gap:5px;min-height:15px}
.res-note.warn{color:var(--warn)}
.dur-note.warn{color:var(--warn)}

/* ============ 参考素材选择 ============ */
.asset-picker{display:flex;flex-direction:column;gap:9px}
.asset-selected{background:rgba(8,10,16,.5);border:1px dashed var(--line-2);border-radius:12px;padding:11px}
.as-empty{display:flex;align-items:center;gap:9px;color:var(--txt-dim2);font-size:12.5px;justify-content:center;padding:9px}
.as-ico{font-size:17px;opacity:.75}
.as-thumb{display:flex;align-items:center;gap:11px}
.as-thumb img{width:78px;height:78px;object-fit:cover;border-radius:9px;border:1px solid var(--line-2);flex:none}
.as-info{flex:1;min-width:0}
.as-name{font-size:12.5px;color:var(--txt);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-role{display:flex;gap:5px;margin-top:7px}
.as-role .role{
  font:inherit;font-size:11px;padding:3px 10px;border-radius:7px;cursor:pointer;
  background:rgba(0,212,170,.12);color:var(--txt-dim);border:1px solid transparent;transition:.15s;
}
.as-role .role:hover{background:rgba(0,212,170,.22);color:var(--txt)}
.as-role .role.active{background:rgba(0,212,170,.22);color:#bcd0ff;border-color:rgba(0,212,170,.45)}
.as-clear{
  font:inherit;width:26px;height:26px;border-radius:8px;cursor:pointer;flex:none;
  background:rgba(239,68,68,.13);color:#ff9a9a;border:1px solid rgba(239,68,68,.25);
}
.as-clear:hover{background:rgba(239,68,68,.25)}
.opt{font-size:10.5px;color:var(--txt-dim2);font-weight:400;margin-left:4px}
.btn.sm{padding:7px 13px;font-size:12.5px;border-radius:9px}

/* ============ 素材库弹窗 ============ */
.lib-body{max-width:960px;width:94vw;max-height:86vh;display:flex;flex-direction:column}
.lib-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 12px}
.lib-head h3{margin:0;font-size:17px;color:var(--txt)}
.lib-head-actions{display:flex;gap:8px}
.lib-tabs{display:flex;gap:7px;padding:0 20px 13px;border-bottom:1px solid var(--line)}
.lib-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:11px;
  padding:15px 20px 20px;overflow-y:auto;flex:1;
}
.lib-item{
  position:relative;border-radius:11px;overflow:hidden;cursor:pointer;
  border:2px solid transparent;background:var(--panel-2);transition:.16s;
}
.lib-item:hover{border-color:var(--line-2);transform:translateY(-2px)}
.lib-item.selected{border-color:var(--accent);box-shadow:0 0 0 3px rgba(0,212,170,.18)}
.lib-item img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.lib-item .li-name{
  font-size:11px;color:var(--txt-dim);padding:6px 8px;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;background:var(--panel-2);
}
.lib-item .li-cat{
  position:absolute;top:7px;left:7px;font-size:10px;padding:2px 7px;border-radius:6px;
  background:rgba(7,8,13,.78);color:#bcd0ff;backdrop-filter:blur(4px);
}
.lib-item .li-del{
  position:absolute;top:7px;right:7px;width:24px;height:24px;border-radius:7px;cursor:pointer;
  font:inherit;background:rgba(239,68,68,.8);color:#fff;border:none;opacity:0;transition:.15s;font-size:12px;
}
.lib-item:hover .li-del{opacity:1}
.lib-empty{padding:40px;text-align:center;color:var(--txt-dim2);font-size:13px}
.lib-item .li-check{
  position:absolute;bottom:32px;right:8px;width:22px;height:22px;border-radius:50%;
  background:var(--accent);color:#fff;display:none;align-items:center;justify-content:center;font-size:12px;
}
.lib-item.selected .li-check{display:flex}

/* ============ 模型选择 ============ */
.model-picker{display:grid;gap:10px}
.model-card{
  text-align:left;font:inherit;cursor:pointer;color:var(--txt);
  background:var(--panel-2);border:1.5px solid var(--line);
  border-radius:13px;padding:13px 15px;transition:.18s;position:relative;overflow:hidden;
}
.model-card:hover{border-color:var(--line-2);background:rgba(36,42,62,.7)}
.model-card.active{
  border-color:var(--accent);
  background:linear-gradient(135deg,rgba(0,212,170,.16),rgba(0,180,216,.1));
  box-shadow:0 0 0 3px rgba(0,212,170,.13),0 8px 24px rgba(0,212,170,.2);
}
.mc-top{display:flex;align-items:center;gap:9px;margin-bottom:5px}
.mc-name{font-size:14.5px;font-weight:700}
.tag{font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:999px;letter-spacing:.3px}
.tag.hot{background:rgba(239,68,68,.18);color:#ff8a8a;border:1px solid rgba(239,68,68,.3)}
.tag.fast{background:rgba(34,211,238,.16);color:#67e8f9;border:1px solid rgba(34,211,238,.3)}
.tag.new{background:rgba(168,85,247,.18);color:#d8b4fe;border:1px solid rgba(168,85,247,.35)}
.mc-desc{font-size:12.5px;color:var(--txt-dim);margin-bottom:4px}
.mc-meta{font-size:11px;color:var(--txt-dim2);font-variant-numeric:tabular-nums}

/* ============ 高级设置 ============ */
.advanced{margin-top:14px;border-top:1px dashed var(--line);padding-top:12px}
.advanced summary{cursor:pointer;font-size:12.5px;color:var(--txt-dim);font-weight:600;list-style:none;user-select:none}
.advanced summary::-webkit-details-marker{display:none}
.advanced summary:before{content:"▸ ";transition:.2s;display:inline-block}
.advanced[open] summary:before{transform:rotate(90deg)}
.adv-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.adv-grid label{font-size:11.5px;color:var(--txt-dim);display:flex;flex-direction:column;gap:5px}
.adv-grid input{padding:9px 11px;font-size:13px}

/* ============ 进度 ============ */
.progress-wrap{margin-top:16px;background:rgba(8,10,16,.6);border:1px solid var(--line);border-radius:13px;padding:14px}
.prog-head{display:flex;justify-content:space-between;font-size:13px;font-weight:600;margin-bottom:10px}
#progStatus{color:var(--accent-3)}
#progEta{color:var(--txt-dim);font-variant-numeric:tabular-nums;font-weight:500}
.bar{height:9px;border-radius:999px;background:rgba(0,212,170,.14);overflow:hidden;position:relative}
.bar-fill{
  height:100%;width:0%;border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2),var(--accent-3));
  background-size:200% 100%;
  transition:width .5s cubic-bezier(.4,0,.2,1);
  animation:flow 2.4s linear infinite;
  box-shadow:0 0 16px rgba(0,212,170,.6);
}
@keyframes flow{0%{background-position:0% 0}100%{background-position:200% 0}}
.prog-foot{display:flex;justify-content:space-between;font-size:11.5px;color:var(--txt-dim2);margin-top:9px;font-variant-numeric:tabular-nums}
.spinner{
  width:15px;height:15px;border-radius:50%;
  border:2px solid rgba(255,255,255,.35);border-top-color:#fff;
  animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

/* ============ 作品列表 ============ */
.gallery-panel{min-height:520px}
.gallery-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:6px}
.filters{display:flex;gap:7px}
.chip{
  font:inherit;font-size:12px;font-weight:600;cursor:pointer;color:var(--txt-dim);
  background:var(--panel-2);border:1px solid var(--line);border-radius:999px;padding:6px 14px;transition:.16s;
}
.chip:hover{color:var(--txt);border-color:var(--line-2)}
.chip.active{background:linear-gradient(135deg,rgba(0,212,170,.28),rgba(0,180,216,.22));color:#fff;border-color:transparent}

.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin-top:16px}
.card{
  background:var(--panel-2);border:1px solid var(--line);border-radius:14px;overflow:hidden;
  transition:.2s;cursor:pointer;position:relative;
}
.card:hover{transform:translateY(-4px);border-color:var(--line-2);box-shadow:0 16px 36px rgba(0,0,0,.5)}
.card-thumb{position:relative;aspect-ratio:16/10;background:#05060a;overflow:hidden;display:grid;place-items:center}
.card-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.card-thumb .ph{font-size:30px;opacity:.25}
.card-badge{
  position:absolute;top:9px;left:9px;font-size:10.5px;font-weight:700;letter-spacing:.3px;
  padding:3px 9px;border-radius:999px;backdrop-filter:blur(6px);
}
.card-badge.h3{background:rgba(239,68,68,.85);color:#fff}
.card-badge.ltx{background:rgba(34,211,238,.85);color:#04202a}
.card-badge.wan{background:rgba(168,85,247,.85);color:#fff}
.card-body{padding:11px 13px 13px}
.card-prompt{font-size:12.5px;line-height:1.45;color:var(--txt);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}
.card-meta{display:flex;justify-content:space-between;align-items:center;margin-top:9px;font-size:11px;color:var(--txt-dim2);font-variant-numeric:tabular-nums}
.card-actions{display:flex;gap:7px;margin-top:10px}
.card-actions button,.card-actions a{
  flex:1;font:inherit;font-size:11.5px;font-weight:600;cursor:pointer;text-align:center;text-decoration:none;
  padding:7px;border-radius:9px;background:rgba(0,212,170,.1);border:1px solid var(--line);color:var(--txt-dim);transition:.16s;
}
.card-actions button:hover,.card-actions a:hover{background:rgba(0,212,170,.2);color:var(--txt)}

/* 进行中任务条 */
.active-tasks{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.active-task{
  display:flex;align-items:center;gap:14px;padding:13px 15px;border-radius:13px;
  background:linear-gradient(135deg,rgba(0,212,170,.14),rgba(0,180,216,.08));
  border:1px solid rgba(0,212,170,.3);
}
.at-spin{width:20px;height:20px;border-radius:50%;border:2.5px solid rgba(0,212,170,.3);border-top-color:var(--accent);animation:spin .8s linear infinite;flex-shrink:0}
.at-info{flex:1;min-width:0}
.at-prompt{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:7px}
.at-bar{height:6px;border-radius:999px;background:rgba(0,212,170,.16);overflow:hidden}
.at-bar>div{height:100%;background:linear-gradient(90deg,var(--accent),var(--accent-3));border-radius:999px;transition:width .5s}
.at-pct{font-size:12px;font-weight:700;color:var(--accent-3);font-variant-numeric:tabular-nums;min-width:42px;text-align:right}

/* ============ 空状态 ============ */
.empty{grid-column:1/-1;text-align:center;padding:64px 20px;color:var(--txt-dim2)}
.empty-ico{font-size:46px;opacity:.4;margin-bottom:14px}
.empty p{font-size:15px;color:var(--txt-dim);margin-bottom:6px;font-weight:600}
.empty span{font-size:12.5px}

/* ============ 弹窗 ============ */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(3,4,8,.82);backdrop-filter:blur(8px)}
.modal-body{
  position:relative;z-index:1;width:min(920px,100%);max-height:92vh;overflow:auto;
  background:var(--bg-2);border:1px solid var(--line-2);border-radius:20px;
  box-shadow:0 30px 80px rgba(0,0,0,.7);padding:20px;
  animation:pop .24s cubic-bezier(.3,1.3,.5,1);
}
@keyframes pop{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
.modal-close{
  position:absolute;top:14px;right:14px;z-index:2;width:34px;height:34px;border-radius:10px;
  background:rgba(20,24,36,.9);border:1px solid var(--line);color:var(--txt-dim);cursor:pointer;font-size:15px;
}
.modal-close:hover{color:#fff;background:rgba(239,68,68,.5)}
#modalVideo{width:100%;border-radius:14px;background:#000;display:block}
.modal-info{margin-top:16px}
.modal-info>p{font-size:14px;line-height:1.6;color:var(--txt);margin-bottom:12px}
.modal-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.modal-meta span{font-size:11.5px;color:var(--txt-dim);background:var(--panel-2);border:1px solid var(--line);padding:5px 11px;border-radius:999px}
.modal-actions{display:flex;gap:10px;flex-wrap:wrap}
.modal-actions .btn{flex:1;min-width:140px}

/* ============ Toast ============ */
.toast-wrap{position:fixed;bottom:26px;right:26px;z-index:200;display:flex;flex-direction:column;gap:10px}
.toast{
  padding:13px 18px;border-radius:12px;font-size:13.5px;font-weight:600;
  background:var(--bg-2);border:1px solid var(--line-2);color:var(--txt);
  box-shadow:0 12px 34px rgba(0,0,0,.6);animation:slidein .28s ease;
  display:flex;align-items:center;gap:10px;max-width:340px;
}
.toast.ok{border-color:rgba(34,197,94,.5)}
.toast.err{border-color:rgba(239,68,68,.55)}
.toast.info{border-color:rgba(0,212,170,.5)}
@keyframes slidein{from{transform:translateX(40px);opacity:0}to{transform:translateX(0);opacity:1}}

/* 滚动条 */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(0,212,170,.22);border-radius:999px;border:2px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:rgba(0,212,170,.4);background-clip:content-box}

/* ============ 追加：导航 / 登录 / 业务页 ============ */
/* 顶栏中间导航 */
.nav-links{display:flex;gap:4px;align-items:center;flex:1;justify-content:center}
.nav-links a{
  font-size:13.5px;font-weight:600;color:var(--txt-dim);text-decoration:none;
  padding:8px 16px;border-radius:10px;transition:.16s;white-space:nowrap;
}
.nav-links a:hover{color:var(--txt);background:rgba(0,212,170,.12)}
.nav-links a.active{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 4px 16px rgba(0,212,170,.4)}
.topbar{justify-content:flex-start}
.topbar-right{margin-left:auto;flex:none}

/* 顶栏用户区 */
.nav-user{display:flex;align-items:center;gap:10px}
.user-chip{
  display:flex;align-items:center;gap:9px;padding:6px 12px 6px 6px;border-radius:999px;
  background:var(--panel-2);border:1px solid var(--line);cursor:pointer;transition:.16s;text-decoration:none;color:var(--txt);
}
.user-chip:hover{border-color:var(--line-2)}
.user-avatar{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;
  background:linear-gradient(135deg,var(--warn),var(--err));color:#fff;flex:none;
}
.mb-badge{font-size:10px;font-weight:800;padding:2px 7px;border-radius:6px;letter-spacing:.4px}
.mb-badge.vip{background:linear-gradient(135deg,#60a5fa,#3b82f6);color:#fff}
.mb-badge.svip{background:linear-gradient(135deg,#a78bfa,#7c5cff);color:#fff}

/* 页面标题 */
.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.page-head h1{font-size:21px;font-weight:800;letter-spacing:.3px}
.page-head .sub{font-size:12.5px;color:var(--txt-dim)}

/* 面板菜单（用户/管理后台左侧） */
.menu-list{display:flex;flex-direction:column;gap:4px;margin-top:14px}
.menu-item{
  display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:11px;
  color:var(--txt-dim);font-size:13.5px;font-weight:600;cursor:pointer;text-decoration:none;transition:.16s;
}
.menu-item:hover{background:rgba(0,212,170,.12);color:var(--txt)}
.menu-item.active{
  background:linear-gradient(135deg,rgba(0,212,170,.2),rgba(0,180,216,.14));
  color:#fff;border:1px solid rgba(0,212,170,.4);
}
.menu-item .mi-ico{width:22px;text-align:center;font-size:15px}
.menu-item .mi-tag{margin-left:auto;font-size:10.5px;color:var(--txt-dim2);font-weight:600}

/* 统计卡 */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}
.stat-card{
  background:var(--panel-2);border:1px solid var(--line);border-radius:14px;padding:16px 18px;position:relative;overflow:hidden;
}
.stat-card::after{
  content:"";position:absolute;top:-30px;right:-30px;width:90px;height:90px;border-radius:50%;
  background:radial-gradient(circle,rgba(0,212,170,.28),transparent 70%);pointer-events:none;
}
.stat-card .num{font-size:26px;font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.stat-card .lbl{font-size:12px;color:var(--txt-dim);margin-top:2px}
.stat-card .mini-link{font-size:11px;color:var(--accent-3);margin-top:6px;display:inline-block;text-decoration:none}
.stat-card.warn .num{color:var(--warn)} .stat-card.ok .num{color:var(--ok)} .stat-card.purple .num{color:var(--accent)} .stat-card.cyan .num{color:var(--accent-3)}

/* 表格 */
.tbl{width:100%;border-collapse:collapse;font-size:13px}
.tbl th{text-align:left;font-size:11px;font-weight:700;color:var(--txt-dim);letter-spacing:.6px;text-transform:uppercase;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.tbl td{padding:12px;border-bottom:1px solid rgba(0,212,170,.08);vertical-align:middle}
.tbl tr:hover td{background:rgba(0,212,170,.05)}
.tbl .row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}

/* 徽章/状态 */
.tag{display:inline-block;font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:999px;letter-spacing:.3px}
.tag.green{background:rgba(34,197,94,.15);color:#4ade80;border:1px solid rgba(34,197,94,.3)}
.tag.blue{background:rgba(96,165,250,.15);color:#93c5fd;border:1px solid rgba(96,165,250,.3)}
.tag.purple{background:rgba(168,85,247,.16);color:#d8b4fe;border:1px solid rgba(168,85,247,.35)}
.tag.orange{background:rgba(245,158,11,.15);color:#fbbf24;border:1px solid rgba(245,158,11,.3)}
.tag.red{background:rgba(239,68,68,.15);color:#fca5a5;border:1px solid rgba(239,68,68,.3)}
.tag.gray{background:rgba(0,212,170,.1);color:var(--txt-dim);border:1px solid var(--line)}

/* 登录页 */
.auth-wrap{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:40px 20px}
.auth-panel{width:min(430px,100%);background:var(--panel);border:1px solid var(--line);border-radius:20px;backdrop-filter:blur(14px);box-shadow:var(--shadow);padding:34px}
.auth-brand{text-align:center;margin-bottom:24px}
.auth-brand .logo{width:54px;height:54px;margin:0 auto 14px;font-size:18px;border-radius:15px}
.auth-brand h2{font-size:21px;font-weight:800;margin-bottom:5px}
.auth-brand p{font-size:12.5px;color:var(--txt-dim)}
.auth-switch{text-align:center;margin-top:20px;font-size:13px;color:var(--txt-dim)}
.auth-switch a{color:var(--accent-3);text-decoration:none;font-weight:600}
.field-label{margin-top:16px}
.btn.big{width:100%;padding:15px;font-size:15.5px;border-radius:13px;margin-top:22px}

/* 会员中心 */
.vip-layout{display:grid;grid-template-columns:minmax(320px,380px) 1fr;gap:22px;align-items:start}
@media(max-width:1080px){.vip-layout{grid-template-columns:1fr}}
.my-member{position:sticky;top:86px}
.mm-grade{display:flex;align-items:center;gap:12px;margin:14px 0}
.mm-grade .grade-ico{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;font-size:24px;background:var(--panel-2);border:1px solid var(--line)}
.mm-grade .grade-name{font-size:22px;font-weight:800}
.mm-grade .grade-name.svip{background:linear-gradient(135deg,#a78bfa,#7c5cff);-webkit-background-clip:text;background-clip:text;color:transparent}
.mm-grade .grade-name.vip{background:linear-gradient(135deg,#60a5fa,#3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent}
.mm-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px dashed var(--line);font-size:13px}
.mm-row .k{color:var(--txt-dim)} .mm-row .v{font-weight:700;font-variant-numeric:tabular-nums}
.mm-row .v.allowance{color:var(--ok);font-size:17px}
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:1180px){.plan-grid{grid-template-columns:1fr}}
.plan-card{
  position:relative;background:var(--panel-2);border:1.5px solid var(--line);border-radius:16px;
  padding:22px;display:flex;flex-direction:column;transition:.2s;overflow:hidden;
}
.plan-card:hover{transform:translateY(-3px);border-color:var(--line-2);box-shadow:0 14px 34px rgba(0,0,0,.5)}
.plan-card.hot{
  border-color:rgba(0,180,216,.6);
  background:linear-gradient(160deg,rgba(0,180,216,.18),rgba(0,212,170,.08));
  box-shadow:0 0 0 3px rgba(0,180,216,.12),0 14px 40px rgba(0,180,216,.25);
}
.plan-card .hot-flag{
  position:absolute;top:-11px;left:50%;transform:translateX(-50%);
  background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;font-size:11px;font-weight:800;
  padding:4px 16px;border-radius:999px;white-space:nowrap;letter-spacing:.5px;
}
.plan-name{font-size:16px;font-weight:800}
.plan-price{font-size:38px;font-weight:800;margin:10px 0 2px;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.plan-price .unit{font-size:14px;color:var(--txt-dim);font-weight:600;letter-spacing:0}
.plan-price.none{color:var(--txt-dim)}
.plan-price.vip{background:linear-gradient(135deg,#60a5fa,#3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent}
.plan-price.svip{background:linear-gradient(135deg,#a78bfa,#7c5cff);-webkit-background-clip:text;background-clip:text;color:transparent}
.plan-desc{font-size:11.5px;color:var(--txt-dim2);margin-bottom:16px}
.plan-feats{list-style:none;margin:0 0 20px;flex:1}
.plan-feats li{font-size:13px;padding:7px 0 7px 24px;position:relative;color:var(--txt)}
.plan-feats li::before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:800}
.plan-feats li b{color:var(--ok)}

/* 素材卡 */
.mat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:13px}
.mat-card{
  background:var(--panel-2);border:1px solid var(--line);border-radius:14px;padding:16px;
  display:flex;flex-direction:column;gap:8px;transition:.18s;
}
.mat-card:hover{transform:translateY(-2px);border-color:var(--line-2)}
.mat-ico{font-size:32px}
.mat-name{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mat-name a{color:var(--txt);text-decoration:none}
.mat-meta{display:flex;gap:6px}
.mat-actions{display:flex;gap:6px;margin-top:2px}

/* 仪表盘欢迎 */
.welcome-panel{
  display:flex;align-items:center;gap:18px;padding:20px 22px;margin-bottom:16px;
  background:linear-gradient(135deg,rgba(0,212,170,.14),rgba(0,180,216,.08));
  border:1px solid rgba(0,212,170,.3);border-radius:16px;
}
.welcome-avatar{
  width:58px;height:58px;border-radius:16px;display:grid;place-items:center;font-size:26px;font-weight:800;flex:none;
  background:linear-gradient(135deg,var(--warn),var(--err));color:#fff;
}
.welcome-info{flex:1;min-width:0}
.welcome-info h2{font-size:19px;font-weight:800;margin-bottom:2px}
.welcome-info .sub{font-size:12px;color:var(--txt-dim)}

/* 通用卡片区 */
.panel+.panel{margin-top:16px}
.section-title{font-size:15px;font-weight:800;display:flex;align-items:center;gap:9px;margin:0 0 14px}
.section-title .count{font-size:11px;font-weight:700;color:var(--txt-dim);background:var(--panel-2);border:1px solid var(--line);padding:2px 9px;border-radius:999px}
.progress{display:flex;align-items:center;gap:8px;min-width:90px}
.progress .bar{flex:1;height:6px;border-radius:999px;background:rgba(0,212,170,.14);overflow:hidden}
.progress .bar>div{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent-3));transition:width .4s}

/* 弹窗表单（沿用原站 modal 结构） */
.modal-body h3{font-size:17px;font-weight:800;margin-bottom:16px}
.modal-body input,.modal-body select,.modal-body textarea{width:100%}
.modal-row{display:flex;gap:10px;margin-top:18px}
.modal-row .btn{flex:1}
.muted{color:var(--txt-dim)} .small{font-size:12.5px} .money{color:var(--ok);font-weight:700}
.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mt{margin-top:14px} .mb{margin-bottom:14px}

/* ============ v31 新版：梦幻圆首页 ============ */
.hero-section{
  position:relative;min-height:82vh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:40px 20px 60px;overflow:hidden;
}
.orbit-container{
  position:relative;width:min(92vw,88vh);height:min(92vw,88vh);
  display:flex;align-items:center;justify-content:center;margin-bottom:10px;
}
.orbit-ring{
  position:absolute;inset:0;border-radius:50%;
  border:1px solid rgba(0,212,170,.18);
  background:radial-gradient(circle at 50% 50%,rgba(0,212,170,.08) 0%,transparent 65%);
}
.orbit-ring::before{
  content:"";position:absolute;inset:30px;border-radius:50%;
  border:1px dashed rgba(0,180,216,.15);
}
.orbit-ring::after{
  content:"";position:absolute;inset:70px;border-radius:50%;
  border:1px solid rgba(34,211,238,.1);
}
.orbit-icons{position:absolute;inset:0;animation:orbitSpin 40s linear infinite;}
.orbit-icons.reverse{animation:orbitSpinRev 55s linear infinite;}
@keyframes orbitSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes orbitSpinRev{from{transform:rotate(360deg)}to{transform:rotate(0)}}
.orbit-icon{
  position:absolute;width:60px;height:60px;border-radius:16px;
  display:grid;place-items:center;font-size:28px;
  background:rgba(20,24,36,.85);border:1px solid rgba(0,212,170,.35);
  backdrop-filter:blur(8px);box-shadow:0 4px 20px rgba(0,0,0,.4);
  animation:orbitIconCounter 40s linear infinite;
}
.orbit-icons.reverse .orbit-icon{animation:orbitIconCounterRev 55s linear infinite;}
@keyframes orbitIconCounter{from{transform:rotate(0)}to{transform:rotate(-360deg)}}
@keyframes orbitIconCounterRev{from{transform:rotate(-360deg)}to{transform:rotate(0)}}
.orbit-icon.small{width:46px;height:46px;font-size:21px;border-radius:13px;}
.hero-core{
  position:relative;z-index:2;text-align:center;max-width:620px;padding:70px 20px 0;
}
.hero-core .badge{
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;
  color:var(--accent-3);background:rgba(34,211,238,.1);border:1px solid rgba(34,211,238,.3);
  padding:7px 20px;border-radius:999px;white-space:nowrap;
}
.hero-core h1{
  font-size:clamp(30px,4.5vw,52px);font-weight:800;line-height:1.25;margin:0 0 14px;
  letter-spacing:-.5px;height:2.6em;overflow:hidden;
}
.hero-core h1 span{
  background:linear-gradient(135deg,var(--accent),var(--accent-2),var(--accent-3));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-core p{color:var(--txt-dim);font-size:14px;line-height:1.8;margin:0 0 22px;}
.hero-core .typewriter-cursor{
  display:inline-block;width:3px;height:1em;background:var(--accent-3);
  margin-left:2px;vertical-align:text-bottom;animation:cursorBlink .8s step-end infinite;
}
@keyframes cursorBlink{0%,100%{opacity:1}50%{opacity:0}}
.hero-tags{
  display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:24px;
}
.hero-tag{
  font-size:11.5px;font-weight:600;color:var(--txt-dim2);
  background:rgba(255,255,255,.04);border:1px solid var(--line);
  padding:5px 13px;border-radius:999px;
}
.hero-tag b{color:var(--accent-3);}
.hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.hero-cta .btn{padding:13px 30px;font-size:14.5px;border-radius:12px;}

/* 首页海报墙分类 */
.wall-section{max-width:1360px;margin:0 auto;padding:0 26px 70px;}
.wall-filters{
  display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;
}
.wall-filter{
  font-size:12.5px;font-weight:600;color:var(--txt-dim);
  background:var(--panel-2);border:1px solid var(--line);
  padding:7px 16px;border-radius:999px;cursor:pointer;transition:.18s;
}
.wall-filter:hover{border-color:var(--line-2);color:var(--txt);}
.wall-filter.active{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;border-color:transparent;
}

/* ============ v31 科幻登录页 ============ */
.sci-page{
  position:fixed;inset:0;display:flex;align-items:center;justify-content:center;
  padding:20px;z-index:10;
}
.sci-backdrop{
  position:absolute;inset:0;overflow:hidden;
  background:radial-gradient(ellipse at 20% 30%,rgba(0,212,170,.12) 0%,transparent 50%),
             radial-gradient(ellipse at 80% 70%,rgba(0,180,216,.1) 0%,transparent 50%),
             radial-gradient(ellipse at 50% 50%,rgba(34,211,238,.05) 0%,transparent 60%);
}
.sci-backdrop::before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(0,212,170,.04) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(0,212,170,.04) 1px,transparent 1px);
  background-size:50px 50px;
  mask-image:radial-gradient(ellipse at center,black 30%,transparent 80%);
}
.sci-backdrop::after{
  content:"";position:absolute;width:600px;height:600px;border-radius:50%;
  top:50%;left:50%;transform:translate(-50%,-50%);
  border:1px solid rgba(0,212,170,.08);
  box-shadow:0 0 120px rgba(0,212,170,.06),inset 0 0 120px rgba(0,180,216,.04);
  animation:sciPulse 6s ease-in-out infinite;
}
@keyframes sciPulse{0%,100%{opacity:.6;transform:translate(-50%,-50%) scale(1)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}}
.sci-return{
  position:absolute;top:24px;left:24px;z-index:5;
  display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;
  color:var(--txt-dim);background:var(--panel);border:1px solid var(--line);
  padding:8px 16px;border-radius:10px;cursor:pointer;transition:.18s;
  backdrop-filter:blur(10px);
}
.sci-return:hover{color:var(--txt);border-color:var(--line-2);}
.sci-card{
  position:relative;z-index:2;width:min(420px,100%);
  background:rgba(15,18,28,.85);border:1px solid rgba(0,212,170,.25);
  border-radius:22px;backdrop-filter:blur(20px);
  box-shadow:0 0 60px rgba(0,212,170,.1),0 20px 60px rgba(0,0,0,.5);
  padding:38px 34px;
}
.sci-card::before{
  content:"";position:absolute;top:-1px;left:30px;right:30px;height:2px;
  background:linear-gradient(90deg,transparent,var(--accent),var(--accent-2),transparent);
  border-radius:2px;
}
.sci-logo{
  width:56px;height:56px;margin:0 auto 18px;border-radius:16px;
  display:grid;place-items:center;font-size:20px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 0 30px rgba(0,212,170,.4);
}
.sci-card h2{text-align:center;font-size:22px;font-weight:800;margin:0 0 5px;}
.sci-card .sub{text-align:center;font-size:12.5px;color:var(--txt-dim);margin-bottom:24px;}
.sci-input-wrap{position:relative;margin-bottom:16px;}
.sci-input-wrap label{
  display:block;font-size:11.5px;font-weight:700;color:var(--txt-dim2);
  letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase;
}
.sci-input{
  width:100%;padding:13px 16px;font-size:14px;color:var(--txt);
  background:rgba(8,10,16,.7);border:1px solid var(--line);border-radius:11px;
  outline:none;transition:.18s;box-sizing:border-box;
}
.sci-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(0,212,170,.12);}
.sci-btn{
  width:100%;padding:14px;font-size:15px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  border:none;border-radius:11px;cursor:pointer;transition:.18s;margin-top:8px;
  box-shadow:0 4px 20px rgba(0,212,170,.3);
}
.sci-btn:hover{transform:translateY(-1px);box-shadow:0 6px 28px rgba(0,212,170,.45);}
.sci-switch{text-align:center;margin-top:20px;font-size:13px;color:var(--txt-dim);}
.sci-switch a{color:var(--accent-3);text-decoration:none;font-weight:600;}

/* ============ v31 创建剧大按钮 ============ */
.create-hero{
  padding:24px 28px;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(0,212,170,.12),rgba(0,180,216,.06));
  border:1px solid rgba(0,212,170,.25);border-radius:18px;
}
.create-hero h1{font-size:24px;font-weight:800;margin:0 0 4px;}
.create-hero .sub{font-size:13px;color:var(--txt-dim);margin:0;}
.type-selector{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:22px;}
.type-card{
  position:relative;padding:28px 24px;border-radius:18px;cursor:pointer;
  background:var(--panel-2);border:2px solid var(--line);transition:.2s;
  display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;
  overflow:hidden;
}
.type-card::before{
  content:"";position:absolute;inset:0;opacity:0;transition:.2s;
  background:linear-gradient(135deg,rgba(0,212,170,.1),rgba(0,180,216,.06));
}
.type-card:hover{border-color:var(--line-2);transform:translateY(-2px);}
.type-card:hover::before{opacity:1;}
.type-card.active{
  border-color:var(--accent);
  background:linear-gradient(160deg,rgba(0,212,170,.18),rgba(0,180,216,.1));
  box-shadow:0 0 0 3px rgba(0,212,170,.12),0 8px 30px rgba(0,212,170,.2);
}
.type-card.active::before{opacity:1;}
.type-card .type-ico{
  width:64px;height:64px;border-radius:18px;display:grid;place-items:center;
  font-size:30px;background:rgba(255,255,255,.05);border:1px solid var(--line);
  position:relative;z-index:1;
}
.type-card.active .type-ico{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  border-color:transparent;box-shadow:0 4px 20px rgba(0,212,170,.4);
}
.type-card .type-name{font-size:18px;font-weight:800;position:relative;z-index:1;}
.type-card .type-desc{font-size:12px;color:var(--txt-dim);position:relative;z-index:1;}
.type-card .type-check{
  position:absolute;top:14px;right:14px;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;font-size:13px;color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  opacity:0;transform:scale(.5);transition:.2s;
}
.type-card.active .type-check{opacity:1;transform:scale(1);}

.create-form{display:flex;flex-direction:column;gap:16px;}
.create-form .field-label{
  font-size:12px;font-weight:700;color:var(--txt-dim2);letter-spacing:.5px;
  text-transform:uppercase;margin-bottom:6px;display:block;
}
.create-form input,.create-form textarea,.create-form select{
  width:100%;padding:13px 16px;font-size:14px;color:var(--txt);
  background:rgba(8,10,16,.7);border:1px solid var(--line);border-radius:11px;
  outline:none;transition:.18s;box-sizing:border-box;font-family:inherit;
}
.create-form input:focus,.create-form textarea:focus,.create-form select:focus{
  border-color:var(--accent);box-shadow:0 0 0 3px rgba(0,212,170,.12);
}
.create-form textarea{resize:vertical;min-height:90px;}
.create-submit{
  padding:15px;font-size:15.5px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  border:none;border-radius:12px;cursor:pointer;transition:.18s;
  box-shadow:0 4px 20px rgba(0,212,170,.3);margin-top:4px;
}
.create-submit:hover{transform:translateY(-1px);box-shadow:0 6px 28px rgba(0,212,170,.45);}

/* 剧本预览高科技感 */
.script-preview{
  position:relative;border-radius:14px;overflow:hidden;
  background:rgba(8,10,16,.8);border:1px solid var(--line);
  padding:18px;min-height:160px;
}
.script-preview::before{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--accent-3),transparent);
  animation:scanLine 3s linear infinite;
}
@keyframes scanLine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.script-preview .sp-header{
  display:flex;align-items:center;gap:8px;margin-bottom:12px;
  font-size:11px;font-weight:700;color:var(--accent-3);letter-spacing:1px;
}
.script-preview .sp-dot{
  width:8px;height:8px;border-radius:50%;background:var(--accent-3);
  box-shadow:0 0 8px var(--accent-3);animation:blink 1.5s ease-in-out infinite;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.script-preview pre{
  margin:0;font-size:12.5px;line-height:1.7;color:var(--txt);
  white-space:pre-wrap;word-break:break-word;max-height:240px;overflow:auto;
}
.script-preview .sp-stats{
  display:flex;gap:16px;margin-top:14px;padding-top:12px;
  border-top:1px dashed var(--line);font-size:11.5px;color:var(--txt-dim);
}
.script-preview .sp-stats b{color:var(--accent-3);font-weight:700;}

/* ============ v31 会员三竖布局 ============ */
.vip-3col{
  display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:18px;
  max-width:1280px;margin:0 auto;
}
@media(max-width:1100px){.vip-3col{grid-template-columns:1fr;}}
.vip-column{
  background:var(--panel);border:1px solid var(--line);border-radius:20px;
  padding:28px 24px;display:flex;flex-direction:column;position:relative;overflow:hidden;
}
.vip-column.hot{
  border-color:rgba(0,180,216,.5);
  background:linear-gradient(170deg,rgba(0,180,216,.15),rgba(0,212,170,.06));
  box-shadow:0 0 0 3px rgba(0,180,216,.1),0 12px 40px rgba(0,180,216,.2);
}
.vip-column .hot-flag{
  position:absolute;top:16px;right:16px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;
  font-size:10.5px;font-weight:800;padding:4px 12px;border-radius:999px;letter-spacing:.5px;
}
.vip-col-head{text-align:center;margin-bottom:20px;}
.vip-col-head .vc-ico{
  width:52px;height:52px;margin:0 auto 12px;border-radius:15px;
  display:grid;place-items:center;font-size:24px;
  background:rgba(255,255,255,.05);border:1px solid var(--line);
}
.vip-column.hot .vc-ico{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));border-color:transparent;
  box-shadow:0 4px 20px rgba(0,212,170,.4);
}
.vip-col-head h3{font-size:19px;font-weight:800;margin:0 0 4px;}
.vip-col-head .vc-price{
  font-size:36px;font-weight:800;letter-spacing:-1px;margin:8px 0 2px;
  font-variant-numeric:tabular-nums;
}
.vip-col-head .vc-price .unit{font-size:14px;color:var(--txt-dim);font-weight:600;}
.vip-col-head .vc-price.free{color:var(--txt-dim);}
.vip-col-head .vc-price.vip{background:linear-gradient(135deg,#60a5fa,#3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent;}
.vip-col-head .vc-price.svip{background:linear-gradient(135deg,#a78bfa,#7c5cff);-webkit-background-clip:text;background-clip:text;color:transparent;}
.vip-col-head .vc-desc{font-size:12px;color:var(--txt-dim2);}
.vip-feats{list-style:none;margin:0 0 22px;padding:0;flex:1;}
.vip-feats li{
  font-size:13px;padding:8px 0 8px 26px;position:relative;color:var(--txt);
  border-bottom:1px dashed rgba(255,255,255,.05);
}
.vip-feats li::before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:800;}
.vip-feats li b{color:var(--accent-3);}
.vip-feats li.no{color:var(--txt-dim2);}
.vip-feats li.no::before{content:"—";color:var(--txt-dim2);}
.vip-col-btn{
  width:100%;padding:13px;font-size:14.5px;font-weight:700;border-radius:11px;
  cursor:pointer;transition:.18s;border:none;
}
.vip-col-btn.primary{
  color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 4px 18px rgba(0,212,170,.3);
}
.vip-col-btn.primary:hover{transform:translateY(-1px);box-shadow:0 6px 26px rgba(0,212,170,.45);}
.vip-col-btn.ghost{
  color:var(--txt);background:var(--panel-2);border:1px solid var(--line);
}
.vip-col-btn.ghost:hover{border-color:var(--line-2);}
.vip-col-btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important;}

/* 托管内 A/B 档 */
.hosted-inner{display:flex;flex-direction:column;gap:14px;flex:1;}
.hosted-card{
  background:rgba(8,10,16,.6);border:1px solid var(--line);border-radius:14px;
  padding:18px;transition:.18s;
}
.hosted-card:hover{border-color:var(--line-2);}
.hosted-card .hc-head{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;
}
.hosted-card .hc-name{font-size:15px;font-weight:800;display:flex;align-items:center;gap:8px;}
.hosted-card .hc-name .gpu-ico{font-size:18px;}
.hosted-card .hc-price{font-size:20px;font-weight:800;color:var(--ok);font-variant-numeric:tabular-nums;}
.hosted-card .hc-config{
  font-size:11.5px;color:var(--txt-dim);line-height:1.7;margin-bottom:12px;
  padding:10px 12px;background:rgba(0,0,0,.25);border-radius:8px;
  border-left:2px solid var(--accent);
}
.hosted-card .hc-btn{
  width:100%;padding:10px;font-size:13px;font-weight:700;border-radius:9px;
  cursor:pointer;transition:.18s;border:1px solid var(--line);
  background:var(--panel-2);color:var(--txt);
}
.hosted-card .hc-btn:hover{border-color:var(--accent);color:var(--accent);}

/* ============ v31 大气任务卡 ============ */
.task-grid{display:flex;flex-direction:column;gap:14px;}
.task-item{
  background:var(--panel);border:1px solid var(--line);border-radius:16px;
  padding:20px 22px;transition:.18s;display:flex;flex-direction:column;gap:14px;
}
.task-item:hover{border-color:var(--line-2);box-shadow:0 6px 24px rgba(0,0,0,.3);}
.task-item .ti-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.task-item .ti-title{font-size:15px;font-weight:700;display:flex;align-items:center;gap:10px;}
.task-item .ti-title .ti-id{
  font-size:11px;font-weight:700;color:var(--accent-3);
  background:rgba(34,211,238,.1);border:1px solid rgba(34,211,238,.25);
  padding:3px 10px;border-radius:6px;
}
.task-item .ti-meta{display:flex;gap:16px;font-size:12px;color:var(--txt-dim);flex-wrap:wrap;}
.task-item .ti-meta span{display:flex;align-items:center;gap:4px;}
.task-item .ti-progress{display:flex;align-items:center;gap:12px;}
.task-item .ti-progress .bar{
  flex:1;height:8px;border-radius:999px;background:rgba(0,212,170,.12);overflow:hidden;
}
.task-item .ti-progress .bar>div{
  height:100%;border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent-3));
  position:relative;overflow:hidden;transition:width .4s;
}
.task-item .ti-progress .bar>div::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);
  animation:shimmer 2s linear infinite;
}
@keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.task-item .ti-progress .pct{font-size:13px;font-weight:700;color:var(--accent-3);min-width:42px;text-align:right;}
.task-item .ti-actions{display:flex;gap:8px;flex-wrap:wrap;}
.task-item .ti-actions .btn{padding:8px 16px;font-size:12.5px;border-radius:9px;}

/* ============ v31 响应式 ============ */
@media(max-width:900px){
  .type-selector{grid-template-columns:1fr;}
  .hero-core h1{font-size:24px;}
  .orbit-icon{width:40px;height:40px;font-size:18px;}
  .orbit-icon.small{width:32px;height:32px;font-size:14px;}
}
@media(max-width:640px){
  .sci-card{padding:28px 22px;}
  .sci-card h2{font-size:19px;}
  .vip-column{padding:22px 18px;}
  .vip-col-head .vc-price{font-size:28px;}
  .task-item{padding:16px;}
  .hero-cta .btn{width:100%;}
}

/* ============ v32 首页文字动画 + 整页大圆 ============ */
.hero-section{min-height:100vh;padding:20px;}
.hero-core h1{animation:textFloat 3.2s ease-in-out infinite;display:inline-block;}
.hero-core .badge{animation:textPulse 2.5s ease-in-out infinite;}
.hero-core p{animation:textFadeIn 1.2s ease-out;}
.hero-tags{animation:textFadeIn 1.4s ease-out;}
.hero-cta{animation:textFadeIn 1.6s ease-out;}
@keyframes textFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes textPulse{0%,100%{opacity:1;box-shadow:0 0 0 rgba(34,211,238,0)}50%{opacity:.9;box-shadow:0 0 20px rgba(34,211,238,.4)}}
@keyframes textFadeIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.hero-tag{animation:tagBounce 2s ease-in-out infinite;}
.hero-tag:nth-child(2){animation-delay:.2s;}
.hero-tag:nth-child(3){animation-delay:.4s;}
.hero-tag:nth-child(4){animation-delay:.6s;}
.hero-tag:nth-child(5){animation-delay:.8s;}
@keyframes tagBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}

/* ============ v32 美化左侧导航 ============ */
.menu-panel{
  background:linear-gradient(180deg,rgba(20,24,36,.9),rgba(15,18,28,.95));
  border:1px solid var(--line);border-radius:18px;
  backdrop-filter:blur(12px);overflow:hidden;
}
.menu-user{
  padding:22px 20px 18px;text-align:center;
  background:linear-gradient(135deg,rgba(0,212,170,.1),rgba(0,180,216,.06));
  border-bottom:1px solid var(--line);
}
.menu-user .mu-avatar{
  width:56px;height:56px;margin:0 auto 10px;border-radius:16px;
  display:grid;place-items:center;font-size:24px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--warn),var(--err));
  box-shadow:0 4px 18px rgba(0,0,0,.3);
}
.menu-user .mu-name{font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px;}
.menu-user .mu-sub{font-size:11.5px;color:var(--txt-dim);margin-top:3px;}
.menu-user .mu-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;
}
.menu-user .mu-stat{
  background:rgba(255,255,255,.04);border:1px solid var(--line);
  border-radius:10px;padding:8px 6px;text-align:center;
}
.menu-user .mu-stat .v{font-size:14px;font-weight:800;color:var(--accent-3);}
.menu-user .mu-stat .k{font-size:10px;color:var(--txt-dim2);margin-top:2px;}
.menu-list{padding:12px 10px;display:flex;flex-direction:column;gap:4px;}
.menu-item{
  display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:11px;
  font-size:13.5px;font-weight:600;color:var(--txt-dim);cursor:pointer;
  transition:.18s;text-decoration:none;position:relative;
}
.menu-item:hover{background:rgba(255,255,255,.05);color:var(--txt);transform:translateX(3px);}
.menu-item.active{
  background:linear-gradient(135deg,rgba(0,212,170,.25),rgba(0,180,216,.15));
  color:#fff;box-shadow:0 2px 12px rgba(0,212,170,.2);
}
.menu-item.active::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:3px;height:20px;border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
}
.menu-item .mi-ico{font-size:16px;width:22px;text-align:center;flex:none;}
.menu-item .mi-text{flex:1;}
.menu-section-title{
  font-size:10.5px;font-weight:800;color:var(--txt-dim2);letter-spacing:1.5px;
  text-transform:uppercase;padding:14px 14px 6px;
}

/* ============ v32 钱包页面美化 ============ */
.wallet-hero{
  padding:28px;border-radius:18px;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(0,212,170,.18),rgba(0,180,216,.1) 50%,rgba(34,211,238,.06));
  border:1px solid rgba(0,212,170,.3);position:relative;overflow:hidden;
}
.wallet-hero::before{
  content:"";position:absolute;top:-50%;right:-20%;width:300px;height:300px;
  border-radius:50%;background:radial-gradient(circle,rgba(0,212,170,.15),transparent 70%);
}
.wallet-hero .wh-label{font-size:12px;font-weight:700;color:var(--txt-dim);letter-spacing:1px;text-transform:uppercase;}
.wallet-hero .wh-balance{font-size:42px;font-weight:800;margin:6px 0 2px;letter-spacing:-1px;font-variant-numeric:tabular-nums;
  background:linear-gradient(135deg,#fff,var(--accent-3));-webkit-background-clip:text;background-clip:text;color:transparent;}
.wallet-hero .wh-unit{font-size:14px;color:var(--txt-dim);font-weight:600;}
.wallet-hero .wh-actions{display:flex;gap:10px;margin-top:18px;position:relative;z-index:1;}
.wallet-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px;}
.wallet-quick .wq-item{
  background:var(--panel);border:1px solid var(--line);border-radius:14px;
  padding:16px;text-align:center;transition:.18s;cursor:pointer;
}
.wallet-quick .wq-item:hover{border-color:var(--line-2);transform:translateY(-2px);}
.wallet-quick .wq-ico{font-size:24px;margin-bottom:6px;}
.wallet-quick .wq-name{font-size:12.5px;font-weight:700;}
.wallet-quick .wq-desc{font-size:11px;color:var(--txt-dim);margin-top:2px;}
@media(max-width:768px){.wallet-quick{grid-template-columns:repeat(2,1fr);}}

/* ============ v32 剧本/人物卡片美化 ============ */
.script-card{
  background:linear-gradient(135deg,rgba(8,10,16,.8),rgba(15,18,28,.9));
  border:1px solid var(--line);border-radius:16px;padding:20px;
  position:relative;overflow:hidden;
}
.script-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2),var(--accent-3));
}
.script-card .sc-head{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;
}
.script-card .sc-title{font-size:14px;font-weight:800;display:flex;align-items:center;gap:8px;}
.script-card .sc-meta{font-size:11.5px;color:var(--txt-dim);display:flex;gap:12px;flex-wrap:wrap;}
.script-card .sc-content{
  background:rgba(0,0,0,.3);border:1px solid var(--line);border-radius:10px;
  padding:14px;font-size:12.5px;line-height:1.8;max-height:200px;overflow:auto;
  color:var(--txt);
}
.script-card .sc-actions{display:flex;gap:8px;margin-top:12px;}
.char-card{
  background:var(--panel-2);border:1px solid var(--line);border-radius:14px;
  padding:16px;transition:.18s;position:relative;overflow:hidden;
}
.char-card:hover{border-color:var(--line-2);transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.3);}
.char-card .cc-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;}
.char-card .cc-avatar{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  font-size:18px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));flex:none;
}
.char-card .cc-name{font-size:14px;font-weight:800;}
.char-card .cc-voice{font-size:11px;color:var(--txt-dim);margin-top:2px;}
.char-card .cc-intro{font-size:12px;color:var(--txt-dim);line-height:1.6;margin-bottom:10px;
  padding:8px 10px;background:rgba(0,0,0,.2);border-radius:8px;border-left:2px solid var(--accent);}
.char-card .cc-actions{display:flex;gap:6px;}

/* ============ v32 管理后台用户分表 ============ */
.user-tabs{display:flex;gap:8px;margin-bottom:16px;}
.user-tab{
  padding:9px 20px;border-radius:10px;font-size:13px;font-weight:700;
  background:var(--panel-2);border:1px solid var(--line);color:var(--txt-dim);
  cursor:pointer;transition:.18s;display:flex;align-items:center;gap:6px;
}
.user-tab:hover{border-color:var(--line-2);color:var(--txt);}
.user-tab.active{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;border-color:transparent;box-shadow:0 2px 12px rgba(0,212,170,.25);
}
.user-tab .ut-count{
  font-size:10.5px;font-weight:800;background:rgba(255,255,255,.15);
  padding:2px 8px;border-radius:999px;
}
.claim-toggle{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;
  padding:5px 12px;border-radius:8px;border:1px solid var(--line);
  background:var(--panel-2);transition:.18s;
}
.claim-toggle:hover{border-color:var(--line-2);}
.claim-toggle.auto{border-color:rgba(34,211,238,.4);background:rgba(34,211,238,.08);color:var(--accent-3);}
.claim-toggle .ct-dot{
  width:8px;height:8px;border-radius:50%;background:var(--txt-dim2);
}
.claim-toggle.auto .ct-dot{background:var(--accent-3);box-shadow:0 0 6px var(--accent-3);}


/* ==================== v33 流程化页面 ==================== */
.flow-nav{display:flex;gap:8px;margin-bottom:20px;background:rgba(15,18,28,.6);border:1px solid rgba(0,212,170,.15);border-radius:14px;padding:8px;overflow-x:auto}
.flow-step{display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:10px;text-decoration:none;color:var(--txt-dim);font-size:13.5px;font-weight:600;white-space:nowrap;transition:all .2s;flex:1;justify-content:center}
.flow-step:hover{background:rgba(0,212,170,.08);color:var(--txt)}
.flow-step.active{background:linear-gradient(135deg,rgba(0,212,170,.2),rgba(0,180,216,.15));color:var(--accent-3);border:1px solid rgba(0,212,170,.3)}
.fs-ico{font-size:16px}
.fs-label{font-weight:700}
.fs-count{background:rgba(0,212,170,.15);color:var(--accent-3);font-size:11px;padding:2px 8px;border-radius:999px;font-weight:700}

/* 剧本页 */
.script-page{display:grid;grid-template-columns:340px 1fr;gap:16px}
@media(max-width:900px){.script-page{grid-template-columns:1fr}}
.import-options{display:flex;flex-direction:column;gap:8px}
.import-opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;border:1px solid rgba(0,212,170,.15);background:rgba(15,18,28,.4);cursor:pointer;transition:all .2s;text-align:left}
.import-opt:hover{border-color:rgba(0,212,170,.4);background:rgba(0,212,170,.06)}
.import-opt.active{border-color:var(--accent);background:linear-gradient(135deg,rgba(0,212,170,.15),rgba(0,180,216,.1));box-shadow:0 0 0 1px rgba(0,212,170,.3)}
.io-ico{font-size:22px;width:36px;height:36px;display:grid;place-items:center;background:rgba(0,212,170,.1);border-radius:8px;flex-shrink:0}
.io-title{font-weight:700;font-size:13.5px;color:var(--txt)}
.io-desc{font-size:11.5px;color:var(--txt-dim);margin-top:2px}
.novel-list{display:flex;flex-direction:column;gap:6px;max-height:200px;overflow-y:auto}
.novel-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;background:rgba(15,18,28,.4);border:1px solid rgba(0,212,170,.1);cursor:pointer;transition:all .15s}
.novel-item:hover{border-color:var(--accent);background:rgba(0,212,170,.08)}
.ni-ico{font-size:18px}
.ni-name{font-size:13px;font-weight:600;color:var(--txt)}
.ni-meta{font-size:11px;color:var(--txt-dim)}
.info-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(0,212,170,.08);font-size:13px}
.info-row:last-child{border-bottom:none}
.info-row span{color:var(--txt-dim)}
.info-row b{color:var(--txt)}

/* 人物页 */
.char-page{display:grid;grid-template-columns:360px 1fr;gap:16px}
@media(max-width:900px){.char-page{grid-template-columns:1fr}}
.char-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.char-card-lg{background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.15);border-radius:14px;padding:16px;transition:all .2s}
.char-card-lg:hover{border-color:rgba(0,212,170,.35);transform:translateY(-2px)}
.ccl-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.ccl-avatar{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-size:20px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent-2));flex-shrink:0}
.ccl-name{font-size:15px;font-weight:700;color:var(--txt)}
.ccl-voice{font-size:12px;color:var(--txt-dim);margin-top:2px}
.ccl-intro{font-size:12.5px;color:var(--txt-dim);line-height:1.6;padding:8px 10px;background:rgba(0,212,170,.05);border-left:3px solid var(--accent);border-radius:0 8px 8px 0;margin-bottom:12px;min-height:40px}
.ccl-actions{display:flex;gap:8px}

/* 分镜页 */
.episode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.episode-card{background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.15);border-radius:14px;padding:16px;transition:all .2s}
.episode-card:hover{border-color:rgba(0,212,170,.35)}
.ec-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ec-ep{font-size:14px;font-weight:800;color:var(--accent-3)}
.ec-title{font-size:15px;font-weight:700;color:var(--txt);margin-bottom:6px}
.ec-meta{font-size:12px;color:var(--txt-dim);margin-bottom:12px}
.ec-actions{display:flex;gap:8px;flex-wrap:wrap}
.storyboard-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.shot-card{background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.12);border-radius:10px;padding:12px}
.shot-num{font-size:12px;font-weight:800;color:var(--accent-3);margin-bottom:6px}
.shot-prompt{font-size:11.5px;color:var(--txt-dim);line-height:1.5;margin-bottom:8px;min-height:36px}
.shot-status{margin-bottom:6px}
.shot-placeholder{height:80px;display:grid;place-items:center;background:rgba(0,212,170,.05);border-radius:8px;font-size:11px;color:var(--txt-dim)}
.stat-mini{background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.12);border-radius:10px;padding:12px;text-align:center}
.sm-num{font-size:22px;font-weight:800;color:var(--accent-3)}
.sm-lbl{font-size:11.5px;color:var(--txt-dim);margin-top:4px}



/* ==================== v36 角色形象选择器 ==================== */
.avatar-picker{margin-bottom:14px}
.ap-tabs{display:flex;gap:4px;margin-bottom:10px;background:rgba(15,18,28,.6);border-radius:10px;padding:4px}
.ap-tab{flex:1;padding:7px 8px;border:none;background:transparent;color:var(--txt-dim);font-size:12px;font-weight:600;border-radius:7px;cursor:pointer;transition:all .15s}
.ap-tab:hover{color:var(--txt);background:rgba(0,212,170,.08)}
.ap-tab.active{background:linear-gradient(135deg,rgba(0,212,170,.25),rgba(0,180,216,.2));color:var(--accent-3)}
.ap-preview{display:flex;align-items:center;gap:12px;padding:10px;background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.15);border-radius:10px;margin-bottom:10px}
.ap-preview-img{width:56px;height:56px;border-radius:10px;background:rgba(0,212,170,.1);display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.ap-preview-img span{font-size:11px;color:var(--txt-dim)}
.ap-preview-label{font-size:11px;color:var(--txt-dim)}
.ap-preview-name{font-size:13px;font-weight:700;color:var(--txt);margin-top:2px}
.ap-panel{margin-bottom:8px}
.ap-library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:200px;overflow-y:auto;padding:4px}
.ap-lib-item{cursor:pointer;border-radius:8px;overflow:hidden;border:2px solid transparent;transition:all .15s;background:rgba(15,18,28,.4)}
.ap-lib-item:hover{border-color:rgba(0,212,170,.4)}
.ap-lib-item.selected{border-color:var(--accent);box-shadow:0 0 0 2px rgba(0,212,170,.3)}
.ap-lib-img{width:100%;height:60px;object-fit:cover;display:block}
.ap-lib-placeholder{width:100%;height:60px;display:grid;place-items:center;background:rgba(0,212,170,.08);font-size:20px}
.ap-lib-name{font-size:10px;color:var(--txt-dim);padding:4px 6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}



/* ==================== v36 小说章节选择 ==================== */
.chapter-grid{display:flex;flex-direction:column;gap:6px;max-height:180px;overflow-y:auto;padding:4px}
.chapter-item{display:flex;align-items:center;gap:8px;padding:8px 10px;background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.12);border-radius:8px;cursor:pointer;transition:all .15s}
.chapter-item:hover{border-color:rgba(0,212,170,.3);background:rgba(0,212,170,.06)}
.chapter-item input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;flex-shrink:0}
.chapter-title{flex:1;font-size:12.5px;font-weight:600;color:var(--txt)}
.chapter-len{font-size:11px;color:var(--txt-dim);flex-shrink:0}
.btn.xs{padding:4px 10px;font-size:11px}



/* ==================== v36 AI 分镜页 ==================== */
.storyboard-empty{padding:40px 20px;text-align:center}
.storyboard-loading{padding:40px 20px;text-align:center}
.sb-loading-spinner{width:40px;height:40px;border:3px solid rgba(0,212,170,.2);border-top-color:var(--accent);border-radius:50%;margin:0 auto;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.storyboard-header{display:flex;align-items:center;gap:16px;padding:12px 16px;background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.15);border-radius:10px;margin-bottom:14px;flex-wrap:wrap}
.sb-stat{display:flex;flex-direction:column;align-items:center;gap:2px}
.sb-stat b{font-size:18px;color:var(--accent-3);font-weight:800}
.sb-stat span{font-size:11px;color:var(--txt-dim)}
.shot-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.shot-char{font-size:11px;color:var(--txt-dim);background:rgba(0,212,170,.1);padding:2px 8px;border-radius:999px}
.shot-meta{font-size:11px;color:var(--txt-dim);margin-top:6px}
.shot-card .shot-placeholder{height:80px;display:grid;place-items:center;background:rgba(0,212,170,.05);border-radius:8px;font-size:12px;color:var(--txt-dim);margin-top:6px}



/* ==================== v37 角色形象选择器美化 ==================== */
.ap-preview-lg{padding:14px;background:linear-gradient(135deg,rgba(0,212,170,.08),rgba(0,180,216,.05));border:1px solid rgba(0,212,170,.2);border-radius:12px;margin-bottom:10px}
.ap-preview-lg-img{width:72px;height:72px;border-radius:12px}
.ap-preview-actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.ap-tabs-sm{padding:3px;margin-bottom:10px}
.ap-tabs-sm .ap-tab{padding:6px 8px;font-size:11.5px}
.ap-library-grid-lg{grid-template-columns:repeat(3,1fr);gap:10px;max-height:220px}
.ap-library-grid-lg .ap-lib-item{border-radius:10px;border-width:2px}
.ap-library-grid-lg .ap-lib-img{height:72px}
.ap-library-grid-lg .ap-lib-placeholder{height:72px;font-size:24px}
.ap-library-grid-lg .ap-lib-name{font-size:11px;padding:5px 6px}
/* 素材库空状态 */
.ap-library-grid .empty-hint{grid-column:1/-1;padding:24px;text-align:center;color:var(--txt-dim);font-size:12.5px}
.ap-library-grid .empty-hint .empty-ico{font-size:32px;margin-bottom:8px;display:block}


/* ==================== v37 分镜自动拆分集数 ==================== */
.sb-split{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}
.sb-split-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sb-split-label{font-size:12px;color:var(--txt-dim);font-weight:600;white-space:nowrap}
.sb-split-input{display:flex;align-items:center;gap:4px}
.sb-split-input input{padding:6px 10px;font-size:13px;border-radius:8px}
.sb-split-unit{font-size:12px;color:var(--txt-dim)}
.sb-split-result{font-size:13px;color:var(--txt-dim)}
.sb-split-result b{color:var(--accent-3);font-size:16px}
.sb-advanced{margin-top:4px}
.sb-adv-toggle{font-size:11.5px;color:var(--txt-dim);cursor:pointer;user-select:none;opacity:.7}
.sb-adv-toggle:hover{opacity:1;color:var(--accent-3)}
.sb-adv-content{font-size:12px;color:var(--txt-dim);margin-top:6px;padding:8px 12px;background:rgba(15,18,28,.5);border-radius:8px;border:1px solid rgba(0,212,170,.1)}
.sb-adv-content input{padding:4px 8px;font-size:12px;border-radius:6px;width:auto;display:inline-block}
.episode-card{background:linear-gradient(180deg,rgba(18,22,34,.8),rgba(12,15,24,.9));border:1px solid rgba(0,212,170,.18);border-radius:14px;padding:16px;transition:all .2s;position:relative;overflow:hidden}
.episode-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--accent),var(--accent-2),var(--accent-3));opacity:.6}
.episode-card:hover{border-color:rgba(0,212,170,.4);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.ec-ep{font-size:14px;font-weight:800;color:var(--accent-3);letter-spacing:.5px}
.ec-title{font-size:15px;font-weight:700;color:var(--txt);margin:6px 0}
.ec-meta{font-size:12px;color:var(--txt-dim);margin-bottom:12px}
.ec-actions{display:flex;gap:8px;flex-wrap:wrap}

/* ==================== v39 分镜按集分组 ==================== */
.sb-episode-group{margin-top:20px;padding-top:16px;border-top:1px solid rgba(0,212,170,.12)}
.sb-ep-title{font-size:15px;font-weight:800;color:var(--accent-3);margin-bottom:12px;display:flex;align-items:center;gap:10px}
.sb-ep-title::before{content:'';width:4px;height:16px;background:linear-gradient(180deg,var(--accent),var(--accent-3));border-radius:2px}
.sb-ep-meta{font-size:12px;font-weight:400;color:var(--txt-dim)}
.ec-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}

/* ==================== v40 章节列表与审核 ==================== */
.chapter-list-panel{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto}
.chapter-item{padding:12px 14px;background:rgba(15,18,28,.6);border:1px solid rgba(0,212,170,.12);border-radius:10px;cursor:pointer;transition:all .15s;border-left:3px solid transparent}
.chapter-item:hover{border-color:rgba(0,212,170,.3);background:rgba(20,24,36,.7)}
.chapter-item.active{border-left-color:var(--accent);background:rgba(0,212,170,.08);border-color:rgba(0,212,170,.3)}
.chapter-item.reviewed{border-left-color:#22c55e}
.ci-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.ci-title{font-size:13.5px;font-weight:700;color:var(--txt)}
.ci-status{font-size:10.5px;padding:2px 8px;border-radius:20px;font-weight:600}
.ci-status.draft{background:rgba(245,158,11,.15);color:#f59e0b}
.ci-status.ok{background:rgba(34,197,94,.15);color:#22c55e}
.ci-meta{font-size:11.5px;color:var(--txt-dim)}

/* ==================== v42 素材分类导航 ==================== */
.mat-cat-nav{display:flex;gap:8px;margin-bottom:12px;padding:10px;background:rgba(15,18,28,.5);border:1px solid rgba(0,212,170,.12);border-radius:12px;overflow-x:auto}
.mat-cat-item{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;color:var(--txt-dim);text-decoration:none;transition:all .15s;white-space:nowrap;font-size:13.5px;font-weight:600}
.mat-cat-item:hover{background:rgba(0,212,170,.08);color:var(--txt)}
.mat-cat-item.active{background:linear-gradient(135deg,rgba(0,212,170,.2),rgba(0,180,216,.15));color:var(--accent-3);border:1px solid rgba(0,212,170,.3)}
.mc-ico{font-size:18px}
.mc-txt{}
.mat-sub-nav{display:flex;align-items:center;gap:6px;margin-bottom:14px;flex-wrap:wrap}
.mat-sub-item{padding:6px 14px;border-radius:20px;background:rgba(15,18,28,.6);border:1px solid rgba(0,212,170,.12);color:var(--txt-dim);text-decoration:none;font-size:12.5px;transition:all .15s}
.mat-sub-item:hover{border-color:rgba(0,212,170,.3);color:var(--txt)}
.mat-sub-item.active{background:rgba(0,212,170,.15);border-color:var(--accent);color:var(--accent-3)}
.mat-sub-add{padding:6px 12px;border-radius:20px;background:transparent;border:1px dashed rgba(0,212,170,.3);color:var(--accent-3);font-size:12px;cursor:pointer;transition:all .15s}
.mat-sub-add:hover{background:rgba(0,212,170,.08);border-style:solid}
.mat-sub-del{padding:6px 12px;border-radius:20px;background:transparent;border:1px solid rgba(239,68,68,.3);color:var(--err);font-size:12px;cursor:pointer;transition:all .15s}
.mat-sub-del:hover{background:rgba(239,68,68,.08)}

/* ==================== v44 左侧导航子菜单 ==================== */
.menu-group{margin-bottom:2px}
.menu-group-head{display:flex;align-items:center}
.menu-group-head .mi-arrow{font-size:10px;opacity:.6}
.menu-sub{padding-left:12px;border-left:1px solid rgba(0,212,170,.15);margin-left:20px;margin-top:2px;margin-bottom:4px}
.menu-sub-item{padding:8px 12px;font-size:13px;border-radius:8px;margin-bottom:2px}
.menu-sub-item .mi-ico{font-size:14px}
.menu-sub-item.active{background:linear-gradient(135deg,rgba(0,212,170,.18),rgba(0,180,216,.1));color:var(--accent-3);border:1px solid rgba(0,212,170,.25)}

/* ==================== v44 美化提示框 ==================== */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:9999;opacity:0;transition:opacity .2s}
.modal-overlay.show{opacity:1}
.modal-box{background:linear-gradient(160deg,rgba(20,24,38,.98),rgba(12,14,24,.98));border:1px solid rgba(0,212,170,.25);border-radius:18px;padding:32px 28px 24px;max-width:440px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.5),0 0 40px rgba(0,212,170,.1);transform:scale(.95) translateY(10px);transition:transform .2s;position:relative;overflow:hidden}
.modal-overlay.show .modal-box{transform:scale(1) translateY(0)}
.modal-box::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(0,212,170,.6),rgba(0,180,216,.6),transparent)}
.modal-icon{font-size:40px;text-align:center;margin-bottom:14px}
.modal-title{font-size:18px;font-weight:700;text-align:center;color:var(--txt);margin-bottom:12px}
.modal-content{margin-bottom:20px}
.modal-msg{font-size:14px;color:var(--txt-dim);text-align:center;line-height:1.7}
.modal-input{width:100%;padding:12px 14px;border-radius:10px;border:1px solid rgba(0,212,170,.2);background:rgba(0,0,0,.3);color:var(--txt);font-size:14px;outline:none;transition:border-color .15s;margin-top:12px}
.modal-input:focus{border-color:var(--accent)}
.modal-actions{display:flex;gap:10px;justify-content:center}
.modal-btn{min-width:100px;padding:10px 20px;border-radius:10px;font-size:14px;font-weight:600}

/* ==================== v45 调参面板 + 视频弹窗 ==================== */
.seg-toggle-btn{font-size:12.5px;color:var(--accent-3);background:rgba(0,212,170,.1);padding:5px 12px;border-radius:8px;transition:all .15s}
.seg-toggle-btn:hover{background:rgba(0,212,170,.2)}
.param-label{display:block;font-size:12.5px;color:var(--txt-dim);margin-bottom:6px;font-weight:600}
.param-select{width:100%;padding:10px 12px;border-radius:10px;border:1px solid rgba(0,212,170,.2);background:rgba(0,0,0,.3);color:var(--txt);font-size:13px;outline:none;transition:border-color .15s;appearance:none;cursor:pointer}
.param-select:focus{border-color:var(--accent)}
.param-select option{background:#1a1d2e;color:var(--txt)}

/* 视频播放弹窗 */
.video-modal-box{max-width:800px;width:90%;padding:0;overflow:hidden}
.video-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:rgba(0,0,0,.3);border-bottom:1px solid rgba(0,212,170,.15)}
.video-modal-title{font-size:15px;font-weight:600;color:var(--txt)}
.video-modal-close{width:32px;height:32px;border-radius:8px;border:none;background:rgba(255,255,255,.08);color:var(--txt-dim);font-size:14px;cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:center}
.video-modal-close:hover{background:rgba(239,68,68,.2);color:var(--err)}
.video-modal-box video{border-radius:0 0 18px 18px}

/* ==================== v46 声音预设 + 文档卡片 ==================== */
.voice-preset-card{padding:12px 14px;border-radius:10px;border:1px solid rgba(0,212,170,.15);background:rgba(0,0,0,.2);cursor:pointer;transition:all .15s}
.voice-preset-card:hover{border-color:rgba(0,212,170,.4);background:rgba(0,212,170,.05)}
.voice-preset-card.selected{border-color:var(--accent);background:rgba(0,212,170,.12);box-shadow:0 0 12px rgba(0,212,170,.2)}
.vpc-name{font-size:14px;font-weight:600;color:var(--txt);margin-bottom:4px}
.vpc-desc{font-size:11.5px;color:var(--txt-dim);line-height:1.5}

.doc-card{padding:20px 22px;border-radius:14px;border:1px solid rgba(0,212,170,.12);background:linear-gradient(160deg,rgba(20,24,38,.8),rgba(12,14,24,.8));cursor:pointer;transition:all .2s;position:relative;overflow:hidden}
.doc-card:hover{border-color:rgba(0,212,170,.35);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.doc-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(0,212,170,.5),transparent);opacity:0;transition:opacity .2s}
.doc-card:hover::before{opacity:1}
.doc-cat{display:inline-block;padding:3px 10px;border-radius:20px;background:rgba(0,212,170,.12);color:var(--accent-3);font-size:11.5px;font-weight:600;margin-bottom:10px}
.doc-title{font-size:16px;font-weight:700;color:var(--txt);margin-bottom:10px;line-height:1.4}
.doc-meta{display:flex;gap:14px;font-size:12px;color:var(--txt-dim);flex-wrap:wrap}
.doc-actions{position:absolute;top:14px;right:14px;display:flex;gap:6px}
.doc-content h2{color:var(--txt)!important;margin:24px 0 12px!important;font-size:18px!important;border-bottom:1px solid rgba(0,212,170,.2)!important;padding-bottom:8px!important}
.doc-content h3{color:var(--accent-3)!important;margin:20px 0 10px!important;font-size:16px!important}
.doc-content li{margin:6px 0!important;color:var(--txt-dim)!important;line-height:1.8!important}
.doc-content b{color:var(--txt)!important}

/* ==================== v50 素材筛选 + 公开私有标签 ==================== */
.ap-lib-filter{display:flex;gap:6px;margin-bottom:12px;padding:6px;background:rgba(0,0,0,.2);border-radius:10px}
.ap-lib-filter-btn{padding:6px 14px;border-radius:8px;border:none;background:transparent;color:var(--txt-dim);font-size:12px;font-weight:600;cursor:pointer;transition:all .15s}
.ap-lib-filter-btn:hover{background:rgba(0,212,170,.1);color:var(--txt)}
.ap-lib-filter-btn.active{background:rgba(0,212,170,.2);color:var(--accent-3)}
.ap-lib-item{position:relative}
.ap-lib-tag{position:absolute;top:4px;right:4px;padding:2px 6px;border-radius:6px;font-size:10px;font-weight:600;z-index:2}
.ap-lib-tag.public{background:rgba(34,197,94,.2);color:#4ade80}
.ap-lib-tag.private{background:rgba(0,212,170,.2);color:var(--accent-3)}

/* ==================== v51 海报墙分类筛选 ==================== */
.wall-filter-bar{background:rgba(0,0,0,.25);border:1px solid rgba(0,212,170,.12);border-radius:14px;padding:14px 18px;margin-bottom:18px}
.wall-filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.wall-filter-row:last-child{margin-bottom:0}
.wall-filter-label{font-size:13px;color:var(--txt-dim);font-weight:600;min-width:42px}
.wall-filter-btn{padding:6px 16px;border-radius:20px;border:1px solid rgba(0,212,170,.2);background:transparent;color:var(--txt-dim);font-size:13px;font-weight:600;cursor:pointer;transition:all .15s}
.wall-filter-btn:hover{border-color:rgba(0,212,170,.5);color:var(--txt)}
.wall-filter-btn.active{background:linear-gradient(135deg,var(--accent-2),var(--accent-3));border-color:transparent;color:#fff;box-shadow:0 4px 16px rgba(0,212,170,.35)}
.wall-filter-btn.sm{padding:5px 12px;font-size:12px}
.wall-count{font-size:13px;color:var(--txt-dim);margin-bottom:14px;padding-left:4px}
.card-thumb{position:relative}
.card-type-tag{position:absolute;top:8px;left:8px;padding:3px 10px;border-radius:6px;background:rgba(0,0,0,.7);backdrop-filter:blur(8px);color:#fff;font-size:11px;font-weight:700;z-index:2}
.card-cat{display:inline-block;padding:2px 8px;border-radius:4px;background:rgba(0,212,170,.15);color:var(--accent-3);font-size:11px;font-weight:600}

/* ==================== v52 首页优化 + 播放页 + 底部版权 ==================== */
.tw-gradient{background:linear-gradient(135deg,var(--accent),var(--accent-2),var(--accent-3));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-desc{font-size:13px;color:var(--txt-dim);line-height:1.7;max-width:520px;margin:0 auto 18px}
.orbit-ring.inner{width:62%;height:62%;border-color:rgba(168,85,247,.2);animation:spin-reverse 25s linear infinite}
@keyframes spin-reverse{from{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(-360deg)}}

/* 底部版权 */
.site-footer{position:relative;z-index:1;border-top:1px solid rgba(0,212,170,.1);background:rgba(0,0,0,.3);padding:18px 26px;text-align:center}
.footer-inner{font-size:12px;color:var(--txt-dim);max-width:1200px;margin:0 auto}

/* 播放页布局 */
.watch-layout{display:grid;grid-template-columns:1fr 320px;gap:20px;align-items:start}
.watch-main{min-width:0}
.watch-player{margin-bottom:16px;border-radius:14px;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,.4)}
.watch-info{padding:20px 24px}
.watch-title{font-size:22px;font-weight:700;margin-bottom:10px}
.watch-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}
.watch-type-tag{display:inline-block;padding:3px 10px;border-radius:6px;background:linear-gradient(135deg,var(--accent-2),var(--accent-3));color:#fff;font-size:12px;font-weight:700}
.watch-cat-tag{display:inline-block;padding:3px 10px;border-radius:6px;background:rgba(0,212,170,.15);color:var(--accent-3);font-size:12px;font-weight:600}
.watch-meta-item{font-size:13px;color:var(--txt-dim)}
.watch-desc{border-top:1px solid rgba(0,212,170,.1);padding-top:14px}
.watch-desc-label{font-size:13px;font-weight:700;color:var(--txt);margin-bottom:8px}
.watch-desc p{font-size:13px;color:var(--txt-dim);line-height:1.7;margin:0}
.watch-sidebar{position:sticky;top:20px}
.watch-sidebar-title{font-size:15px;font-weight:700;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid rgba(0,212,170,.1)}
.watch-related-item{display:flex;gap:10px;padding:8px;border-radius:10px;cursor:pointer;transition:background .15s;margin-bottom:6px}
.watch-related-item:hover{background:rgba(0,212,170,.08)}
.watch-related-thumb{position:relative;width:100px;height:60px;border-radius:8px;overflow:hidden;background:#111;flex-shrink:0}
.watch-related-thumb video{width:100%;height:100%;object-fit:cover}
.watch-related-thumb .ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:24px;color:var(--txt-dim)}
.watch-related-type{position:absolute;top:4px;left:4px;padding:1px 6px;border-radius:4px;background:rgba(0,0,0,.7);color:#fff;font-size:10px;font-weight:700}
.watch-related-info{flex:1;min-width:0}
.watch-related-title{font-size:13px;font-weight:600;color:var(--txt);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.watch-related-meta{font-size:11px;color:var(--txt-dim)}
@media (max-width:900px){.watch-layout{grid-template-columns:1fr}.watch-sidebar{position:static}}

/* ==================== v53 关于我们页面 + 更多图标 ==================== */
.about-section{padding:24px 0;border-bottom:1px solid rgba(0,212,170,.1)}
.about-title{font-size:18px;font-weight:700;margin-bottom:14px;color:var(--txt)}
.about-text{font-size:14px;color:var(--txt-dim);line-height:1.8;margin-bottom:12px}
.about-text:last-child{margin-bottom:0}
.about-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.about-feature{background:rgba(0,212,170,.05);border:1px solid rgba(0,212,170,.1);border-radius:12px;padding:16px;text-align:center;transition:all .2s}
.about-feature:hover{background:rgba(0,212,170,.1);border-color:rgba(0,212,170,.25);transform:translateY(-2px)}
.af-ico{font-size:28px;margin-bottom:8px}
.af-name{font-size:14px;font-weight:700;margin-bottom:4px;color:var(--txt)}
.af-desc{font-size:12px;color:var(--txt-dim);line-height:1.5}
.about-contact{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.contact-item{display:flex;align-items:center;gap:10px;padding:12px 16px;background:rgba(0,212,170,.05);border:1px solid rgba(0,212,170,.1);border-radius:10px}
.contact-ico{font-size:20px}
.contact-label{font-size:13px;font-weight:600;color:var(--txt-dim);min-width:70px}
.contact-value{font-size:13px;color:var(--txt);font-weight:600}
.about-icp{text-align:center;padding:10px 0}
.about-icp p{font-size:13px;color:var(--txt-dim);margin-bottom:6px}
.about-icp p:last-child{margin-bottom:0}
@media (max-width:700px){.about-features{grid-template-columns:repeat(2,1fr)}.about-contact{grid-template-columns:1fr}}

/* ==================== v54 AI工具logo图标 ==================== */
.orbit-icon-logo{
  background:rgba(255,255,255,.95)!important;
  border:2px solid rgba(0,212,170,.3)!important;
  box-shadow:0 4px 16px rgba(0,0,0,.3)!important;
  padding:6px!important;
}
.orbit-logo{
  width:100%;height:100%;object-fit:contain;display:block;
}
.orbit-icon-logo:hover{
  transform:translate(-50%,-50%) scale(1.15)!important;
  border-color:rgba(0,212,170,.6)!important;
  box-shadow:0 6px 24px rgba(0,212,170,.4)!important;
}

/* ==================== v57 首页顶部导航栏 ==================== */
.hero-topbar{
  position:absolute;top:0;left:0;right:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 32px;
  background:linear-gradient(180deg,rgba(7,8,13,.8) 0%,rgba(7,8,13,0) 100%);
}
.hero-brand{display:flex;align-items:center;gap:12px;cursor:pointer}
.hero-logo{
  width:42px;height:42px;border-radius:12px;
  background:linear-gradient(135deg,var(--accent-2),var(--accent-3));
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:800;color:#fff;letter-spacing:-.5px;
  box-shadow:0 4px 16px rgba(0,212,170,.4);
}
.hero-brand-text h1{font-size:16px;font-weight:700;color:var(--txt);margin:0;line-height:1.2}
.hero-brand-text span{font-size:11px;color:var(--txt-dim)}
.hero-topbar-right{display:flex;align-items:center;gap:10px}
.hero-btn{
  padding:8px 18px;border-radius:10px;font-size:13px;font-weight:600;
  text-decoration:none;cursor:pointer;transition:all .15s;
  border:1px solid rgba(255,255,255,.15);color:var(--txt);background:rgba(255,255,255,.05);
}
.hero-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25)}
.hero-btn.primary{
  background:linear-gradient(135deg,var(--accent-2),var(--accent-3));
  border-color:transparent;color:#fff;
  box-shadow:0 4px 16px rgba(0,212,170,.35);
}
.hero-btn.primary:hover{box-shadow:0 6px 24px rgba(0,212,170,.5);transform:translateY(-1px)}
.hero-btn.ghost{background:transparent;border-color:rgba(255,255,255,.15);color:var(--txt-dim)}
.hero-user-chip{
  display:flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;
  border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  text-decoration:none;cursor:pointer;transition:all .15s;
}
.hero-user-chip:hover{background:rgba(255,255,255,.12)}
.hero-user-avatar{
  width:30px;height:30px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;color:#fff;
}
.hero-user-chip span:last-child{font-size:13px;font-weight:600;color:var(--txt)}
@media (max-width:600px){
  .hero-topbar{padding:14px 18px}
  .hero-brand-text{display:none}
  .hero-btn{padding:6px 12px;font-size:12px}
}

/* ==================== v63 qnneng风格首页 ==================== */
.qnn-hero {
  position: relative;
  min-height: 100vh;
  background: #07080d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 星空粒子 */
.qnn-stars {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(0,212,170,.6), transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(0,212,170,.4), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0,212,170,.5), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0,212,170,.3), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(0,212,170,.6), transparent),
    radial-gradient(2px 2px at 200px 50px, rgba(0,212,170,.4), transparent),
    radial-gradient(1px 1px at 250px 100px, rgba(0,212,170,.5), transparent),
    radial-gradient(1px 1px at 300px 150px, rgba(0,212,170,.3), transparent);
  background-size: 350px 200px;
  animation: qnnStars 60s linear infinite;
}
@keyframes qnnStars {
  from { background-position: 0 0; }
  to { background-position: 350px 200px; }
}
/* 青绿色曲线 */
.qnn-curve {
  position: absolute;
  border: 1px solid rgba(0,212,170,.15);
  border-radius: 50%;
  pointer-events: none;
}
.qnn-curve-1 {
  width: 120%; height: 80%;
  top: 10%; left: -10%;
  transform: rotate(-15deg);
  border-color: rgba(0,212,170,.12);
}
.qnn-curve-2 {
  width: 140%; height: 100%;
  top: 0%; left: -20%;
  transform: rotate(10deg);
  border-color: rgba(0,212,170,.08);
}
/* AI logo环绕 */
.qnn-logo-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  pointer-events: none;
}
.qnn-logo-orbit .orbit-icon {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(15,18,28,.9);
  border: 1px solid rgba(0,212,170,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  animation: qnnFloat 4s ease-in-out infinite;
}
.qnn-logo-orbit .orbit-icon-logo {
  background: #fff;
  border-color: rgba(0,212,170,.4);
}
.qnn-logo-orbit .orbit-logo {
  width: 28px; height: 28px;
  object-fit: contain;
  border-radius: 6px;
}
.qnn-logo-orbit .orbit-icon.small {
  width: 36px; height: 36px;
  font-size: 16px;
}
@keyframes qnnFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}
/* 顶部导航 */
.qnn-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
}
.qnn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.qnn-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.qnn-brand-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.qnn-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qnn-nav-btn {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}
.qnn-nav-btn:hover {
  color: #00d4aa;
  background: rgba(0,212,170,.08);
}
.qnn-btn {
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  transition: all .2s;
}
.qnn-btn:hover {
  border-color: rgba(0,212,170,.5);
  color: #00d4aa;
}
.qnn-btn-primary {
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(0,212,170,.3);
}
.qnn-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0,212,170,.5);
  transform: translateY(-1px);
}
.qnn-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
}
.qnn-user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.qnn-user-chip span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
/* 中心内容 */
.qnn-hero-core {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 720px;
  padding: 0 20px;
}
.qnn-badge {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #00d4aa;
  background: rgba(0,212,170,.08);
  border: 1px solid rgba(0,212,170,.25);
  margin-bottom: 24px;
}
.qnn-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -1px;
}
.qnn-title-gradient {
  background: linear-gradient(135deg, #00d4aa, #00b4d8, #00d4aa);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: qnnGradient 3s ease infinite;
}
@keyframes qnnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.qnn-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.qnn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.qnn-btn-primary-lg {
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 6px 24px rgba(0,212,170,.35);
}
.qnn-btn-primary-lg:hover {
  box-shadow: 0 8px 32px rgba(0,212,170,.5);
  transform: translateY(-2px);
}
.qnn-btn-outline {
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: all .2s;
}
.qnn-btn-outline:hover {
  border-color: rgba(0,212,170,.5);
  color: #00d4aa;
  background: rgba(0,212,170,.05);
}
/* 新人礼包条 */
.qnn-gift-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(0,212,170,.06);
  border: 1px solid rgba(0,212,170,.2);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
}
.qnn-gift-ico {
  font-size: 16px;
}
.qnn-gift-arrow {
  color: #00d4aa;
  font-weight: 700;
}
/* 数据统计 */
.qnn-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}
.qnn-stat {
  text-align: center;
}
.qnn-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.qnn-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
@media (max-width: 768px) {
  .qnn-topbar { padding: 14px 20px; }
  .qnn-nav-btn { display: none; }
  .qnn-stats { gap: 30px; }
  .qnn-stat-num { font-size: 24px; }
  .qnn-cta { flex-direction: column; }
}

/* ==================== v63 qnneng风格登录页 ==================== */
.qnn-auth-page {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #07080d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1000;
}
.qnn-auth-stars {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(0,212,170,.5), transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(0,212,170,.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0,212,170,.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0,212,170,.2), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(0,212,170,.5), transparent);
  background-size: 200px 150px;
  animation: qnnStars 60s linear infinite;
}
.qnn-auth-modal {
  position: relative;
  z-index: 10;
  width: 420px;
  max-width: 90vw;
  background: linear-gradient(180deg, #11141c 0%, #0d1017 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(0,212,170,.05);
}
.qnn-auth-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qnn-auth-close:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.qnn-auth-logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0,212,170,.3);
}
.qnn-auth-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 20px;
}
/* 新人礼包 */
.qnn-auth-gift {
  background: rgba(0,212,170,.05);
  border: 1px solid rgba(0,212,170,.15);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}
.qnn-auth-gift-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.qnn-auth-gift-ico {
  font-size: 18px;
}
.qnn-auth-gift-text {
  font-size: 14px;
  font-weight: 700;
  color: #00d4aa;
}
.qnn-auth-gift-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.qnn-auth-gift-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0,212,170,.1);
  border: 1px solid rgba(0,212,170,.2);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.qnn-auth-gift-tag-ico {
  font-size: 13px;
}
.qnn-auth-gift-desc {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-align: center;
}
/* 登录方式tab */
.qnn-auth-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.qnn-auth-tab {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.qnn-auth-tab.active {
  color: #00d4aa;
}
.qnn-auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: #00d4aa;
  border-radius: 2px;
}
/* 表单 */
.qnn-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qnn-auth-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qnn-auth-input-wrap label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.qnn-auth-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all .2s;
  box-sizing: border-box;
}
.qnn-auth-input::placeholder {
  color: rgba(255,255,255,.3);
}
.qnn-auth-input:focus {
  border-color: rgba(0,212,170,.5);
  background: rgba(0,212,170,.04);
  box-shadow: 0 0 0 3px rgba(0,212,170,.1);
}
.qnn-auth-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 6px 20px rgba(0,212,170,.3);
  margin-top: 4px;
}
.qnn-auth-submit:hover {
  box-shadow: 0 8px 28px rgba(0,212,170,.45);
  transform: translateY(-1px);
}
.qnn-auth-submit:active {
  transform: translateY(0);
}
/* 协议勾选 */
.qnn-auth-agree {
  display: flex;
  align-items: flex-start;
}
.qnn-auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  line-height: 1.5;
}
.qnn-auth-checkbox input {
  display: none;
}
.qnn-auth-checkbox-custom {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all .2s;
}
.qnn-auth-checkbox input:checked + .qnn-auth-checkbox-custom {
  background: #00d4aa;
  border-color: #00d4aa;
}
.qnn-auth-checkbox input:checked + .qnn-auth-checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.qnn-auth-checkbox a {
  color: #00d4aa;
  text-decoration: none;
}
.qnn-auth-checkbox a:hover {
  text-decoration: underline;
}
/* 切换登录/注册 */
.qnn-auth-switch {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.qnn-auth-switch a {
  color: #00d4aa;
  text-decoration: none;
  font-weight: 600;
}
.qnn-auth-switch a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .qnn-auth-modal {
    padding: 28px 20px 20px;
  }
  .qnn-auth-gift-tags {
    flex-wrap: wrap;
  }
}

/* ==================== v64 全局登录弹窗 ==================== */
.qnn-auth-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qnn-auth-modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
}
.qnn-auth-modal-box {
  position: relative;
  z-index: 10;
  width: 420px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #11141c 0%, #0d1017 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 32px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(0,212,170,.08);
  animation: qnnModalIn .3s ease;
}
@keyframes qnnModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.qnn-auth-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qnn-auth-modal-close:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.qnn-auth-modal-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 6px 20px rgba(0,212,170,.3);
}
.qnn-auth-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 16px;
}
.qnn-auth-modal-gift {
  background: rgba(0,212,170,.05);
  border: 1px solid rgba(0,212,170,.15);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.qnn-auth-modal-gift-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #00d4aa;
}
.qnn-auth-modal-gift-ico { font-size: 16px; }
.qnn-auth-modal-gift-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.qnn-auth-modal-gift-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,212,170,.1);
  border: 1px solid rgba(0,212,170,.2);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.qnn-auth-modal-gift-desc {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.qnn-auth-modal-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.qnn-auth-modal-tab {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.qnn-auth-modal-tab.active {
  color: #00d4aa;
}
.qnn-auth-modal-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: #00d4aa;
  border-radius: 2px;
}
.qnn-auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qnn-auth-modal-step-indicator {
  font-size: 12px;
  color: #00d4aa;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4px;
}
.qnn-auth-modal-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.qnn-auth-modal-input-wrap label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.qnn-auth-modal-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all .2s;
  box-sizing: border-box;
}
.qnn-auth-modal-input::placeholder { color: rgba(255,255,255,.3); }
.qnn-auth-modal-input:focus {
  border-color: rgba(0,212,170,.5);
  background: rgba(0,212,170,.04);
  box-shadow: 0 0 0 3px rgba(0,212,170,.1);
}
.qnn-auth-modal-submit {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(0,212,170,.3);
  margin-top: 2px;
}
.qnn-auth-modal-submit:hover {
  box-shadow: 0 6px 24px rgba(0,212,170,.45);
  transform: translateY(-1px);
}
.qnn-auth-modal-step-actions {
  display: flex;
  gap: 10px;
}
.qnn-auth-modal-step-actions .qnn-auth-modal-btn-ghost {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.qnn-auth-modal-step-actions .qnn-auth-modal-btn-ghost:hover {
  border-color: rgba(0,212,170,.4);
  color: #00d4aa;
}
.qnn-auth-modal-step-actions .qnn-auth-modal-submit {
  flex: 1;
  margin-top: 0;
}
/* 登录弹窗提示框 */
.qnn-auth-modal-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
  animation: qnnAlertSlide 0.3s ease;
}
@keyframes qnnAlertSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.qnn-auth-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}
.qnn-auth-alert-success {
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.35);
  color: #00d4aa;
}
.qnn-auth-modal-agree {
  display: flex;
  align-items: flex-start;
}
.qnn-auth-modal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  line-height: 1.5;
}
.qnn-auth-modal-checkbox input { display: none; }
.qnn-auth-modal-checkbox-custom {
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all .2s;
}
.qnn-auth-modal-checkbox input:checked + .qnn-auth-modal-checkbox-custom {
  background: #00d4aa;
  border-color: #00d4aa;
}
.qnn-auth-modal-checkbox input:checked + .qnn-auth-modal-checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.qnn-auth-modal-checkbox a {
  color: #00d4aa;
  text-decoration: none;
}
.qnn-auth-modal-switch {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}
.qnn-auth-modal-switch a {
  color: #00d4aa;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 480px) {
  .qnn-auth-modal-box { padding: 24px 18px 18px; }
}

/* ==================== v64 AI logo卡片滚动跳动 ==================== */
.qnn-logo-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90vmin;
  height: 90vmin;
  pointer-events: none;
}
.qnn-orbit-rotate {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  animation: qnnOrbitSpin 60s linear infinite;
}
.qnn-orbit-rotate-reverse {
  animation: qnnOrbitSpinReverse 45s linear infinite;
}
@keyframes qnnOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes qnnOrbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
/* AI logo卡片 */
.qnn-orbit-card {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  background: rgba(15,18,28,.95);
  border: 1px solid rgba(0,212,170,.25);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.5), 0 0 20px rgba(0,212,170,.1);
  animation: qnnCardFloat 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.qnn-orbit-card-img {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.qnn-orbit-card-img img {
  width: 24px; height: 24px;
  object-fit: contain;
}
.qnn-orbit-card-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.qnn-orbit-card-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.qnn-orbit-card-desc {
  font-size: 9px;
  color: rgba(0,212,170,.8);
  line-height: 1.2;
}
@keyframes qnnCardFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}
/* emoji图标 */
.qnn-orbit-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(15,18,28,.9);
  border: 1px solid rgba(0,212,170,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  animation: qnnCardFloat 3s ease-in-out infinite;
}
.qnn-orbit-emoji {
  width: 30px; height: 30px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .qnn-orbit-card {
    padding: 6px 8px 6px 6px;
    gap: 6px;
  }
  .qnn-orbit-card-img {
    width: 26px; height: 26px;
  }
  .qnn-orbit-card-img img {
    width: 20px; height: 20px;
  }
  .qnn-orbit-card-name {
    font-size: 10px;
  }
  .qnn-orbit-card-desc {
    display: none;
  }
}

/* ==================== v66 首页大圆重做 ==================== */
.qnn-orbit-rotate {
  animation: qnnOrbitSpin 90s linear infinite;
}
.qnn-orbit-rotate-reverse {
  animation: qnnOrbitSpinReverse 70s linear infinite;
}
/* AI logo卡片 - 更大更明显 */
.qnn-orbit-card {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(13,16,23,.95);
  border: 1px solid rgba(0,212,170,.3);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.6), 0 0 30px rgba(0,212,170,.12);
  animation: qnnCardFloat 3.5s ease-in-out infinite;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.qnn-orbit-card-img {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.qnn-orbit-card-img img {
  width: 30px; height: 30px;
  object-fit: contain;
}
.qnn-orbit-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qnn-orbit-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.qnn-orbit-card-desc {
  font-size: 10px;
  color: rgba(0,212,170,.9);
  line-height: 1.2;
  font-weight: 500;
}
@keyframes qnnCardFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}
/* emoji图标 - 内圈 */
.qnn-orbit-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(13,16,23,.9);
  border: 1px solid rgba(0,212,170,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  animation: qnnCardFloat 3.5s ease-in-out infinite;
}
.qnn-orbit-emoji {
  width: 36px; height: 36px;
  font-size: 16px;
}
/* 大圆装饰环 */
.qnn-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  padding-bottom: 130%;
  border: 1px solid rgba(0,212,170,.08);
  border-radius: 50%;
  pointer-events: none;
}
.qnn-hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding-bottom: 90%;
  border: 1px solid rgba(0,212,170,.06);
  border-radius: 50%;
  pointer-events: none;
}
@media (max-width: 768px) {
  .qnn-orbit-card {
    padding: 8px 10px 8px 8px;
    gap: 6px;
  }
  .qnn-orbit-card-img {
    width: 30px; height: 30px;
  }
  .qnn-orbit-card-img img {
    width: 22px; height: 22px;
  }
  .qnn-orbit-card-name {
    font-size: 11px;
  }
  .qnn-orbit-card-desc {
    display: none;
  }
}

/* ==================== v68 图标默认logo 悬停展开 ==================== */
.qnn-orbit-item {
  position: absolute;
  transform: translate(-50%, -50%);
  animation: qnnCardFloat 3.5s ease-in-out infinite;
  cursor: pointer;
  z-index: 2;
}
/* 默认只显示logo小圆圈 */
.qnn-orbit-logo-only {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: rgba(13,16,23,.95);
  border: 1px solid rgba(0,212,170,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.5), 0 0 20px rgba(0,212,170,.08);
  backdrop-filter: blur(10px);
  transition: all .3s ease;
}
.qnn-orbit-logo-img {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qnn-orbit-logo-img img {
  width: 32px; height: 32px;
  object-fit: contain;
}
/* 展开的卡片 - 默认隐藏 */
.qnn-orbit-card-expand {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(13,16,23,.98);
  border: 1px solid rgba(0,212,170,.4);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.7), 0 0 40px rgba(0,212,170,.2);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 10;
}
.qnn-orbit-card-expand .qnn-orbit-card-img {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.qnn-orbit-card-expand .qnn-orbit-card-img img {
  width: 30px; height: 30px;
  object-fit: contain;
}
.qnn-orbit-card-expand .qnn-orbit-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qnn-orbit-card-expand .qnn-orbit-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.qnn-orbit-card-expand .qnn-orbit-card-desc {
  font-size: 10px;
  color: rgba(0,212,170,.9);
  line-height: 1.2;
  font-weight: 500;
}
/* 悬停时：隐藏logo小圆圈，显示展开卡片 */
.qnn-orbit-item:hover .qnn-orbit-logo-only {
  opacity: 0;
  transform: scale(0.8);
}
.qnn-orbit-item:hover .qnn-orbit-card-expand {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
/* 跳动动画的50%位置也展开（模拟"跳动时显示介绍"） */
@keyframes qnnOrbitPulse {
  0%, 100% { }
  50% { }
}
/* 内圈emoji图标 */
.qnn-orbit-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(13,16,23,.9);
  border: 1px solid rgba(0,212,170,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  animation: qnnCardFloat 3.5s ease-in-out infinite;
}
.qnn-orbit-emoji {
  width: 44px; height: 44px;
  font-size: 20px;
}
@media (max-width: 768px) {
  .qnn-orbit-logo-only {
    width: 44px; height: 44px;
  }
  .qnn-orbit-logo-img {
    width: 32px; height: 32px;
  }
  .qnn-orbit-logo-img img {
    width: 24px; height: 24px;
  }
  .qnn-orbit-icon {
    width: 38px; height: 38px;
    font-size: 18px;
  }
  .qnn-orbit-emoji {
    width: 34px; height: 34px;
    font-size: 16px;
  }
}

/* ==================== v77 大圆晕开动画 + 打字机 + 图标随机跳动 ==================== */
/* 大圆晕开动画：从中心小圆一边旋转一边缓慢晕开到满屏（平滑无停顿） */
.qnn-orbit-expand {
  animation: qnnOrbitExpand 10s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  transform-origin: center center;
}
@keyframes qnnOrbitExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.02) rotate(0deg);
    opacity: 0;
    filter: blur(60px);
  }
  12% {
    opacity: 1;
    filter: blur(45px);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
    opacity: 1;
    filter: blur(0);
  }
}

/* 中心弹出卡片：图标跳动出来在中间显示 */
.qnn-center-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 48px;
  background: rgba(10, 14, 22, 0.95);
  border: 1px solid rgba(0, 212, 170, 0.5);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 80px rgba(0, 212, 170, 0.3);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qnn-center-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.qnn-center-popup-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.4);
  animation: qnnIconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.qnn-center-popup-icon img {
  width: 56px; height: 56px;
  object-fit: contain;
}
@keyframes qnnIconBounce {
  0% { transform: scale(0) rotate(-180deg); }
  60% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.qnn-center-popup-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.qnn-center-popup-desc {
  font-size: 14px;
  color: rgba(0, 212, 170, 0.9);
  text-align: center;
  font-weight: 500;
}

/* ==================== 流星背景效果（全屏随机不规律） ==================== */
.qnn-meteors {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.qnn-meteor {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(0, 212, 170, 0.7), 0 0 16px 4px rgba(0, 212, 170, 0.3);
  animation: qnnMeteor linear infinite;
  opacity: 0;
}
.qnn-meteor::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 180px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(0, 212, 170, 0.9), rgba(0, 212, 170, 0.2), transparent);
  transform: translateX(-180px) translateY(-50%);
  transform-origin: left center;
}
/* 流星动画：大部分时间隐藏，偶尔闪烁一根，飞行距离长覆盖全屏 */
@keyframes qnnMeteor {
  0% { transform: translate(0, 0) rotate(-25deg); opacity: 0; }
  3% { opacity: 0; }
  5% { opacity: 1; }
  10% { opacity: 0; transform: translate(-900px, 420px) rotate(-25deg); }
  100% { transform: translate(-900px, 420px) rotate(-25deg); opacity: 0; }
}
/* 25颗流星分散在全屏右半部分各个高度，每颗大小/延迟/速度都不同 */
.qnn-meteor:nth-child(1)  { top: 3%;   left: 95%; width:2px; height:2px; animation-duration: 8s;  animation-delay: 0s;   }
.qnn-meteor:nth-child(2)  { top: 8%;   left: 80%; width:4px; height:4px; animation-duration: 10s; animation-delay: 1.2s; }
.qnn-meteor:nth-child(3)  { top: 12%;  left: 65%; width:3px; height:3px; animation-duration: 7s;  animation-delay: 2.5s; }
.qnn-meteor:nth-child(4)  { top: 18%;  left: 90%; width:2px; height:2px; animation-duration: 9s;  animation-delay: 3.8s; }
.qnn-meteor:nth-child(5)  { top: 25%;  left: 75%; width:5px; height:5px; animation-duration: 11s; animation-delay: 5s;   }
.qnn-meteor:nth-child(6)  { top: 30%;  left: 55%; width:3px; height:3px; animation-duration: 8.5s;animation-delay: 6.5s; }
.qnn-meteor:nth-child(7)  { top: 35%;  left: 85%; width:2px; height:2px; animation-duration: 7.5s;animation-delay: 8s;   }
.qnn-meteor:nth-child(8)  { top: 42%;  left: 70%; width:4px; height:4px; animation-duration: 10s; animation-delay: 9.5s; }
.qnn-meteor:nth-child(9)  { top: 48%;  left: 50%; width:3px; height:3px; animation-duration: 9s;  animation-delay: 11s;  }
.qnn-meteor:nth-child(10) { top: 55%;  left: 92%; width:2px; height:2px; animation-duration: 8s;  animation-delay: 12.5s; }
.qnn-meteor:nth-child(11) { top: 60%;  left: 78%; width:5px; height:5px; animation-duration: 11s; animation-delay: 14s;  }
.qnn-meteor:nth-child(12) { top: 65%;  left: 60%; width:3px; height:3px; animation-duration: 7s;  animation-delay: 15.5s; }
.qnn-meteor:nth-child(13) { top: 70%;  left: 88%; width:2px; height:2px; animation-duration: 9.5s;animation-delay: 17s;  }
.qnn-meteor:nth-child(14) { top: 75%;  left: 72%; width:4px; height:4px; animation-duration: 10s; animation-delay: 18.5s; }
.qnn-meteor:nth-child(15) { top: 80%;  left: 55%; width:3px; height:3px; animation-duration: 8.5s;animation-delay: 20s;  }
.qnn-meteor:nth-child(16) { top: 85%;  left: 95%; width:2px; height:2px; animation-duration: 7.5s;animation-delay: 21.5s; }
.qnn-meteor:nth-child(17) { top: 90%;  left: 80%; width:5px; height:5px; animation-duration: 11s; animation-delay: 23s;  }
.qnn-meteor:nth-child(18) { top: 15%;  left: 45%; width:3px; height:3px; animation-duration: 9s;  animation-delay: 24.5s; }
.qnn-meteor:nth-child(19) { top: 50%;  left: 40%; width:2px; height:2px; animation-duration: 8s;  animation-delay: 26s;  }
.qnn-meteor:nth-child(20) { top: 38%;  left: 98%; width:4px; height:4px; animation-duration: 10s; animation-delay: 27.5s; }
.qnn-meteor:nth-child(21) { top: 68%;  left: 48%; width:3px; height:3px; animation-duration: 7.5s;animation-delay: 29s;  }
.qnn-meteor:nth-child(22) { top: 22%;  left: 88%; width:2px; height:2px; animation-duration: 9s;  animation-delay: 30.5s; }
.qnn-meteor:nth-child(23) { top: 58%;  left: 65%; width:5px; height:5px; animation-duration: 11s; animation-delay: 32s;  }
.qnn-meteor:nth-child(24) { top: 78%;  left: 90%; width:3px; height:3px; animation-duration: 8.5s;animation-delay: 33.5s; }
.qnn-meteor:nth-child(25) { top: 5%;   left: 70%; width:4px; height:4px; animation-duration: 10s; animation-delay: 35s;  }

/* 图标active状态：只放大图标，不展开卡片（文字在中间弹出卡片显示） */
.qnn-orbit-item.qnn-orbit-active .qnn-orbit-logo-only {
  transform: scale(2.0);
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.8), 0 0 80px rgba(0, 212, 170, 0.4);
  border-color: rgba(0, 212, 170, 1);
  z-index: 20;
}
.qnn-orbit-item.qnn-orbit-active .qnn-orbit-card-expand {
  display: none !important;
}

/* 打字机光标闪烁 */
.qnn-typewriter-cursor {
  display: inline-block;
  color: #00d4aa;
  font-weight: 300;
  margin-left: 2px;
  animation: qnnCursorBlink 0.8s step-end infinite;
}
@keyframes qnnCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 标题行高调整（两行文字） */
.qnn-title {
  white-space: normal;
  line-height: 1.25;
}


/* ============ 响应式自适应 ============ */
@media (max-width: 1200px) {
  .layout { grid-template-columns: 220px 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .layout { 
    grid-template-columns: 1fr; 
    padding: 16px;
  }
  .menu-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-bottom: 16px;
  }
  .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .menu-item {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  .menu-user {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .mu-stats {
    flex-direction: row;
    gap: 16px;
  }
  .gallery-panel { padding: 16px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .script-page { grid-template-columns: 1fr; }
  .sp-left, .sp-right { width: 100%; }
  .type-selector { grid-template-columns: 1fr; }
  .create-form { grid-template-columns: 1fr; }
  .tbl { font-size: 12px; }
  .tbl th, .tbl td { padding: 8px 6px; }
}

@media (max-width: 600px) {
  .topbar { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
  .brand-text { display: none; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .nav-links a { padding: 6px 10px; font-size: 12px; white-space: nowrap; }
  .topbar-right { gap: 6px; }
  .server-pill { display: none; }
  .stat-grid { grid-template-columns: 1fr; }
  .welcome-panel { flex-direction: column; text-align: center; }
  .welcome-avatar { margin: 0 auto 12px; }
  .page-head h1 { font-size: 20px; }
  .section-title { font-size: 14px; }
  .panel { padding: 16px; }
  .qnn-hero-core { padding: 20px; }
  .qnn-title { font-size: 32px; }
  .qnn-subtitle { font-size: 13px; }
  .qnn-stats { flex-direction: column; gap: 12px; }
  .qnn-stat { text-align: center; }
  .qnn-auth-modal-box { width: 95%; max-width: 400px; padding: 24px 20px; }
  .qnn-auth-modal-title { font-size: 20px; }
  .flow-nav { flex-wrap: wrap; }
  .flow-step { flex: 1; min-width: 80px; padding: 8px 6px; }
  .flow-step .fs-label { font-size: 11px; }
  .tbl { display: block; overflow-x: auto; }
  .create-submit { width: 100%; }
  .btn { padding: 8px 12px; font-size: 12px; }
  .btn.big { padding: 12px 20px; font-size: 14px; }
}

/* 移动端菜单切换 */
@media (max-width: 900px) {
  .menu-group-head { justify-content: center; }
  .menu-sub { padding-left: 0; border-left: none; margin-left: 0; }
  .menu-sub-item { justify-content: center; }
}



/* ============ 编剧工作台 ============ */
.writer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(0, 212, 170, 0.05);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.wt-left, .wt-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wt-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.wt-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.wt-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.wt-ico { font-size: 14px; }
.wt-mode-switch {
  display: flex;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 3px;
  margin-left: 8px;
}
.wt-mode-btn {
  padding: 6px 14px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--txt-dim);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.wt-mode-btn.active {
  background: rgba(0, 212, 170, 0.2);
  color: #00d4aa;
  font-weight: 600;
}

/* 三栏布局 */
.writer-layout {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 14px;
  min-height: 600px;
}

/* 左侧：项目创作树 */
.writer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wl-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.wl-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  cursor: pointer;
  background: rgba(0, 212, 170, 0.05);
  border-bottom: 1px solid var(--line);
  user-select: none;
}
.wl-ico { font-size: 14px; }
.wl-arrow {
  margin-left: auto;
  font-size: 10px;
  color: var(--txt-dim);
  transition: transform 0.2s;
}
.wl-add-btn {
  margin-left: auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 5px;
  color: #00d4aa;
  font-size: 14px;
  cursor: pointer;
  margin-right: 6px;
}
.wl-add-btn:hover { background: rgba(0, 212, 170, 0.25); }
.wl-section-content {
  padding: 6px;
  max-height: 300px;
  overflow-y: auto;
}
.wl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 12.5px;
}
.wl-item:hover {
  background: rgba(0, 212, 170, 0.08);
}
.wl-item.active {
  background: rgba(0, 212, 170, 0.15);
  border-left: 3px solid #00d4aa;
}
.wl-item-ico { font-size: 13px; flex-shrink: 0; }
.wl-item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--txt);
}
.wl-lock { font-size: 11px; flex-shrink: 0; }
.wl-status {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.wl-status.ok { background: rgba(0, 212, 170, 0.15); color: #00d4aa; }
.wl-status.draft { background: rgba(255,255,255,0.08); color: var(--txt-dim); }
.wl-empty {
  padding: 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--txt-dim);
}

/* 中间：主编辑区 */
.writer-center {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.wc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 212, 170, 0.03);
}
.wc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}
.wc-meta {
  font-size: 12px;
  color: var(--txt-dim);
}
.wc-editor-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  gap: 10px;
}
.wc-editor-wrap input, .wc-editor-wrap textarea {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.7;
  resize: none;
  transition: border-color 0.2s;
}
.wc-editor-wrap input:focus, .wc-editor-wrap textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.wc-stats {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: var(--txt-dim);
}
.wc-actions {
  display: flex;
  gap: 8px;
}

/* 右侧：AI对照面板 */
.writer-right {
  display: flex;
  flex-direction: column;
  background: rgba(0, 212, 170, 0.03);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 12px;
  overflow: hidden;
}
.wr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
  background: rgba(0, 212, 170, 0.08);
}
.wr-title {
  font-size: 13px;
  font-weight: 600;
  color: #00d4aa;
}
.wr-close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--txt-dim);
  font-size: 12px;
  cursor: pointer;
}
.wr-close:hover { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.wr-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  overflow-y: auto;
}
.wr-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.wr-col-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--txt-dim);
}
.wr-col textarea {
  flex: 1;
  min-height: 150px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--txt);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  resize: none;
}
.wr-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid rgba(0, 212, 170, 0.15);
}
.wr-actions .btn { width: 100%; justify-content: center; }

/* 响应式 */
@media (max-width: 1200px) {
  .writer-layout { grid-template-columns: 200px 1fr 280px; }
}
@media (max-width: 900px) {
  .writer-layout {
    grid-template-columns: 1fr;
  }
  .writer-left {
    max-height: 300px;
    overflow-y: auto;
  }
  .writer-right {
    min-height: 400px;
  }
}



/* ============ 全屏布局（编剧工作台） ============ */
.fullscreen-layout {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 60px);
  padding: 0;
  max-width: 100%;
}
.fs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--line);
}
.fs-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.fs-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.fs-name { color: var(--txt); font-weight: 500; }
.fs-balance { color: #00d4aa; font-weight: 600; }
.fs-content {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
}

/* 编剧页面头部 */
.writer-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.wph-left h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px 0;
  background: linear-gradient(135deg, #fff, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wph-sub {
  font-size: 13px;
  color: var(--txt-dim);
}
.wph-right {
  display: flex;
  gap: 6px;
}
.flow-step-mini {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt-dim);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.flow-step-mini:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}

/* Tab布局 */
.writer-tab-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px;
}
.writer-tabs {
  display: flex;
  gap: 2px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px 10px 0 0;
  padding: 6px 6px 0 6px;
  border: 1px solid var(--line);
  border-bottom: none;
  overflow-x: auto;
}
.writer-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  color: var(--txt-dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
}
.writer-tab:hover {
  color: var(--txt);
  background: rgba(255,255,255,0.05);
}
.writer-tab.active {
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  font-weight: 600;
}
.writer-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #00d4aa;
}
.wt-tab-ico { font-size: 15px; }
.wt-tab-count {
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}

/* Tab内容区 */
.writer-tab-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  min-height: 400px;
}
.writer-tab-pane {
  display: none;
  padding: 20px;
}
.writer-tab-pane.active {
  display: block;
}
.wtp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.wtp-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
}
.wtp-actions {
  display: flex;
  gap: 8px;
}
.wtp-body {
  min-height: 300px;
}

/* 世界观预览 */
.world-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wp-section {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.wp-label {
  font-size: 12px;
  font-weight: 600;
  color: #00d4aa;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wp-content {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--txt);
  white-space: pre-wrap;
}
.wp-factions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wp-faction {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 212, 170, 0.05);
  border-radius: 6px;
}
.wf-name {
  font-weight: 600;
  color: #00d4aa;
  min-width: 80px;
}
.wf-desc { color: var(--txt-dim); font-size: 13px; }

/* 大纲预览 */
.outline-preview {
  font-size: 14px;
  line-height: 2;
  color: var(--txt);
  white-space: pre-wrap;
  padding: 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  min-height: 200px;
}

/* 章纲列表 */
.chapter-outline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.co-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.co-item:hover {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateX(4px);
}
.co-index {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.co-info { flex: 1; min-width: 0; }
.co-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}
.co-summary {
  font-size: 12.5px;
  color: var(--txt-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.co-status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  flex-shrink: 0;
  font-weight: 600;
}
.co-status.ok { background: rgba(0, 212, 170, 0.15); color: #00d4aa; }
.co-status.draft { background: rgba(255,255,255,0.08); color: var(--txt-dim); }

/* 角色网格 */
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.char-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.char-card:hover {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}
.cc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.cc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}
.cc-voice {
  font-size: 11.5px;
  color: var(--txt-dim);
  margin-bottom: 6px;
}
.cc-intro {
  font-size: 11.5px;
  color: var(--txt-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 章节列表（内联） */
.chapter-list-inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.cli-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.cli-item:hover {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.3);
}
.cli-index {
  font-size: 11px;
  color: #00d4aa;
  font-weight: 600;
  text-transform: uppercase;
}
.cli-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
}
.cli-meta {
  font-size: 11.5px;
  color: var(--txt-dim);
}
.cli-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 14px;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--txt-dim);
}
.es-ico { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

/* 编辑器面板（弹出式） */
.writer-editor-panel {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0, 212, 170, 0.1);
  z-index: 1000;
  overflow: hidden;
}
.wep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(0, 212, 170, 0.08);
  border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}
.wep-title {
  font-size: 15px;
  font-weight: 600;
  color: #00d4aa;
}
.wep-actions {
  display: flex;
  gap: 8px;
}
.wep-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  overflow-y: auto;
}
.wep-body input, .wep-body textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.7;
  resize: none;
}
.wep-body input:focus, .wep-body textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wep-footer {
  padding: 10px 0 0 0;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.wep-stats {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: var(--txt-dim);
}

/* 右侧浮动AI对照面板 */
.writer-right-float {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 380px;
  max-height: 80vh;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 999;
  overflow: hidden;
}
.wrf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 212, 170, 0.08);
  border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}
.wrf-title {
  font-size: 14px;
  font-weight: 600;
  color: #00d4aa;
}
.wrf-close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--txt-dim);
  font-size: 12px;
  cursor: pointer;
}
.wrf-close:hover { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.wrf-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  overflow-y: auto;
}
.wrf-col { display: flex; flex-direction: column; gap: 5px; }
.wrf-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--txt-dim);
}
.wrf-col textarea {
  min-height: 120px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--txt);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  resize: none;
}
.wrf-actions {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(0, 212, 170, 0.15);
}
.wrf-actions .btn { flex: 1; justify-content: center; font-size: 12px; padding: 8px; }

/* 响应式 */
@media (max-width: 900px) {
  .writer-tabs { flex-wrap: nowrap; }
  .writer-tab { padding: 8px 12px; font-size: 12px; }
  .character-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .chapter-list-inline { grid-template-columns: 1fr; }
  .writer-editor-panel { width: 95%; max-height: 90vh; }
  .writer-right-float { width: 90%; right: 5%; left: 5%; transform: translateY(-50%); }
}



/* ============ 全新编剧工作台（三栏布局，无顶部导航） ============ */
.writer-fullscreen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #07080d;
  overflow: hidden;
}

/* 顶部工具栏 */
.wf-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 212, 170, 0.06);
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
  flex-shrink: 0;
}
.wf-left, .wf-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wf-back-btn {
  padding: 7px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt-dim);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.wf-back-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}
.wf-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wf-ico { font-size: 20px; }
.wf-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
}
.wf-type {
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  border-radius: 12px;
  font-weight: 600;
}
.wf-tool-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.wf-tool-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.wf-tool-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.wf-mode-switch {
  display: flex;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 3px;
}
.wf-mode-btn {
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--txt-dim);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.wf-mode-btn.active {
  background: rgba(0, 212, 170, 0.2);
  color: #00d4aa;
  font-weight: 600;
}

/* 三栏主体 */
.wf-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* 左侧导航树 */
.wf-sidebar {
  width: 260px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.wf-nav-group {
  flex: 1;
  overflow-y: auto;
  padding: 12px 8px;
}
.wf-nav-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  margin-bottom: 6px;
}
.wf-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--txt);
  font-size: 13px;
}
.wf-nav-item:hover {
  background: rgba(0, 212, 170, 0.08);
}
.wf-nav-item.active, .wf-nav-item-main.active {
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
}
.wf-nav-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--txt);
  font-size: 13px;
}
.wf-nav-item-main:hover {
  background: rgba(0, 212, 170, 0.08);
}
.wf-nav-ico { font-size: 15px; flex-shrink: 0; }
.wf-nav-text { flex: 1; font-weight: 500; }
.wf-nav-count {
  font-size: 11px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}
.wf-nav-lock { font-size: 11px; }
.wf-nav-arrow {
  font-size: 9px;
  color: var(--txt-dim);
  transition: transform 0.2s;
}
.wf-nav-children {
  margin-left: 20px;
  border-left: 1px solid var(--line);
  padding-left: 8px;
  margin-top: 2px;
  margin-bottom: 6px;
}
.wf-nav-subitem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--txt-dim);
  font-size: 12.5px;
}
.wf-nav-subitem:hover {
  background: rgba(0, 212, 170, 0.08);
  color: var(--txt);
}
.wf-nav-subitem.active {
  background: rgba(0, 212, 170, 0.12);
  color: #00d4aa;
}
.wf-sub-ico {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #00d4aa;
  flex-shrink: 0;
}
.wf-sub-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.wf-sub-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wf-sub-status {
  font-size: 10px;
  flex-shrink: 0;
}
.wf-sub-status.ok { color: #00d4aa; }
.wf-sub-status.draft { color: var(--txt-dim); }
.wf-nav-empty {
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--txt-dim);
  text-align: center;
}
.wf-nav-add {
  padding: 7px 10px;
  font-size: 12px;
  color: #00d4aa;
  cursor: pointer;
  border-radius: 6px;
  text-align: center;
  transition: all 0.15s;
}
.wf-nav-add:hover {
  background: rgba(0, 212, 170, 0.1);
}

/* 侧边栏底部 */
.wf-sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wf-footer-btn {
  padding: 9px 12px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.wf-footer-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.wf-footer-btn.ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--txt-dim);
}
.wf-footer-btn.ghost:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}
/* 进入分镜按钮 - 金黄色 */
#footerStoryboardBtn {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  color: #1a1a2e;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}
#footerStoryboardBtn:hover {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* 中间编辑器 */
.wf-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wf-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.wf-editor-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
}
.wf-editor-meta {
  font-size: 12px;
  color: var(--txt-dim);
}
.wf-editor-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wf-editor-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wf-field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-title-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--txt);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.wf-title-input:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wf-content-textarea {
  flex: 1;
  min-height: 400px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  color: var(--txt);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.9;
  resize: none;
  transition: border-color 0.2s;
}
.wf-content-textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wf-editor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.wf-editor-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--txt-dim);
}
.wf-editor-actions {
  display: flex;
  gap: 8px;
}
.wf-action-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.wf-action-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.wf-action-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.wf-action-btn.success {
  background: rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.4);
  color: #00d4aa;
  font-weight: 600;
}

/* 右侧AI对照面板 */
.wf-ai-panel {
  width: 360px;
  background: rgba(0, 212, 170, 0.03);
  border-left: 1px solid rgba(0, 212, 170, 0.2);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.wf-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
  background: rgba(0, 212, 170, 0.08);
}
.wf-ai-title {
  font-size: 14px;
  font-weight: 600;
  color: #00d4aa;
}
.wf-ai-close {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--txt-dim);
  font-size: 12px;
  cursor: pointer;
}
.wf-ai-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.wf-ai-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  overflow-y: auto;
}
.wf-ai-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.wf-ai-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-ai-textarea {
  flex: 1;
  min-height: 180px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.7;
  resize: none;
}
.wf-ai-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 212, 170, 0.15);
}
.wf-ai-btn {
  padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.wf-ai-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.wf-ai-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.wf-ai-btn.ghost {
  background: transparent;
  color: var(--txt-dim);
}

/* 响应式 */
@media (max-width: 1200px) {
  .wf-sidebar { width: 220px; }
  .wf-ai-panel { width: 320px; }
}
@media (max-width: 900px) {
  .wf-body { flex-direction: column; }
  .wf-sidebar {
    width: 100%;
    max-height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .wf-ai-panel {
    width: 100%;
    max-height: 300px;
    border-left: none;
    border-top: 1px solid rgba(0, 212, 170, 0.2);
  }
  .wf-topbar { flex-wrap: wrap; gap: 8px; }
  .wf-right { flex-wrap: wrap; }
}



/* ============ 左侧垂直Tab导航（v100） ============ */
.wf-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  flex: 1;
  overflow-y: auto;
}
.wf-tab-v {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--txt-dim);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}
.wf-tab-v:hover {
  background: rgba(0, 212, 170, 0.08);
  color: var(--txt);
}
.wf-tab-v.active {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 180, 216, 0.15));
  color: #00d4aa;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.3);
}
.wft-ico {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.wft-text {
  flex: 1;
}
.wft-count {
  font-size: 11px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

/* 中间主内容区 */
.wf-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}
.wf-tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.wf-tab-pane {
  display: none;
}
.wf-tab-pane.active {
  display: block;
}

/* 编辑器面板（中间区域内） */
.wf-editor-panel {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0b10;
  z-index: 10;
}
.wep-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 212, 170, 0.05);
  flex-shrink: 0;
}
.wep-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
}
.wep-meta {
  font-size: 12px;
  color: var(--txt-dim);
  flex: 1;
}
.wep-actions {
  display: flex;
  gap: 8px;
}
.wep-btn {
  padding: 7px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.wep-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.wep-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.wep-btn.success {
  background: rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.4);
  color: #00d4aa;
  font-weight: 600;
}
.wep-btn.ghost {
  background: transparent;
  color: var(--txt-dim);
}
.wep-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wep-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wep-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wep-title-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--txt);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.wep-title-input:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wep-content-textarea {
  flex: 1;
  min-height: 300px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  color: var(--txt);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.9;
  resize: none;
  transition: border-color 0.2s;
}
.wep-content-textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wep-footer {
  padding: 10px 24px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.wep-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--txt-dim);
}



/* ============ 伏笔记录面板（v101） ============ */
.foreshadow-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  width: 380px;
  max-height: 70vh;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0, 212, 170, 0.1);
  z-index: 100;
  overflow: hidden;
}
.fp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 212, 170, 0.08);
  border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}
.fp-title {
  font-size: 14px;
  font-weight: 600;
  color: #00d4aa;
}
.fp-close {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--txt-dim);
  font-size: 12px;
  cursor: pointer;
}
.fp-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.fp-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fp-input-row {
  display: flex;
  gap: 8px;
}
.fp-input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 13px;
}
.fp-input:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
}
.fp-add-btn {
  padding: 8px 14px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.fp-add-btn:hover { opacity: 0.9; }
.fp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fp-empty {
  text-align: center;
  padding: 30px 20px;
  color: var(--txt-dim);
  font-size: 13px;
}
.fp-item {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.fp-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fp-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
}
.fp-item-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.fp-item-status.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}
.fp-item-status.recycled {
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
}
.fp-item-detail {
  width: 100%;
  min-height: 60px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--txt);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  margin-bottom: 8px;
}
.fp-item-detail:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.4);
}
.fp-item-actions {
  display: flex;
  gap: 6px;
}
.fp-action-btn {
  flex: 1;
  padding: 5px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--txt-dim);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}
.fp-action-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}
.fp-action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}



/* ============ 水平Tab导航（v102） ============ */
.wf-tabs-horizontal {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  background: rgba(0, 212, 170, 0.04);
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
  flex-shrink: 0;
  overflow-x: auto;
  min-height: 48px;
}
.wf-tab-h {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--txt-dim);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  height: 100%;
  position: relative;
}
.wf-tab-h:hover {
  color: var(--txt);
  background: rgba(0, 212, 170, 0.06);
}
.wf-tab-h.active {
  color: #00d4aa;
  font-weight: 600;
  border-bottom-color: #00d4aa;
  background: rgba(0, 212, 170, 0.08);
}
.wf-tab-h .wft-ico {
  font-size: 16px;
}
.wf-tab-h .wft-count {
  font-size: 10px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}
.wf-tabs-spacer {
  flex: 1;
}
.wf-tab-link {
  padding: 7px 14px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.wf-tab-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.wf-tab-link.ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--txt-dim);
}
.wf-tab-link.ghost:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
}

/* 主内容区调整 */
.wf-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.wf-tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}



/* ============ 左侧Tab+列表 / 右侧常驻编辑框（v104） ============ */
.wf-left-panel {
  width: 320px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.wf-left-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 212, 170, 0.03);
}
.wfl-tab {
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--txt-dim);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.wfl-tab:hover {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.25);
  color: var(--txt);
}
.wfl-tab.active {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 180, 216, 0.15));
  border-color: rgba(0, 212, 170, 0.4);
  color: #00d4aa;
  font-weight: 600;
}
.wf-left-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.wfl-pane {
  display: none;
}
.wfl-pane.active {
  display: block;
}
.wfl-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wfl-preview-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.wfl-preview-content {
  cursor: pointer;
  transition: all 0.15s;
  border-radius: 8px;
  padding: 8px;
}
.wfl-preview-content:hover {
  background: rgba(0, 212, 170, 0.06);
}
.wfl-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wfl-label {
  font-size: 11px;
  font-weight: 600;
  color: #00d4aa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wfl-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--txt-dim);
}
.wfl-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
}
.wfl-add-btn {
  padding: 4px 10px;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.wfl-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wfl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.wfl-item:hover {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateX(3px);
}
.wfl-item-index {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.wfl-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.wfl-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wfl-item-info {
  flex: 1;
  min-width: 0;
}
.wfl-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wfl-item-desc {
  font-size: 11.5px;
  color: var(--txt-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wfl-item-status {
  font-size: 12px;
  flex-shrink: 0;
  color: #00d4aa;
}
.wfl-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--txt-dim);
  font-size: 13px;
}
.wf-left-footer {
  padding: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 右侧常驻编辑框 */
.wf-right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}
.wf-right-panel .wep-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 212, 170, 0.04);
  flex-shrink: 0;
}
.wf-right-panel .wep-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
}
.wf-right-panel .wep-meta {
  font-size: 12px;
  color: var(--txt-dim);
  flex: 1;
}
.wf-right-panel .wep-actions {
  display: flex;
  gap: 8px;
}
.wf-right-panel .wep-btn {
  padding: 7px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.wf-right-panel .wep-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.wf-right-panel .wep-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.wf-right-panel .wep-btn.success {
  background: rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.4);
  color: #00d4aa;
  font-weight: 600;
}
.wf-right-panel .wep-body {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wf-right-panel .wep-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wf-right-panel .wep-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--txt-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wf-right-panel .wep-title-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--txt);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.wf-right-panel .wep-title-input:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wf-right-panel .wep-content-textarea {
  flex: 1;
  min-height: 400px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  color: var(--txt);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.9;
  resize: none;
  transition: border-color 0.2s;
}
.wf-right-panel .wep-content-textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.wf-right-panel .wep-footer {
  padding: 10px 24px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.wf-right-panel .wep-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--txt-dim);
}



/* ============ 角色管理弹窗（v105） ============ */
.char-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.char-modal {
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0, 212, 170, 0.1);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.char-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.2);
  background: rgba(0, 212, 170, 0.06);
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}
.char-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #00d4aa;
}
.char-modal-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt-dim);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.char-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.char-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.char-section {
  margin-bottom: 20px;
}
.char-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #00d4aa;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.char-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.char-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.char-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--txt-dim);
}
.char-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s;
}
.char-input:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.char-input-with-btn {
  display: flex;
  gap: 6px;
}
.char-input-with-btn .char-input {
  flex: 1;
}
.char-input-btn {
  padding: 0 12px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 8px;
  color: #00d4aa;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.char-input-btn:hover {
  background: rgba(0, 212, 170, 0.2);
}
.char-textarea {
  width: 100%;
  min-height: 70px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--txt);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.char-textarea:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}
.char-image-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.char-image-preview {
  width: 120px;
  height: 160px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.char-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.char-image-preview span {
  color: var(--txt-dim);
  font-size: 12px;
}
.char-image-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.char-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--txt);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.char-btn:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.char-btn.ai {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: #00d4aa;
  font-weight: 600;
}
.char-btn.primary {
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.char-btn.ghost {
  background: transparent;
  color: var(--txt-dim);
}
.char-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid rgba(0, 212, 170, 0.15);
  background: rgba(0,0,0,0.2);
  border-radius: 0 0 16px 16px;
  flex-shrink: 0;
}
.char-btn.ai-large {
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 180, 216, 0.15));
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 10px;
  color: #00d4aa;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.char-btn.ai-large:hover {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), rgba(0, 180, 216, 0.25));
  transform: translateY(-1px);
}
.char-footer-right {
  display: flex;
  gap: 10px;
}



/* ============ 编剧工作台增强（v106） ============ */

/* @提及角色选择列表 */
.mention-list {
  position: fixed;
  z-index: 3000;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 212, 170, 0.1);
  max-height: 280px;
  overflow-y: auto;
  width: 260px;
  display: none;
}
.mention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.mention-item:hover, .mention-item.active {
  background: rgba(0, 212, 170, 0.12);
}
.mention-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.mention-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mention-info {
  flex: 1;
  min-width: 0;
}
.mention-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
}
.mention-role {
  font-size: 11px;
  color: var(--txt-dim);
  margin-top: 2px;
}
.mention-empty {
  padding: 16px;
  text-align: center;
  color: var(--txt-dim);
  font-size: 12px;
}

/* 角色名悬浮卡片 */
.char-hover-card {
  position: fixed;
  z-index: 3000;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 212, 170, 0.1);
  width: 280px;
  display: none;
  animation: fadeIn 0.2s ease;
}
.chc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
}
.chc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.chc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chc-info {
  flex: 1;
  min-width: 0;
}
.chc-name {
  font-size: 14px;
  font-weight: 700;
  color: #00d4aa;
}
.chc-role {
  font-size: 11px;
  color: var(--txt-dim);
  margin-top: 2px;
}
.chc-personality {
  padding: 8px 12px;
  font-size: 11.5px;
  color: var(--txt-dim);
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.chc-foreshadow {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.chc-fs-title {
  font-size: 11px;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 6px;
}
.chc-fs-item {
  font-size: 11px;
  color: var(--txt-dim);
  padding: 2px 0;
}
.chc-actions {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
}
.chc-btn {
  flex: 1;
  padding: 6px 10px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 6px;
  color: #00d4aa;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.chc-btn:hover {
  background: rgba(0, 212, 170, 0.2);
}

/* 角色故事线弹窗 */
.storyline-char-info {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(0, 212, 170, 0.05);
  border-radius: 10px;
  margin-bottom: 16px;
}
.sci-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4aa, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.sci-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sci-info {
  flex: 1;
}
.sci-name {
  font-size: 16px;
  font-weight: 700;
  color: #00d4aa;
}
.sci-role {
  font-size: 12px;
  color: var(--txt-dim);
  margin-top: 4px;
}
.sci-personality {
  font-size: 11.5px;
  color: var(--txt-dim);
  margin-top: 6px;
  line-height: 1.5;
}
.storyline-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.ss-item {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.ss-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #00d4aa;
}
.ss-label {
  display: block;
  font-size: 11px;
  color: var(--txt-dim);
  margin-top: 4px;
}
.storyline-section {
  margin-bottom: 16px;
}
.ss-title {
  font-size: 13px;
  font-weight: 700;
  color: #00d4aa;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
}
.storyline-empty {
  text-align: center;
  padding: 30px;
  color: var(--txt-dim);
  font-size: 13px;
}
.timeline {
  position: relative;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00d4aa, rgba(0, 212, 170, 0.1));
}
.timeline-item {
  position: relative;
  padding-bottom: 16px;
  cursor: pointer;
  transition: transform 0.15s;
}
.timeline-item:hover {
  transform: translateX(4px);
}
.timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00d4aa;
  border: 2px solid #0d0e14;
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}
.timeline-chapter {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
}
.timeline-count {
  font-size: 11px;
  color: #00d4aa;
  margin-left: 8px;
}
.timeline-context {
  font-size: 11.5px;
  color: var(--txt-dim);
  margin-top: 4px;
  line-height: 1.5;
}
.foreshadow-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fp-item-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
}
.fp-name-mini {
  font-size: 12px;
  color: var(--txt);
}
.fp-status-mini.pending {
  font-size: 10px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 伏笔关联角色选择 */
.char-select-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  padding: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.char-select-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.char-select-item:hover {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}
.char-select-item input[type='checkbox'] {
  accent-color: #00d4aa;
}
.csi-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.csi-name {
  font-size: 12px;
  color: var(--txt);
}
.char-select-empty {
  width: 100%;
  text-align: center;
  padding: 16px;
  color: var(--txt-dim);
  font-size: 12px;
}
.fp-related-chars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.frc-tag {
  font-size: 10px;
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}



/* ============ 编剧工作台v109增强 ============ */

/* 选中文字弹出功能菜单 */
.text-selection-menu {
  position: fixed;
  z-index: 3000;
  background: #0d0e14;
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 212, 170, 0.1);
  display: none;
  overflow: hidden;
  animation: fadeIn 0.15s ease;
}
.tsm-item {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--txt);
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.tsm-item:last-child {
  border-bottom: none;
}
.tsm-item:hover {
  background: rgba(0, 212, 170, 0.12);
  color: #00d4aa;
}

/* 转换对比弹窗 */
.convert-compare-modal .char-modal {
  max-width: 800px;
}

/* 文风弹窗 */
.style-panel-modal .char-modal {
  max-width: 550px;
}

/* 取名弹窗 */
.naming-tool-modal .char-modal {
  max-width: 500px;
}

/* 灵感面板右侧显示 */
#inspirationPanel {
  right: 20px;
  left: auto;
  top: 100px;
  bottom: auto;
  max-height: 70vh;
}

/* 伏笔面板右侧显示 */
.foreshadow-panel {
  right: 20px;
  left: auto;
  top: 100px;
  bottom: auto;
  max-height: 70vh;
}



/* 灵感记录章节标签 */
.fp-item-chapter {
  font-size: 11px;
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}


/* ========== 分镜页面新布局 ========== */
.sb-config-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(15, 18, 28, 0.6);
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
  flex-wrap: wrap;
}
.sb-config-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-config-item label {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-dim);
}
.sb-config-item select,
.sb-config-item input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--txt);
  font-size: 13px;
}
.sb-config-item select:focus,
.sb-config-item input:focus {
  outline: none;
  border-color: rgba(0, 212, 170, 0.5);
}
.sb-config-hint {
  font-size: 12px;
  color: var(--txt-dim);
  margin-left: auto;
}
.sb-preview-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.wfl-item.reviewed {
  border-left: 3px solid #00d4aa;
}
.wfl-item.reviewed .wfl-item-meta {
  color: #00d4aa;
}

/* 分镜页面全屏布局 */
.writer-fullscreen-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: #07080d;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.writer-fullscreen-shell .wf-main {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* ============ v142 用户中心页面美化 ============ */

/* 开始创作页面 */
.create-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.create-hero {
  text-align: center;
  padding: 40px 20px 30px;
  position: relative;
}

.create-hero-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.create-hero h1 {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.create-hero .sub {
  font-size: 15px;
  color: var(--txt-dim);
  letter-spacing: 1px;
}

.create-section {
  margin-bottom: 32px;
}

.create-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.create-section-title .title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  max-width: 120px;
}

.create-section-title .title-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* 创作类型卡片 */
.create-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.create-type-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.create-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.create-type-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.15);
}

.create-type-card:hover::before {
  transform: scaleX(1);
}

.create-type-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 180, 216, 0.05) 100%);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.2);
}

.create-type-card.active::before {
  transform: scaleX(1);
}

.create-type-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.create-type-card.active .create-type-glow {
  opacity: 1;
}

.create-type-icon {
  font-size: 48px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.create-type-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.create-type-desc {
  font-size: 13px;
  color: var(--txt-dim);
  position: relative;
  z-index: 1;
}

.create-type-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.create-type-card.active .create-type-check {
  opacity: 1;
  transform: scale(1);
}

/* 画面方向卡片 */
.create-orientation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.create-orientation-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.create-orientation-card:hover {
  border-color: var(--line-2);
  background: var(--panel-2);
}

.create-orientation-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, transparent 100%);
}

.create-orientation-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.create-orientation-info {
  flex: 1;
}

.create-orientation-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}

.create-orientation-desc {
  font-size: 12px;
  color: var(--txt-dim);
}

.create-orientation-check {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.create-orientation-card.active .create-orientation-check {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* 创建表单 */
.create-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-dim);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--txt);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
  background: var(--panel-2);
}

.form-input::placeholder {
  color: var(--txt-dim2);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238e9ab5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.create-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg);
  border: none;
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.create-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.create-submit-btn:hover::before {
  left: 100%;
}

.create-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.create-submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 18px;
}

.btn-text {
  position: relative;
  z-index: 1;
}

/* 响应式 */
@media (max-width: 768px) {
  .create-type-grid {
    grid-template-columns: 1fr;
  }
  
  .create-orientation-grid {
    grid-template-columns: 1fr;
  }
  
  .create-hero h1 {
    font-size: 28px;
  }
  
  .create-form {
    padding: 20px;
  }
}

/* 用户中心页面统一样式优化 */
.user-shell {
  min-height: calc(100vh - 60px);
}

.user-shell .page-head {
  margin-bottom: 24px;
}

.user-shell .page-head h1 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--txt) 0%, var(--txt-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-shell .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.user-shell .stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
}

.user-shell .stat-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.user-shell .stat-card .num {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-shell .stat-card .lbl {
  font-size: 13px;
  color: var(--txt-dim);
  margin-top: 4px;
}

/* 作品卡片优化 */
.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.project-card .card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card .card-thumb .ph {
  font-size: 48px;
  opacity: 0.5;
}

.project-card .card-body {
  padding: 16px;
}

.project-card .card-prompt {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card .card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--txt-dim);
  margin-bottom: 12px;
}

.project-card .card-actions button {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-card .card-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.25);
}

/* 筛选按钮优化 */
.project-filter-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--txt-dim);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-filter-btn:hover {
  border-color: var(--line-2);
  color: var(--txt);
}

.project-filter-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
  color: var(--bg);
}


/* ============ v143 封面功能 + 图标大小调整 ============ */

/* 减小创作类型图标大小 */
.create-type-icon {
  font-size: 36px !important;
  margin-bottom: 12px !important;
}

/* 减小画面方向图标大小 */
.create-orientation-icon {
  font-size: 28px !important;
}

/* 减小hero图标大小 */
.create-hero-icon {
  font-size: 40px !important;
  margin-bottom: 12px !important;
}

/* 封面功能样式 */
.create-cover-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.cover-preview-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  border: 2px dashed var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cover-preview-box:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}

.cover-preview-box.dragover {
  border-color: var(--accent);
  background: rgba(0, 212, 170, 0.05);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.cover-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--txt-dim);
}

.cover-placeholder-icon {
  font-size: 40px;
  opacity: 0.6;
}

.cover-placeholder-text {
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.cover-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg);
}

.cover-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
}

.cover-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cover-btn-secondary {
  background: var(--panel-2);
  color: var(--txt);
  border: 1px solid var(--line);
}

.cover-btn-secondary:hover {
  border-color: var(--line-2);
  background: var(--panel);
}

.cover-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--err);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cover-btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--err);
}

.cover-tip {
  font-size: 12px;
  color: var(--txt-dim2);
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

/* 响应式 */
@media (max-width: 768px) {
  .create-cover-section {
    grid-template-columns: 1fr;
  }
  
  .cover-preview-box {
    max-width: 100%;
  }
}


/* ============ v145 封面预览框大小调整 ============ */

/* 调整封面区域布局，让预览框更大 */
.create-cover-section {
  grid-template-columns: 340px 1fr !important;
  align-items: stretch !important;
}

/* 封面预览框填满整个左侧区域 */
.cover-preview-box {
  width: 100% !important;
  height: 100% !important;
  min-height: 200px !important;
  aspect-ratio: auto !important;
}

/* 封面图片填满预览框 */
.cover-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 右侧控制面板垂直居中 */
.cover-controls {
  justify-content: center !important;
}


/* ============ v146 封面预览框高度调整 + 按钮横排 ============ */

/* 恢复封面区域布局，预览框宽度适中 */
.create-cover-section {
  grid-template-columns: 300px 1fr !important;
  align-items: start !important;
}

/* 封面预览框高度增加，但宽度不要太大 */
.cover-preview-box {
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
  aspect-ratio: auto !important;
}

/* 封面图片填满预览框 */
.cover-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 右侧控制面板 */
.cover-controls {
  justify-content: flex-start !important;
}

/* 确保按钮横排 */
.cover-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}

.cover-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}


/* ============ v147 作品卡片标签不同颜色 ============ */

/* 短剧标签 - 青绿色 */
.card-badge-drama {
  background: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%) !important;
  color: #07080d !important;
  border: none !important;
}

/* 漫剧标签 - 紫色 */
.card-badge-comic {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

/* 小说标签 - 橙色 */
.card-badge-novel {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%) !important;
  color: #ffffff !important;
  border: none !important;
}


/* ============ v148 管理员后台登录页面 ============ */

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #07080d 0%, #0d1018 50%, #07080d 100%);
  position: relative;
  overflow: hidden;
}

.admin-login-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 50%);
  animation: adminBgFloat 20s ease-in-out infinite;
}

@keyframes adminBgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.admin-login-box {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: 90%;
  background: rgba(20, 24, 36, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 212, 170, 0.1);
}

.admin-login-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.admin-login-box h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #e8ecf7;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.admin-login-sub {
  text-align: center;
  font-size: 14px;
  color: #8e9ab5;
  margin-bottom: 32px;
}

.admin-login-form {
  margin-bottom: 24px;
}

.admin-login-form .form-group {
  margin-bottom: 20px;
}

.admin-login-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #8e9ab5;
  margin-bottom: 8px;
}

.admin-login-form .form-input {
  width: 100%;
  background: rgba(13, 16, 24, 0.8);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  color: #e8ecf7;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.admin-login-form .form-input:focus {
  border-color: #00d4aa;
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.admin-login-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

.admin-login-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.admin-login-alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.admin-login-btn {
  width: 100%;
  background: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);
  color: #07080d;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 4px;
}

.admin-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.admin-login-btn:active {
  transform: translateY(0);
}

.admin-login-footer {
  text-align: center;
}

.admin-login-footer a {
  color: #8e9ab5;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.admin-login-footer a:hover {
  color: #00d4aa;
}


/* ============ v149 API配置管理页面样式 ============ */

.type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.type-badge.type-text {
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.type-badge.type-image {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.type-badge.type-video {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.type-badge.type-multimodal {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.type-badge.type-voice {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.type-badge.type-moderation {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.cap-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 212, 170, 0.1);
  color: #00d4aa;
  border-radius: 4px;
  font-size: 11px;
  margin-right: 4px;
  margin-bottom: 2px;
}

.status-ok {
  color: #22c55e;
  font-weight: 600;
}

.status-off {
  color: #64748b;
  font-weight: 600;
}

.provider-card {
  background: rgba(13, 16, 24, 0.6);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
}

.provider-card:hover {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.05);
}

.provider-card b {
  color: #e8ecf7;
  font-size: 14px;
}

.cap-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(13, 16, 24, 0.6);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  color: #8e9ab5;
}

.cap-checkbox:hover {
  border-color: rgba(0, 212, 170, 0.4);
}

.cap-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00d4aa;
}

.cap-checkbox:has(input:checked) {
  background: rgba(0, 212, 170, 0.1);
  border-color: #00d4aa;
  color: #00d4aa;
}


/* ============ v150 支付系统样式 ============ */

.pay-method-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: rgba(13, 16, 24, 0.6);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #8e9ab5;
}

.pay-method-card:hover {
  border-color: rgba(0, 212, 170, 0.4);
}

.pay-method-card.active {
  background: rgba(0, 212, 170, 0.1);
  border-color: #00d4aa;
  color: #00d4aa;
}

.pay-ico {
  font-size: 18px;
}

.recharge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px;
  background: rgba(13, 16, 24, 0.6);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recharge-card:hover {
  border-color: rgba(0, 212, 170, 0.4);
  transform: translateY(-2px);
}

.recharge-card.active {
  background: rgba(0, 212, 170, 0.1);
  border-color: #00d4aa;
}

.rc-amount {
  font-size: 24px;
  font-weight: 800;
  color: #00d4aa;
}

.rc-unit {
  font-size: 12px;
  color: #8e9ab5;
  margin-bottom: 6px;
}

.rc-price {
  font-size: 14px;
  font-weight: 600;
  color: #e8ecf7;
}


/* ============ v155 数据分析与系统监控样式 ============ */

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.chart-bar {
  width: 100%;
  max-width: 24px;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.3s ease;
}

.chart-label {
  font-size: 10px;
  color: #64748b;
}

.chart-title {
  font-size: 13px;
  font-weight: 600;
  color: #8e9ab5;
  margin-bottom: 8px;
}

.revenue-item {
  margin-bottom: 14px;
}

.revenue-name {
  font-size: 13px;
  color: #e8ecf7;
  margin-bottom: 4px;
}

.revenue-amount {
  font-size: 16px;
  font-weight: 700;
  color: #00d4aa;
  margin-bottom: 6px;
}

.revenue-bar {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}

.revenue-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4aa, #00b4d8);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.detail-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 13px;
}

.detail-stat:last-child {
  border-bottom: none;
}

.detail-stat span {
  color: #8e9ab5;
}

.detail-stat b {
  color: #e8ecf7;
}

.resource-display {
  text-align: center;
  padding: 10px 0;
}

.resource-percent {
  font-size: 32px;
  font-weight: 800;
  color: #e8ecf7;
  margin-bottom: 10px;
}

.resource-bar {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}

.resource-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.resource-bar-fill.ok {
  background: linear-gradient(90deg, #22c55e, #10b981);
}

.resource-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.resource-bar-fill.danger {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.resource-info {
  font-size: 12px;
  color: #64748b;
}

.queue-stat {
  text-align: center;
  padding: 12px;
  background: rgba(0, 212, 170, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 170, 0.1);
}

.queue-num {
  font-size: 24px;
  font-weight: 800;
  color: #00d4aa;
}

.queue-lbl {
  font-size: 12px;
  color: #8e9ab5;
  margin-top: 4px;
}

.stat-card .sub {
  font-size: 11px;
  margin-top: 4px;
}


/* ============ v156 计费系统样式 ============ */

.daily-credits-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 10px;
  margin: 12px 0;
  position: relative;
  z-index: 1;
}

.dc-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dc-ico {
  font-size: 18px;
}

.dc-text {
  font-size: 14px;
  color: #e8ecf7;
}

.dc-text b {
  color: #00d4aa;
  font-size: 16px;
}

.dc-hint {
  font-size: 12px;
  color: #64748b;
}

.dc-claimed {
  font-size: 13px;
  color: #22c55e;
  font-weight: 600;
}

.billing-input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.3);
  color: #e8ecf7;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.billing-input:focus {
  border-color: #00d4aa;
}

.type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.type-badge.type-text {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.type-badge.type-image {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.type-badge.type-video {
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
}

.type-badge.type-voice {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}


/* ==================== 全局漂浮按钮 ==================== */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00d4aa 0%, #00a884 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.6);
}

.fab-btn svg {
  width: 22px;
  height: 22px;
}

.fab-btn.feedback-btn {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.fab-btn.feedback-btn:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.fab-btn .fab-tooltip {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
}

/* ==================== 投诉反馈弹窗 ==================== */
.feedback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.feedback-modal {
  background: #1a1f2e;
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.feedback-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feedback-modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #999;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.feedback-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.feedback-modal-body {
  padding: 20px 24px;
}

.feedback-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.feedback-type-tab {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #999;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  transition: all 0.2s;
}

.feedback-type-tab.active {
  border-color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  color: #00d4aa;
}

.feedback-field {
  margin-bottom: 16px;
}

.feedback-field label {
  display: block;
  font-size: 13px;
  color: #ccc;
  margin-bottom: 6px;
}

.feedback-field label .required {
  color: #ef4444;
  margin-left: 2px;
}

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.feedback-field input:focus,
.feedback-field textarea:focus {
  outline: none;
  border-color: #00d4aa;
}

.feedback-field textarea {
  resize: vertical;
  min-height: 80px;
}

.feedback-verify-section {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.feedback-verify-title {
  font-size: 13px;
  color: #a5b4fc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feedback-verify-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feedback-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.feedback-submit-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4aa 0%, #00a884 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.feedback-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.4);
}

.feedback-cancel-btn {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #999;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.feedback-cancel-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* ==================== 客服弹窗 ==================== */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.service-modal {
  background: #1a1f2e;
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.service-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #999;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.service-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.service-modal-body {
  padding: 24px;
}

.service-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-qr-item {
  text-align: center;
}

.service-qr-img {
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.service-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-qr-placeholder {
  color: #999;
  font-size: 13px;
  text-align: center;
}

.service-qr-name {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-qr-desc {
  font-size: 12px;
  color: #888;
}

.service-tip {
  margin-top: 20px;
  padding: 12px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 8px;
  font-size: 13px;
  color: #5eead4;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== 投诉反馈类型卡片 ==================== */
.feedback-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.feedback-type-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feedback-type-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.05);
}

.feedback-type-card.active {
  border-color: #00d4aa;
  background: rgba(0, 212, 170, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.3);
}

.ftc-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.feedback-type-card.active .ftc-radio {
  border-color: #00d4aa;
}

.ftc-radio-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d4aa;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.feedback-type-card.active .ftc-radio-inner {
  transform: scale(1);
}

.ftc-content {
  flex: 1;
  min-width: 0;
}

.ftc-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.ftc-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* 响应式：小屏幕单列 */
@media (max-width: 480px) {
  .feedback-type-grid {
    grid-template-columns: 1fr;
  }
}


/* ==================== 投诉反馈顶部提示和Tab ==================== */
.feedback-tip-box {
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ftb-label {
  flex-shrink: 0;
  padding: 3px 10px;
  background: linear-gradient(135deg, #00d4aa, #00a884);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 1px;
}

.ftb-text {
  flex: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* 举报/反馈主Tab */
.feedback-main-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fmt-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.fmt-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.fmt-tab.active {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 168, 132, 0.1));
  color: #00d4aa;
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.3);
  font-weight: 600;
}

.fmt-tab-icon {
  font-size: 16px;
}


/* ==================== 用户中心左侧导航底部 ==================== */
.menu-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.menu-footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-footer-item:hover {
  background: rgba(0, 212, 170, 0.12);
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateX(2px);
}

.menu-footer-item .mi-ico {
  font-size: 16px;
}

.menu-footer-item .mi-text {
  flex: 1;
}


/* ==================== 实名认证状态标签 ==================== */
.status-pending {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-ok {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-off {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* 统计卡片 */
.stat-card {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
}


/* ==================== 仪表盘合并样式 ==================== */
.preview-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.preview-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.preview-value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.preview-sub {
  font-size: 11px;
}

.queue-stat-mini {
  text-align: center;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.queue-stat-mini .queue-num {
  font-size: 20px;
  font-weight: 700;
  color: #00d4aa;
}

.queue-stat-mini .queue-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.tbl-mini {
  font-size: 12px;
}

.tbl-mini th, .tbl-mini td {
  padding: 8px 10px;
}

.resource-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-weight: 500;
}

.resource-percent {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.resource-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.resource-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.resource-bar-fill.ok {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.resource-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.resource-bar-fill.danger {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.resource-info {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}


/* ==================== 客服卡片和二维码上传 ==================== */
.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}

.service-card.disabled {
  opacity: 0.5;
}

.service-qr {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.service-info {
  margin-bottom: 12px;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.service-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.service-status {
  font-size: 11px;
}

.service-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.service-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  font-size: 11px;
}

/* 二维码上传区域 */
.qr-upload-area {
  width: 100%;
  height: 180px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.qr-upload-area:hover {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.03);
}

.qr-upload-area.dragover {
  border-color: #00d4aa;
  background: rgba(0, 212, 170, 0.08);
  transform: scale(1.02);
}

.qr-preview {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.qr-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qr-remove:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.qr-upload-icon {
  font-size: 36px;
  opacity: 0.5;
}

.qr-upload-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.qr-upload-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ==================== 语音输入按钮 ==================== */
.voice-input-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.08);
  color: #00d4aa;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-input-btn:hover {
  background: rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.5);
}

.voice-input-btn.recording {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.voice-input-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* ========== 作品卡片编辑/删除按钮 ========== */
.card-edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s;
  z-index: 10;
}

.project-card:hover .card-edit-btn {
  opacity: 1;
}

.card-edit-btn:hover {
  background: #00d4aa;
  transform: scale(1.1);
}

.card-delete-btn {
  position: absolute;
  top: 8px;
  right: 44px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #ff6b6b;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s;
  z-index: 10;
}

.project-card:hover .card-delete-btn {
  opacity: 1;
}

.card-delete-btn:hover {
  background: #ff6b6b;
  color: #fff;
  transform: scale(1.1);
}
