/* =====================================================================
 * S2 / 漫剧 作曲器阶段显隐样式（1:1 复刻参考站）
 * ===================================================================== */

/* ---------- 无项目：隐藏底部大输入框 ---------- */
#workspaceShell.s2-phase-noproject #wsComposer,
.ws-main.s2-phase-noproject #wsComposer {
  display: none !important;
}

/* ---------- 运行中：输入框最小化（s2-minimal 已在 s2-fix-v88.css 处理） ---------- */

/* ---------- hero「新建项目」CTA ---------- */
.s2-hero-cta {
  display: none;
  margin-top: 26px;
  justify-content: center;
}
.s2-hero-cta.show { display: flex; }

.s2-hero-newbtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #06222b;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #5ee7ff 0%, #22d3ee 45%, #0ea5e9 100%);
  box-shadow:
    0 0 0 1px rgba(125, 232, 255, 0.35),
    0 10px 30px -8px rgba(34, 211, 238, 0.55),
    0 0 34px -6px rgba(34, 211, 238, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.s2-hero-newbtn svg { stroke: #06222b; }
.s2-hero-newbtn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(125, 232, 255, 0.55),
    0 16px 40px -10px rgba(34, 211, 238, 0.7),
    0 0 46px -6px rgba(34, 211, 238, 0.6);
}
.s2-hero-newbtn:active { transform: translateY(0) scale(0.99); }

/* 呼吸光 */
@keyframes s2CtaPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(125,232,255,.35), 0 10px 30px -8px rgba(34,211,238,.55), 0 0 30px -8px rgba(34,211,238,.4); }
  50%      { box-shadow: 0 0 0 1px rgba(125,232,255,.6), 0 10px 30px -8px rgba(34,211,238,.6), 0 0 46px -6px rgba(34,211,238,.62); }
}
.s2-hero-cta.show .s2-hero-newbtn { animation: s2CtaPulse 2.8s ease-in-out infinite; }
