/* ============================================================
   DeepTook 官方主页 · 桌面、平板与手机自适应
   浅色底 / 固定顶栏 / 纵向大卡 + 应用窗口式功能图
   ============================================================ */

:root {
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --ink: #1f2026;
  --ink-soft: rgba(17, 17, 51, 0.7);
  --muted: rgba(61, 61, 61, 0.5);
  --faint: #9d9d9d;
  --line: #e9e9e9;
  --bg: #ffffff;
  --card-a: #f8fafd;
  --card-b: #f7fafd;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { border: 0; vertical-align: middle; }

.page-home { position: relative; min-width: 0; padding: 0 clamp(24px, 4vw, 60px); }

/* ===== 顶部导航（固定置顶） ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 60px);
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-left { justify-self: start; display: inline-flex; align-items: center; }
.header-img { display: block; width: 166px; height: 54px; object-fit: contain; }
.header-nav { justify-self: center; display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.header-nav-item {
  font-family: "PingFang SC", var(--font);
  font-size: 15.5px;
  font-weight: 700;
  color: #5b6472;
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s;
}
.header-nav-item:hover { color: var(--brand); transform: translateY(-1px); }
.header-auth {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-login { font-size: 15px; font-weight: 600; color: #667085; }
.auth-login:hover { color: var(--brand); }
.auth-signup {
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s;
}
.auth-signup:hover { background: var(--brand-deep); }
.header-auth span { color: #d0d5dd; }
.menu-toggle { display: none; }
.mobile-download-note { display: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #93baf8; outline-offset: 4px; }
#home, .module-card { scroll-margin-top: 90px; }

/* ===== Hero ===== */
.content { display: flex; flex-direction: column; align-items: center; padding-top: 134px; }
.hero { width: 100%; text-align: center; }
.kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eff5ff;
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 600;
}
.main-title {
  margin: 24px auto 0;
  max-width: 900px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #111133;
}
.main-title .accent {
  background: linear-gradient(90deg, var(--brand), #8b7cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 20px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}
.btn-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 55px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.download-button svg { width: 18px; height: 18px; }
.download-button:hover { transform: translateY(-2px); }
.download-button.primary { color: #fff; background: var(--brand); box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28); }
.download-button.primary:hover { background: var(--brand-deep); }
.download-button.ghost { color: var(--ink); background: #fff; border: 1px solid #d8d8e8; }
.download-button.ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.platform-note { margin: 16px auto 0; max-width: 1040px; color: var(--faint); font-size: 13px; line-height: 1.8; }
#dt-download-error { flex-basis: 100%; margin: 4px 0 0; color: #b42318; font-size: 13px; line-height: 1.7; }

/* ===== 功能模块（千问式纵向大卡） ===== */
.modules { width: 100%; max-width: 1040px; margin-top: 80px; }
.module-card {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 11;
  margin: 58px auto 0;
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
}
.module-card:nth-of-type(1) { margin-top: 0; }
.module-card:hover { box-shadow: 0 24px 60px rgba(15, 22, 74, 0.10); transform: translateY(-3px); }

/* ===== 功能图：应用窗口面板 ===== */
.panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(15, 22, 74, 0.10);
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid #eef1f6;
}
.panel-title { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: #1f2430; }
.panel-desc {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: #667085;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.panel-dot.d2 { background: #8b7cf6; }
.panel-dot.d3 { background: #45c49c; }
.panel-dot.d4 { background: #d89518; }
.panel-dot.d5 { background: #ec6e9c; }
.panel-dot.d6 { background: #14b8a6; }
.panel-pill { padding: 3px 11px; border-radius: 999px; background: #eff5ff; color: var(--brand-deep); font-size: 11.5px; font-weight: 600; }
.panel-body { flex: 1; min-height: 0; padding: 20px 24px; display: flex; gap: 14px; }
.panel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-top: 1px solid #eef1f6;
  color: var(--faint);
  font-size: 12px;
}
.panel-meta b { color: var(--brand-deep); font-weight: 600; }

/* 1 脑洞生成器 */
.idea-body { align-items: stretch; }
.driver-list { flex: 0 0 34%; display: flex; flex-direction: column; gap: 10px; }
.driver {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #edf0f6;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}
.driver i { width: 8px; height: 8px; border-radius: 50%; background: #d3d8e2; }
.driver.on { border-color: #bfdbfe; background: #eff5ff; color: var(--brand-deep); }
.driver.on i { background: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.idea-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #edf0f6;
  background: linear-gradient(180deg, #fbfdff, #f7f9fd);
}
.idea-tags { display: flex; gap: 8px; }
.idea-tags span { padding: 3px 10px; border-radius: 999px; background: #e8effc; color: #3b6fd9; font-size: 11.5px; font-weight: 600; }
.idea-hero b { font-size: 16px; color: #151a2b; }
.idea-hero p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #667085; }
.idea-hero-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }
.mini-btn { padding: 6px 12px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600; }

/* 2 小说创作 */
.novel-body { align-items: stretch; }
.chapter-list { flex: 0 0 31%; display: flex; flex-direction: column; gap: 8px; }
.chapter-list span { padding: 9px 12px; border-radius: 9px; font-size: 12px; color: #6b7280; }
.chapter-list span.on { background: #eff5ff; color: var(--brand-deep); font-weight: 700; }
.write-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #edf0f6;
  background: #fbfcfe;
}
.write-head { display: flex; justify-content: space-between; align-items: center; }
.write-head b { font-size: 14px; color: #151a2b; }
.write-head span { font-size: 11.5px; color: var(--brand-deep); font-weight: 600; }
.progress { height: 6px; border-radius: 999px; background: #e7ebf2; overflow: hidden; }
.progress i { display: block; height: 100%; width: 62%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #8b7cf6); }
.fake-line { height: 9px; border-radius: 5px; background: #edf0f5; }
.l1 { width: 92%; } .l2 { width: 80%; } .l3 { width: 66%; } .l4 { width: 74%; }
.fake-line.hl { background: linear-gradient(90deg, #dbe7ff, #eff5ff); }
.write-steps { display: flex; gap: 8px; margin-top: auto; }
.write-steps span { padding: 4px 10px; border-radius: 999px; background: #f2f4f8; color: #9aa2b1; font-size: 11px; }
.write-steps span.done { background: #eafaf1; color: #16965b; }
.write-steps span.on { background: #eff5ff; color: var(--brand-deep); font-weight: 600; }

/* 3 剧本改编 */
.script-body { align-items: stretch; }
.script-steps { flex: 0 0 30%; display: flex; flex-direction: column; gap: 10px; }
.script-steps span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #edf0f6;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 600;
}
.script-steps i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5e9f2;
  color: #8a93a5;
  font-style: normal;
  font-size: 11px;
}
.script-steps span.done { color: #16965b; }
.script-steps span.done i { background: #dcf5e7; color: #16965b; }
.script-steps span.on { border-color: #bfdbfe; background: #eff5ff; color: var(--brand-deep); }
.script-steps span.on i { background: var(--brand); color: #fff; }
.script-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.conv-row { display: flex; align-items: center; gap: 12px; }
.conv-chip { padding: 9px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 600; }
.conv-chip.src { background: #f2f4f8; color: #4b5563; border: 1px solid #e7ebf2; }
.conv-chip.dst { background: #eff5ff; color: var(--brand-deep); border: 1px solid #d6e4ff; }
.conv-arrow { color: var(--brand); font-weight: 800; font-size: 17px; }
.script-sample { display: flex; gap: 12px; }
.script-sample p {
  flex: 1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #edf0f6;
  background: #fbfcfe;
  font-size: 11.5px;
  line-height: 1.7;
  color: #667085;
}
.script-sample i { font-style: normal; color: var(--brand-deep); font-weight: 600; display: block; margin-bottom: 4px; }
.script-stats { display: flex; gap: 8px; }
.script-stats span {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid #edf0f6;
  background: #fbfcfe;
  font-size: 12px;
  color: #667085;
}

/* 4 AI漫剧 · 无限画面 */
.comic-body { padding: 0; }
.canvas-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  background-color: #fbfcfe;
  background-image: radial-gradient(#dfe5f2 1px, transparent 1px);
  background-size: 18px 18px;
}
.frame {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e9f2;
  box-shadow: 0 10px 24px rgba(15, 22, 74, 0.09);
}
.frame.f1 { left: 3%; top: 7%; width: 38%; }
.frame.f2 { left: 57%; top: 6%; width: 38%; }
.frame.f3 { left: 9%; top: 57%; width: 36%; }
.frame.f4 { left: 58%; top: 58%; width: 36%; }
.frame b { font-size: 12.5px; color: #1f2430; }
.frame span { font-size: 11px; color: #8a93a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb { display: block; height: 66px; border-radius: 8px; }
.t1 { background: linear-gradient(120deg, #dbe7ff, #93c5fd); }
.t2 { background: linear-gradient(120deg, #e9e2ff, #b8a9f7); }
.t3 { background: linear-gradient(120deg, #d9f6e7, #86d9b4); }
.t4 { background: linear-gradient(120deg, #fff0d9, #ffcf87); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires path { fill: none; stroke: #aebcef; stroke-width: 1.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.plus-frame {
  position: absolute;
  left: 47.5%;
  bottom: 5%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1.5px dashed #aebcef;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 700;
}

/* 5 蒸馏市场 */
.market-body { flex-direction: column; align-items: stretch; gap: 12px; }
.market-search { display: flex; align-items: center; gap: 8px; }
.search-box {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #edf0f6;
  background: #fbfcfe;
  color: #9aa2b1;
  font-size: 12px;
}
.filter { padding: 6px 12px; border-radius: 999px; border: 1px solid #edf0f6; color: #6b7280; font-size: 12px; }
.filter.on { border-color: #bfdbfe; background: #eff5ff; color: var(--brand-deep); font-weight: 600; }
.market-cards { flex: 1; display: flex; gap: 12px; align-items: stretch; }
.market-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  padding: 16px 12px;
  border-radius: 14px;
  border: 1px solid #edf0f6;
  background: #fbfcfe;
}
.mk-grad { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 18px; font-weight: 800; color: #fff; }
.g1 { background: linear-gradient(140deg, #60a5fa, #2563eb); }
.g2 { background: linear-gradient(140deg, #a78bfa, #7c3aed); }
.g3 { background: linear-gradient(140deg, #34d399, #059669); }
.market-card b { font-size: 13.5px; color: #1f2430; }
.mk-tags { display: flex; gap: 5px; }
.mk-tags i { font-style: normal; padding: 2px 7px; border-radius: 999px; background: #f2f4f8; color: #8a93a5; font-size: 10.5px; }
.market-card .mk-meta { font-size: 11.5px; color: #8a93a5; }
.market-card i { font-style: normal; margin-top: auto; padding: 4px 12px; border-radius: 999px; background: #f2f4f8; color: #6b7280; font-size: 11.5px; }
.market-card i.use { background: #eff5ff; color: var(--brand-deep); font-weight: 600; }
.market-stats { display: flex; justify-content: center; gap: 18px; font-size: 11.5px; color: var(--faint); }

/* 6 去 AI 味 */
.deai-body { flex-direction: column; align-items: stretch; gap: 12px; }
.deai-modes { display: flex; gap: 8px; }
.deai-modes span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #edf0f6;
  color: #6b7280;
  font-size: 12px;
}
.deai-modes span.on { border-color: #bfdbfe; background: #eff5ff; color: var(--brand-deep); font-weight: 600; }
.deai-compare { flex: 1; display: flex; gap: 12px; align-items: stretch; }
.deai-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
}
.deai-quote.before { background: #fff7f7; border: 1px solid #ffe0e0; }
.deai-quote.after { background: #f0fbf5; border: 1px solid #cdeedb; }
.deai-quote i { font-style: normal; font-size: 11.5px; font-weight: 700; }
.deai-quote.before i { color: #dc2626; }
.deai-quote.after i { color: #16965b; }
.deai-quote p { margin: 0; font-size: 14px; line-height: 1.9; color: #4b5563; }
.deai-mid { align-self: center; color: var(--brand); font-size: 22px; font-weight: 800; }
.deai-meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #edf0f6;
  background: #fbfcfe;
}
.meter-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 11.5px; color: #667085; }
.meter-row span { width: 48px; }
.meter-row i { max-width: 100%; height: 8px; border-radius: 999px; background: #edf0f5; }
.m-red { background: #f87171 !important; }
.m-green { background: #34d399 !important; }
.meter-row b { color: #333; }
.deai-swap { display: flex; gap: 8px; flex-wrap: wrap; }
.deai-swap span {
  padding: 5px 11px;
  border-radius: 8px;
  background: #f7f8fb;
  border: 1px solid #edf0f6;
  color: #667085;
  font-size: 11.5px;
}

/* ===== 页脚 ===== */
.footer { max-width: 1040px; margin: 90px auto 0; padding: 34px 0 43px; border-top: 1px solid var(--line); }
.footer-second-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--faint); }
.footer-left-view { display: flex; align-items: center; gap: 4px; line-height: 26px; }
.footer-left-line, .footer-right-line { color: #d5d5dd; margin: 0 6px; }
.footer-left-view a:hover { color: #333; }
.footer-right-view { display: flex; align-items: center; color: var(--brand); cursor: pointer; }
.footer-right-view span:hover { color: var(--brand-deep); }
.footer-right-view a { color: inherit; text-decoration: none; }
.footer-right-view a:hover { color: var(--brand-deep); }
.arrow-icon { margin-left: 6px; }

/* ===== 响应式 ===== */
.panel-body > *, .write-view, .script-main, .idea-hero, .market-card { min-width: 0; }
.write-steps, .deai-modes, .market-stats, .script-stats { flex-wrap: wrap; }
.panel-title, .panel-pill, .panel-dot { flex-shrink: 0; }
.footer-left-view, .footer-right-view { flex-wrap: wrap; }
.auth-login, .auth-signup { display: inline-flex; min-height: 44px; align-items: center; }

@media (max-width: 1240px) {
  .header { grid-template-columns: 1fr auto auto; gap: 16px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: #f3f6fc; border: 1px solid #e3eaf5; border-radius: 12px; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; background: #354c73; border-radius: 2px; transition: transform .18s, opacity .18s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .header-nav { display: none; position: absolute; left: 24px; right: 24px; top: calc(100% + 8px); max-height: calc(100dvh - 100px); overflow: auto; padding: 12px; background: #fff; border: 1px solid #e3eaf5; border-radius: 16px; box-shadow: 0 16px 48px #17264d1f; }
  .menu-open .header-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; justify-self: stretch; }
  .header-nav-item { padding: 12px 14px; min-height: 46px; border-radius: 9px; font-size: 14px; }
  .header-nav-item:hover { background: #eff5ff; transform: none; }
}
@media (max-width: 1100px) {
  .page-home, .header { padding-left: 24px; padding-right: 24px; }
  .panel-desc { font-size: 12.5px; }
  .module-card { aspect-ratio: auto; }
  .panel { min-height: 460px; }
  .canvas-stage { min-height: 355px; }
  .conv-row { gap: 8px; }
  .conv-chip { padding: 9px 10px; }
  .script-sample { gap: 8px; }
  .script-sample p { padding: 12px 10px; }
}
@media (max-width: 860px) {
  .module-card { margin-top: 32px; }
  .panel { height: auto; min-height: 0; }
  .panel-bar { flex-wrap: wrap; gap: 9px; }
  .panel-pill { margin-left: auto; }
  .panel-desc { flex-basis: 100%; order: 3; display: block; white-space: normal; overflow: visible; line-height: 1.7; font-size: 13px; }
  .panel-body { flex: none; }
  .idea-hero { min-height: 250px; }
  .write-view { min-height: 245px; }
  .script-body { flex-direction: column; }
  .script-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex-basis: auto; gap: 8px; }
  .script-steps span { padding: 10px 8px; gap: 7px; }
  .script-steps i { flex-shrink: 0; }
  .canvas-stage { min-height: 420px; }
  .footer-second-wrap { flex-direction: column; align-items: center; gap: 8px; }
  .footer-left-view, .footer-right-view { justify-content: center; }
  .footer a { padding: 8px 0; }
}
@media (max-width: 600px) {
  .page-home { padding: 0 18px; }
  .header { height: 66px; padding: 0 16px; gap: 10px; }
  .header-img { width: 136px; height: 44px; }
  .header-auth { gap: 7px; }
  .header-auth > span { display: none; }
  .auth-login, .auth-signup { font-size: 13px; }
  .auth-signup { padding: 6px 12px; }
  .menu-toggle { width: 40px; height: 44px; }
  .header-nav { left: 16px; right: 16px; }
  .menu-open .header-nav { grid-template-columns: 1fr; }
  .header-nav-item { font-size: 15px; }
  .content { padding-top: 104px; }
  #home, .module-card { scroll-margin-top: 82px; }
  .kicker { font-size: 11px; padding: 7px 12px; }
  .main-title { font-size: clamp(28px, 7.5vw, 42px); line-height: 1.35; margin-top: 22px; letter-spacing: -.04em; text-wrap: balance; }
  .hero-sub { font-size: 14px; line-height: 1.85; margin-top: 18px; text-wrap: pretty; }
  .hero-sub br { display: none; }
  .btn-container { margin-top: 26px; flex-direction: column; align-items: center; gap: 12px; }
  .download-button { width: min(100%, 340px); justify-content: center; height: 52px; padding: 0 14px; font-size: 14px; }
  .platform-note { margin-top: 20px; font-size: 11px; line-height: 1.9; text-wrap: pretty; }
  .mobile-download-note { display: block; margin: 8px auto 0; color: #71809a; font-size: 11px; line-height: 1.8; }
  .modules { margin-top: 40px; }
  .module-card { border-radius: 16px; margin-top: 24px; }
  .panel { border-radius: 16px; }
  .panel-bar { padding: 18px 16px 14px; }
  .panel-title { font-size: 14px; }
  .panel-pill { font-size: 10px; padding: 4px 8px; }
  .panel-desc { font-size: 12px; }
  .panel-body { padding: 16px; gap: 14px; }
  .panel-meta { padding: 13px 16px; gap: 10px; align-items: flex-start; font-size: 11px; line-height: 1.7; }
  .panel-meta b { flex-shrink: 0; }
  .idea-body, .novel-body { flex-direction: column; }
  .driver-list { flex-basis: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .driver { justify-content: center; padding: 12px 3px; gap: 5px; font-size: 11px; }
  .driver i { width: 6px; height: 6px; flex-shrink: 0; }
  .idea-hero { min-height: 228px; padding: 16px; }
  .idea-hero b { font-size: 16px; line-height: 1.6; }
  .idea-hero p { font-size: 13px; }
  .idea-hero-foot { gap: 8px; flex-wrap: wrap; }
  .mini-btn { padding: 8px 9px; font-size: 11px; }
  .stars { letter-spacing: 0; font-size: 11px; }
  .chapter-list { flex-basis: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .chapter-list span { padding: 10px; font-size: 12px; }
  .write-view { min-height: 250px; padding: 16px; }
  .write-head { gap: 6px; flex-wrap: wrap; }
  .write-steps { gap: 6px; }
  .write-steps span { padding: 5px 8px; font-size: 10px; }
  .script-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .script-steps span { font-size: 12px; padding: 10px; }
  .script-main { gap: 12px; }
  .conv-row { display: grid; grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); gap: 5px; }
  .conv-chip { padding: 10px 8px; font-size: 11px; line-height: 1.7; }
  .conv-arrow { text-align: center; }
  .script-sample { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .script-sample p { padding: 12px; font-size: 12px; }
  .script-stats { gap: 6px; }
  .script-stats span { padding: 9px 3px; font-size: 10px; }
  .comic-body { padding: 0; }
  .canvas-stage { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 20px 14px 66px; }
  .frame.f1, .frame.f2, .frame.f3, .frame.f4 { position: relative; width: auto; left: auto; top: auto; padding: 9px; min-width: 0; z-index: 1; }
  .frame b { font-size: 11px; line-height: 1.6; }
  .frame span { font-size: 10px; white-space: normal; line-height: 1.7; }
  .thumb { height: 72px; }
  .plus-frame { left: calc(50% - 17px); bottom: 16px; }
  .market-search { flex-wrap: wrap; gap: 7px; }
  .search-box { flex-basis: 100%; font-size: 12px; }
  .filter { font-size: 11px; padding: 7px 12px; }
  .market-cards { display: grid; gap: 10px; }
  .market-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 6px 10px; padding: 14px 12px; text-align: left; }
  .mk-grad { width: 42px; height: 46px; border-radius: 12px; grid-row: 1 / 4; grid-column: 1; }
  .market-card b { grid-column: 2; font-size: 13px; }
  .mk-tags { grid-column: 2; flex-wrap: wrap; }
  .market-card .mk-meta { grid-column: 2; font-size: 10px; }
  .market-card > i { grid-column: 3; grid-row: 1 / 4; margin: 0; padding: 6px 7px; font-size: 10px; }
  .mk-tags i { margin: 0; padding: 2px 6px; font-size: 10px; }
  .market-stats { gap: 8px 14px; font-size: 11px; line-height: 1.7; }
  .deai-modes { gap: 6px; }
  .deai-modes span { padding: 7px 9px; font-size: 11px; }
  .deai-compare { flex-direction: column; gap: 8px; }
  .deai-quote { padding: 16px; }
  .deai-quote p { font-size: 14px; }
  .deai-mid { transform: rotate(90deg); }
  .deai-meter { padding: 12px; }
  .meter-row { grid-template-columns: 40px minmax(0, 1fr) 30px; gap: 6px; font-size: 10px; }
  .deai-swap { gap: 6px; }
  .deai-swap span { padding: 7px 8px; font-size: 10px; }
  .footer { margin-top: 44px; padding: 24px 0 30px; }
  .footer-second-wrap { gap: 4px; font-size: 11px; line-height: 1.7; }
  .footer-left-line, .footer-right-line { margin: 0 4px; }
}
@media (max-width: 360px) {
  .page-home { padding: 0 14px; }
  .header { padding: 0 12px; gap: 7px; }
  .header-img { width: 116px; }
  .header-auth { gap: 5px; }
  .auth-signup { padding: 6px 10px; }
  .panel-title { font-size: 13px; }
  .panel-bar, .panel-body { padding-left: 12px; padding-right: 12px; }
  .comic-body { padding: 0; }
  .panel-meta { padding-left: 12px; padding-right: 12px; }
  .market-card { gap: 6px 7px; padding: 12px 9px; grid-template-columns: 36px minmax(0, 1fr) auto; }
  .mk-grad { width: 36px; height: 42px; }
}
@media (hover: none) {
  .module-card:hover, .download-button:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
