@charset "UTF-8";
/*!
 * 好剧创作 · 官网页面皮肤
 * ---------------------------------------------------------------------------
 * 定位：覆盖层。各官网页面正文仍是 Tailwind 类名（bg-[#f4f8ff]、text-slate-900 等），
 * 本文件在 official.css + haoju.css 之后加载，把浅色蓝灰体系整体翻成深墨金体系。
 *
 * 手法：直接压 Tailwind 调色板类与语义背景/文字类，
 *      比逐页改 HTML 快得多，也不会漏掉任何一个角落。
 *      —— 但 hero 等重点区块另有 hj- 前缀的专用样式，见文件末尾。
 */

/* ============ 0. 盒模型兜底 ============
 * 官方 official.css 是 Tailwind v4 的编译产物，其 preflight 在本项目里
 * 没能把 box-sizing 统一成 border-box（实测 .hj-container 是 content-box）。
 * 带 padding 的栅格/卡片一律显式声明，否则 width + padding 会顶出横向滚动条。
 */
.hj-container, .hj-hero, .hj-section,
.hj-hero__grid, .hj-grid, .hj-frame, .hj-frame__body,
.hj-card, .hj-badge, .hj-btn, .hj-chip, .hj-stat__n,
.hj-eyebrow, .hj-hero__eyebrow, .hj-section__head,
.hj-section__title, .hj-section__sub, .hj-footer__barinner {
  box-sizing: border-box;
}

/* 全局兜底：任何带横向 padding 的伪元素容器也不应溢出 */
.hj-container * { min-width: 0; }

/* ============ 1. 语义底色翻深 ============ */

.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-slate-200,
.bg-\[\#fafbff\],
.bg-\[\#f4f8ff\],
.bg-\[\#f5f8ff\],
.bg-\[\#f6f8fc\] {
  background-color: var(--hj-ink-800) !important;
}
.bg-slate-900,
.bg-slate-950,
.bg-\[\#0f172a\] {
  background-color: var(--hj-ink-900) !important;
}
.bg-slate-100\/80,
.bg-slate-50\/80,
.bg-white\/96 {
  background-color: rgba(22, 29, 45, .8) !important;
}

/* 分区交替：用 nth-of-type 做深浅呼吸，避免整页一个色调 */
.bg-white { background-color: var(--hj-ink-800) !important; }
.bg-slate-50,
.bg-\[\#f4f8ff\],
.bg-\[\#f5f8ff\],
.bg-\[\#f6f8fc\] {
  background-color: var(--hj-ink-850) !important;
}
.bg-slate-900,
.bg-slate-950 {
  background-color: var(--hj-ink-900) !important;
}

/* ============ 2. 文字色 ============ */

.text-slate-900,
.text-slate-950,
.text-slate-800,
.text-black {
  color: var(--hj-cream) !important;
}
.text-slate-700,
.text-slate-600,
.text-slate-500 {
  color: var(--hj-text-2) !important;
}
.text-slate-400,
.text-slate-300 {
  color: var(--hj-text-3) !important;
}
.text-white { color: var(--hj-cream) !important; }

/* 品牌蓝 → 金 */
.text-\[\#326cfe\],
.text-indigo-500,
.text-indigo-600,
.text-blue-600,
.text-\[\#2557e8\] {
  color: var(--hj-gold) !important;
}
.bg-\[\#326cfe\],
.bg-indigo-500,
.bg-indigo-600,
.bg-blue-600,
.bg-\[\#2557e8\] {
  background-color: var(--hj-gold) !important;
  color: var(--hj-text-inv) !important;
}
.border-\[\#326cfe\],
.border-indigo-200,
.border-indigo-100,
.border-indigo-500,
.border-blue-200 {
  border-color: rgba(224, 177, 85, .42) !important;
}
.bg-indigo-50,
.bg-blue-50,
.bg-indigo-100\/50 {
  background-color: rgba(224, 177, 85, .09) !important;
}
.hover\:text-\[\#326cfe\]:hover,
.hover\:text-indigo-600:hover,
.hover\:text-indigo-500:hover,
.hover\:text-blue-600:hover {
  color: var(--hj-gold-300) !important;
}
.hover\:bg-indigo-50:hover,
.hover\:bg-blue-50:hover {
  background-color: rgba(224, 177, 85, .1) !important;
}

/* ============ 3. 边框 ============ */

.border-slate-100,
.border-slate-200,
.border-slate-300,
.border-slate-800,
.border-slate-900,
.border-slate-700 {
  border-color: var(--hj-line) !important;
}
.border-t-slate-200,
.border-b-slate-200,
.border-t-slate-900 {
  border-color: var(--hj-line-soft) !important;
}
.divide-slate-200 > * + * { border-color: var(--hj-line-soft) !important; }

/* ============ 4. 卡片 ============ */

.rounded-2xl,
.rounded-xl,
.rounded-3xl,
.rounded-lg {
  border-color: var(--hj-line);
}
.group.bg-white.rounded-2xl,
.rounded-2xl.border.border-slate-100,
.rounded-2xl.border.border-slate-200,
.bg-white.rounded-xl,
.bg-slate-50.rounded-2xl,
.rounded-xl.border.border-slate-200 {
  background: linear-gradient(168deg, var(--hj-graphite) 0%, var(--hj-ink-700) 100%) !important;
  border-color: var(--hj-line) !important;
  box-shadow: var(--hj-shadow) !important;
}
.group:hover .group-hover\:bg-slate-50 { background: var(--hj-graphite-2) !important; }
.group:hover .group-hover\:text-white { color: var(--hj-cream) !important; }
.group:hover .group-hover\:border-indigo-200 { border-color: var(--hj-gold-600) !important; }
.hover\:border-indigo-200:hover,
.hover\:border-slate-300:hover {
  border-color: var(--hj-gold-600) !important;
}

/* ============ 5. 按钮 ============ */

.rounded-xl.px-6.py-2\.5,
.rounded-xl.px-7.py-3\.5,
.rounded-xl.px-8.py-4,
.rounded-2xl.px-6.py-3 {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
/* 金色实心按钮 */
.bg-\[\#326cfe\].text-white,
.bg-\[\#326cfe\] {
  transition: transform .16s cubic-bezier(.2,.9,.3,1), box-shadow .16s;
}
.bg-\[\#326cfe\]:hover {
  background: linear-gradient(140deg, var(--hj-gold-300), var(--hj-gold-600)) !important;
  transform: translateY(-2px);
  box-shadow: var(--hj-shadow-gold) !important;
}
/* 白底描边按钮 → 深底描边 */
.bg-white.border.border-slate-300,
.bg-white.border.border-slate-200,
.border.border-slate-300.bg-white {
  background: transparent !important;
  border-color: var(--hj-line) !important;
  color: var(--hj-cream) !important;
}
.border.border-slate-300.bg-white:hover,
.bg-white.border.border-slate-200:hover {
  border-color: var(--hj-gold-600) !important;
  background: rgba(224, 177, 85, .07) !important;
}
.hover\:bg-slate-50:hover,
.hover\:bg-slate-100:hover {
  background: rgba(224, 177, 85, .08) !important;
}

/* ============ 6. 表单与徽标 ============ */

input.border,
textarea.border,
select.border,
input\[type=text\].border,
.rounded-xl.border.border-slate-200,
.rounded-xl.border.border-slate-300 {
  background: var(--hj-ink-850) !important;
  border-color: var(--hj-line) !important;
  color: var(--hj-text) !important;
}
input::placeholder, textarea::placeholder { color: var(--hj-text-3) !important; }
input:focus, textarea:focus, select:focus {
  border-color: var(--hj-gold) !important;
  box-shadow: 0 0 0 3.5px var(--hj-gold-glow) !important;
}
.bg-slate-100.rounded-full,
.rounded-full.bg-slate-100 {
  background: var(--hj-ink-700) !important;
  color: var(--hj-text-2) !important;
  border: 1px solid var(--hj-line);
}
.bg-slate-900.rounded-full { background: var(--hj-graphite) !important; }

/* ============ 7. 原站自定义组件 ============ */

/* 打字机效果 */
.jc-typewriter { border-color: var(--hj-line) !important; }
.line-text { color: var(--hj-cream) !important; }
.jc-typewriter-dot {
  background: var(--hj-gold) !important;
  box-shadow: 0 0 8px var(--hj-gold);
}

/* 编辑器模拟窗口 */
.jc-hero-editor {
  background: var(--hj-ink-850) !important;
  border-color: var(--hj-line) !important;
  box-shadow: var(--hj-shadow-lg) !important;
}
.jc-hero-editor-toolbar {
  background: var(--hj-graphite) !important;
  border-bottom-color: var(--hj-line) !important;
}
.jc-hero-editor-toolbar button { color: var(--hj-text-2) !important; }
.jc-hero-editor-toolbar button:hover { background: var(--hj-graphite-2) !important; }
.jc-hero-scene-tabs { background: var(--hj-graphite-2) !important; }
.jc-hero-scene-tab { color: var(--hj-text-3) !important; }
.jc-hero-scene-tab.is-active { color: var(--hj-gold) !important; }
.jc-hero-script-page { background: var(--hj-ink-900) !important; color: var(--hj-text) !important; }
.jc-hero-script-line.scene-heading { color: var(--hj-gold) !important; }
.jc-hero-script-line.action-line { color: var(--hj-text-2) !important; }
.jc-hero-script-line.character-line { color: var(--hj-cream) !important; }
.jc-hero-script-line.dialogue-line { color: var(--hj-text) !important; }
.jc-hero-script-line.action-line-plain { color: var(--hj-text-3) !important; }
.typing-line::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--hj-gold);
  animation: hj-caret 1s steps(2) infinite;
}
@keyframes hj-caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* 浮动卡片 */
.jc-hero-float-card {
  background: rgba(29, 37, 54, .9) !important;
  border-color: var(--hj-line) !important;
  box-shadow: var(--hj-shadow-lg) !important;
}
.jc-hero-float-title { color: var(--hj-cream) !important; }
.jc-hero-float-icon {
  background: rgba(224, 177, 85, .12) !important;
  color: var(--hj-gold) !important;
  border: 1px solid rgba(224, 177, 85, .25);
}

/* 数据指标 */
.jc-metric-value,
.metric-value { color: var(--hj-gold) !important; }
.jc-metric-label { color: var(--hj-text-3) !important; }

/* 通用小节标签 */
.uppercase.tracking-widest { color: var(--hj-gold) !important; letter-spacing: .28em !important; }

/* FAQ 折叠 */
details summary { color: var(--hj-cream) !important; }
details[open] summary { color: var(--hj-gold) !important; }

/* 表格 */
table { color: var(--hj-text) !important; }
thead th {
  background: var(--hj-graphite) !important;
  color: var(--hj-text-2) !important;
  border-bottom-color: var(--hj-line) !important;
}
tbody td, tbody th { border-bottom-color: var(--hj-line-soft) !important; }
tbody tr:hover { background: rgba(255, 255, 255, .02) !important; }

/* 代码块 */
pre, code {
  background: var(--hj-ink-900) !important;
  color: var(--hj-text) !important;
  border-color: var(--hj-line) !important;
}

/* ============ 8. 原站 lightbox / layer 弹窗 ============ */

.layui-layer {
  background: var(--hj-graphite) !important;
  border: 1px solid var(--hj-line) !important;
  border-radius: var(--hj-r) !important;
  box-shadow: var(--hj-shadow-lg) !important;
  color: var(--hj-text) !important;
  overflow: hidden;
}
.layui-layer-title { background: var(--hj-ink-700) !important; color: var(--hj-cream) !important; border-bottom-color: var(--hj-line) !important; }
.layui-layer-content { color: var(--hj-text) !important; background: transparent !important; }
.layui-layer-btn a {
  background: var(--hj-gold) !important;
  color: var(--hj-text-inv) !important;
  border-color: var(--hj-gold) !important;
}
.layui-layer-iframe { background: var(--hj-graphite) !important; }

/* ============ 8.5 原站内联渐变遮罩 ============
 * 14 个功能页的 hero 都有这么一层（注意它用的是 top-0 left-0，不是 inset-0）：
 *   <div class="absolute top-0 left-0 w-full h-full opacity-100">
 *     <div class="absolute top-0 left-0 w-full h-full
 *          bg-[radial-gradient(...),linear-gradient(180deg,rgba(255,255,255,.92),...)]"></div>
 *   </div>
 * 内层是 arbitrary value 渐变（白 → 浅蓝），盖住整块section，
 * 任何 .bg-* 类都压不住，只能用属性选择器精确打掉。
 * 命中条件：class 里含 radial-gradient / linear-gradient。
 */
[class*="bg-\[radial-gradient"] {
  background: radial-gradient(900px 480px at 10% -6%, rgba(224, 177, 85, .13), transparent 62%),
              radial-gradient(700px 440px at 86% 6%, rgba(91, 135, 196, .11), transparent 60%),
              linear-gradient(180deg, #10141F 0%, #0A0D16 100%) !important;
  opacity: 1 !important;
}
/* 上面那层的包裹容器：内层已经是完整背景，包裹层保持透明即可 */
div[class*="opacity-100"]:has(> [class*="bg-\[radial-gradient"]),
div[class*="opacity-100"]:has(> [class*="bg-\[linear-gradient"]) {
  background: transparent !important;
}

/* 各页 hero 的浅蓝边框改成金色描边 */
.border-\[\#dbe7fb\] { border-color: var(--hj-line) !important; }
.shadow-\[0_20px_60px_rgba\(50\,108\,254\,0\.12\)\] { box-shadow: var(--hj-shadow-lg) !important; }
.shadow-\[0_10px_40px_rgba\(0\,0\,0\,0\.04\)\] { box-shadow: var(--hj-shadow) !important; }

/* 原站的圆点装饰（红黄绿三色）在深底上过于刺眼，柔化为金色系 */
.bg-rose-400 { background: #8E4A45 !important; }
.bg-amber-400 { background: #9A7433 !important; }
.bg-emerald-400 { background: #3F7A61 !important; }
.w-3.h-3.rounded-full { box-shadow: none !important; }

/* ============ 9. 官网首页 Hero（重写） ============ */

.hj-hero {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
  background: var(--hj-ink-850);
  border-bottom: 1px solid var(--hj-line-soft);
}
/* 放映机光束 + 噪点 */
.hj-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(224, 177, 85, .13), transparent 62%),
    radial-gradient(700px 480px at 88% 8%, rgba(91, 135, 196, .10), transparent 60%);
  pointer-events: none;
}
.hj-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.hj-hero > * { position: relative; z-index: 1; }

.hj-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hj-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 15px 7px 11px;
  border: 1px solid rgba(224, 177, 85, .3);
  border-radius: 99px;
  background: rgba(224, 177, 85, .08);
  color: var(--hj-gold);
  font-size: 13px;
  letter-spacing: .1em;
  margin-bottom: 26px;
}
.hj-hero__eyebrow b {
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--hj-gold);
  color: var(--hj-text-inv);
  font-size: 11.5px;
  letter-spacing: .06em;
}
.hj-hero__title {
  font-family: var(--hj-font-serif);
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .015em;
  color: var(--hj-cream);
  margin: 0 0 22px;
}
.hj-hero__title em {
  font-style: normal;
  color: var(--hj-gold);
  position: relative;
  white-space: nowrap;
}
.hj-hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .1em;
  height: .11em;
  background: linear-gradient(90deg, var(--hj-gold), transparent);
  opacity: .32;
}
.hj-hero__lead {
  font-size: 18px;
  line-height: 1.85;
  color: var(--hj-text-2);
  max-width: 33em;
  margin: 0 0 34px;
}
.hj-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hj-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 30px;
  border-top: 1px solid var(--hj-line-soft);
}
.hj-stat__n {
  font-family: var(--hj-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--hj-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hj-stat__l { font-size: 13.5px; color: var(--hj-text-3); margin-top: 8px; }

/* Hero 右侧：胶片框 */
.hj-hero__visual { position: relative; }
.hj-frame {
  position: relative;
  border-radius: var(--hj-r-lg);
  overflow: hidden;
  background: var(--hj-ink-900);
  border: 1px solid var(--hj-line);
  box-shadow: var(--hj-shadow-lg);
}
.hj-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(224, 177, 85, .1), transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hj-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--hj-graphite);
  border-bottom: 1px solid var(--hj-line);
}
.hj-frame__bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hj-line);
}
.hj-frame__bar i:first-child { background: #D4614E; }
.hj-frame__bar i:nth-child(2) { background: #D99A3C; }
.hj-frame__bar i:nth-child(3) { background: #4FA97E; }
.hj-frame__bar span {
  margin-left: 12px;
  font-size: 12.5px;
  color: var(--hj-text-3);
  font-family: var(--hj-font-mono);
}
.hj-frame__body { padding: 22px 24px 26px; }

.hj-script-line {
  font-family: var(--hj-font-serif);
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--hj-text-2);
}
.hj-script-line--head { color: var(--hj-gold); font-size: 14px; letter-spacing: .06em; }
.hj-script-line--act { color: var(--hj-text-3); }
.hj-script-line--who { color: var(--hj-cream); font-weight: 700; letter-spacing: .1em; }
.hj-script-line--cue { color: var(--hj-text-2); padding-left: 2em; }

/* 环绕的浮动标签
 * 位置避让：--a 在左上（压窗口上沿之上，故上移并左移出框），
 * --b 在右侧中部，--c 在右下。三个都不能压住 .hj-frame 的标题栏与正文。 */
.hj-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 99px;
  background: rgba(22, 29, 45, .93);
  border: 1px solid var(--hj-line);
  box-shadow: var(--hj-shadow);
  font-size: 13.5px;
  color: var(--hj-cream);
  white-space: nowrap;
  animation: hj-float 6s ease-in-out infinite;
}
.hj-chip i {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(224, 177, 85, .13);
  color: var(--hj-gold);
  font-size: 12px;
}
.hj-chip--a { top: -28px; left: -30px; animation-delay: 0s; }
.hj-chip--b { top: 46%; right: -52px; animation-delay: 1.4s; }
.hj-chip--c { bottom: -26px; right: 8%; animation-delay: 2.8s; }

@keyframes hj-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ============ 10. 首页通用区块 ============ */

.hj-section { padding: 92px 0; position: relative; }
.hj-section--alt { background: var(--hj-ink-850); border-block: 1px solid var(--hj-line-soft); }
.hj-section__head { max-width: 46em; margin: 0 auto 56px; text-align: center; }
.hj-section__title {
  font-family: var(--hj-font-serif);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--hj-cream);
  margin: 16px 0 16px;
}
.hj-section__sub { font-size: 17px; line-height: 1.8; color: var(--hj-text-2); margin: 0; }

.hj-grid { display: grid; gap: 22px; }
.hj-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hj-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hj-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ============ 11. 响应式 ============ */

@media (max-width: 1080px) {
  .hj-hero { padding: 72px 0 84px; }
  .hj-hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .hj-chip--a { left: 0; }
  .hj-chip--b { right: 0; }
  .hj-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hj-hero { padding: 52px 0 64px; }
  .hj-hero__lead { font-size: 16.5px; }
  .hj-hero__cta { flex-direction: column; align-items: stretch; }
  .hj-hero__cta .hj-btn { width: 100%; }
  .hj-hero__stats { grid-template-columns: 1fr; gap: 18px; }
  .hj-section { padding: 60px 0; }
  .hj-grid--4, .hj-grid--3, .hj-grid--2 { grid-template-columns: 1fr; }
  .hj-chip { display: none; }
  .hj-frame__body { padding: 18px 18px 22px; }
  .hj-script-line { font-size: 14.5px; line-height: 1.95; }
}

@media (prefers-reduced-motion: reduce) {
  .hj-chip { animation: none !important; }
  .typing-line::after { animation: none !important; opacity: 1; }
}