

  /* ===== Courier Prime（SIL Open Font License 1.1，开源免费，可商用/内嵌）=====
     剧本正文的西文与数字用它：字宽与 Courier 同为 0.6em（一页 10 字符/in 的网格不变），
     笔画粗细与 Final Draft 的 Courier Final Draft 观感一致，但没有版权风险。
     为控制体积，这里只嵌入剧本用得到的字符（ASCII + 拉丁补充 + 常用排版符号），
     所以整份 HTML 仍是单文件、离线可用；缺字时由系统 Courier New 兜底。 */
  @font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; ascent-override: 80%; descent-override: 20%; line-gap-override: 0%; src: url(data:font/woff2;base64,d09GMgABAAAAACdQAAwAAAAAXJAAACb9AAMEmwAAAAAAAAAAAAAAAAAAAAAAAAAAHDAGYACBHhEICoGpLIGJOQE2AiQDgyYLgyYABCAFg3QHIBsiSrMi2DgAENEsIYpqTZP9XxI0OizO12DGIFEGjaIqHyra+LZj8Z74zg21QJSZzneZZ/f3M3UNY1ih37FToVMx+aqHwXRYIMTvCElmWx4e9xP/3Ly0HSN7JI1yapMkpyY0ADhgB18RZgi22TmdU4wiFRQJiSlWIQJSFqCYgAXYCAYW5rBim9hbu/Rd6cq5yp+b63LRH9v+W4M8K15TjNR7g3aWW3MrC3vsC8G8PubC20MsoerW2dbuOz0EzJILBcy/m0muzk9elrU6dVqxiPqyInYmhPgp1PRMgLrP10eDA3gPvpyrpikGisafeiUPWAGOB4zNzsnXDlgxZ7arAXNBErZtjOcxxGq7EJt0/0/VssVIgNJF3TnwnC+lol/qLld8Ll1Ubt19DAYcDDAgSDA8LgmFp+VG6tnajMskKPmBY2oDV3s5VeaVW9ErbuZl7kWHlLuQq5x7F4377l5D7RjSNciXLmpQeYcxtQ5j7drWqzWbCAqyZbjwf/+jCDQzAo3pgkUrNoDuLN++l+u+nGMHuDKDUty0y/lprLKU2vhXCXA+MxKtNSQqEOWaerp85Vmv3bh2rpOw/RzNmf9tgca+CguIs0Yv5QmrD7SdapU7MBVfo2bOvJxO7JmqO26jSXP+75NYZywG64Fz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APJUO5LN9Hc1qHUDRKV6y5JQ6zACLogCg6GyJqEQdQNGNSsSvPVfz0kpM0AtIZB0FoxICVBMAFB3AqX7/5+ZxAj4SkjjwP1J8eNiXvmbLWncn088Zmb8ZczB7V9PWGfK/+oP/y6t/qm1MDGLpfHFkpK/js9N/s7Br8mvFm0ubgaX+iV78n/rvz6KngTc9Kx3zgv+wJZmf7of+mIt3ql+MCF+UISC++d/UDD/GWAxKFDthMnR61afOO+qROWLG14u5ZNFVJ+NpdGowaY//+IFYowpxxhRQvKii3NgVTxoxePHr6fFAyu/80G2PGOcjz9tyHaE6EDXR8gFzJxTvOy7KvvIPsloP/y82mlFJwK98x+Nn2r7k4rPheKfJZVr05GImAhH8qldr4Hw3GdigxSYPtMTTyIoAHwoWBA1zzTYOynFGEtMPUHDmO2l4b59Og6zDigUEKHNmL6DgzElJBHBiRD348SClZXEobF0pL2JbHMB/UfY5qSS6os+kOY+MWQd4ywSvlTK3nZkCi0mlbrbN1kVuiiXq5Zmhm4tnJq18PbMyy9czs2FBO7OmW6S9+LohUS6KVqla5QrlK6CD5ceHr0BhSRXKxRBWZQaOlXtLXL66RO6oVpGlrMlYqVN1CmhZBVlkjLBhpe6aYbx5y1d48lCVFGiUtEp4K/NMG6HcsGZTzFFaT+BNQWV2eylo1LFEZfnxcrUcKfqjMeYLES5BMrp9LOFYBV415yyCICgr5SSrgFEtDW3z3dMON5V9qSxmsPOAFwA=) format("woff2"); }
  @font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; ascent-override: 80%; descent-override: 20%; line-gap-override: 0%; src: url(data:font/woff2;base64,d09GMgABAAAAACikAAwAAAAAYIAAAChSAAMEmwAAAAAAAAAAAAAAAAAAAAAAAAAAHDAGYACBHhEICoGxNIGOFQE2AiQDgyYLgyYABCAFg1wHIBtmTKOihrReKKIoEaMo++sDbgyRf5AlTNqaKDodCYqquK3I5LRhU1WA4e7VUxVdJubNYvf3jHfUGRNhwYIFD1/CPEJjn+QSUWv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arphsHU4IPfVl3qBAq+YKHmmbB0POdKr2C15pmwdlmtI42wdDuFdEZmB8Z4yI/ZSy+nq0ZuoL0M1oX4xZk0N6WRqFYlueXRcXQndoBVPxP7rwKstovSo9fp+xiKCvucX63/j+H+Dd/x68/uhhmwCW2EVpUOpAD8Daq23jr7vxtA294SYe9UD5Jr9HA2zOzfHg6Fks8YilPfsSUMaTdnmiAr7bDdjXG9OplSFMZtcQWxfPZTJK2kP5miJqTOuSE30AQxX9Ujh6Lrk9hoeSVsgQ6E42e7FgIiJGkL1Ri/I7iGHuNvaPj5mAXNCNYaHOyK11wLYvRjJC0/V5py9ulcGUvvOGIomwHqiwpqgPTAWVNDpd1R6TiY55h4i+BC+DmHmirLsnIAdk0gtCv8tPhxvmKSCEZGfoEY9OypVgaJyTCQrmvPIQwErPkTgkbG2nOoMICoVv33xSUmjMaPOSVILuGIF4AERVWIqd7CjUP7eiAm6ekVFAjCigqV/BWPn/EoQlv3K3Lz0qzAL5F/JOAHvGlVQBJgKFKpULFumLCUIHNlz4IIgaoHSwSCXJrgRi4sc3royX3p9gRw5lRR9XdeUyFIgioNMyhEXsbC5tQc7djJlq9izOgVFahHzDbGoFQsgpqtdtCYKhyCdxs5BbrKtVijuRIY5Mk8aJ5RzGurGU4Robpsvz/w0MjPp86a6HEOKYqkvIKLlTDXvmLLeTWvp6gAB) format("woff2"); }
  @font-face { font-family: "Courier Prime"; font-style: italic; font-weight: 400; font-display: swap; ascent-override: 80%; descent-override: 20%; line-gap-override: 0%; src: url(data:font/woff2;base64,d09GMgABAAAAACroAAwAAAAAZ4wAACqTAAMEmwAAAAAAAAAAAAAAAAAAAAAAAAAAHDAGYACBHhEICoG/QIGYXQE2AiQDgx4Lgx4ABCAFg2wHIBu2UbOifrRe+ChKJ+kqoigVoxL4LxOoHE7uqcI60XHTaShW6Min4f73woMuAfEKd0LODWRRv/rOuNRdOcGKEVxLR2jsk1x4nqcz/9yZFyxdTJWSWKKwsv0ASyGt8xTUaTd2QXFU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RcEUCZJYI4yeHJY/uSIqaYALF41x68MxPswB1EEQYUDMv0ADNlz6euryM/Pnl2Maq4hHLABi+T5itVbqF3r08yvIDAMmY+wDeSXvpD1aFGXYh4fj/Mw8oCcCHCEHO6NQEi0uMTDvcXmf/WZRPsDH0vOFWPbNN/DnxnyTejyZrygl7vNtxIry67HjEgNNSSeD0WSRSDwJ5GBRhUpUpjoW3bLWcNCUufXgcLKG7JQ+KpXhXjpJcigDb6w+IYcE0nn2KUsxv1MOGWRTh4pUJJ5ErV1zGUIFhrbFU6lIJrmk8+F7M00SDa6GpklFT/T6lpamgpfv1JocBpNCIkOpSoX8/f5qUZfOdKczjanL3VDevu7zIa8rezDxbPPSScPjHo5jvZoJ+jXolky5fVdZAQAAAA==) format("woff2"); }
  @font-face { font-family: "Courier Prime"; font-style: italic; font-weight: 700; font-display: swap; ascent-override: 80%; descent-override: 20%; line-gap-override: 0%; src: url(data:font/woff2;base64,d09GMgABAAAAACxAAAwAAAAAaKAAACvtAAMEmwAAAAAAAAAAAAAAAAAAAAAAAAAAHDAGYACBHhEICoHBMIGaTwE2AiQDgx4Lgx4ABCAFhBAHIBvMUrMi2DgAQKHtEEVZJoUoSiUnD/7LBO0I028XCIswiRoQqDVxKwyllUKlXuj0y/51zZktcbzdy6HwzaqhHm6wg42w4QuYcoSWPuLl4f/3+7bPffeNWhTFooXEmo6FxJqGNEI2qfyJSJyMhIJH0+hyhoe59Y90Ize2sSgW5MbYYGzUYAGMRTLoDRgxKkamBQgKYmACBlig6KEYdZ72F+v6n9EX3qFXnjag4Pj+7f25gn8LuTQ181cRWTk2hsn90X524L6GEGZawqi8SS/iTUTuJzf9Hcj21cfpcXfk6Cf21WkZtmQVbSHiNPliSUUMuG8+qfC/NlXXbvqvm+HA5hCCYM06IjUIhovDcLKKMLWW2rsHKgB+CYRDuonMdHyEfEr2N9vvBYg/KV2AoAgqroBIQtULFta2/zv1Xyo5868ugh4vIC+v3RA5V7bkSF5R1vxjbctJ3pHjvN81Nx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hZcRW5REIkyYXHWyPbs35lx6Rt3S2eR+mZjC9/ffMMmqbIln51FbppkPslG+zHt2KVetjsTrHiaz3mcC4TwLVqMpZHeKU26JOKTaX/CXdQpTJtyt4duiksSbKlEUtfgQ65EIMRZDKkEZcccYzHZd9H4nBRUfH1JmmKXufChEwe1RtTwD413FsU3qraKsV8x31Wc38rNoEAApeFKBOsKrl7LqA0RqfIxfTjS/iXgTYaRHeRZ8tKmrh2exg4/muWo4a2KP+bwwLO60L0++ONrUX0GwSjG8D5yu+LU+P+XZi/cW3FxxRfAe4KF8+jlixikSFSo2qFbEoZOUlGBtHKC+GBM8XkVGto5+vukNaTFQ+EkhXoRjlSoGiinxWhSpgTY/8pE/MqlKNCEGCWBQR3dYyY8ltYVkKq2JY0cD8e/hyFOZ8IHIjCYqNf6dd/bFiCsXC8Evl8SJjlaO0c8wVgpVat2Ei6SSd200kMiQyUFoAJ7i5E5zQDZPlAyySYHkHYhOKMRDVDG/5HchVXXogkBsA) format("woff2"); }
  /* ===== CJK Grid：Final Draft 式「按行动态行距」的关键 =====
     剧本页 line-height 用 normal：行盒高 = 该行字体的真实度量。
     Courier Prime 上面已把 normal 校准为 1.0em（=16px，6 行/in 网格）；
     这里把中文字体的 normal 校准为 1.5em（=24px）。于是纯英文行 16px，
     只要一行里出现任何中文字符，那一行自动长高到 24px——与 Final Draft
     导出稿里「中文出现的那一行行距变大」完全一致。基线比例保持原字体观感。 */
  @font-face { font-family: "CJK Grid"; font-style: normal; font-weight: 400; font-display: swap; ascent-override: 112.5%; descent-override: 37.5%; line-gap-override: 0%; src: local("Songti SC"), local("STSong"), local("SimSun"), local("Noto Serif CJK SC"); unicode-range: U+2E80-9FFF, U+3000-303F, U+FF00-FFEF, U+25A0-25FF, U+20000-2FA1F; }
  @font-face { font-family: "CJK Grid"; font-style: normal; font-weight: 700; font-display: swap; ascent-override: 112.5%; descent-override: 37.5%; line-gap-override: 0%; src: local("Songti SC Bold"), local("Songti SC"), local("SimSun"), local("Noto Serif CJK SC Bold"), local("Noto Serif CJK SC"); unicode-range: U+2E80-9FFF, U+3000-303F, U+FF00-FFEF, U+25A0-25FF, U+20000-2FA1F; }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    /* ===== 品牌主题色 token（默认天蓝 = 预设第三个，可由「设置 · 主题色」动态覆盖。
       :root 直接预置天蓝整套值，避免首屏先渲染靛蓝再被 JS 换成天蓝的「跳色」===== */
    --brand: #0483c5;
    --brand-2: #0047c4;
    --brand-hover: #0e6392;
    --brand-hover-2: #053996;
    --brand-light: #00b0f2;
    --brand-deep: #0b4362;
    --brand-deep-border: #2e4c5c;
    --brand-accent: #a9def9;
    --brand-accent-2: #82cff7;
    --brand-tint: #c9ebfd;
    --brand-border: #e1f4fe;
    --brand-soft: #f0fafe;
    --brand-soft-2: #f0f6fe;
    --brand-rgb: 4,131,197;
    --brand-accent-rgb: 130,207,247;
    /* 大纲左侧标签列宽（手机 ≤480px 收窄，JS 渲染标尺时读取该值） */
    --outline-label-w: 100px;
    /* 线性放大镜图标（用于搜索框遮罩，颜色由 background-color 决定） */
    --icon-search: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20fill='none'%20stroke='black'%20stroke-width='1.7'%20stroke-linecap='round'%3E%3Ccircle%20cx='7'%20cy='7'%20r='4.4'/%3E%3Cpath%20d='M10.4%2010.4L14%2014'/%3E%3C/svg%3E");
    /* ===== 剧本编辑器统一字体（所有格式共用）：西文一律 Courier Prime、中文一律 PingFang =====
       想全局换字体只改这两行即可。 */
    --sp-font-latin: "Courier Prime", "Courier New", Courier;
    --sp-font-cjk: "Songti SC", SimSun, "Noto Serif CJK SC", serif;
  }
  html, body { height: 100%; overflow: hidden; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #fff; color: #1f2937; line-height: 1.6;
  }
  .app { display: flex; height: 100vh; }
  .sidebar {
    width: 260px; min-width: 260px; height: 100vh;
    background: #f3f4f4; border-right: 1px solid #d9dddc;
    display: flex; flex-direction: column;
    transition: width 0.2s cubic-bezier(.22,.61,.36,1), min-width 0.2s cubic-bezier(.22,.61,.36,1);
    position: relative;
  }
  /* 折叠 / 展开动画期间：给会变宽的容器一点合成提示，并隔离内部重排，减少每帧布局开销 */
  .sidebar-animating .sidebar { will-change: width, min-width; }
  .sidebar-animating .content { will-change: width; }
  .sidebar-animating .screenplay-scroll,
  .sidebar-animating .outline-nav { contain: layout style; }
  .sidebar.collapsed { width: 64px; min-width: 64px; }
  .sidebar-header { padding: 20px 20px 16px; position: relative; min-height: 60px; }
  .sidebar.collapsed .sidebar-header { padding: 16px 0 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
  .logo {
    font-weight: 900; font-size: 26px; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; transition: 0.2s;
  }
  .sidebar.collapsed .logo { display: none; }
  .sidebar.collapsed .logo-mark { width: 30px; height: 30px; margin-right: 0; }
  .sidebar.collapsed .logo-row { justify-content: center; }
  .logo-sub { font-size: 11px; color: #9ca3af; letter-spacing: 0.5px; margin-top: 2px; line-height: 1.3; }
  .sidebar.collapsed .logo-sub { display: none; }
  /* 品牌标记（与推广首页 landing.html 同一个图形）：四根彩色「大纲条」按 右→左→右→左
     交错排布，条与条之间的负空间连成字母 S 的曲线（STORAI 的首字母）。
     条长按 S 的笔画轻重做出节奏变化（上收、中放、下放），每条自带同色系微渐变增加质感。 */
  .logo-mark { width: 26px; height: 26px; flex: none; margin-right: 8px; }
  .logo-row { display: flex; align-items: center; }
  .logo-mark .b { transform-box: fill-box; transform-origin: left center; }
  .logo-clickable:hover .logo-mark .b1 { animation: logoBar .6s ease; }
  .logo-clickable:hover .logo-mark .b2 { animation: logoBar .6s .07s ease; }
  .logo-clickable:hover .logo-mark .b3 { animation: logoBar .6s .14s ease; }
  .logo-clickable:hover .logo-mark .b4 { animation: logoBar .6s .21s ease; }
  @keyframes logoBar { 0% { transform: scaleX(1); } 45% { transform: scaleX(.5); } 100% { transform: scaleX(1); } }
  .mobile-menu-toggle, .mobile-nav-backdrop { display: none; }
  .collapse-btn {
    position: absolute; top: 20px; right: 12px;
    width: 24px; height: 24px; border-radius: 6px;
    border: 1px solid #e5e7eb; background: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #6b7280; font-size: 14px; transition: 0.15s; padding: 0; line-height: 1; z-index: 2;
  }
  .collapse-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
  .collapse-btn .arrow { display: flex; align-items: center; justify-content: center; transition: transform 0.25s; }
  .collapse-btn .arrow svg { width: 15px; height: 15px; display: block; }
  .sidebar.collapsed .collapse-btn { position: static; margin: 0; flex-shrink: 0; }
  .sidebar.collapsed .collapse-btn .arrow { transform: rotate(180deg); }
  .sidebar-nav { padding: 8px 12px; overflow-y: auto; flex: 1; }
  .sidebar.collapsed .sidebar-nav { padding: 8px 8px; }
  .sidebar-nav > button {
    width: 100%; text-align: left; border: none; background: transparent;
    padding: 10px 12px; border-radius: 10px; cursor: pointer;
    font-size: 14px; color: #4b5563; transition: 0.15s;
    display: flex; align-items: center; gap: 10px; margin-bottom: 2px;
    font-family: inherit;
  }
  .sidebar-nav > button:hover { background: #f9fafb; color: var(--brand); }
  .sidebar-nav > button.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
  .nav-icon { width: 18px; height: 18px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
  .nav-icon svg { width: 18px; height: 18px; display: block; }
  .nav-text { flex: 1; white-space: nowrap; overflow: hidden; }
  .sidebar-nav > button.btn-new-script {
    width: 100%; text-align: left; border: none;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #ffffff; padding: 10px 12px; border-radius: 10px;
    cursor: pointer; font-size: 14px; font-weight: 600;
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px; transition: 0.15s;
    font-family: inherit;
  }
  .sidebar-nav > button.btn-new-script:hover { background: linear-gradient(135deg, var(--brand-hover), var(--brand-hover-2)); }
  .sidebar-bottom { border-top: 1px solid #e5e7eb; position: relative; }
  .sidebar-bottom-nav { padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
  .sidebar.collapsed .sidebar-bottom-nav { padding: 8px 8px; }
  .sidebar-bottom-nav button {
    width: 100%; text-align: left; border: none; background: transparent;
    padding: 10px 12px; border-radius: 10px; cursor: pointer;
    font-size: 14px; color: #4b5563; transition: 0.15s;
    display: flex; align-items: center; gap: 10px; font-family: inherit;
    margin-bottom: 2px;
  }
  .sidebar-bottom-nav > #nav-pricing { flex: 1 1 auto; min-width: 0; width: auto; margin-bottom: 0; }
  .sidebar.collapsed .sidebar-bottom-nav > #nav-pricing { flex: 1 1 auto; }
  .sidebar-bottom-nav button:hover { background: #f9fafb; color: var(--brand); }
  .sidebar-bottom-nav button.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
  .nav-bonus {
    font-size: 9px; padding: 1px 6px; border-radius: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff; font-weight: 700; margin-left: auto;
  }
  .nav-bonus.hot { background: linear-gradient(135deg, #ef4444, #dc2626); }
  .nav-bonus.beta { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
  .sidebar.collapsed .nav-bonus { display: none; }
  .sidebar-footer { padding: 12px 14px 14px; border-top: 1px solid #f3f4f6; position: relative; }
  .sidebar.collapsed .sidebar-footer { padding: 12px 8px; }
  .user-row { display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
  .user-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    transition: 0.15s;
    box-shadow: 0 2px 6px rgba(var(--brand-rgb),0.25);
  }
  .user-avatar:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(var(--brand-rgb),0.35); }
  .user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .user-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .user-plan { font-size: 10.5px; color: #9ca3af; }
  .ai-badge { font-size: 11px; background: var(--brand-soft); color: var(--brand); padding: 3px 8px; border-radius: 20px; font-weight: 600; white-space: nowrap; }
  .sidebar.collapsed .sidebar-nav > button,
  .sidebar.collapsed .sidebar-bottom-nav button { padding: 10px 0; justify-content: center; gap: 0; }
  .sidebar.collapsed .sidebar-nav > button.btn-new-script { padding: 10px 0; justify-content: center; gap: 0; }
  .sidebar.collapsed .nav-text { display: none; }
  .sidebar.collapsed .nav-icon { width: auto; }
  .sidebar.collapsed .nav-icon svg { width: 18px; height: 18px; }
  .sidebar.collapsed .user-info { display: none; }
  .sidebar.collapsed .user-row { justify-content: center; }
  .sidebar.collapsed .ai-badge { display: none; }
  .sidebar.collapsed .btn-upgrade { display: none; }
  .user-menu {
    position: fixed; left: 0; top: 0; width: 232px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    border: 1px solid #f3f4f6; padding: 6px; z-index: 500; display: none;
  }
  .user-menu.show { display: block; }
  .user-menu .menu-header { padding: 10px 12px 8px; border-bottom: 1px solid #f3f4f6; margin-bottom: 4px; }
  .user-menu .menu-header .m-name { font-size: 13px; font-weight: 700; color: #1f2937; }
  .user-menu .menu-header .m-sub { font-size: 11px; color: #9ca3af; margin-top: 1px; }
  .user-menu button {
    width: 100%; text-align: left; border: none; background: transparent;
    padding: 8px 12px; border-radius: 8px; cursor: pointer;
    font-size: 13px; color: #4b5563; font-family: inherit;
    display: flex; align-items: center; gap: 10px; transition: 0.15s;
  }
  .user-menu button:hover { background: #f9fafb; color: var(--brand); }
  .user-menu button .icon { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .user-menu button .icon svg { width: 16px; height: 16px; }
  .user-menu button .menu-badge {
    margin-left: auto; font-size: 9px; font-weight: 700; padding: 1px 7px; border-radius: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; white-space: nowrap; flex-shrink: 0;
    letter-spacing: 0.02em;
  }
  /* 菜单右侧的灰色补充说明（如「得200积分/人」）：不抢眼，但说清楚奖励 */
  .user-menu button .menu-note {
    margin-left: auto; font-size: 11px; font-weight: 500; color: #9ca3af;
    white-space: nowrap; flex-shrink: 0; letter-spacing: 0.01em;
  }
  .user-menu .theme-block { padding: 6px 8px 4px; border-top: 1px solid #f3f4f6; margin-top: 4px; }
  .user-menu .theme-title { font-size: 11px; color: #9ca3af; font-weight: 600; padding: 4px 4px 6px; display: flex; align-items: center; gap: 6px; }
  .user-menu .theme-options, .user-menu .lang-options { display: flex; gap: 4px; }
  .user-menu .theme-options button, .user-menu .lang-options button { flex: 1; justify-content: center; gap: 5px; font-size: 11px; padding: 6px 4px; background: #f9fafb; color: #6b7280; border: 1px solid transparent; }
  .user-menu .theme-options button svg, .user-menu .lang-options button svg { width: 14px; height: 14px; flex-shrink: 0; }
  .user-menu .theme-options button.active, .user-menu .lang-options button.active { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-tint); font-weight: 600; }
  .user-menu button.danger { color: #dc2626; }
  .user-menu button.danger:hover { background: #fef2f2; color: #dc2626; }
  .content { flex: 1; height: 100vh; overflow-y: auto; padding: 24px 32px; display: flex; flex-direction: column; }
  .view { display: none; flex: 1; flex-direction: column; height: 100%; }
  .view.active { display: flex; }
  .page-title { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
  .page-sub { color: #6b7280; font-size: 14px; margin-bottom: 24px; }
  .btn {
    border: none; background: #fff; padding: 8px 14px;
    border-radius: 10px; cursor: pointer; font-size: 13px; color: #4b5563; transition: 0.15s;
    font-family: inherit;
  }
  .btn:hover { color: var(--brand); background: var(--brand-soft); }
  .btn-primary { background: var(--brand); color: #fff; }
  .btn-primary:hover { background: var(--brand-hover); color: #fff; }
  .dropdown { position: relative; display: inline-block; }
  .dropdown-content {
    display: none; position: absolute; right: 0; top: 100%; margin-top: 8px;
    background: #fff; min-width: 202px;
    border: 1px solid #eef0f4;
    box-shadow: 0 14px 34px rgba(15,23,42,0.14), 0 2px 6px rgba(15,23,42,0.06);
    border-radius: 14px; z-index: 100; padding: 6px;
    transform-origin: top right;
  }
  .dropdown-content.show { display: block; animation: menuPop 0.15s ease-out; }
  @keyframes menuPop {
    from { opacity: 0; transform: translateY(-5px) scale(0.97); }
    to { opacity: 1; transform: none; }
  }
  .dropdown-content button {
    width: 100%; text-align: left; background: transparent; border: none;
    padding: 8px 10px; font-size: 13px; color: #4b5563; cursor: pointer; border-radius: 9px;
    font-family: inherit; transition: 0.14s;
    display: flex; align-items: center; gap: 10px;
  }
  .dropdown-content button:hover { background: var(--brand-soft); color: var(--brand); }
  /* —— 导出菜单：图标 + 文案，末尾用细分隔线隔开视频提示词 —— */
  .export-menu-head {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em;
    color: #9ca3af; padding: 5px 10px 5px; user-select: none;
  }
  .export-menu .em-ico {
    width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: #f3f4f6; color: #6b7280; transition: 0.14s;
  }
  .export-menu .em-ico svg { width: 14px; height: 14px; }
  .export-menu .em-label { flex: 1; min-width: 0; white-space: nowrap; }
  .export-menu button:hover .em-ico { background: var(--brand); color: #fff; }
  .export-menu .em-sep { height: 1px; background: #f1f3f7; margin: 5px 8px; }
  .export-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; font-size: 12px; font-weight: 500; }
  .export-btn .export-caret { width: 9px; height: 9px; transition: transform 0.16s; }
  .export-btn.open .export-caret { transform: rotate(180deg); }
  .cat-tag {
    display: inline-block;
    font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em;
    padding: 3px 12px; border-radius: 999px; white-space: nowrap;
    border: 1px solid transparent;
  }
  .cat-film { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-border); }
  .cat-video { background: #ecfeff; color: #0e7490; border-color: #cffafe; }
  .cat-drama { background: #fef7e6; color: #b45309; border-color: #fde8c0; }
  .cat-novel { background: #fdf2f8; color: #be185d; border-color: #fbcfe8; }
  .cat-custom { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
  .empty-state { text-align: center; padding: 60px 20px; color: #9ca3af; }
  .empty-state .emoji { font-size: 40px; margin-bottom: 12px; }

  /* ============ 剧本 · 表格视图 ============ */
  .proj-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
  .proj-title-search { display: contents; }
  .proj-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .proj-search { position: relative; }
  .proj-search input {
    width: 220px; padding: 8px 12px 8px 32px; border: 1px solid #e5e7eb; border-radius: 9px;
    font-size: 13px; font-family: inherit; outline: none; transition: 0.15s; background: #fafafa; color: inherit;
  }
  .proj-search input:focus { background: #fff; }
  .proj-search::before {
    content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; pointer-events: none; background-color: #9ca3af;
    -webkit-mask: var(--icon-search) no-repeat center / contain;
    mask: var(--icon-search) no-repeat center / contain;
  }
  .proj-filter { display: inline-flex; background: #f3f4f6; border-radius: 10px; padding: 2px; }
  .proj-filter button {
    border: none; background: transparent; color: #6b7280; padding: 7px 14px; font-size: 12px;
    cursor: pointer; transition: 0.15s; border-radius: 8px; font-family: inherit; font-weight: 500; white-space: nowrap;
  }
  .proj-filter button .proj-filter-count { margin-left: 4px; color: #9aa1aa; font-variant-numeric: tabular-nums; font-weight: 600; }
  .proj-filter button.active .proj-filter-count { color: inherit; opacity: .78; }
  .proj-filter button:hover { color: var(--brand); }
  .proj-filter button.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
  .proj-view-toggle { display: inline-flex; gap: 3px; padding: 3px; background: #f0f3f0; border: 1px solid #e5e9e5; border-radius: 11px; }
  .proj-view-toggle button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid transparent; border-radius: 8px; color: #77817b; background: transparent; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: color .15s, background .15s, box-shadow .15s, border-color .15s; }
  .proj-view-toggle button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
  .proj-view-toggle button.active { color: #385343; background: #fff; border-color: #e8ece8; box-shadow: 0 2px 5px rgba(28,39,30,.08); }
  /* grid-auto-rows: max-content —— 窗口宽度落在某些档位（如两列 200px）时，
     Chrome 的自动行高不会跟随卡片的 aspect-ratio（行 204px < 卡 263px），
     上下两行卡片会叠在一起；显式让行高取内容高度（= 卡片比例高）就不会叠了 */
  .project-book-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 200px)); grid-auto-rows: minmax(max-content, auto); gap: 24px; align-content: start; overflow: auto; flex: 1; min-height: 0; padding: 10px 10px 26px; }
  .project-book-grid.active { display: grid; }
  .project-book-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; aspect-ratio: .76 / 1; overflow: hidden; padding: 12px; border: 1px solid #e1e5e1; border-radius: 0; background: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(24,34,27,.12); transition: transform .2s, box-shadow .2s, border-color .2s; }
  .project-book-card:hover { transform: translateY(-3px); border-color: #c6d2c0; box-shadow: 0 14px 32px rgba(24,34,27,.18); }
  .book-cover-kicker, .book-cover-mark { display: none; }
  /* 标题/分类/底部信息/封面都不参与压缩：轨道再多也只让梗概区让位，
     否则 flex 会把卡片里的每一块按比例压扁（标题会被压到看不见） */
  .project-book-title { flex: 0 0 auto; }
  .project-book-cover { display: flex; min-height: 25px; margin: 5px 0 9px; color: #748078; }
  /* 迷你大纲轨道条：高度固定（最多 4 条，多出来的在 JS 里截断），
     卡片高度是固定的，封面不能随着轨道数量长高 */
  .project-book-card:not(.cm-book-card) .project-book-cover { flex: 0 0 auto; height: 25px; min-height: 25px; max-height: 25px; overflow: hidden; }
  /* min-height:0 —— 卡片高度由宽度定死（书封比例），窄卡片时这一层必须能让子项收缩，
     否则它会按内容撑高、把底部那行「多少场多少字」顶到卡片外面（看着像被下一张卡挡了一半） */
  .project-book-info { display: flex; flex: 1; min-width: 0; min-height: 0; flex-direction: column; padding: 0; }
  .project-book-title { display: -webkit-box; overflow: hidden; margin: 0 0 9px; color: #202522; font-family: inherit; font-size: 17px; font-weight: 650; letter-spacing: -.02em; line-height: 1.38; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .book-info-top { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 15px; flex: 0 0 auto; }
  .book-category { color: #8d968c; font-size: 9px; letter-spacing: .08em; }
  .book-demo-mark { margin-left: 4px; color: #8c958c; font-family: inherit; font-size: 9px; font-weight: 500; }
  /* 梗概：撑满标题区下方到横线之间的整块空间。行数不靠 -webkit-line-clamp，
     由 fitBookSynopsisLines 把文字物理截断到放得下的整行数（下面再留一整行空白），
     overflow:hidden 只做兜底，文字永远不会出现被裁掉的半行 */
  .book-synopsis { display: block; flex: 1 1 auto; min-height: 0; overflow: hidden; color: #758078; font-size: 11px; line-height: 1.7; }
  .book-meta { display: flex; min-width: 0; flex-wrap: nowrap; align-items: center; gap: 6px; color: #7f897f; font-size: 9px; white-space: nowrap; }
  .book-meta b { color: #3d4d3e; font-weight: 700; }
  .book-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid #edf0eb; flex: 0 0 auto; }
  @media (max-width: 560px) { .project-book-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 200px)); gap: 20px; } }
  .project-book-info .proj-status { flex: 0 0 auto; padding: 4px 9px; font-size: 9px; }
  .book-empty { grid-column: 1/-1; padding: 72px 20px; border: 1px dashed #dfe4dd; border-radius: 12px; color: #899187; text-align: center; }

  .proj-table-wrap {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    overflow: auto; flex: 1; min-height: 0; box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  }
  .proj-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
  .proj-table thead th {
    position: sticky; top: 0; z-index: 2;
    background: #f9fafb; color: #6b7280; font-weight: 700; font-size: 11.5px; letter-spacing: 0.02em;
    text-align: left; padding: 11px 16px; border-bottom: 1px solid #e5e7eb; white-space: nowrap;
  }
  .proj-table thead th.sortable { cursor: pointer; user-select: none; }
  .proj-table thead th.sortable:hover { color: var(--brand); }
  .proj-table thead th .arrow { font-size: 9px; opacity: 0.35; margin-left: 2px; }
  /* 数值列：箭头绝对定位，避免把表头文字挤出与数字的对齐线 */
  .proj-table thead th.num .arrow { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); margin-left: 0; }
  .proj-table thead th.sorted { color: var(--brand); }
  .proj-table thead th.sorted .arrow { opacity: 1; }
  .proj-table th.num, .proj-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
  .proj-table tbody tr { border-bottom: 1px solid #f3f4f6; transition: background 0.12s; cursor: pointer; }
  .proj-table tbody tr:last-child { border-bottom: none; }
  .proj-table tbody tr:hover { background: #f8f9ff; }
  .proj-table td { padding: 12px 16px; color: #4b5563; vertical-align: middle; }
  .proj-table td.name {
    color: #1f2937; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .proj-table td.name .sub {
    display: block; font-size: 11px; color: #9ca3af; font-weight: 400; margin-top: 3px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .proj-table td.name .demo-suffix { margin-left: 4px; color: #9ca3af; font-size: 11px; font-weight: 500; }
  /* 类型列：恢复分类原色（品牌/青/橙/粉），仅整体左移由列宽控制 */
  .proj-status {
    display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 12px; border-radius: 20px;
    background: #ecfdf5; color: #059669; white-space: nowrap; border: 1px solid #d1fae5;
    cursor: pointer; font-family: inherit; transition: 0.15s;
  }
  .proj-status:hover { background: #d1fae5; border-color: #a7f3d0; }
  .proj-status.done { background: #eff6ff; color: #2563eb; border-color: #dbeafe; }
  .proj-status.done:hover { background: #dbeafe; border-color: #bfdbfe; }
  .proj-status.archived { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; }
  .proj-status.archived:hover { background: #e5e7eb; color: #4b5563; border-color: #d1d5db; }
  .proj-empty { text-align: center; padding: 56px 20px; color: #9ca3af; }
  .proj-empty .emoji { font-size: 38px; margin-bottom: 10px; }
  .proj-empty p { font-size: 13px; }
  .editor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-shrink: 0; }
  .mobile-editor-menu-toggle { display: none; }
  #sidePanelHome { display: none; }
  .editor-title-input {
    font-size: 24px; font-weight: 800; border: none; outline: none;
    background: transparent; flex: 1; color: #1f2937; font-family: inherit;
  }
  .editor-layout { display: grid; grid-template-columns: 1fr 280px; gap: 16px; flex: 1; min-height: 0; position: relative; }
  /* 右栏收起 / 展开 */
  .side-collapse-btn { margin-left: auto; border: none; background: transparent; color: #9ca3af; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; padding: 0; flex-shrink: 0; transition: background 0.15s, color 0.15s; }
  .side-collapse-btn:hover { background: #f3f4f6; color: var(--brand); }
html.dark-mode .side-collapse-btn { color: #6b7280; }
html.dark-mode .side-collapse-btn:hover { background: #242424; color: var(--brand-accent); }
  .side-expand-btn { display: none; }
@media (min-width: 821px) {
  /* 右栏收起：编辑器占满整宽，展开按钮为右缘居中的「抽屉拉手」 */
  .editor-layout.side-collapsed { grid-template-columns: 1fr; gap: 0; }
  .editor-layout.side-collapsed .side-panel {
    position: absolute; top: 0; right: 0; width: 0; height: 100%; padding: 0;
    background: transparent; border: none; border-radius: 0; box-shadow: none; overflow: visible;
  }
  .editor-layout.side-collapsed .side-panel > .panel-tabs,
  .editor-layout.side-collapsed .side-panel > .panel-body,
  .editor-layout.side-collapsed .side-panel > .side-panel-divider,
  .editor-layout.side-collapsed .side-panel > .panel-header.no-border,
  .editor-layout.side-collapsed .side-panel > .ai-chat { display: none !important; }
  .editor-layout.side-collapsed .side-expand-btn { display: flex; }
}
  .side-expand-btn { flex-direction: column; align-items: center; gap: 10px; width: 100%; flex: 1; border: none; background: transparent; cursor: pointer; color: #6b7280; font-family: inherit; padding: 14px 0; transition: background 0.15s, color 0.15s; }
  .side-expand-btn:hover { background: var(--brand-soft); color: var(--brand); }
html.dark-mode .side-expand-btn { color: #9a9a9a; }
html.dark-mode .side-expand-btn:hover { background: #242424; color: var(--brand-accent); }
  /* 收起态：贴右缘、垂直居中的拉手按钮 */
  .editor-layout.side-collapsed .side-expand-btn {
    position: absolute; top: 50%; right: 0; transform: translateY(-50%);
    width: 22px; height: 72px; flex: 0 0 auto; padding: 0; gap: 0; justify-content: center;
    border: 1px solid #e5e7eb; border-right: none; background: #fff;
    border-radius: 10px 0 0 10px; z-index: 6;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.06);
    transition: background 0.15s, color 0.15s, width 0.15s;
  }
  .editor-layout.side-collapsed .side-expand-btn:hover { width: 26px; background: var(--brand-soft); color: var(--brand); border-color: var(--brand-tint); }
  html.dark-mode .editor-layout.side-collapsed .side-expand-btn { background: #1a1a1a; border-color: #282828; color: #9a9a9a; box-shadow: none; }
  html.dark-mode .editor-layout.side-collapsed .side-expand-btn:hover { background: #242424; color: var(--brand-accent); border-color: var(--brand); }
  .panel { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
  .panel-header {
    padding: 10px 12px; border-bottom: 1px solid #f3f4f6;
    font-weight: 700; font-size: 12px; display: flex; justify-content: space-between; align-items: center;
    color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px;
  }
  .panel-header.no-border { border-bottom: none; }
  .panel-header button { border: none; background: transparent; color: #6b7280; font-size: 16px; cursor: pointer; }
  .panel-body { padding: 10px; overflow: auto; flex: 1; }
  .editor-main { background: #fff; border: 1px solid #f3f4f6; position: relative; }
  .side-panel .panel-tabs { display: flex; align-items: center; padding: 6px 8px; text-transform: none; letter-spacing: 0; }
  .panel-tab {
    border: none; background: transparent; font-family: inherit;
    font-size: 12px; color: #b9bec7; padding: 5px 9px;
    border-radius: 8px; cursor: pointer; font-weight: 600; transition: 0.15s;
  }
  .panel-tab:hover { background: #f9fafb; color: var(--brand); }
  .panel-tab.active { background: var(--brand-soft); color: var(--brand); }
  .panel-tab-add {
    margin-left: auto; border: none; background: #f3f4f6; color: #6b7280;
    width: 22px; height: 22px; border-radius: 7px; cursor: pointer;
    font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
    font-family: inherit; flex-shrink: 0;
  }
  .panel-tab-add:hover { background: #e5e7eb; color: #4b5563; }
  .side-panel .panel-body { flex: 0 0 38%; min-height: 60px; }
  .side-panel-divider { height: 6px; background: transparent; cursor: ns-resize; flex-shrink: 0; position: relative; }
  .side-panel-divider::before {
    content: ""; position: absolute; left: 0; right: 0; top: 50%;
    height: 1px; background: #f3f4f6; transform: translateY(-50%); transition: 0.15s;
  }
  .side-panel-divider:hover::before { background: var(--brand); height: 2px; }
  .side-list-empty { font-size: 12px; color: #9ca3af; padding: 12px 6px; text-align: center; }
  .side-card {
    display: flex; gap: 10px; align-items: center;
    padding: 8px 10px; border-radius: 10px;
    background: linear-gradient(135deg, #fafbff 0%, #f5f7ff 100%);
    border: 1px solid var(--brand-soft); margin-bottom: 6px; cursor: pointer;
    transition: all 0.18s ease;
  }
  .side-card:hover { border-color: var(--brand-tint); box-shadow: 0 4px 10px -4px rgba(var(--brand-rgb), 0.18); transform: translateY(-1px); }
  .side-card .side-avatar {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 13px;
    overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }
  .side-card .side-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .side-card .side-avatar.loc { background: linear-gradient(135deg, #38bdf8, var(--brand-light)); font-size: 15px; }
  .side-card .side-avatar.prop { background: linear-gradient(135deg, #fbbf24, #f97316); font-size: 15px; }
  .side-card .side-info { flex: 1; min-width: 0; }
  .side-card .side-info h4 { font-size: 12.5px; font-weight: 700; color: #1f2937; margin-bottom: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-card .side-info p { font-size: 11px; color: #9ca3af; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .synopsis-textarea {
    width: 100%; border: none; outline: none;
    border-radius: 8px; padding: 10px; font-size: 12.5px; line-height: 1.7;
    font-family: inherit; resize: none; background: #fff; color: #374151;
  }
  .synopsis-textarea::placeholder { color: #c7cbd4; }
  /* 梗概：写字窗口固定在分隔线上方，高度随分隔线拖动变化，不可单独拉伸 */
  .panel-body.syno-mode { display: flex; flex-direction: column; overflow: hidden; }
  .panel-body.syno-mode .synopsis-textarea { flex: 1 1 auto; min-height: 0; }
  .panel-body.syno-mode .syno-count { flex: 0 0 auto; margin-top: 8px; }
  .ai-chat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
  .ai-chat-msgs { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
  .chat-msg { display: flex; flex-direction: column; }
  .chat-msg.user { align-items: flex-end; }
  .chat-msg.ai { align-items: flex-start; }
  .chat-bubble { max-width: 92%; padding: 8px 10px; border-radius: 10px; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
  .chat-msg.user .chat-bubble { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-bottom-right-radius: 3px; }
  .chat-msg.ai .chat-bubble { background: #f3f4f6; color: #374151; border-bottom-left-radius: 3px; }
  .chat-actions { display: flex; gap: 4px; margin-top: 5px; }
  .chat-actions button { background: #fff; color: var(--brand); font-size: 10px; padding: 3px 9px; border-radius: 6px; cursor: pointer; font-family: inherit; border: 1px solid var(--brand-border); transition: 0.15s; }
  .chat-actions button:hover { background: var(--brand-soft); }
  .ai-chat-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 8px 6px; }
  .ai-chat-chips button { border: none; background: #f9fafb; color: #6b7280; font-size: 10px; padding: 3px 8px; border-radius: 8px; cursor: pointer; font-family: inherit; transition: 0.15s; }
  .ai-chat-chips button:hover { background: var(--brand-soft); color: var(--brand); }
  .ai-chat-input { display: flex; gap: 6px; padding: 8px; border-top: 1px solid #f3f4f6; align-items: flex-end; }
  .ai-input-wrap { position: relative; flex: 1; min-width: 0; display: flex; }
  .ai-chat-input textarea { flex: 1; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px 30px; font-size: 12.5px; font-family: inherit; outline: none; background: #fafafa; min-width: 0; resize: none; line-height: 1.55; min-height: 66px; max-height: 150px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; display: block; }
  .ai-chat-input textarea:focus { border-color: var(--brand); background: #fff; }
  .ai-send-btn { position: absolute; right: 6px; bottom: 6px; border: none; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 0 10px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 11px; font-family: inherit; font-weight: 600; line-height: 22px; }
  .ai-send-btn:hover { opacity: 0.9; }
  /* 新建剧本：类型 / 格式 / 名称 */
  .ns-field { margin-bottom: 14px; }
  .ns-field > label { display: block; font-size: 12px; color: #6b7280; margin-bottom: 7px; }
  .ns-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .ns-chip { border: 1px solid #e5e7eb; background: #fff; color: #6b7280; font-size: 12px; padding: 6px 13px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: 0.15s; }
  .ns-chip:hover { border-color: var(--brand); color: var(--brand); }
  .ns-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
  .ns-field input[type="text"] { width: 100%; padding: 9px 12px; border: 1px solid #e5e7eb; border-radius: 9px; font-size: 13px; font-family: inherit; outline: none; transition: 0.15s; }
  .ns-field input[type="text"]:focus { outline:none; }
  html.dark-mode .ns-chip { background: #1d1d1d; border-color: #303030; color: #9a9a9a; }
  html.dark-mode .ns-chip:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
  html.dark-mode .ns-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
  html.dark-mode .ns-field input[type="text"] { background: #1d1d1d; border-color: #303030; color: #d6d6d6; }
  /* 剧本右下角：回收站 */
  .trash-fab {
    position: fixed; right: 26px; bottom: 26px; z-index: 60;
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1px solid #e5e7eb; background: #fff; color: #6b7280; cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }
  .trash-fab:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
  .trash-fab:active { transform: translateY(0) scale(0.96); }
  .trash-fab svg { width: 22px; height: 22px; }
  .trash-fab-count {
    position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
    line-height: 18px; text-align: center; display: none;
  }
  .trash-fab-count.show { display: block; }
  html.dark-mode .trash-fab { background: #1d1d1d; border-color: #303030; color: #9a9a9a; }
  html.dark-mode .trash-fab:hover { color: var(--brand-accent); border-color: var(--brand-accent); }
  /* 回收站弹窗 */
  .trash-list { max-height: 46vh; overflow-y: auto; padding: 2px 0 8px; }
  .trash-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #eef0f2; border-radius: 10px; margin-bottom: 8px; }
  .trash-item .ti-main { flex: 1; min-width: 0; }
  .trash-item .ti-title { font-size: 13px; font-weight: 600; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .trash-item .ti-sub { font-size: 11.5px; color: #9ca3af; margin-top: 2px; }
  .trash-item .ti-actions { display: flex; gap: 6px; flex: 0 0 auto; }
  .trash-item button { font-size: 11px; padding: 4px 10px; border-radius: 7px; border: 1px solid #e5e7eb; background: #fff; color: #4b5563; cursor: pointer; font-family: inherit; transition: 0.15s; }
  .trash-item button:hover { border-color: var(--brand); color: var(--brand); }
  .trash-item button.danger:hover { border-color: #ef4444; color: #ef4444; }
  .trash-empty { text-align: center; color: #9ca3af; font-size: 12.5px; padding: 30px 0; }
  html.dark-mode .trash-item { border-color: #303030; }
  html.dark-mode .trash-item .ti-title { color: #eaeaea; }
  html.dark-mode .trash-item .ti-sub { color: #6b6b6b; }
  html.dark-mode .trash-item button { background: #1d1d1d; border-color: #303030; color: #b3b3b3; }
  .screenplay-toolbar {
    display: flex; gap: 6px; padding: 8px 10px; background: #fff;
    border-bottom: 1px solid #f3f4f6; flex-wrap: wrap; align-items: center;
    flex-shrink: 0;
  }
  .screenplay-toolbar .divider-v { width: 1px; height: 20px; background: #e5e7eb; margin: 0 4px; }
  .screenplay-toolbar button { border: none; background: #fff; color: #4b5563; font-size: 11px; padding: 5px 9px; border-radius: 6px; cursor: pointer; transition: 0.15s; white-space: nowrap; font-family: inherit; }
  .screenplay-toolbar button:hover { color: var(--brand); background: #f9fafb; }
  .screenplay-toolbar button.active { background: var(--brand); color: #fff; }
  .toolbar-section-label { font-size: 11px; color: #6b7280; white-space: nowrap; padding-left: 4px; }
  .toolbar-stats { margin-left: auto; font-size: 11px; color: #9ca3af; white-space: nowrap; font-family: inherit; padding-right: 4px; }
  .view-tabs-label { font-size: 12px; color: #9ca3af; font-weight: 600; white-space: nowrap; }
  .view-tabs { display: inline-flex; background: #f3f4f6; border-radius: 10px; padding: 2px; height: 32px; }
  .view-tabs button { border: none; background: transparent; color: #6b7280; padding: 0 12px; height: 28px; font-size: 12px; cursor: pointer; transition: 0.15s; border-radius: 8px; font-family: inherit; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
  .view-tabs button:hover { color: var(--brand); }
  .view-tabs button.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
  /* 云端同步状态：贴在作品标题旁边，正常绿、失败红 */
  .title-sync-hint {
    display: none; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
    padding: 3px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.5;
  }
  .title-sync-hint.show { display: inline-flex; }
  .title-sync-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
  .title-sync-hint.ok { color: #19a974; background: rgba(25,169,116,0.10); }
  .title-sync-hint.err { color: #ef4444; background: rgba(239,68,68,0.10); }
  html.dark-mode .title-sync-hint.ok { color: #4ade80; background: rgba(74,222,128,0.12); }
  html.dark-mode .title-sync-hint.err { color: #f87171; background: rgba(248,113,113,0.12); }
  .analysis-btn { border: none; border-radius: 10px; background: #f3f4f6; color: #6b7280; font-size: 12px; font-weight: 500; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; }
  .analysis-btn:hover { background: var(--brand-soft); color: var(--brand); }
  .analysis-btn.active { background: var(--brand); color: #fff; }
  .hdr-divider { width: 1px; height: 20px; background: #e5e7eb; display: inline-block; }
  .outline-nav {
    background: #fff; border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0; display: flex; flex-direction: column;
    height: auto; user-select: none; position: relative; overflow: visible;
  }
  .outline-nav.collapsed-outline { height: 40px !important; }
  .outline-nav.collapsed-outline .outline-scroll { display: none; }
  .outline-nav.collapsed-outline .outline-footer { display: none; }
  .outline-nav.collapsed-outline .btn-focus-outline, .outline-nav.collapsed-outline .btn-add-track { display: none; }
  .outline-nav-header {
    display: flex; align-items: center;
    padding: 6px 14px; border-bottom: 1px solid #f3f4f6;
    background: #fff; flex-shrink: 0; gap: 6px;
  }
  .outline-nav-title { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
  .outline-nav-title::before { content: ""; width: 3px; height: 12px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); border-radius: 2px; }
  .outline-nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .btn-add-track { font-size: 11px; padding: 3px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); border: none; cursor: pointer; font-weight: 600; font-family: inherit; }
  .btn-add-track:hover { background: var(--brand-border); }
  .btn-focus-outline { width: 22px; height: 22px; padding: 0; border-radius: 6px; border: none; background: transparent; color: #6b7280; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.15s; flex-shrink: 0; }
  .btn-focus-outline:hover { background: var(--brand-soft); color: var(--brand); }
  .btn-focus-outline:active { transform: scale(0.94); }
  .btn-focus-outline svg { display: block; }
  .outline-collapse-btn { width: 22px; height: 22px; border-radius: 6px; border: none; background: transparent; color: #6b7280; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 10px; transition: 0.15s; flex-shrink: 0; }
  .outline-collapse-btn:hover { background: var(--brand-soft); color: var(--brand); }
  .outline-collapse-btn .arrow { display: inline-block; transition: transform 0.25s; line-height: 1; }
  .outline-nav.collapsed-outline .outline-collapse-btn .arrow { transform: rotate(-90deg); }
  .outline-scroll { flex: 1; overflow-x: auto; overflow-y: hidden; background: #fff; position: relative; padding-bottom: 2px; scrollbar-width: thin; scrollbar-color: #d1d5db transparent; touch-action: pan-x pan-y; }
  .outline-scroll::-webkit-scrollbar { height: 8px; }
  .outline-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
  .outline-scroll::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
  .outline-scroll::-webkit-scrollbar-track { background: transparent; }
  /* 缩放浮层：贴在滚动条右侧、同一水平行 */
  .outline-zoom-float {
    position: absolute;
    right: 0;
    bottom: 0px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px 0 24px;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 15%, #fff 100%);
    border: none;
    z-index: 100;
    pointer-events: none;
  }


  .outline-inner { display: flex; flex-direction: column; min-width: 100%; width: max-content; position: relative; --row-h: 22px; padding-bottom: 4px; }
  .outline-ruler { display: flex; align-items: stretch; height: 20px; background: #fafafa; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 5; flex-shrink: 0; }
  .ruler-spacer { width: 100px; min-width: 100px; flex-shrink: 0; background: #fafafa; border-right: 1px solid #e5e7eb; position: sticky; left: 0; z-index: 7; }
  .ruler-ticks { display: flex; flex-shrink: 0; height: 100%; }
  .ruler-tick { height: 100%; border-left: 1px solid #e5e7eb; display: flex; align-items: center; padding-left: 4px; font-size: 9px; color: #9ca3af; box-sizing: border-box; white-space: nowrap; overflow: hidden; }
  .ruler-tick.major { border-left: 1px solid #9ca3af; color: #4b5563; font-weight: 600; }
  .outline-track-row { display: flex; align-items: stretch; border-bottom: 1px solid #f3f4f6; height: var(--row-h, 22px); min-height: var(--row-h, 22px); transition: opacity 0.15s, background 0.15s, box-shadow 0.15s; flex-shrink: 0; position: relative; }
  .outline-track-row:last-child { border-bottom: none; }
  .outline-track-row.dragging { opacity: 0.4; }
  .outline-track-row.drag-over { background: #ecfdf5; }
  /* 拖拽插入位置提示：绿线画在目标轨道的上边或下边 */
  .outline-track-row.drop-before { box-shadow: inset 0 3px 0 0 #10b981; }
  .outline-track-row.drop-after { box-shadow: inset 0 -3px 0 0 #10b981; }
  .outline-track-row.timeline-track { background: #fff; }
  .outline-track-label { width: 100px; min-width: 100px; flex-shrink: 0; background: #fafafa; border-right: 1px solid #e5e7eb; padding: 0 8px; font-size: 11.5px; color: var(--brand); font-weight: 700; cursor: grab; position: sticky; left: 0; z-index: 7; display: flex; align-items: center; gap: 4px; transition: background 0.15s; height: 100%;}
  .outline-track-label:active { cursor: grabbing; }
  .outline-track-label:hover { background: var(--brand-soft); }
  .outline-track-label.tl-label {
  background: #fafafa;
  cursor: grab;
  color: #6b7280;
  font-weight: 700;
  justify-content: flex-start;
  align-items: center;   /* 垂直居中 */
  padding: 0 8px;        /* ← 关键：覆盖 .timeline 的 padding-bottom: 8px */
  line-height: 1;        /* 去掉行高带来的视觉偏差 */
}
  
  .outline-track-canvas { position: relative; flex-shrink: 0; height: 100%; overflow: hidden; }
  .outline-bar { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; display: flex; align-items: center; padding: 0 10px; color: #4b5563; font-size: 10px; font-weight: 600; cursor: grab; white-space: nowrap; overflow: hidden; transition: filter 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.04); user-select: none; }
  .outline-bar:hover { filter: brightness(0.97); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
  /* 分割竖线已移除：只保留一条透明的拖动热区（9px），仍可左右拖动调整相邻两场时长 */
  .timeline-sep { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; z-index: 4; background: transparent; touch-action: none; }
  /* 节奏条末端拖拽热区：无可见把手，悬停时与其他场景块一样弹出信息浮卡 */
  .timeline-end-handle { position: absolute; top: 0; bottom: 0; width: 14px; cursor: ew-resize; z-index: 5; background: transparent; touch-action: none; }
  /* ===== 时间轴 · 节奏条（方案 A）===== */
  .tl-strip {
    position: absolute; left: 0; top: 0; bottom: 0;
    display: flex; align-items: stretch;
    border-radius: 5px; overflow: hidden;
  }
  .tl-seg {
    position: relative; flex: 0 0 auto; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    margin: 2px 0; padding: 0 5px;
    font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden;
    cursor: pointer; user-select: none;
    transition: filter 0.12s, box-shadow 0.12s;
  }
  /* 轨道统一用中性灰（不跟随主题色）：深浅仍按场景字数，--tl-a（浅色）/ --tl-a-d（深色）由 JS 归一计算 */
  .tl-seg { background: rgba(var(--tl-color, 100,116,139), var(--tl-a, 0.2)); color: #475569; }
  .tl-seg::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: rgba(255,255,255,0.9); }
  .tl-seg:last-child::after { display: none; }
  .tl-seg:hover { filter: brightness(0.95); z-index: 2; }
  .tl-seg.active { box-shadow: none; }
  .tl-seg-num { flex: 0 0 auto; font-size: 10px; font-weight: 800; line-height: 1; }
  .tl-seg-time { flex: 0 0 auto; font-size: 9.5px; font-weight: 600; opacity: 0.7; line-height: 1; }
  /* 场景块拖拽排序：拖起半透明，落点用绿色竖线提示插入到左 / 右 */
  .tl-seg.dragging { opacity: 0.35; }
  .tl-seg.drop-left { box-shadow: inset 3px 0 0 0 #10b981; z-index: 5; }
  .tl-seg.drop-right { box-shadow: inset -3px 0 0 0 #10b981; z-index: 5; }
html.dark-mode .tl-seg { background: rgba(var(--tl-color, 148,163,184), var(--tl-a-d, 0.3)); color: #e5e7eb; }
html.dark-mode .tl-seg.active { box-shadow: none; }
html.dark-mode .tl-seg::after { background: rgba(12,12,12,0.6); }
  /* 时间轴悬停 / 拖动浮卡 */
  .tl-tip {
    position: fixed; display: none; z-index: 9000; pointer-events: none;
    max-width: 280px; padding: 8px 11px; border-radius: 9px;
    background: #111827; color: #e5e7eb; font-size: 11px; line-height: 1.55;
    box-shadow: 0 10px 28px rgba(0,0,0,0.30); border: 1px solid rgba(255,255,255,0.08);
  }
  .tl-tip.show { display: block; }
  .tl-tip .tip-head { font-weight: 700; color: #fff; font-size: 11.5px; margin-bottom: 3px; }
  .tl-tip .tip-row .tip-k { color: var(--brand-accent); font-weight: 700; }
  .tl-tip .tip-hint { color: #94a3b8; font-size: 10px; margin-top: 3px; }
  .outline-bar:active { cursor: grabbing; }
  .outline-bar .bar-text { flex: 1; overflow: hidden; text-overflow: ellipsis; pointer-events: none; align-self: center; line-height: 1.2; text-align: left; }
  .outline-bar .resize-handle { position: absolute; top: 0; bottom: 0; width: 8px; cursor: ew-resize; z-index: 2; }
  .outline-bar .resize-handle.left { left: 0; }
  .outline-bar .resize-handle.right { right: 0; }
  .outline-bar .resize-handle:hover { background: rgba(255,255,255,0.5); }
  .outline-playhead { position: absolute; top: 0; bottom: 0; width: 1px; background: #2563eb; z-index: 6; pointer-events: none; display: none; }
  /* 播放头只在编辑正文（有焦点）或点了时间轴分段时出现，避免没编辑时一直停在轨道最左侧像根黑光标 */
  .outline-playhead.visible { display: block; }
  .outline-footer { display: block; height: 3px; margin-top: 0; padding: 0; background: transparent; border: none; flex-shrink: 0; cursor: ns-resize; user-select: none; position: relative; z-index: 8; transition: background 0.15s; }
  .outline-footer:hover { background: var(--brand); }
  #canvasView, #shotView {
    flex: 1; background: #fafafa; padding: 20px; overflow: auto; display: none; flex-direction: column;
    min-height: 0;
  }
  #canvasView.active, #shotView.active { display: flex; }
  .canvas-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
  .canvas-title { font-size: 14px; font-weight: 700; color: var(--brand); }
  /* 按轨道分组：胶囊选择器（自定义外观，替换原生 select 默认样式） */
  .canvas-group-pick {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 6px 4px 12px; border-radius: 999px;
    background: #fff; border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(16,24,40,0.05);
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .canvas-group-pick:hover { border-color: rgba(var(--brand-rgb), 0.55); box-shadow: 0 2px 8px rgba(var(--brand-rgb), 0.12); }
  .canvas-group-pick:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14); }
  .canvas-group-pick .pick-label { font-size: 11.5px; color: #9ca3af; white-space: nowrap; letter-spacing: 0.2px; }
  .canvas-group-pick .pick-icon { display: flex; align-items: center; color: var(--brand); opacity: 0.75; }
  .canvas-group-pick .pick-select-wrap { position: relative; display: inline-flex; align-items: center; }
  .canvas-group-pick select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    font-size: 12.5px; font-weight: 600; line-height: 1;
    padding: 7px 26px 7px 10px; border: none; outline: none; background: transparent;
    color: var(--brand-deep, #3730a3); cursor: pointer; border-radius: 999px; max-width: 200px;
    text-overflow: ellipsis;
  }
  .canvas-group-pick select:hover { background: var(--brand-soft); }
  .canvas-group-pick .pick-chevron {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    pointer-events: none; display: flex; color: var(--brand); opacity: 0.8;
  }
  .canvas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 14px; }
  /* 按轨道分组：每行一个节拍标题 + 该行卡片（背景取该节拍颜色）
     横向 padding 用负 margin 抵消，保证组内卡片宽度与「不分组」时完全一致 */
  .canvas-group-row { padding: 12px 13px 14px; margin: 0 -14px 18px; border-radius: 14px;
    background: rgba(var(--g-rgb, 226,232,240), 0.16); border: 1px solid rgba(var(--g-rgb, 226,232,240), 0.5); }
  .canvas-group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .canvas-group-head .g-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(var(--g-rgb, 226,232,240), 0.35); }
  .canvas-group-head .g-name { font-size: 12.5px; font-weight: 700; color: #374151; }
  .canvas-group-head .g-range { font-size: 11px; color: #9ca3af; }
  .canvas-group-head .g-count {
    font-size: 11px; color: #6b7280; margin-left: auto; font-weight: 600;
    background: rgba(255,255,255,0.75); border-radius: 999px; padding: 2px 9px;
  }
  .canvas-group-row.empty { background: rgba(var(--g-rgb, 226,232,240), 0.07); border-color: rgba(var(--g-rgb, 226,232,240), 0.28); }
  .canvas-group-row.empty .canvas-group-head .g-name { color: #9ca3af; font-weight: 600; }
  .canvas-card { position: relative; background: #fff; border-radius: 11px; padding: 11px; border: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,0.03); cursor: grab; transition: 0.15s; user-select: none;
    aspect-ratio: 1 / 1; display: flex; flex-direction: column; overflow: hidden; }
  .canvas-card:hover { border-color: var(--brand); transform: translateY(-2px); }
  .canvas-card:active { cursor: grabbing; }
  .canvas-card h4 { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: var(--brand); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .canvas-card p { font-size: 12px; color: #4b5563; }
  /* 卡片正文：场景里的「行动」内容（每段一个圆点条目，超高裁切） */
  .canvas-card .card-body { margin-top: 9px; flex: 1 1 auto; min-height: 0; overflow: hidden;
    font-size: 12px; line-height: 1.6; color: #4b5563; }
  .canvas-card .card-actions { margin: 0; padding: 0; list-style: none; }
  .canvas-card .card-actions li { position: relative; padding-left: 12px; margin-bottom: 5px; }
  .canvas-card .card-actions li:last-child { margin-bottom: 0; }
  .canvas-card .card-actions li::before {
    content: ''; position: absolute; left: 1px; top: 0.62em; width: 4px; height: 4px;
    border-radius: 50%; background: #9ca3af;
  }
  .canvas-card .card-body .muted { color: #c7cbd4; }
  .canvas-card.dragging { opacity: 0.4; }
  /* 卡片拖拽插入位置提示：落在两张卡片之间的空白处，一条绿色竖线 */
  .canvas-drop-line { position: fixed; width: 3px; border-radius: 2px; background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.16); pointer-events: none; z-index: 80; display: none; }
  /* 分镜表格 */
  .shot-table-wrap {
  background: #fff; border-radius: 12px;
  overflow: auto;              /* ← 原本是 hidden */
  border: 1px solid #e5e7eb;
  flex: 1;                     /* ← 新增：占满剩余高度 */
  min-height: 0;               /* ← 新增：允许收缩 */
  }
  .shot-table thead th {
  position: sticky;
  top: 0;
  background: #f9fafb;
  z-index: 2;
}
html.dark-mode .shot-table thead th { background: #1a1a1a; }
  /* 定宽列合计约 680px，表格最小 1120px ⇒ 「画面描述」至少 ~440px，窄屏改为横向滚动而不是挤压 */
  .shot-table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 12.5px; }
  .shot-table td.shot-desc { min-width: 420px; }
  .shot-table thead { background: #f9fafb; }
  .shot-table th {
    text-align: left; padding: 10px 12px;
    font-weight: 700; color: #6b7280; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
  }
  .shot-table td {
    padding: 10px 12px; border-bottom: 1px solid #f3f4f6;
    color: #374151; vertical-align: top;
  }
  .shot-table tbody tr:hover { background: #fafbff; }
  .shot-table tbody tr:last-child td { border-bottom: none; }
  .shot-no { font-weight: 700; color: var(--brand); font-family: "Courier New", monospace; }
  .shot-scene { font-weight: 600; color: #1f2937; }
  .shot-desc { color: #4b5563; line-height: 1.5; }
  .shot-cam { color: var(--brand); font-weight: 600; font-size: 11.5px; }
  .shot-dur { color: #9ca3af; font-family: "Courier New", monospace; }
  .shot-notes { color: #9ca3af; font-size: 11.5px; }
  /* 分镜表 · 画面缩略图列 */
  .shot-frame { padding: 8px 12px !important; }
  .shot-frame-box {
    width: 84px; height: 56px; border-radius: 8px; cursor: pointer; padding: 0;
    border: 1px dashed #d1d5db; background: #fafafa; color: #9ca3af;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-family: inherit; font-size: 10.5px; line-height: 1; transition: 0.15s;
  }
  .shot-frame-box svg { width: 16px; height: 16px; }
  .shot-frame-box:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
html.dark-mode .shot-frame-box { border-color: #383838; background: #1a1a1a; color: #6b7280; }
html.dark-mode .shot-frame-box:hover { border-color: var(--brand); color: var(--brand-accent); background: #242424; }
  .screenplay-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; background: #fff; padding: 0; }
  .screenplay-page { max-width: 794px; margin: 0 auto; background: #fff; padding: 48px 96px 72px 96px; font-family: var(--sp-font-latin), var(--sp-font-cjk); font-size: 12pt; line-height: 1.35; color: #111; cursor: text; }
  /* 正文现在是一整块连续可编辑区（像 Word）：整页不再有焦点描边，也不再逐块高亮 */
  .screenplay-page:focus, .screenplay-page:focus-visible { outline: none; box-shadow: none; }
  .screenplay-page .script-block { outline: none; padding: 2px 0; min-height: 1.35em; word-wrap: break-word; white-space: pre-wrap; border-radius: 0; transition: background 0.1s; user-select: text; -webkit-user-select: text; }
  .screenplay-page .script-block:focus { background: transparent; }
  .screenplay-page .script-block.highlight-jump { animation: jumpFlash 1.2s ease-out; }
  @keyframes jumpFlash { 0% { background: #fde68a; } 100% { background: transparent; } }
  /* 分镜表可编辑单元格 */
.shot-edit {
  outline: none; min-height: 1.4em; padding: 2px 4px;
  border-radius: 4px; transition: background 0.15s;
  white-space: pre-wrap; word-break: break-word;
}
.shot-edit:hover { background: #f9fafb; }
.shot-edit:focus { background: #fffbeb; }
html.dark-mode .shot-edit:hover { background: #1d1d1d; }
html.dark-mode .shot-edit:focus { background: #2b2b2b; }
  /* 多选：统一用淡蓝连续高亮（原来是突兀的黄框） */
  .screenplay-page .script-block.block-selected,
  .screenplay-page .script-block.range-selected { background: #dbeafe !important; }
  .screenplay-page .script-block.range-selected {
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .page-break { height: 1px; background: #6b7280; margin: 24px -96px; border: none; }
  .scene-heading-row { position: relative; margin-top: 28px; margin-bottom: 8px; }
  .scene-heading-row:first-child { margin-top: 0; }
  .scene-heading-row .script-block[data-type="scene"] { margin: 0 !important; }
  .scene-heading-row .scene-num { position: absolute; top: 50%; transform: translateY(-50%); font-family: "Courier Prime", "Courier New", Courier, monospace; font-weight: 700; font-size: 15px; color: inherit; user-select: none; -webkit-user-select: none; line-height: 1; }
  /* 序号用伪元素渲染：拖动选择 / 全选 / 复制都不会把数字卷进来 */
  .scene-heading-row .scene-num::before { content: attr(data-n); }
  /* 场景序号照好莱坞剧本排：贴近页边（左序号左对齐、右序号右对齐），与正文拉开大段空白 */
  .scene-heading-row .scene-num.left { left: -70px; width: 34px; text-align: left; }
  .scene-heading-row .scene-num.right { right: -70px; width: 34px; text-align: right; }
.screenplay-page.format-hollywood {
    font-size: 16px;                /* 12pt */
    /* Final Draft 式按行动态行距：line-height 用 normal，
       纯英文行 = Courier Prime 的 normal = 16px（1/6in，一页 54 行），
       含中文的行 = CJK Grid 的 normal = 24px，自动长高，不用任何 JS */
    line-height: normal; /* Letter */
    /* 上/下 1in、左 1.5in（装订边，固定不动）；右边距 1in，
       窗口不够宽时收窄的是页边距而不是正文列 —— 正文列恒为 6in = 60 字符 */
    padding: 96px max(48px, min(96px, calc(100% - 576px - 144px))) 96px 144px;
  }
.screenplay-page.format-hollywood .script-block { padding: 0; min-height: 1em; }
.screenplay-page.format-hollywood .page-break { margin: 24px -96px 24px -144px; }
.screenplay-page.format-hollywood .scene-heading-row { margin-top: 32px; margin-bottom: 16px; }
.screenplay-page.format-hollywood .scene-heading-row:first-child { margin-top: 0; }
  /* 场景号在左右页边距之外各出现一次（拍摄剧本式），左右对称、距页边 0.7in */
  .screenplay-page.format-hollywood .scene-num.left { left: -77px; }
  .screenplay-page.format-hollywood .scene-num.right { right: -29px; }
  /* 场景标题：全部大写、紧贴左页边、不加粗（标准剧本正文不出现粗体） */
  .screenplay-page.format-hollywood .script-block[data-type="scene"] { text-transform: uppercase; font-weight: normal; margin-left: 0; }
  /* 动作描述：紧贴左页边、左对齐、段后空一行 */
  .screenplay-page.format-hollywood .script-block[data-type="action"] { margin-left: 0; margin-right: 0; margin-bottom: 16px; }
  /* 角色名：全部大写、页面 3.5in（正文列 2.0in = 192px）、上方空一行、下方紧跟对白 */
  .screenplay-page.format-hollywood .script-block[data-type="character"] { text-transform: uppercase; font-weight: normal; margin-right: 0; margin-top: 16px; margin-bottom: 0; }
  /* 对白：页面 2.5in 起（正文列 1.0in），右缘同样止于页面右侧 2.5in，宽 3.5in = 35 字符 */
  .screenplay-page.format-hollywood .script-block[data-type="dialogue"] { margin-left: 96px; margin-right: 144px; margin-bottom: 16px; }
  /* 转场：全部大写、右对齐至右侧 1in 页边 */
  .screenplay-page.format-hollywood .script-block[data-type="transition"] { text-transform: uppercase; text-align: right; margin-right: 28.8px; margin-top: 16px; margin-bottom: 16px; }
  /* v25: Final Draft published screenplay layout; desktop Letter sheet. */
  .screenplay-page.format-hollywood {
    font-family: "Courier Prime", "Courier New", Courier, "CJK Grid", "Songti SC", SimSun, "Noto Serif CJK SC", serif;
    font-size: 12pt;
    width: var(--paper-width, 8.5in); min-width: var(--paper-width, 8.5in); max-width: var(--paper-width, 8.5in); min-height: var(--paper-height, 11in);
    padding: 96px 81.6px 96px 144px;
    box-sizing: border-box;
  }
  .screenplay-page.format-hollywood .script-block[data-type="character"] { margin-left: 192px; }
  .screenplay-page.format-hollywood .script-block[data-type="parenthetical"] { margin-left: 134.4px; margin-right: 201.6px; margin-bottom: 16px; font-style: normal; }
  /* English screenplay lines use a fixed 1/6-inch grid, independent of font metrics support. */
  .screenplay-page.format-hollywood .script-block.latin-grid { line-height: 16px; }
  /* 底部提示行：提示居中，缩放绝对定位右侧 */
  .screenplay-hint-row {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 6px 12px;
    background: #fafafa; border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
    min-height: 30px;
  }
  .screenplay-hint { font-size: 11px; color: #9ca3af; text-align: center; }
  .zoom-widget {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #6b7280;
    user-select: none;
  }
  .zoom-widget input[type="range"] {
    width: 80px; height: 3px;
    -webkit-appearance: none; appearance: none;
    background: #e5e7eb; border-radius: 2px;
    outline: none; cursor: pointer;
  }
  .zoom-widget input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 10px; height: 10px; border-radius: 50%; background: var(--brand);
    cursor: pointer; border: none;
  }
  .zoom-value { font-size: 11px; color: var(--brand); font-weight: 600; min-width: 34px; text-align: right; cursor: pointer; transition: 0.15s; }
  .zoom-value:hover { color: var(--brand-hover); text-decoration: underline; }
  .structure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .card { background: #fff; border-radius: 14px; padding: 20px; margin-bottom: 16px; border: 1px solid #f3f4f6; }
  .card h3 { font-size: 15px; margin-bottom: 12px; }
  .chart-box { height: 240px; position: relative; }
  .relation-graph-scroll { overflow-x: auto; border: 1px solid #eef0f4; border-radius: 12px; background: #fbfcfe; }
  .relation-graph-svg { display: block; width: 100%; min-width: 760px; height: auto; }
  .relation-edge { stroke: #c7ced8; stroke-width: 1.5; }
  /* Obsidian 风格：关系文字随连线旋转、立于线上方，白描边保证压线也可读 */
  .relation-edge-label { fill: #6b7280; font-size: 11.5px; font-weight: 600; text-anchor: middle;
    paint-order: stroke; stroke: #fbfcfe; stroke-width: 4px; stroke-linejoin: round; }
  .relation-dot { stroke: #fbfcfe; stroke-width: 2; }
  .relation-dot-soft { fill: #d3d9e0; }
  .relation-dot-mid { fill: #9aa2af; }
  .relation-dot-deep { fill: #5b6472; }
  .relation-dot-name { fill: #374151; font-size: 12.5px; font-weight: 600; text-anchor: middle; }
  .relation-graph-hint { margin: -4px 0 12px; color: #8b93a7; font-size: 12px; }
  .timeline { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
  .timeline-card { min-width: 180px; background: #fafafa; border-radius: 10px; padding: 12px; }
  .kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .kanban-col { background: #fafafa; border-radius: 12px; padding: 12px; }
  .kanban-col h4 { font-size: 13px; margin-bottom: 8px; color: var(--brand); }
  .kanban-card { background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; font-size: 12px; }
  .pricing-section-title { font-size: 16px; font-weight: 700; margin: 28px 0 14px; display: flex; align-items: center; gap: 8px; }
  .pricing-section-title:first-of-type { margin-top: 0; }
  .pricing-section-title .tag { font-size: 11px; background: var(--brand-soft); color: var(--brand); padding: 2px 8px; border-radius: 10px; font-weight: 600; }
  .pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .price-card { background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; border: 1px solid #f3f4f6; }
  .price-card.featured { position: relative; border-color: var(--brand-border); }
  .price-card.featured::before { content: "推荐"; position: absolute; top: -10px; left: 24px; background: var(--brand); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 10px; font-weight: 600; }
  .price-card h3 { font-size: 18px; margin-bottom: 4px; }
  .price-card .price { font-size: 30px; font-weight: 800; color: var(--brand); margin: 10px 0 2px; }
  .price-card .price small { font-size: 13px; font-weight: 500; color: #9ca3af; }
  .price-card ul { list-style: none; margin: 16px 0; flex: 1; }
  .price-card li { font-size: 13px; padding: 5px 0; color: #4b5563; }
  .price-card li::before { content: "✓ "; color: #10b981; font-weight: 700; }
  .credit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .credit-card { background: #fff; border-radius: 14px; padding: 20px; text-align: center; cursor: pointer; transition: 0.2s; position: relative; border: 1px solid #f3f4f6; }
  .credit-card:hover { transform: translateY(-2px); }
  .credit-card.best::before { content: "最划算"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 10px; padding: 2px 10px; border-radius: 10px; font-weight: 600; white-space: nowrap; }
  .pricing-section-title .tag.tag-hot { background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; }
  .lifetime-card { position: relative; border-radius: 16px; padding: 22px 24px; background: linear-gradient(135deg, var(--brand-soft), #fff 62%); border: 1px solid var(--brand-border); display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
  .lifetime-badge { position: absolute; top: -11px; left: 24px; background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 12px; letter-spacing: 0.5px; }
  .lifetime-info { flex: 1; min-width: 240px; }
  .lifetime-info h3 { font-size: 18px; margin-bottom: 4px; }
  .lifetime-info > p { font-size: 12.5px; color: #6b7280; margin-bottom: 10px; }
  .lifetime-info ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 16px; }
  .lifetime-info li { font-size: 12.5px; color: #4b5563; }
  .lifetime-info li::before { content: "✓ "; color: #10b981; font-weight: 700; }
  .lifetime-buy { text-align: center; min-width: 200px; }
  .lifetime-price { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-bottom: 6px; }
  .lifetime-price .old { font-size: 14px; color: #9ca3af; text-decoration: line-through; }
  .lifetime-price b { font-size: 32px; font-weight: 800; color: var(--brand); }
  .lifetime-price em { font-style: normal; font-size: 11px; background: #fee2e2; color: #dc2626; padding: 2px 8px; border-radius: 8px; font-weight: 700; }
  .lifetime-countdown { font-size: 12px; color: #dc2626; font-weight: 600; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
  .lifetime-buy .btn { width: 100%; }
  .lifetime-note { font-size: 11px; color: #9ca3af; margin-top: 6px; }
  .credit-amount { font-size: 28px; font-weight: 800; color: var(--brand); }
  .credit-amount span { font-size: 13px; font-weight: 500; color: #6b7280; }
  .credit-price { font-size: 18px; font-weight: 700; margin: 8px 0 4px; }
  .credit-note { font-size: 11px; color: #9ca3af; margin-bottom: 14px; }
  .credit-card .btn { width: 100%; }
  .credit-info { background: #fafafa; border-radius: 14px; padding: 20px; margin-top: 20px; }
  .credit-info h4 { font-size: 14px; margin-bottom: 10px; }
  .credit-info ul { list-style: none; }
  .credit-info li { font-size: 13px; color: #6b7280; padding: 4px 0; }
  .credit-info li::before { content: "· "; color: var(--brand); font-weight: 700; }
  .modal { position: fixed; inset: 0; background: rgba(0,0,0,0.3); display: none; align-items: center; justify-content: center; z-index: 300; }
  .modal.open { display: flex; }
  .modal-content { background: #fff; border-radius: 16px; padding: 24px; width: 440px; max-width: 90%; max-height: 90vh; position: relative; }
  .modal-content.wide { width: 660px; }
  .account-modal-content { width: 500px; }
  .account-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #e7edf0; border-radius: 16px; background: linear-gradient(135deg,#f3faff,#f8fbff 58%,#f2f8f4); }
  .account-large-avatar { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 18px; color: #fff; font-size: 22px; font-weight: 800; background: linear-gradient(145deg,var(--brand),var(--brand-2)); box-shadow: 0 8px 18px rgba(var(--brand-rgb),.22); }
  .account-large-avatar.editable { border: none; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s; position: relative; }
  .account-large-avatar.editable::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E") center/9px no-repeat; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
  .account-large-avatar.editable:hover { transform: scale(1.06); box-shadow: 0 10px 22px rgba(var(--brand-rgb),.32); }
  .avatar-hint { display: block; margin-top: 4px; font-style: normal; font-size: 10.5px; color: #a5aeb6; }
  .account-edit-grid { margin-top: 12px; display: grid; grid-template-columns: 52px 1fr; gap: 9px 12px; align-items: center; }
  .account-edit-grid > label { font-size: 12px; color: #66737b; font-weight: 600; }
  .acc-edit-row { display: flex; gap: 8px; }
  .acc-edit-row input { flex: 1; min-width: 0; }
  .acc-edit-row .btn { flex: 0 0 auto; font-size: 12px; padding: 0 16px; height: 40px; }
  .account-identity { flex: 1; min-width: 0; }
  .account-identity strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: #1f2937; }
  .account-identity span { display: block; margin-top: 4px; font-size: 12px; color: #77817b; }
  .account-plan-chip { padding: 6px 9px; border-radius: 999px; background: #e7f4fb; color: #087eb8; font-size: 11px; font-weight: 750; white-space: nowrap; }
  .account-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
  .account-stat { padding: 13px 12px; border: 1px solid #edf0f2; border-radius: 13px; background: #fff; }
  .account-stat span { display: block; color: #87919b; font-size: 11px; }
  .account-stat strong { display: block; margin-top: 5px; color: #25313b; font-size: 19px; font-variant-numeric: tabular-nums; }
  .account-sync-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 12px; border-radius: 11px; background: #f7f9fa; color: #66737b; font-size: 12px; }
  .account-sync-dot { width: 8px; height: 8px; border-radius: 50%; background: #19a974; box-shadow: 0 0 0 3px rgba(25,169,116,.12); }
  .account-actions { display: flex; gap: 8px; margin-top: 14px; }
  .account-actions > * { flex: 1; }
  .account-support-link { display: block; margin-top: 13px; color: #89939b; font-size: 11px; text-align: center; text-decoration: none; }
  .account-support-link:hover { color: var(--brand); }
  .today-hero { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 3px 0 14px; padding: 17px 19px; border: 1px solid #e3ebef; border-radius: 16px; background: linear-gradient(120deg,#f0f8ff,#f8fbff 56%,#f2f8f5); }
  .today-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .today-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e1f0fa; color: #087eb8; font-size: 20px; }
  .today-heading strong { display: block; color: #22313b; font-size: 16px; }
  .today-heading span { display: block; margin-top: 3px; color: #7c8991; font-size: 12px; }
  .today-events { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,290px),1fr)); gap: 11px; }
  .today-event { position: relative; padding: 16px 17px 14px; border: 1px solid #e9edf0; border-radius: 14px; background: #fff; }
  .today-event-year { display: inline-flex; margin-bottom: 9px; padding: 4px 8px; border-radius: 999px; background: #edf6fb; color: #087eb8; font-size: 11px; font-weight: 750; }
  .today-event p { color: #4e5b63; font-size: 13px; line-height: 1.75; }
  .today-event a { display: inline-block; margin-top: 10px; color: #1686ba; font-size: 11px; text-decoration: none; }
  .today-event a:hover { text-decoration: underline; }
  .today-source { margin-top: 12px; color: #9aa2a8; font-size: 11px; line-height: 1.6; }
  /* —— 历史中的今天 · 精选单条 —— */
  .today-feature { display: flex; gap: 0; overflow: hidden; border: 1px solid #e3ebef; border-radius: 18px; background: #fff; box-shadow: 0 4px 18px rgba(24,34,27,.06); }
  .tf-cover { position: relative; flex: 0 0 240px; min-height: 230px; display: grid; place-items: center; }
  .tf-emoji { font-size: 74px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.28)); }
  .tf-year { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1f2937; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
  .tf-body { flex: 1; min-width: 0; padding: 22px 24px 20px; }
  .tf-body h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: #1f2937; letter-spacing: -.01em; }
  .tf-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
  .tf-tag { padding: 4px 10px; border-radius: 999px; background: #f0f4f6; color: #5b6a74; font-size: 11px; font-weight: 600; }
  .tf-tag.ok { background: #e7f6ee; color: #128a5e; }
  .tf-body p { margin: 0 0 10px; color: #4e5b63; font-size: 13.5px; line-height: 1.85; }
  .tf-body p.lead { color: #2c3a44; font-weight: 500; }
  .tf-body p:last-child { margin-bottom: 0; color: #55707e; background: #f4f9fb; border-radius: 10px; padding: 10px 12px; }
  .today-unlocked { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
  .tu-label { font-size: 12px; color: #8b959c; }
  .tu-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid #e3ebef; border-radius: 999px; background: #fff; color: #4e5b63; font-size: 12px; font-family: inherit; cursor: pointer; transition: .15s; }
  .tu-chip:hover { border-color: var(--brand-tint); color: var(--brand); }
  .tu-chip.active { background: var(--brand-soft); border-color: var(--brand-tint); color: var(--brand); font-weight: 600; }
  .today-unlocked:empty { display: none; }
  .modal-title { font-size: 18px; font-weight: 800; margin-bottom: 4px; padding-right: 30px; }
  .modal-sub { font-size: 13px; color: #6b7280; margin-bottom: 12px; }
  .modal-content label { display: block; font-size: 12px; color: #4b5563; font-weight: 600; margin: 12px 0 4px; }
  /* 角色弹窗：短字段（年龄等）不再占满整行，按信息长度分栏 */
  #characterModal .modal-content { width: 520px; }
  .char-form { display: flex; flex-direction: column; gap: 10px; }
  .char-form .cf-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .char-form .cf-field > label { margin: 0; }
  .char-form .cf-row { display: flex; gap: 10px; }
  .char-form .cf-grow { flex: 1 1 auto; min-width: 0; }
  .char-form .cf-narrow { flex: 0 0 118px; width: 118px; }
  .char-form .cf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .char-form textarea { min-height: 66px; }
  .char-form .cf-bio textarea { min-height: 88px; }
  .modal-content input[type="text"], .modal-content input[type="email"], .modal-content textarea, .modal-content select {
    width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px;
    font-size: 13px; font-family: inherit; outline: none; transition: 0.15s; background: #fafafa;
  }
  .modal-content input:focus, .modal-content textarea:focus, .modal-content select:focus { background: #fff; }
  .modal-content textarea { resize: vertical; min-height: 70px; }
  .modal-actions { display: flex; gap: 8px; margin-top: 20px; justify-content: flex-end; }
  .modal-close-x {
    position: absolute; top: 14px; right: 14px;
    width: 28px; height: 28px; border-radius: 8px;
    border: none; background: transparent; color: #6b7280;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 16px; transition: 0.15s; font-family: inherit; line-height: 1;
  }
  .modal-close-x:hover { background: #f3f4f6; color: #1f2937; }

  /* ============ 页面型表单（交易 / 故事改编，替代弹窗） ============ */
  .form-page label { display: block; font-size: 12px; color: #4b5563; font-weight: 600; margin: 12px 0 4px; }
  .form-page input[type="text"], .form-page input[type="email"], .form-page textarea, .form-page select {
    width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px;
    font-size: 13px; font-family: inherit; outline: none; transition: 0.15s; background: #fafafa; color: inherit;
  }
  .form-page input:focus, .form-page textarea:focus, .form-page select:focus { background: #fff; }
  .form-page textarea { resize: vertical; min-height: 70px; }
  .form-page .modal-actions { justify-content: flex-start; }

  .bonus-highlight { display: inline-block; font-size: 20px; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .invite-code { background: var(--brand-soft); color: var(--brand); padding: 12px 16px; border-radius: 10px; font-family: "Courier New", monospace; font-size: 20px; font-weight: 800; letter-spacing: 3px; text-align: center; margin: 8px 0; }
  .invite-link { display: flex; gap: 6px; align-items: center; background: #fafafa; border-radius: 8px; padding: 8px 12px; font-size: 12px; color: #4b5563; font-family: "Courier New", monospace; margin-bottom: 12px; word-break: break-all; }
  .invite-link span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
  .bonus-info { background: #fafafa; border-radius: 10px; padding: 12px 14px; font-size: 12px; color: #6b7280; line-height: 1.7; margin-top: 12px; }
  .bonus-info b { color: var(--brand); }
  .adapt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 4px; }
  .adapt-option { background: #fafafa; border: 2px solid transparent; border-radius: 10px; padding: 14px 12px; cursor: pointer; transition: 0.15s; text-align: center; }
  .adapt-option:hover { border-color: var(--brand-tint); background: var(--brand-soft); }
  .adapt-option.selected { border-color: var(--brand); background: var(--brand-soft); }
  .adapt-option .name { font-size: 13px; font-weight: 700; color: #374151; }
  .adapt-option .desc { font-size: 10.5px; color: #9ca3af; margin-top: 3px; }
  .inspiration-card { background: linear-gradient(135deg, var(--brand-soft-2), var(--brand-soft)); border-radius: 12px; padding: 18px; margin: 12px 0; border: 1px solid var(--brand-border); }
  .inspiration-card .tag { display: inline-block; font-size: 10px; color: var(--brand); background: #fff; padding: 2px 8px; border-radius: 10px; font-weight: 600; margin-bottom: 8px; }
  .inspiration-card .title { font-size: 16px; font-weight: 800; color: #1f2937; margin-bottom: 8px; }
  .inspiration-card .body { font-size: 13px; color: #4b5563; line-height: 1.7; }
  .knowledge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
  .knowledge-card { background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #f3f4f6; cursor: pointer; transition: 0.15s; position: relative; }
  .knowledge-card:hover { border-color: var(--brand-tint); box-shadow: 0 6px 16px -8px rgba(var(--brand-rgb),0.2); transform: translateY(-2px); }
  .knowledge-card h4 { font-size: 14px; margin-bottom: 6px; padding-right: 60px; }
  .knowledge-card .k-cat { position: absolute; top: 14px; right: 14px; font-size: 10px; padding: 2px 8px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
  .knowledge-card p { font-size: 12px; color: #6b7280; line-height: 1.6; max-height: 3.2em; overflow: hidden; }

  /* ============ 我的图片 / 我的视频 ============ */
  .asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
  .asset-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; cursor: pointer; transition: 0.15s; }
  .asset-card:hover { transform: translateY(-2px); border-color: var(--brand-tint); box-shadow: 0 10px 24px -10px rgba(var(--brand-rgb), 0.25); }
  .asset-thumb { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
  .asset-thumb .at-emoji { font-size: 38px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); }
  .asset-thumb .at-dur {
    position: absolute; right: 8px; bottom: 8px; padding: 1px 7px; border-radius: 6px;
    background: rgba(0,0,0,0.62); color: #fff; font-size: 10.5px; font-weight: 600;
    font-family: "Courier New", monospace; letter-spacing: 0.4px;
  }
  .asset-meta { padding: 10px 12px 12px; }
  .asset-meta h4 { font-size: 13px; font-weight: 700; color: #1f2937; line-height: 1.4; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  html.dark-mode .asset-card { background: #141414; border-color: #2a2a2a; }
  html.dark-mode .asset-card:hover { border-color: var(--brand-deep-border); }
  html.dark-mode .asset-meta h4 { color: #eaeaea; }

  /* ===== 生成视频：按分镜逐镜生成 ===== */
  .vgen-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  .vgen-head-left { display: flex; align-items: flex-start; gap: 12px; }
  .vgen-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .vgen-sub { font-size: 12.5px; color: #6b7280; margin-top: 2px; }
  .vgen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
  .vgen-card { background: #fff; border: 1px solid #e9ecef; border-radius: 14px; padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 9px; transition: 0.15s; }
  .vgen-card.done { border-color: rgba(25,169,116,.4); }
  .vgen-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .vgen-shot-no { font-size: 12.5px; font-weight: 700; color: var(--brand); font-family: "Courier New", monospace; letter-spacing: .3px; }
  .vgen-scene { font-size: 11.5px; color: #9ca3af; }
  .vgen-frame { position: relative; height: 104px; border-radius: 10px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
  .vgen-frame.generated { background: linear-gradient(135deg, #312e81, #0284c7); }
  .vgen-frame.doing { background: linear-gradient(135deg, #4b5563, #9ca3af); }
  .vgen-frame .vg-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; opacity: .9; }
  .vgen-desc { font-size: 12.5px; color: #374151; line-height: 1.65; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .vgen-meta { font-size: 11.5px; color: #9ca3af; display: flex; gap: 10px; flex-wrap: wrap; }
  .vgen-status { font-size: 11.5px; font-weight: 700; }
  .vgen-status.todo { color: #9ca3af; }
  .vgen-status.doing { color: #d97706; }
  .vgen-status.done { color: #19a974; }
  .vgen-card-actions { display: flex; gap: 8px; align-items: center; }
  .vgen-assets { margin-top: 28px; padding-top: 18px; border-top: 1px solid #f0f2f0; }
  .vgen-assets-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
  .vgen-assets-head h3 { font-size: 14px; font-weight: 700; color: #1f2937; }
  .vgen-empty { color: #9ca3af; font-size: 13px; padding: 40px 0; text-align: center; }
  html.dark-mode .vgen-card { background: #141414; border-color: #2a2a2a; }
  html.dark-mode .vgen-card.done { border-color: rgba(25,169,116,.45); }
  html.dark-mode .vgen-frame { background: #1f1f1f; }
  html.dark-mode .vgen-desc { color: #b3b3b3; }
  html.dark-mode .vgen-sub { color: #9a9a9a; }
  html.dark-mode .vgen-assets { border-top-color: #2a2a2a; }
  html.dark-mode .vgen-assets-head h3 { color: #eaeaea; }

  /* ============ 知识 · STORAI 教程板块 ============ */
  .kb-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
  .kb-section-head h2 { font-size: 15px; font-weight: 800; color: #1f2937; display: flex; align-items: center; gap: 8px; }
  .kb-section-head h2::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
  .kb-section-head .kb-hint { font-size: 11.5px; color: #9ca3af; }
  .kb-section + .kb-section { margin-top: 28px; }
  #tutorialBoard.highlight-jump { animation: kbPulse 1.2s ease; border-radius: 14px; }
  @keyframes kbPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.32); } 70% { box-shadow: 0 0 0 12px rgba(var(--brand-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0); } }
  .tutorial-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
  .tutorial-group { background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; padding: 14px 16px 4px; }
  .tutorial-group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
  .tutorial-group-head .tg-icon { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .tutorial-group-head .tg-icon svg { width: 15px; height: 15px; display: block; }
  .tutorial-group-head h3 { font-size: 13.5px; font-weight: 800; color: #1f2937; }
  .tutorial-step { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid #f7f8fa; font-size: 12.5px; line-height: 1.7; color: #6b7280; }
  .tutorial-step:first-of-type { border-top: none; }
  .tutorial-step .ts-no { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 3px; }
  .tutorial-step b { color: #374151; font-weight: 700; margin-right: 4px; }

  /* ============ 社区 · 拉片 ============ */
  .cm-balance { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
  .cm-subbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
  /* 社区统一标签栏（拉片拆解 / 剧本交易 / 出售剧本） */
  .cm-tabs { display: flex; gap: 4px; padding: 4px; background: #f3f4f6; border-radius: 12px; margin-bottom: 16px; width: fit-content; max-width: 100%; overflow-x: auto; }
  .cm-tab { border: none; background: transparent; color: #6b7280; font-size: 13px; font-weight: 700; font-family: inherit; padding: 8px 18px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: 0.15s; display: inline-flex; align-items: center; }
  .cm-tab:hover { color: var(--brand); }
  .cm-tab.active { background: #fff; color: var(--brand); box-shadow: 0 2px 8px -3px rgba(var(--brand-rgb), 0.35); }
  .cm-tab .tab-count { font-size: 10.5px; font-weight: 700; opacity: 0.55; margin-left: 5px; }
  /* 创作者关联（拉片作者 ↔ 在售剧本） */
  .cm-cross { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); border: none; font-family: inherit; cursor: pointer; transition: 0.15s; }
  .cm-cross:hover { background: var(--brand); color: #fff; }
  .cm-card.flash { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.16); }
  .cm-works-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
  .cm-work { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #f3f4f6; border-radius: 12px; background: #fff; cursor: pointer; transition: 0.15s; }
  .cm-work:hover { border-color: var(--brand-tint); box-shadow: 0 6px 18px -12px rgba(var(--brand-rgb), 0.4); }
  .cm-work .cw-cover { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft-2)); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
  .cm-work .cw-title { font-size: 12.5px; font-weight: 700; color: #1f2937; }
  .cm-work .cw-meta { font-size: 11px; color: #9ca3af; margin-top: 2px; }
  .cm-work .cw-price { margin-left: auto; font-size: 12.5px; font-weight: 800; color: var(--brand); white-space: nowrap; }
  .cm-filters { display: flex; gap: 6px; flex-wrap: wrap; }
  .cm-chip { border: 1px solid #e5e7eb; background: #fff; color: #6b7280; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: 0.15s; }
  .cm-chip:hover { border-color: var(--brand-tint); color: var(--brand); }
  .cm-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
  /* 社区卡片尺寸与「剧本」里的故事卡片保持一致 */
  .cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 200px)); gap: 24px; align-content: start; }
  /* —— 社区卡片：与项目书卡同款外观 —— */
  .cm-book-card { aspect-ratio: .76 / 1; min-height: 0; }
  .cm-book-card .project-book-cover { align-items: center; justify-content: center; min-height: 54px; }
  .cm-book-emoji { font-size: 34px; line-height: 1; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
  .cm-book-card .book-meta { flex-wrap: wrap; white-space: normal; row-gap: 4px; }
  .cm-book-card .proj-status { cursor: pointer; }
  .cm-book-card .cm-cross { padding: 2px 7px; border: 1px solid #e5e9e5; border-radius: 999px; background: #fff; color: #5d6a60; font-family: inherit; font-size: 9px; font-weight: 600; cursor: pointer; transition: .15s; }
  .cm-book-card .cm-cross:hover { color: var(--brand); border-color: var(--brand-tint); }
  .cm-card { background: #fff; border: 1px solid #f3f4f6; border-radius: 14px; overflow: hidden; cursor: pointer; transition: 0.15s; display: flex; flex-direction: column; }
  .cm-card:hover { border-color: var(--brand-tint); box-shadow: 0 8px 22px -12px rgba(var(--brand-rgb), 0.35); transform: translateY(-2px); }
  .cm-cover { height: 92px; background: linear-gradient(135deg, #1f2937, #374151); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; position: relative; }
  .cm-cover .cm-lock { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,0.38); color: #fff; }
  .cm-cover .cm-lock.ok { background: rgba(5,150,105,0.85); }
  .cm-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .cm-title { font-size: 14px; font-weight: 800; color: #1f2937; line-height: 1.45; }
  .cm-meta { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #9ca3af; flex-wrap: wrap; }
  .cm-author { display: inline-flex; align-items: center; gap: 6px; }
  .cm-avatar { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .cm-tags { display: flex; gap: 5px; flex-wrap: wrap; }
  .cm-tag { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: #f3f4f6; color: #6b7280; }
  .cm-intro { font-size: 12px; color: #6b7280; line-height: 1.65; max-height: 3.3em; overflow: hidden; }
  .cm-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid #f7f8fa; }
  .cm-cost { font-size: 14px; font-weight: 800; color: var(--brand); }
  .cm-cost small { font-weight: 600; font-size: 10.5px; color: #9ca3af; }
  .cm-unlocked { font-size: 11.5px; font-weight: 700; color: #059669; display: inline-flex; align-items: center; gap: 4px; }
  .cm-detail-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
  .cm-detail-cover { width: 96px; height: 96px; border-radius: 14px; background: linear-gradient(135deg, #1f2937, #374151); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .cm-shot-list { display: flex; flex-direction: column; border: 1px solid #f3f4f6; border-radius: 12px; overflow: hidden; background: #fff; }
  .cm-shot { display: flex; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #f7f8fa; font-size: 12.5px; }
  .cm-shot:last-child { border-bottom: none; }
  .cm-shot .cs-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--brand); font-weight: 700; width: 32px; flex-shrink: 0; padding-top: 2px; }
  .cm-shot .cs-time { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #9ca3af; width: 46px; flex-shrink: 0; padding-top: 2px; }
  .cm-shot .cs-desc { color: #4b5563; line-height: 1.75; min-width: 0; }
  .cm-shot .cs-desc b { color: #1f2937; font-weight: 700; }
  .cm-note { background: #fafafa; border-radius: 12px; padding: 14px 16px; font-size: 12.5px; color: #6b7280; line-height: 1.85; margin-top: 14px; }
  .cm-note b { color: var(--brand); }
    .insp-card {
    background: #fff; border-radius: 14px; padding: 18px; cursor: pointer;
    border: 1px solid #eef0f4; transition: 0.18s; position: relative;
  }
  .insp-card:hover { transform: translateY(-2px); border-color: var(--brand-tint); box-shadow: 0 10px 24px -12px rgba(var(--brand-rgb),0.3); }
  .insp-card .tag { display: inline-block; font-size: 10px; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 10px; font-weight: 700; margin-bottom: 8px; }
  .insp-card h4 { font-size: 15px; font-weight: 800; color: #1f2937; margin-bottom: 6px; }
  .insp-card p { font-size: 12.5px; color: #6b7280; line-height: 1.65; }
  .insp-card.selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),0.12); }
  .insp-card.selected::after {
    content: "✓ 已选择"; position: absolute; top: 12px; right: 14px;
    font-size: 10px; font-weight: 700; color: var(--brand); background: var(--brand-soft);
    padding: 2px 8px; border-radius: 10px;
  }
  .context-menu, .add-track-menu {
    position: fixed; display: none; background: #fff; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); border: 1px solid #f3f4f6;
    padding: 4px; z-index: 1000; min-width: 150px;
  }
  .context-menu.show, .add-track-menu.show { display: block; }
  .context-menu button, .add-track-menu button {
    display: flex; align-items: center; gap: 8px;
    width: 100%; text-align: left; border: none; background: transparent;
    padding: 7px 12px; font-size: 12px; color: #4b5563; cursor: pointer;
    border-radius: 6px; font-family: inherit; transition: 0.15s;
  }
  .context-menu button:hover, .add-track-menu button:hover { background: var(--brand-soft); color: var(--brand); }
  .context-menu button.danger { color: #dc2626; }
  .context-menu button.danger:hover { background: #fef2f2; color: #dc2626; }
  /* 项目行右键菜单 */
  .proj-ctx { min-width: 216px; padding: 6px; }
  .proj-ctx .ctx-title {
    font-size: 10px; font-weight: 700; color: #9ca3af;
    letter-spacing: 0.08em; padding: 4px 8px 6px;
  }
  /* 状态三项左右一排（并排的胶囊，当前状态高亮） */
  .proj-ctx .ctx-status-row { display: flex; gap: 4px; padding: 0 4px 2px; }
  .proj-ctx .ctx-status-row button {
    flex: 1; width: auto; justify-content: center; text-align: center;
    font-size: 11.5px; font-weight: 600; padding: 7px 2px;
    background: #f9fafb; color: #6b7280; border: 1px solid transparent;
  }
  .proj-ctx .ctx-status-row button:hover { background: var(--brand-soft); color: var(--brand); }
  .proj-ctx .ctx-status-row button.active {
    background: var(--brand-soft); color: var(--brand); border-color: var(--brand-tint);
  }
  .proj-ctx .ctx-status-row button.active[data-st="done"] { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
  .proj-ctx .ctx-status-row button.active[data-st="archived"] { background: #f3f4f6; color: #4b5563; border-color: #d1d5db; }
  .proj-ctx .ctx-sep { height: 1px; background: #f3f4f6; margin: 6px 4px; }
  .add-track-menu .menu-title { font-size: 10px; color: #9ca3af; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 6px 10px 8px; }
  .add-track-menu .template-name { font-size: 12.5px; font-weight: 600; color: #1f2937; }
  .add-track-menu .template-desc { font-size: 10px; color: #9ca3af; margin-top: 1px; }
  .color-picker {
    position: fixed; display: none; background: #fff; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); border: 1px solid #f3f4f6;
    padding: 8px; z-index: 1001; grid-template-columns: repeat(4, 1fr); gap: 6px;
  }
  .color-picker.show { display: grid; }
  .color-picker .color-swatch { width: 24px; height: 24px; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: 0.15s; }
  .color-picker .color-swatch:hover { transform: scale(1.15); border-color: var(--brand); }
  /* 节拍右键菜单：颜色行 */
  .ctx-bar-menu { min-width: 176px; }
  .ctx-bar-menu .ctx-title { font-size: 10px; font-weight: 700; color: #9ca3af; letter-spacing: 0.08em; padding: 4px 8px 6px; }
  .ctx-bar-menu .ctx-color-row { display: flex; gap: 7px; padding: 0 8px 8px; }
  .ctx-bar-menu .ctx-swatch { width: 24px; height: 24px; border-radius: 7px; border: none; cursor: pointer; padding: 0; transition: transform 0.15s, box-shadow 0.15s; }
  .ctx-bar-menu .ctx-swatch:hover { transform: scale(1.14); }
  .ctx-bar-menu .ctx-swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
  .ctx-bar-menu .ctx-sep { height: 1px; background: #f3f4f6; margin: 0 4px 6px; }
  .ctx-tl-menu { min-width: 196px; }
  .ctx-tl-menu .ctx-title { font-size: 10px; font-weight: 700; color: #9ca3af; letter-spacing: 0.08em; padding: 4px 8px 6px; }
  .ctx-tl-menu .ctx-sep { height: 1px; background: #f3f4f6; margin: 4px 4px; }
  .ctx-tl-menu button { justify-content: space-between; }
  .ctx-tl-menu button .ctx-sub { font-size: 10px; color: #9ca3af; font-weight: 500; }
  /* ============ 移动端适配 ============ */
@media (max-width: 820px) {
  html, body { overflow: auto; height: auto; }
  .app { flex-direction: column; height: auto; min-height: 100vh; }
  .app:not(.editor-active) { padding-top: 54px; }

  /* Mobile top row: menu toggle, brand, subscription, and avatar. */
  .sidebar {
    width: 100% !important; min-width: 0 !important;
    height: 54px; min-height: 54px; flex-direction: column; align-items: stretch;
    border-right: none; border-bottom: 1px solid #e5e7eb;
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; overflow: visible;
    background: #f3f4f4;
  }
  .sidebar-header { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 7px 12px; min-height: 54px; }
  .mobile-menu-toggle {
    width: 36px; height: 36px; flex: 0 0 36px; display: inline-flex;
    align-items: center; justify-content: center; padding: 0;
    border: 1px solid #d9dddc; border-radius: 10px; background: #fff;
    color: #4b5563; cursor: pointer;
  }
  .mobile-menu-toggle svg { width: 19px; height: 19px; }
  .sidebar .logo { font-size: 18px; }
  .sidebar .logo-sub { display: none; }
  .collapse-btn { display: none; }
  .mobile-nav-backdrop {
    display: none; position: fixed; inset: 54px 0 0; z-index: 101;
    width: 100%; padding: 0; border: 0; background: rgba(15, 23, 42, .38);
  }
  .sidebar-nav {
    display: flex; position: fixed; top: 60px; bottom: auto; left: 10px; z-index: 102;
    width: min(68vw, 220px); max-height: min(68dvh, 520px); flex: none;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 3px;
    overflow-x: hidden; overflow-y: auto; padding: 10px;
    background: #f3f4f4; border: 1px solid #d9dddc; border-radius: 14px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .22);
    transform: translate(-8px, -6px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .sidebar.mobile-menu-open .mobile-nav-backdrop { display: block; }
  .sidebar.mobile-menu-open .sidebar-nav {
    transform: translate(0, 0); opacity: 1; visibility: visible; pointer-events: auto;
  }
  .sidebar-nav > button,
  .sidebar-nav > button.btn-new-script {
    width: 100%; min-width: 0; flex: 0 0 auto; justify-content: flex-start;
    margin: 0 0 2px; padding: 11px 12px; gap: 10px; font-size: 14px;
  }
  .sidebar-nav > button.btn-new-script { margin-bottom: 8px; }
  .sidebar-bottom {
    position: absolute; top: 7px; right: 10px; height: 40px;
    display: flex; align-items: center; gap: 8px; border: 0; background: transparent;
  }
  .sidebar-nav > button .nav-text { flex: 1; }
  .sidebar-nav .nav-bonus { display: none; }
  .sidebar-bottom-nav { flex: 0 0 auto; padding: 0; }
  .sidebar-bottom-nav > #nav-pricing { width: auto; min-width: 0; padding: 6px 9px; margin: 0; }
  .sidebar-footer { flex: 0 0 auto; min-width: 0; padding: 0; border: 0; }
  .user-row { gap: 0; }
  .user-avatar { width: 34px; height: 34px; }
  .user-info, .ai-badge { display: none; }

  /* 内容区 */
  .content { width: 100%; min-width: 0; flex: none; padding: 12px; height: auto; overflow: visible; }
  .view { flex: none; height: auto; min-height: 0; }
  .view.active { display: flex; }
  .project-book-grid { flex: none; min-height: 0; overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 8px 2px 20px; }
  /* 窄屏（≤820px）三列时卡片只有 150~260px 宽，按书封比例高度有限：
     字号、内边距、封面一起收一档，梗概才放得下几行（≤480px 有更小的一套，见下） */
  .project-book-card { padding: 8px; }
  .project-book-title { margin-bottom: 6px; font-size: 14px; line-height: 1.3; }
  .book-category { font-size: 8.5px; letter-spacing: 0; }
  .project-book-cover { min-height: 18px; margin: 4px 0 6px; }
  .book-synopsis { font-size: 10px; line-height: 1.6; }
  .book-meta { font-size: 8.5px; }

  /* 编辑器头部折行 */
  .app.editor-active > .sidebar { display: none; }
  .app.editor-active > .content { padding-top: 0; }
  .app.editor-active #editorView .editor-header {
    position: fixed; top: 0; left: 0; right: 0; width: 100%; box-sizing: border-box;
    z-index: 80; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto;
    align-items: center; gap: 6px 8px; margin: 0; padding: 8px 10px;
    background: #fff; border-bottom: 1px solid #e5e7eb;
  }
  .app.editor-active #editorView { padding-top: var(--mobile-editor-header-stack, 61px); }
  .app.editor-active #editorView .editor-header > button { grid-column: 1; grid-row: 1; white-space: nowrap; }
  .app.editor-active #editorView .editor-title-input {
    grid-column: 2; grid-row: 1; width: 100%; min-width: 0; font-size: 16px; line-height: 1.3;
  }
  .app.editor-active #editorView .editor-header > div.editor-actions-wrap { grid-column: 3; grid-row: 1; width: auto; }
  .editor-actions-wrap { position: relative; }
  .mobile-editor-menu-toggle { display: none; }
  .editor-title-input { font-size: 16px; }

  /* 编辑器 + 右栏 → 上下堆叠 */
  .editor-layout { display: flex; flex-direction: column; flex: none; min-height: 0; gap: 12px; }
  .app.editor-active .editor-layout { gap: 0; }
  .editor-main { height: max(calc(100svh + 120px), 760px); min-height: 760px; flex: none; }
  .side-panel { width: 100%; height: auto; min-height: 400px; flex: none; }

  /* 大纲压缩高度 */
  .outline-nav { height: auto !important; }
  .outline-scroll { max-height: 160px; }
  .outline-zoom-float { position: static; height: auto; padding: 6px 12px; background: #fafafa; }

  /* 避免 iOS 聚焦可编辑文本时自动放大页面 */
  .screenplay-page, .screenplay-page .script-block { font-size: 16px !important; }

  /* 剧本页：收紧内边距 */
  .screenplay-scroll { min-height: 70vh; overflow-x: hidden; }
  .app.editor-active .screenplay-scroll { min-height: 0; max-height: none; flex: 1 1 auto; scroll-padding-top: 10px; overscroll-behavior: contain; }
  .app.editor-active #screenplayPage .script-block { scroll-margin-top: 10px; }
  .app.editor-active .outline-nav:not(.collapsed-outline) { height: min(150px, 21svh) !important; }
  .app.editor-active .outline-scroll { min-height: 0; }
.screenplay-page,
.screenplay-page.format-hollywood {
    width: 100% !important; max-width: none !important; min-width: 0 !important;
    box-sizing: border-box !important; margin: 0 !important; padding: 24px 42px 48px 44px !important;
  }
  .screenplay-page { font-size: 11pt; }
  .page-break { display: block !important; visibility: visible !important; opacity: 1 !important; height: 1px; min-height: 1px; background: #8a948b; border: 0; border-top: 1px solid #aab2aa; box-shadow: 0 1px 0 rgba(20,30,20,.08); margin: 18px -18px 18px -44px; flex: 0 0 1px; }
  .screenplay-page.format-hollywood .script-block[data-type="character"] { margin-left: 15%; margin-right: 0; }
  .screenplay-page.format-hollywood .script-block[data-type="dialogue"] { margin-left: 8%; margin-right: 5%; }
  .screenplay-page.format-hollywood .script-block[data-type="parenthetical"] { margin-left: max(0px, calc(12% - 19.2px)); margin-right: calc(8% + 19.2px); }
  /* 移动端页边距变窄，序号回到贴近正文，避免被裁掉 */
  .scene-heading-row .scene-num.left { left: auto; right: calc(100% + 12px); width: auto; }
  .scene-heading-row .scene-num.right { right: auto; left: calc(100% + 12px); width: auto; }

  /* 标题右侧收纳视图、分析和导出操作 */
  .app.editor-active #editorView .editor-header > div.editor-actions-wrap { width: auto; }
  .mobile-editor-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    min-height: 36px; padding: 6px 10px; border: 1px solid #e5e9e5; border-radius: 11px;
    background: linear-gradient(180deg, #fff 0%, #f7f9f7 100%); color: #405245;
    box-shadow: 0 2px 5px rgba(24,34,27,.07); font-family: inherit; font-size: 12px; font-weight: 650; white-space: nowrap;
  }
  .mobile-editor-menu-toggle:active { transform: translateY(1px); background: #eef3ee; }
  .mobile-menu-caret { color: #849085; font-size: 13px; line-height: 1; }
  .editor-actions-menu { display: none !important; }
  .editor-actions-wrap.open .editor-actions-menu {
    position: absolute; top: calc(100% + 7px); right: 0; z-index: 90;
    display: flex !important; flex-direction: column; align-items: stretch !important; gap: 4px !important;
    width: min(84vw, 280px); padding: 9px; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 12px; box-shadow: 0 12px 30px rgba(15,23,42,.18);
  }
  .editor-actions-menu .view-tabs { display: flex; width: 100%; }
  .editor-actions-menu .view-tabs button { flex: 1; }
  .editor-actions-menu .hdr-divider { display: none; }
  .editor-actions-menu .dropdown { width: 100%; }
  .editor-actions-menu .dropdown-content { position: static; inset: auto; width: 100%; min-width: 0; margin-top: 4px; box-shadow: none; border-radius: 9px; }

  /* 工具栏横向滚动 */
  .app.editor-active .editor-main {
    box-sizing: border-box; overflow: hidden; height: calc(100dvh - var(--mobile-editor-header-stack, 61px)); min-height: 0;
    padding-top: calc(var(--mobile-toolbar-stack, 38px) + var(--mobile-outline-stack, 170px));
  }
  .app.editor-active .screenplay-toolbar {
    position: fixed; top: calc(var(--mobile-editor-header-stack, 61px) + var(--mobile-outline-stack, 170px)); left: 0; right: 0; z-index: 79;
    display: flex; align-items: center; flex-wrap: nowrap; overflow-x: auto; gap: 4px;
    box-sizing: border-box; width: 100%; background: #fff; scrollbar-width: none;
  }
  .screenplay-toolbar::-webkit-scrollbar { display: none; }
  .app.editor-active .outline-nav {
    position: fixed; top: var(--mobile-editor-header-stack, 61px); left: 0; right: 0;
    z-index: 78; background: #fff; box-shadow: 0 2px 7px rgba(15,23,42,.07);
  }
  .screenplay-toolbar { padding: 4px 6px; gap: 3px; min-height: 0; }
  .screenplay-toolbar button { padding: 3px 6px; font-size: 10px; line-height: 1.15; flex-shrink: 0; }
  .screenplay-toolbar .toolbar-section-label { font-size: 10px; }
  .screenplay-toolbar > .divider-v { display: none; }
  /* 编辑页锁定外层，只让当前文本/卡片/分镜内容区滚动 */
  .app.editor-active { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: hidden; }
  .app.editor-active > .content { position: absolute; inset: 0; width: 100%; height: 100dvh; min-height: 0; overflow: hidden; padding: 0; }
  .app.editor-active #editorView { box-sizing: border-box; display: flex; flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
  .app.editor-active .editor-layout { flex: 1 1 auto; height: 100%; min-height: 0; overflow: hidden; }
  .app.editor-active .editor-main { flex: 1 1 auto; height: 100%; min-height: 0; }
  .app.editor-active .screenplay-scroll,
  .app.editor-active #canvasView,
  .app.editor-active #shotView { min-height: 0; max-height: none; overflow: auto; overscroll-behavior: contain; }
  .editor-actions-menu { max-height: min(72dvh, 620px); overflow-y: auto; overscroll-behavior: contain; }
  .editor-actions-menu .side-panel { display: flex !important; flex: 0 0 auto; flex-direction: column; width: 100%; height: auto !important; min-height: 0 !important; max-height: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .editor-actions-menu .side-panel .panel-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .editor-actions-menu .side-panel .panel-body { display: block; flex: 0 0 auto; min-height: 0; max-height: 280px; overflow: auto; }
  .editor-actions-menu .side-panel .panel-body.syno-mode { height: auto; max-height: none; overflow: visible; padding-bottom: 8px; border-bottom: 1px solid #e8ece8; }
  .editor-actions-menu .side-panel .panel-body.syno-mode .synopsis-textarea { display: block; height: auto; min-height: 112px; max-height: none; overflow: hidden; resize: none; font-size: 16px; }
  .editor-actions-menu .side-panel > .panel-header.no-border { border-top: 0; }
  .editor-actions-menu .side-panel .side-panel-divider,
  .editor-actions-menu .side-panel .side-collapse-btn,
  .editor-actions-menu .side-panel .side-expand-btn { display: none !important; }
  .editor-actions-menu .side-panel > .panel-header.no-border { border-top: 1px solid #e8ece8; padding: 10px 4px 6px; }
  .editor-actions-menu .side-panel .ai-chat { flex: 0 0 auto; min-height: 0; }
  .editor-actions-menu .side-panel .ai-chat-msgs { min-height: 60px; max-height: 150px; }
  .editor-actions-menu .side-panel .ai-chat-input textarea { font-size: 16px; }
  #screenplayToolbarHome, #sidePanelHome { display: none; }

  /* 手机编辑区隐藏快捷键提示和页面缩放条 */
  .screenplay-hint-row { display: none; }

  /* 各种网格改单列 */
  .knowledge-grid,
  .structure-grid,
  .kanban,
  .pricing-grid,
  .adapt-grid { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: repeat(2, 1fr); }
  .lifetime-info ul { grid-template-columns: 1fr; }
  .lifetime-buy { min-width: 100%; }

  /* 标题右侧搜索；状态筛选和卡片/列表保持原来的同一排 */
  .proj-head { display: block; margin-bottom: 8px; }
  .proj-title-search { position: sticky; top: 54px; z-index: 55; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 10px 8px; margin-bottom: 8px; background: #fff; }
  .proj-head .page-title { flex: 0 0 auto; margin: 0; white-space: nowrap; }
  .proj-toolbar { display: flex; align-items: center; flex-wrap: nowrap; width: 100%; gap: 7px; padding: 0 10px; }
  .proj-search { flex: 0 1 150px; min-width: 0; }
  .proj-search input { width: 100%; }
  .proj-filter { flex: 1 1 auto; min-width: 0; margin: 0; }
  .proj-filter button { flex: 1 1 0; min-width: 0; padding: 5px 2px; font-size: 9.5px; }
  .proj-view-toggle { flex: 0 0 auto; margin: 0 0 0 auto; padding: 2px; gap: 1px; }
  .proj-view-toggle button { gap: 3px; padding: 5px 5px; font-size: 9.5px; }
  .proj-view-toggle button svg { width: 13px; height: 13px; }
  .proj-table { width: 100%; min-width: 0; table-layout: fixed; }
  .proj-table colgroup col:nth-child(1) { width: 52% !important; }
  .proj-table colgroup col:nth-child(2) { width: 24% !important; }
  .proj-table colgroup col:nth-child(6) { width: 24% !important; }
  .proj-table colgroup col:nth-child(3),
  .proj-table colgroup col:nth-child(4),
  .proj-table colgroup col:nth-child(5) { display: none; }
  .proj-table th:nth-child(3), .proj-table td:nth-child(3),
  .proj-table th:nth-child(4), .proj-table td:nth-child(4),
  .proj-table th:nth-child(5), .proj-table td:nth-child(5) { display: none; }
  .proj-table th, .proj-table td { padding: 9px 8px; }
  .proj-table td:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .proj-table-wrap { width: 100%; min-width: 0; overflow: hidden; flex: none; max-height: 70vh; }

  /* 分镜表格横向滚动 */
  .shot-table-wrap { overflow-x: auto; }
  .shot-table { min-width: 1120px; }
  .proj-table-wrap { overflow: hidden; }
  .editor-header > div { max-width: 100%; flex-wrap: wrap; }
}

/* ============ 手机细档（≤480px）：进一步收紧间距与字号 ============ */
@media (max-width: 480px) {
  :root { --outline-label-w: 76px; }
  .ruler-spacer, .outline-track-label { width: var(--outline-label-w); min-width: var(--outline-label-w); font-size: 10.5px; }

  /* 顶部导航更紧凑 */
  .sidebar .logo { font-size: 16px; }
  .sidebar-bottom { right: 8px; gap: 6px; }
  .sidebar-nav > button,
  .sidebar-nav > button.btn-new-script { padding: 7px 3px; gap: 4px; font-size: 11px; }
  .content { padding: 10px; }
  .page-title { font-size: 22px; }
  .user-plan { display: none; }
  .sidebar-footer { padding-right: 8px; }
  .sidebar-bottom-nav > #nav-pricing { padding: 6px 7px; font-size: 12px; }
  .project-book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 8px 1px 18px; }
  .project-book-card { padding: 6px; aspect-ratio: .76 / 1; }
  .project-book-title { margin-bottom: 5px; font-size: 12px; line-height: 1.3; }
  .book-category { font-size: 8px; letter-spacing: 0; }
  .project-book-cover { min-height: 14px; margin: 3px 0 4px; }
  .book-synopsis { min-height: 0; margin: 0; font-size: 9px; line-height: 1.35; }
  .book-meta { display: none; }
  .book-bottom-row { justify-content: flex-end; padding-top: 4px; }
  .project-book-info .proj-status { padding: 3px 5px; font-size: 8px; }

  /* 编辑器 */
  .editor-title-input { font-size: 16px; }
  .toolbar-stats { display: none; }
  .outline-scroll { max-height: 130px; }

  /* 剧本页 */
  .screenplay-page { padding: 20px 42px 40px 44px; font-size: 10.5pt; }
  .page-break { display: block !important; visibility: visible !important; opacity: 1 !important; width: auto; height: 1px; min-height: 1px; flex: 0 0 1px; background: #8a948b; border: 0; border-top: 1px solid #aab2aa; box-shadow: 0 1px 0 rgba(20,30,20,.08); margin: 16px -14px 16px -44px; }
  .screenplay-toolbar button { padding: 4px 6px; }

  /* 卡片 / 分镜 */
  #canvasView, #shotView { padding: 10px; }
  .canvas-toolbar { flex-wrap: nowrap; align-items: center; gap: 6px; margin-bottom: 9px; }
  .canvas-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .canvas-group-pick { flex: 0 0 auto; margin-left: auto; gap: 5px; padding: 4px 6px 4px 8px; }
  .canvas-group-pick .pick-label { font-size: 10px; }
  .canvas-group-pick .pick-icon svg { width: 11px; height: 11px; }
  .canvas-group-pick select { max-width: 88px; font-size: 11px; }
  .canvas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .canvas-card { aspect-ratio: 1 / 1; padding: 8px; justify-content: flex-start; }
  .canvas-card h4 { display: -webkit-box; -webkit-line-clamp: 3; font-size: 11px; line-height: 1.4; }
  .canvas-card .card-body { display: none; }
  .canvas-group-row { padding: 8px 7px 9px; margin: 0 -8px 10px; }
  .canvas-group-head { gap: 6px; margin-bottom: 7px; }
  .canvas-group-head .g-name { font-size: 11px; }
  .canvas-group-head .g-count { font-size: 9px; }
  .shot-table { min-width: 720px; }
  .editor-header { align-items: flex-start; }
  .editor-header .btn { padding: 7px 9px; }
  .view-tabs-label { display: none; }

  /* 弹窗贴边全宽 */
  .modal-content { width: 100%; max-width: calc(100vw - 20px); padding: 18px 16px; max-height: 92vh; }

  /* 网格全部单列 */
  .credit-grid { grid-template-columns: 1fr; }
  .lifetime-info ul { grid-template-columns: 1fr; }
}

/* ============ 平板档（821–1100px）：桌面布局的紧凑变体 ============ */
@media (min-width: 821px) and (max-width: 1100px) {
  .sidebar { width: 220px; min-width: 220px; }
  .sidebar-header { padding: 16px 14px 12px; }
  .content { padding: 20px 22px; }
  .editor-layout { grid-template-columns: 1fr 240px; gap: 14px; }
  .credit-grid { grid-template-columns: repeat(2, 1fr); }
  /* 右栏变窄后 tab 保持单行不折字 */
  .side-panel .panel-tabs { flex-wrap: nowrap; }
  .side-panel .panel-tab { white-space: nowrap; padding: 5px 7px; }
}

/* 平板窄档（821–960px）：多列网格降列，避免挤压 */
@media (min-width: 821px) and (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .structure-grid { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
  /* ==================== 登录 / 注册 弹窗（#authModal） ==================== */
  .auth-modal {
    background: rgba(0,0,0,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 9500;
    --a-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='3'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E");
    --a-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.3-2.9 7.7-7 9-4.1-1.3-7-4.7-7-9V6l7-3z'/%3E%3Cpath d='M9.2 12.2l2 2 3.6-3.9'/%3E%3C/svg%3E");
  }
  .auth-content {
    display: grid; grid-template-columns: 4fr 3fr;
    width: 1000px; min-height: 565px; max-width: 94vw; max-height: 92vh;
    background: #fff; border-radius: 20px; overflow: hidden; position: relative;
    box-shadow: 0 30px 80px rgba(23,20,80,0.30);
    animation: authPop 0.22s cubic-bezier(0.2,0.9,0.3,1.15);
  }
  @keyframes authPop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }

  /* —— 左：品牌面板 —— */
  .auth-brand {
    position: relative; overflow: hidden; color: #fff; padding: 34px 34px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    background: linear-gradient(152deg, var(--brand-deep) 0%, var(--brand) 44%, var(--brand-2) 100%);
  }
  .auth-brand::before {
    content: ""; position: absolute; inset: 0; opacity: 0.45; pointer-events: none;
    background: radial-gradient(420px 260px at 10% 6%, rgba(255,255,255,0.24), transparent 62%),
                radial-gradient(360px 300px at 92% 96%, rgba(255,255,255,0.16), transparent 64%);
  }
  .auth-brand::after {
    content: ""; position: absolute; inset: 0; opacity: 0.3; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(120% 90% at 16% 0%, #000 28%, transparent 74%);
            mask-image: radial-gradient(120% 90% at 16% 0%, #000 28%, transparent 74%);
  }
  .auth-brand > * { position: relative; z-index: 1; }
  .ab-top { display: flex; align-items: center; gap: 10px; }
  .ab-mark {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28);
  }
  .ab-mark svg { width: 20px; height: 20px; }
  .ab-name { font-weight: 900; font-size: 20.5px; letter-spacing: 0.4px; }
  .ab-tag { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 1.1px; }
  /* —— 左栏推广轮播：自动左右滑动 —— */
  .ab-slider { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  /* 左右切换按钮：仅当鼠标移到左栏时才出现，只保留箭头符号 */
  .ab-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 36px; height: 36px; padding: 0; border: none; background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; opacity: 0; pointer-events: none;
    -webkit-filter: drop-shadow(0 1px 3px rgba(0,0,0,0.32));
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.32));
    transition: opacity 0.22s ease, transform 0.18s ease;
  }
  .auth-brand:hover .ab-nav { opacity: 0.9; pointer-events: auto; }
  .ab-nav:hover { opacity: 1; transform: translateY(-50%) scale(1.14); }
  .ab-nav:focus-visible { opacity: 1; pointer-events: auto; outline: none; }
  .ab-nav svg { width: 26px; height: 26px; display: block; }
  .ab-nav-prev { left: 6px; }
  .ab-nav-next { right: 6px; }
  .ab-track { flex: 1; display: flex; transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .ab-slide { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
  .ab-slide h2 { font-size: 28px; line-height: 1.34; font-weight: 800; letter-spacing: -0.3px; }
  .ab-slide h2 em {
    font-style: normal; background: linear-gradient(90deg,#fff,#cdeeff);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .ab-dots { display: flex; gap: 7px; margin-top: 2px; flex-shrink: 0; }
  .ab-dots button { width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
    background: rgba(255,255,255,0.35); transition: 0.25s; }
  .ab-dots button.active { width: 20px; background: #fff; }
  .ab-visual {
    border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  }
  .abv-chip {
    align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.28);
  }
  .abv-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.28); }
  .abv-line.head { height: 10px; background: rgba(255,255,255,0.55); }
  .abv-line.w60 { width: 60%; } .abv-line.w75 { width: 75%; }
  .abv-line.w84 { width: 84%; } .abv-line.w90 { width: 90%; }
  .abv-line.ai { background: rgba(255,255,255,0.16); position: relative; overflow: hidden; }
  .abv-line.ai::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: abvShimmer 1.6s infinite;
  }
  @keyframes abvShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
  .abv-chart { width: 100%; height: 64px; display: block; }
  .abv-tags { display: flex; gap: 6px; flex-wrap: wrap; }
  .abv-tags span { font-size: 10.5px; padding: 3px 9px; border-radius: 999px;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); }
  .abv-cards { display: flex; gap: 8px; }
  .abv-card {
    flex: 1; min-width: 0; border-radius: 10px; padding: 9px 8px;
    display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
  }
  .abv-card span { font-size: 16px; }
  .abv-card b { font-size: 11px; font-weight: 700; color: #fff; max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .abv-card i { font-style: normal; font-size: 9.5px; color: rgba(255,255,255,0.7); }
  .ab-foot { font-size: 11px; color: rgba(255,255,255,0.62); letter-spacing: 0.3px; }

  /* —— 右：表单面板 —— */
  .auth-pane {
    position: relative; display: flex; flex-direction: column; justify-content: center;
    gap: 0; padding: 36px 32px 28px; overflow-y: auto; background: #fff;
  }
  /* 右栏底部：社交登录与表单保持固定间距，不撑开 */
  .auth-pane-foot { margin-top: 26px; }
  .auth-close {
    position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 9px;
    border: none; background: transparent; color: #9ca3af; font-size: 15px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit;
  }
  .auth-close:hover { background: #f3f4f6; color: #1f2937; }
  .auth-head { margin-bottom: 14px; }
  .auth-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; color: #1f2937; }
  .auth-head p { font-size: 13px; color: #6b7280; margin-top: 6px; line-height: 1.6; }
  .auth-field { margin-top: 19px; }
  .auth-field:first-of-type { margin-top: 19px; }
  .auth-field > label { display: block; font-size: 12px; font-weight: 600; color: #4b5563; margin-bottom: 6px; }
  .auth-control { position: relative; display: flex; align-items: center; }
  .auth-control input {
    width: 100%; height: 48px; padding: 0 44px 0 40px; font-size: 14.5px; font-family: inherit;
    color: #1f2937; background: #fff; border: 1px solid #e5e7eb; border-radius: 11px; outline: none; transition: 0.16s;
  }
  .auth-control input::placeholder { color: #b6bcc7; }
  .auth-control input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14); }
  .auth-field.has-error .auth-control input { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.10); }
  .auth-lead {
    position: absolute; left: 12px; width: 17px; height: 17px; pointer-events: none;
    background-color: #9ca3af; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center; -webkit-mask-size: 17px; mask-size: 17px;
    -webkit-transition: background-color 0.16s; transition: background-color 0.16s;
  }
  .auth-control input:focus ~ .auth-lead { background-color: var(--brand); }
  .auth-lead-phone { -webkit-mask-image: var(--a-i-phone); mask-image: var(--a-i-phone); }
  .auth-lead-shield { -webkit-mask-image: var(--a-i-shield); mask-image: var(--a-i-shield); }
  .auth-code-btn {
    position: absolute; right: 5px; height: 34px; padding: 0 10px; border-radius: 9px;
    border: 1px solid var(--brand-border); background: var(--brand-soft); color: var(--brand);
    font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; transition: 0.15s; white-space: nowrap;
  }
  .auth-code-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
  .auth-code-btn:disabled { opacity: 0.55; cursor: not-allowed; background: #f3f4f6; color: #9ca3af; border-color: #e5e7eb; }
  .auth-err { display: none; font-size: 11.5px; color: #dc2626; margin-top: 6px; }
  .auth-field.has-error .auth-err { display: block; }
  @keyframes authShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
  .auth-shake { animation: authShake 0.3s; }
  .auth-terms { margin-top: 14px; text-align: center; font-size: 11.5px; color: #9ca3af; line-height: 1.65; }
  .auth-link { font-size: 12.5px; color: #374151; font-weight: 600; cursor: pointer; }
  .auth-link:hover { text-decoration: underline; }
  .auth-submit {
    width: 100%; height: 50px; border: none; border-radius: 11px; font-size: 15.5px; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 22px rgba(var(--brand-rgb), 0.28); cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.18s;
  }
  .auth-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
  .auth-submit:active { transform: translateY(0); }
  .auth-submit:disabled { opacity: 0.75; cursor: progress; transform: none; }
  .auth-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; border-radius: 50%; animation: authSpin 0.7s linear infinite; }
  @keyframes authSpin { to { transform: rotate(360deg); } }
  .auth-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: #9ca3af; font-size: 12px; }
  .auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #f1f2f6; }
  .auth-socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 0; }
  .auth-socials button {
    height: 42px; border-radius: 11px; border: 1px solid #e5e7eb; background: #fff;
    display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px;
    color: #6b7280; font-weight: 600; cursor: pointer; transition: 0.15s; font-family: inherit;
  }
  .auth-socials button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
  .auth-socials svg { width: 17px; height: 17px; }
  .auth-sv-wx { color: #22c55e; } .auth-sv-google { color: #4285f4; } .auth-sv-apple { color: #1f2937; }

  /* ==================== 全站门禁遮罩（#loginGate）：未登录时盖住整站 ==================== */
  .login-gate {
    position: fixed; inset: 0; z-index: 9400; display: none;
    align-items: center; justify-content: center; color: #fff;
    background: radial-gradient(120% 100% at 50% 0%, #1c1c1c 0%, #0d0d0d 62%, #050505 100%);
  }
  .login-gate.show { display: flex; }
  .lg-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px; }
  .lg-mark {
    width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 12px;
    background: linear-gradient(145deg, var(--brand), var(--brand-2)); box-shadow: 0 18px 46px rgba(var(--brand-rgb), .38);
  }
  .lg-mark svg { width: 30px; height: 30px; }
  .lg-name { font-size: 27px; font-weight: 900; letter-spacing: 1.4px; }
  .lg-sub { font-size: 13.5px; color: rgba(255,255,255,.62); letter-spacing: .4px; }
  /* 门禁期间锁定页面滚动、隐藏登录窗右上角关闭按钮（必须登录，不能关） */
  body.gate-locked { overflow: hidden; }
  body.gate-locked .auth-close { display: none; }

  /* —— 协议文档视图（点开《用户协议》/《隐私政策》） —— */
  .auth-doc { display: none; flex-direction: column; background: #fff; max-height: 92vh; }
  .auth-content.doc-open { display: block; }
  .auth-content.doc-open .auth-brand,
  .auth-content.doc-open .auth-pane { display: none; }
  .auth-content.doc-open .auth-doc { display: flex; }
  .doc-head {
    display: flex; align-items: center; gap: 12px; flex-shrink: 0;
    padding: 14px 16px 14px 18px; border-bottom: 1px solid #f1f2f6; background: #fff;
  }
  .doc-back {
    display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px;
    border: 1px solid #e5e7eb; background: #fff; border-radius: 9px; color: #4b5563;
    font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; transition: 0.15s; flex-shrink: 0;
  }
  .doc-back:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
  .doc-back svg { width: 14px; height: 14px; }
  .doc-tabs { display: flex; gap: 4px; padding: 4px; background: #f3f4f6; border-radius: 11px; margin-left: auto; }
  .doc-tabs button {
    border: none; background: transparent; color: #6b7280; font-size: 12.5px; font-weight: 600;
    padding: 7px 14px; border-radius: 8px; cursor: pointer; transition: 0.16s; font-family: inherit; white-space: nowrap;
  }
  .doc-tabs button.active { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(16,24,40,0.10); }
  .doc-close {
    width: 30px; height: 30px; border-radius: 9px; border: none; background: transparent;
    color: #9ca3af; font-size: 15px; line-height: 1; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-family: inherit;
  }
  .doc-close:hover { background: #f3f4f6; color: #1f2937; }
  .doc-body { flex: 1 1 auto; min-height: 0; padding: 6px 30px 26px; overflow-y: auto; overscroll-behavior: contain; }
  .doc-body h2 { font-size: 20px; font-weight: 800; color: #1f2937; letter-spacing: -0.2px; margin: 18px 0 6px; }
  .doc-meta { font-size: 11.5px; color: #9ca3af; margin-bottom: 14px; }
  .doc-body h3 {
    font-size: 14px; font-weight: 800; color: #1f2937; margin: 22px 0 8px;
    padding-left: 10px; border-left: 3px solid var(--brand); line-height: 1.3;
  }
  .doc-body p { font-size: 13px; color: #4b5563; line-height: 1.9; margin-bottom: 8px; }
  .doc-body ul { margin: 2px 0 10px; padding-left: 20px; }
  .doc-body li { font-size: 13px; color: #4b5563; line-height: 1.9; list-style: disc outside; }
  .doc-body strong { color: #1f2937; font-weight: 700; }
  .doc-note {
    margin: 20px 0 4px; padding: 11px 14px; border-radius: 10px;
    background: var(--brand-soft); color: var(--brand); font-size: 12px; line-height: 1.75;
  }

  /* 未登录时侧边栏用户区 */
  .user-avatar.guest { background: linear-gradient(135deg, #9ca3af, #cbd5e1); box-shadow: none; }
  html.dark-mode .user-avatar.guest { background: linear-gradient(135deg, #3b3b3b, #2a2a2a); color: #9a9a9a; }

  /* 轻提示 */
  .app-toast {
    position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 16px);
    background: #1f2937; color: #fff; font-size: 13px; font-weight: 600;
    padding: 11px 20px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.28);
    z-index: 1200; opacity: 0; pointer-events: none; transition: 0.24s; max-width: 86vw; text-align: center;
  }
  .app-toast.show { opacity: 1; transform: translate(-50%, 0); }
  .app-toast.error { background: #b91c1c; }
  html.dark-mode .app-toast { background: #eaeaea; color: #141414; }
  html.dark-mode .app-toast.error { background: #ef4444; color: #fff; }

  /* 云端同步状态小徽标 */
  .cloud-sync-badge {
    position: fixed; left: 50%; bottom: 76px; transform: translate(-50%, 10px);
    background: #eef2ff; color: #4f46e5; border: 1px solid #dfe4ff;
    font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
    z-index: 1201; opacity: 0; pointer-events: none; transition: 0.22s; white-space: nowrap;
  }
  .cloud-sync-badge.show { opacity: 1; transform: translate(-50%, 0); }
  .cloud-sync-badge.error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
  html.dark-mode .cloud-sync-badge { background: #232323; color: #a5b4fc; border-color: #333333; }
  html.dark-mode .cloud-sync-badge.error { background: #3b1d1d; color: #fca5a5; border-color: #5a2a2a; }

  /* 弹窗暗色 */
  html.dark-mode .doc-head { background: #141414; border-bottom-color: #282828; }
  html.dark-mode .doc-back { background: #1a1a1a; border-color: #303030; color: #d1d1d1; }
  html.dark-mode .doc-back:hover { background: #242424; border-color: var(--brand); color: var(--brand-accent); }
  html.dark-mode .doc-tabs { background: #1a1a1a; }
  html.dark-mode .doc-tabs button { color: #9a9a9a; }
  html.dark-mode .doc-tabs button.active { background: #242424; color: var(--brand-accent); box-shadow: none; }
  html.dark-mode .doc-close { color: #767676; }
  html.dark-mode .doc-close:hover { background: #242424; color: #eaeaea; }
  html.dark-mode .doc-body h2, html.dark-mode .doc-body h3, html.dark-mode .doc-body strong { color: #eaeaea; }
  html.dark-mode .doc-body p, html.dark-mode .doc-body li { color: #acacac; }
  html.dark-mode .doc-meta { color: #767676; }
  html.dark-mode .doc-note { background: #242424; color: var(--brand-accent); }

  /* 弹窗响应式 */
  @media (max-width: 760px) {
    .auth-content { grid-template-columns: 1fr; width: 420px; max-width: calc(100vw - 24px); max-height: 92vh; }
    .auth-brand { padding: 16px 18px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
    .auth-brand::after { display: none; }
    .ab-slider, .ab-foot, .ab-nav { display: none; }
    .auth-pane { padding: 22px 20px 18px; }
    .auth-close { top: 10px; right: 10px; }
  }
  @media (max-width: 420px) {
    .auth-socials button span { display: none; }
    .auth-pane { padding: 20px 16px 16px; }
    .doc-head { padding: 10px 10px; gap: 6px; }
    .doc-back { padding: 0 9px; }
    .doc-back span { display: none; }
    .doc-tabs { padding: 3px; }
    .doc-tabs button { padding: 6px 8px; font-size: 12px; }
    .doc-body { padding: 4px 16px 20px; }
  }

  /* ============ 夜间模式 ============ */
html.dark-mode { color-scheme: dark; }
html.dark-mode body { background: #0a0a0a; color: #d6d6d6; }
html.dark-mode .sidebar { background: #111111; border-right-color: #282828; }
html.dark-mode .sidebar-header { background: #111111; }
html.dark-mode .mobile-menu-toggle { background: #1a1a1a; border-color: #343434; color: #c9c9c9; }
html.dark-mode .logo-sub { color: #767676; }
html.dark-mode .collapse-btn { background: #1a1a1a; border-color: #282828; color: #9a9a9a; }
html.dark-mode .collapse-btn:hover { background: #242424; color: var(--brand-accent); border-color: var(--brand); }
html.dark-mode .sidebar-nav { background: #111111; border-top-color: #282828; }
html.dark-mode .sidebar-nav { box-shadow: 12px 0 30px rgba(0,0,0,.36); }
html.dark-mode .sidebar-nav > button { color: #9a9a9a; }
html.dark-mode .sidebar-nav > button:hover { background: #1a1a1a; color: var(--brand-accent); }
html.dark-mode .sidebar-nav > button.active { background: #242424; color: var(--brand-tint); }
html.dark-mode .sidebar-bottom { border-top-color: #282828; }
html.dark-mode .sidebar-bottom-nav button { color: #9a9a9a; }
html.dark-mode .sidebar-bottom-nav button:hover { background: #1a1a1a; color: var(--brand-accent); }
html.dark-mode .sidebar-bottom-nav button.active { background: #242424; color: var(--brand-tint); }
html.dark-mode .sidebar-footer { border-top-color: #282828; }
html.dark-mode .user-name { color: #d6d6d6; }
html.dark-mode .user-plan { color: #767676; }
html.dark-mode .ai-badge { background: #242424; color: var(--brand-accent); }
html.dark-mode .user-menu { background: #1a1a1a; border-color: #282828; box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
html.dark-mode .user-menu .menu-header { border-bottom-color: #282828; }
html.dark-mode .user-menu .menu-header .m-name { color: #e5e7eb; }
html.dark-mode .user-menu button { color: #9a9a9a; }
html.dark-mode .user-menu button:hover { background: #242424; color: var(--brand-accent); }
html.dark-mode .user-menu .theme-block { border-top-color: #282828; }
html.dark-mode .user-menu .theme-options button, html.dark-mode .user-menu .lang-options button { background: #242424; color: #9a9a9a; }
html.dark-mode .user-menu .theme-options button.active, html.dark-mode .user-menu .lang-options button.active { background: var(--brand-deep); color: var(--brand-tint); border-color: var(--brand); }
html.dark-mode .content { background: #0a0a0a; }
html.dark-mode .page-title { color: #eaeaea; }
html.dark-mode .page-sub { color: #767676; }
html.dark-mode .btn { background: #1a1a1a; color: #9a9a9a; }
html.dark-mode .btn:hover { background: #242424; color: var(--brand-accent); }
html.dark-mode .btn-primary { background: var(--brand); color: #fff; }
html.dark-mode .btn-primary:hover { background: var(--brand-light); color: #fff; }
html.dark-mode .card,
html.dark-mode .knowledge-card,
html.dark-mode .insp-card,
html.dark-mode .price-card,
html.dark-mode .credit-card,
html.dark-mode .canvas-card { background: #141414; border-color: #282828; color: #d6d6d6; }
html.dark-mode .knowledge-card:hover,
html.dark-mode .insp-card:hover,
html.dark-mode .canvas-card:hover { border-color: var(--brand); box-shadow: 0 8px 24px -8px rgba(var(--brand-rgb),0.35); }
html.dark-mode .cat-film { background: #242424; color: var(--brand-accent); border-color: var(--brand-deep-border); }
html.dark-mode .cat-video { background: #1c1c1c; color: #22d3ee; border-color: #26454f; }
html.dark-mode .cat-drama { background: #2f2618; color: #fbbf24; border-color: #463b23; }
html.dark-mode .cat-novel { background: #2f1c28; color: #f472b6; border-color: #472c3c; }
html.dark-mode .cat-custom { background: #242424; color: #ababab; border-color: #303030; }
html.dark-mode .card h3 { color: #eaeaea; }
html.dark-mode .knowledge-card h4,
html.dark-mode .insp-card h4 { color: #eaeaea; }
html.dark-mode .knowledge-card p,
html.dark-mode .insp-card p { color: #8a8a8a; }
html.dark-mode .knowledge-card .k-cat,
html.dark-mode .insp-card .tag { background: #242424; color: var(--brand-accent); }
html.dark-mode .empty-state { color: #767676; }
/* STORAI 教程 · 暗色 */
html.dark-mode .kb-section-head h2 { color: #eaeaea; }
html.dark-mode .cm-book-card .cm-cross { background: #242424; border-color: #2a2a2a; color: #9e9e9e; }
html.dark-mode .cm-book-card .cm-cross:hover { color: var(--brand-accent); border-color: var(--brand); }
html.dark-mode .kb-section-head .kb-hint { color: #767676; }
html.dark-mode .tutorial-group { background: #141414; border-color: #282828; }
html.dark-mode .tutorial-group-head h3 { color: #eaeaea; }
html.dark-mode .tutorial-group-head .tg-icon { background: #242424; color: var(--brand-accent); }
html.dark-mode .tutorial-step { color: #9a9a9a; border-top-color: #1d1d1d; }
html.dark-mode .tutorial-step b { color: #eaeaea; }
html.dark-mode .tutorial-step .ts-no { background: #242424; color: var(--brand-accent); }
/* 社区 · 暗色 */
html.dark-mode .cm-balance { background: #242424; color: var(--brand-accent); }
html.dark-mode .cm-chip { background: #141414; border-color: #303030; color: #9a9a9a; }
html.dark-mode .cm-chip:hover { border-color: var(--brand); color: var(--brand-accent); }
html.dark-mode .cm-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
html.dark-mode .cm-card { background: #141414; border-color: #282828; }
html.dark-mode .cm-card:hover { border-color: var(--brand); box-shadow: 0 8px 22px -12px rgba(0,0,0,0.7); }
html.dark-mode .cm-title { color: #eaeaea; }
html.dark-mode .cm-meta { color: #767676; }
html.dark-mode .cm-avatar { background: #242424; color: var(--brand-accent); }
html.dark-mode .cm-tag { background: #242424; color: #9a9a9a; }
html.dark-mode .cm-intro { color: #9a9a9a; }
html.dark-mode .cm-foot { border-top-color: #1d1d1d; }
html.dark-mode .cm-cost { color: var(--brand-accent); }
html.dark-mode .cm-unlocked { color: #34d399; }
html.dark-mode .cm-shot-list { background: #141414; border-color: #282828; }
html.dark-mode .cm-shot { border-bottom-color: #1d1d1d; }
html.dark-mode .cm-shot .cs-no { color: var(--brand-accent); }
html.dark-mode .cm-shot .cs-time { color: #767676; }
html.dark-mode .cm-shot .cs-desc { color: #9a9a9a; }
html.dark-mode .cm-shot .cs-desc b { color: #eaeaea; }
html.dark-mode .cm-note { background: #1a1a1a; color: #9a9a9a; }
html.dark-mode .cm-note b { color: var(--brand-accent); }
html.dark-mode .cm-tabs { background: #1a1a1a; }
html.dark-mode .cm-tab { color: #9a9a9a; }
html.dark-mode .cm-tab:hover { color: var(--brand-accent); }
html.dark-mode .cm-tab.active { background: #242424; color: var(--brand-accent); box-shadow: none; }
html.dark-mode .cm-cross { background: #242424; color: var(--brand-accent); }
html.dark-mode .cm-cross:hover { background: var(--brand); color: #fff; }
html.dark-mode .cm-work { background: #141414; border-color: #282828; }
html.dark-mode .cm-work .cw-title { color: #eaeaea; }
html.dark-mode .cm-work .cw-meta { color: #767676; }
html.dark-mode .cm-work .cw-price { color: var(--brand-accent); }
/* 剧本表格 · 暗色 */
html.dark-mode .proj-search input { background: #1d1d1d; border-color: #303030; color: #d6d6d6; }
html.dark-mode .proj-search input:focus { background: #242424; }
html.dark-mode .proj-search input::placeholder { color: #5e5e5e; }
html.dark-mode .proj-search::before { background-color: #767676; }
html.dark-mode .proj-filter { background: #242424; }
html.dark-mode .proj-filter button { color: #9a9a9a; }
html.dark-mode .proj-filter button:hover { color: var(--brand-accent); }
html.dark-mode .proj-filter button.active { background: #141414; color: var(--brand-accent); box-shadow: none; }
html.dark-mode .proj-table-wrap { background: #141414; border-color: #282828; }
html.dark-mode .proj-table thead th { background: #1a1a1a; color: #9a9a9a; border-bottom-color: #282828; }
html.dark-mode .proj-table thead th.sortable:hover, html.dark-mode .proj-table thead th.sorted { color: var(--brand-accent); }
html.dark-mode .proj-table tbody tr { border-bottom-color: #1d1d1d; }
html.dark-mode .proj-table tbody tr:hover { background: #1a1a1a; }
html.dark-mode .proj-table td { color: #9a9a9a; }
html.dark-mode .proj-table td.name { color: #eaeaea; }
html.dark-mode .proj-table td.name .sub { color: #767676; }
html.dark-mode .proj-status { background: #10301f; color: #34d399; border-color: #1a4630; }
html.dark-mode .proj-status:hover { background: #164030; border-color: #246045; }
html.dark-mode .proj-status.done { background: #1c1c1c; color: #60a5fa; border-color: #1f1f1f; }
html.dark-mode .proj-status.done:hover { background: #202020; border-color: #3a3a3a; }
html.dark-mode .proj-status.archived { background: #242424; color: #8a8a8a; border-color: #303030; }
html.dark-mode .proj-status.archived:hover { background: #2d2d2d; color: #9e9e9e; border-color: #3d3d3d; }
html.dark-mode .proj-empty { color: #767676; }
@media (max-width: 820px) { html.dark-mode .proj-head > div:first-child { background: #0a0a0a; } }
html.dark-mode .proj-view-toggle { background: #1a1a1a; border-color: #2a2a2a; }
html.dark-mode .proj-view-toggle button { color: #9a9a9a; }
html.dark-mode .proj-view-toggle button.active { color: #d5e2c8; background: #303a32; border-color: #3d4a3e; box-shadow: none; }
html.dark-mode .project-book-card { background: #1a1a1a; border-color: #303030; }
html.dark-mode .project-book-card:hover { border-color: #64785f; }
html.dark-mode .book-cover-kicker { color: #707a77; }
html.dark-mode .project-book-cover { color: #929b91; }
html.dark-mode .project-book-title { color: #e3e7de; }
html.dark-mode .book-category, html.dark-mode .book-synopsis { color: #929b91; }
html.dark-mode .book-meta { color: #90998f; }
html.dark-mode .book-meta b { color: #c6d4bd; }
html.dark-mode .book-empty { border-color: #384238; color: #90998f; }
html.dark-mode .panel,
html.dark-mode .editor-main,
html.dark-mode .side-panel { background: #141414; border-color: #282828; }
html.dark-mode .panel-header { color: #8a8a8a; border-bottom-color: #282828; }
html.dark-mode .panel-header.no-border { border-bottom: none; }
html.dark-mode .panel-tab { color: #767676; }
html.dark-mode .panel-tab:hover { background: #1a1a1a; color: var(--brand-accent); }
html.dark-mode .panel-tab.active { background: #242424; color: var(--brand-accent); }
html.dark-mode .panel-tab-add { background: #242424; color: #9a9a9a; }
html.dark-mode .panel-tab-add:hover { background: #303030; color: var(--brand-accent); }
html.dark-mode .editor-title-input { color: #eaeaea; }
html.dark-mode .screenplay-toolbar { background: #141414; border-bottom-color: #282828; }
@media (max-width: 820px) { html.dark-mode .app.editor-active .screenplay-toolbar { background: #141414; } }
html.dark-mode .screenplay-toolbar button { background: transparent; color: #9a9a9a; }
html.dark-mode .screenplay-toolbar button:hover { background: #242424; color: var(--brand-accent); }
html.dark-mode .screenplay-toolbar button.active { background: var(--brand); color: #fff; }
html.dark-mode .screenplay-toolbar .divider-v { background: #282828; }
@media (max-width: 820px) {
  html.dark-mode .editor-actions-wrap.open .editor-actions-menu { background: #1a1a1a; border-color: #343434; }
  html.dark-mode .mobile-editor-menu-toggle { background: #1a1a1a; color: #c9c9c9; border-color: #343434; }
  html.dark-mode .editor-actions-menu .screenplay-toolbar button { background: #242424; border-color: #343434; color: #ababab; }
  html.dark-mode .editor-actions-menu .screenplay-toolbar button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
  html.dark-mode .editor-actions-menu .side-panel > .panel-header.no-border { border-top-color: #343434; }
}
html.dark-mode .toolbar-section-label,
html.dark-mode .toolbar-stats { color: #767676; }
html.dark-mode .view-tabs-label { color: #767676; }
html.dark-mode .view-tabs { background: #242424; }
html.dark-mode .view-tabs button { color: #9a9a9a; }
html.dark-mode .view-tabs button.active { background: #141414; color: var(--brand-accent); box-shadow: none; }
html.dark-mode .analysis-btn { background: #1a1a1a; color: #9a9a9a; }
html.dark-mode .analysis-btn:hover { background: #242424; color: var(--brand-accent); }
html.dark-mode .hdr-divider { background: #2a2a2a; }
html.dark-mode .dropdown-content { background: #1a1a1a; border-color: #252525; box-shadow: 0 14px 34px rgba(0,0,0,0.62), 0 2px 6px rgba(0,0,0,0.4); }
html.dark-mode .dropdown-content button { color: #9a9a9a; }
html.dark-mode .dropdown-content button:hover { background: #242424; color: var(--brand-accent); }
html.dark-mode .export-menu-head { color: #767676; }
html.dark-mode .export-menu .em-ico { background: #242424; color: #9a9a9a; }
html.dark-mode .export-menu button:hover .em-ico { background: var(--brand); color: #fff; }
html.dark-mode .export-menu .em-sep { background: #252525; }
html.dark-mode .outline-nav { background: #141414; border-bottom-color: #282828; }
html.dark-mode .outline-nav-header { background: #141414; border-bottom-color: #282828; }
html.dark-mode .outline-nav-title { color: var(--brand-accent); }
html.dark-mode .btn-focus-outline { color: #8a90a3; }
html.dark-mode .btn-focus-outline:hover { background: var(--brand-soft); color: var(--brand-accent); }
html.dark-mode .outline-scroll { background: #141414; }
html.dark-mode .outline-inner { background: #141414; }
html.dark-mode .outline-ruler { background: #1a1a1a; border-bottom-color: #282828; }
html.dark-mode .ruler-spacer { background: #1a1a1a; border-right-color: #282828; }
html.dark-mode .ruler-tick { color: #767676; border-left-color: #282828; }
html.dark-mode .ruler-tick.major { color: #9a9a9a; border-left-color: #3b3b3b; }
html.dark-mode .outline-track-row { border-bottom-color: #1d1d1d; }
html.dark-mode .outline-track-row.timeline-track { background: #141414; }
html.dark-mode .outline-track-label { background: #1a1a1a; color: var(--brand-accent); border-right-color: #282828; }
html.dark-mode .outline-track-label:hover { background: #242424; }
html.dark-mode .outline-track-label.tl-label { background: #1a1a1a; color: #9a9a9a; }
html.dark-mode .outline-track-label.tl-label:hover { background: #242424; }
html.dark-mode .outline-track-canvas { background-image: none; }
html.dark-mode .outline-zoom-float { background: linear-gradient(to right, rgba(20,20,20,0), #141414 15%, #141414 100%); }
html.dark-mode .outline-footer { background: transparent; }
html.dark-mode .outline-footer:hover { background: rgba(var(--brand-accent-rgb),0.15); }
html.dark-mode .btn-add-track { background: #242424; color: var(--brand-accent); }
html.dark-mode .btn-add-track:hover { background: #303030; }
html.dark-mode .screenplay-scroll { background: #101010; }
html.dark-mode .screenplay-page { background: #181818; color: #d6d6d6; }
html.dark-mode .screenplay-page .script-block:focus { background: #242424; }
html.dark-mode .screenplay-page .script-block.block-selected,
html.dark-mode .screenplay-page .script-block.range-selected { background: #2b2b2b !important; }
html.dark-mode .page-break { background: #303030; }
html.dark-mode .scene-heading-row .scene-num { color: inherit; }
html.dark-mode .screenplay-page.format-hollywood { color: #d6d6d6; }
html.dark-mode .screenplay-hint-row { background: #141414; border-top-color: #282828; }
html.dark-mode .screenplay-hint { color: #767676; }
html.dark-mode .zoom-widget { color: #9a9a9a; }
html.dark-mode .zoom-widget input { background: #303030; }
html.dark-mode .zoom-value { color: var(--brand-accent); }
html.dark-mode .zoom-value:hover { color: var(--brand-tint); }
html.dark-mode .side-card { background: #1d1d1d; border-color: #282828; }
html.dark-mode .side-card:hover { border-color: var(--brand); }
html.dark-mode .side-card .side-info h4 { color: #eaeaea; }
html.dark-mode .side-card .side-info p { color: #767676; }
html.dark-mode .side-list-empty { color: #767676; }
html.dark-mode .side-panel-divider::before { background: #282828; }
html.dark-mode .side-panel-divider:hover::before { background: var(--brand); }
html.dark-mode .synopsis-textarea { background: #1d1d1d; color: #d6d6d6; }
html.dark-mode .synopsis-textarea::placeholder { color: #5e5e5e; }
html.dark-mode .ai-chat-msgs { background: #141414; }
html.dark-mode .chat-msg.ai .chat-bubble { background: #242424; color: #d6d6d6; }
html.dark-mode .chat-actions button { background: #1a1a1a; border-color: #303030; color: var(--brand-accent); }
html.dark-mode .chat-actions button:hover { background: #242424; }
html.dark-mode .ai-chat-chips button { background: #242424; color: #9a9a9a; }
html.dark-mode .ai-chat-chips button:hover { background: #303030; color: var(--brand-accent); }
html.dark-mode .ai-chat-input { border-top-color: #282828; }
html.dark-mode .ai-chat-input textarea { background: #1d1d1d; border-color: #303030; color: #d6d6d6; }
html.dark-mode .ai-chat-input textarea:focus { background: #242424; border-color: var(--brand); }
html.dark-mode .ai-chat-input textarea::placeholder { color: #5e5e5e; }
html.dark-mode #canvasView, html.dark-mode #shotView { background: #0a0a0a; }
html.dark-mode .canvas-group-pick { background: #1a1a1a; border-color: #303030; box-shadow: none; }
html.dark-mode .canvas-group-pick:hover { border-color: rgba(var(--brand-rgb), 0.6); }
html.dark-mode .canvas-group-pick .pick-label { color: #8a8a8a; }
html.dark-mode .canvas-group-pick select { color: #d6d6d6; }
html.dark-mode .canvas-group-pick select:hover { background: #242424; }
html.dark-mode .canvas-group-row { background: rgba(var(--g-rgb, 148,163,184), 0.10); border-color: rgba(var(--g-rgb, 148,163,184), 0.22); }
html.dark-mode .canvas-group-row.empty { background: rgba(var(--g-rgb, 148,163,184), 0.05); border-color: rgba(var(--g-rgb, 148,163,184), 0.14); }
html.dark-mode .canvas-group-head .g-name { color: #d6d6d6; }
html.dark-mode .canvas-group-head .g-range { color: #8a8a8a; }
html.dark-mode .canvas-group-head .g-count { color: #ababab; background: rgba(255,255,255,0.07); }
html.dark-mode .canvas-card .card-body { color: #b3b3b3; }
html.dark-mode .canvas-card .card-actions li::before { background: #6b7280; }
html.dark-mode .canvas-card .card-body .muted { color: #5e5e5e; }
html.dark-mode .canvas-card p { color: #8a8a8a; }
html.dark-mode .shot-table-wrap { background: #141414; border-color: #282828; }
html.dark-mode .shot-table thead { background: #1a1a1a; }
html.dark-mode .shot-table th { color: #8a8a8a; border-bottom-color: #282828; }
html.dark-mode .shot-table td { color: #d6d6d6; border-bottom-color: #1d1d1d; }
html.dark-mode .shot-table tbody tr:hover { background: #1a1a1a; }
html.dark-mode .shot-scene { color: #eaeaea; }
html.dark-mode .shot-desc { color: #b3b3b3; }
html.dark-mode .shot-no { color: var(--brand-accent-2); }
html.dark-mode .shot-cam { color: var(--brand-accent); }
html.dark-mode .shot-dur, html.dark-mode .shot-notes { color: #767676; }
html.dark-mode .timeline-card { background: #1d1d1d; }
html.dark-mode .relation-graph-scroll { border-color: #2a2a2a; background: #161616; }
html.dark-mode .relation-edge { stroke: #4a4f58; }
html.dark-mode .relation-edge-label { fill: #b6bdc9; stroke: #161616; }
html.dark-mode .relation-dot { stroke: #161616; }
html.dark-mode .relation-dot-soft { fill: #3a3a3a; }
html.dark-mode .relation-dot-mid { fill: #7a7a7a; }
html.dark-mode .relation-dot-deep { fill: #d6d6d6; }
html.dark-mode .relation-dot-name { fill: #d1d1d1; }
html.dark-mode .kanban-col { background: #1d1d1d; }
html.dark-mode .kanban-card { background: #242424; color: #d6d6d6; }
html.dark-mode .kanban-col h4 { color: var(--brand-accent); }
html.dark-mode .pricing-section-title { color: #eaeaea; }
html.dark-mode .pricing-section-title .tag { background: #242424; color: var(--brand-accent); }
html.dark-mode .price-card.featured { border-color: var(--brand); }
html.dark-mode .price-card h3 { color: #eaeaea; }
html.dark-mode .price-card .price { color: var(--brand-accent); }
html.dark-mode .price-card li { color: #9a9a9a; }
html.dark-mode .credit-card.best::before { background: var(--brand); }
html.dark-mode .lifetime-card { background: linear-gradient(135deg, #1f1f1f, #141414 62%); border-color: var(--brand); }
html.dark-mode .lifetime-info h3 { color: #eaeaea; }
html.dark-mode .lifetime-info > p { color: #9a9a9a; }
html.dark-mode .lifetime-info li { color: #9a9a9a; }
html.dark-mode .lifetime-price b { color: var(--brand-accent); }
html.dark-mode .lifetime-price em { background: #3a1f25; color: #f87171; }
html.dark-mode .lifetime-countdown { color: #f87171; }
html.dark-mode .lifetime-note { color: #767676; }
html.dark-mode .credit-amount { color: var(--brand-accent); }
html.dark-mode .credit-price { color: #eaeaea; }
html.dark-mode .credit-note { color: #767676; }
html.dark-mode .credit-info { background: #1a1a1a; }
html.dark-mode .credit-info h4 { color: #eaeaea; }
html.dark-mode .credit-info li { color: #9a9a9a; }
html.dark-mode .modal-content { background: #141414; }
html.dark-mode .account-hero, html.dark-mode .today-hero { background: linear-gradient(135deg,#1e1e1e,#1b1b1b 58%,#19251f); border-color: #2e2e2e; }
html.dark-mode .account-identity strong, html.dark-mode .today-heading strong { color: #eaeaea; }
html.dark-mode .account-identity span, html.dark-mode .today-heading span { color: #9098aa; }
html.dark-mode .account-plan-chip, html.dark-mode .today-event-year { background: #232323; color: #77c9ef; }
html.dark-mode .account-stat, html.dark-mode .today-event { background: #1a1a1a; border-color: #2a2a2a; }
html.dark-mode .account-stat span, html.dark-mode .account-sync-row, html.dark-mode .today-event p, html.dark-mode .today-source { color: #9e9e9e; }
html.dark-mode .account-stat strong { color: #eaeaea; }
html.dark-mode .account-sync-row { background: #1d1d1d; }
html.dark-mode .today-mark { background: #232323; color: #77c9ef; }
html.dark-mode .today-event a, html.dark-mode .account-support-link { color: #77c9ef; }
html.dark-mode .today-feature { background: #1a1a1a; border-color: #2a2a2a; box-shadow: none; }
html.dark-mode .tf-year { background: rgba(18,18,18,.92); color: #eaeaea; }
html.dark-mode .tf-body h3 { color: #eaeaea; }
html.dark-mode .tf-tag { background: #242424; color: #9e9e9e; }
html.dark-mode .tf-tag.ok { background: #16352a; color: #5fd6a2; }
html.dark-mode .tf-body p { color: #a9a9a9; }
html.dark-mode .tf-body p.lead { color: #d5d5d5; }
html.dark-mode .tf-body p:last-child { color: #9c9c9c; background: #232323; }
html.dark-mode .tu-chip { background: #1a1a1a; border-color: #2a2a2a; color: #a9a9a9; }
html.dark-mode .tu-chip:hover { border-color: var(--brand); color: var(--brand-accent); }
html.dark-mode .tu-chip.active { background: #242424; border-color: var(--brand); color: var(--brand-accent); }
html.dark-mode .account-large-avatar.editable::after { background-color: #242424; }
html.dark-mode .avatar-hint { color: #767676; }
html.dark-mode .account-edit-grid > label { color: #9e9e9e; }
html.dark-mode .acc-edit-row input { background: #1a1a1a; border-color: #2a2a2a; color: #eaeaea; }
html.dark-mode .modal-title { color: #eaeaea; }
html.dark-mode .modal-sub { color: #8a8a8a; }
html.dark-mode .modal-content label { color: #9a9a9a; }
html.dark-mode .modal-content input,
html.dark-mode .modal-content textarea,
html.dark-mode .modal-content select { background: #1d1d1d; border-color: #303030; color: #d6d6d6; }
html.dark-mode .modal-content input:focus,
html.dark-mode .modal-content textarea:focus,
html.dark-mode .modal-content select:focus { background: #242424; }
html.dark-mode .modal-close-x { color: #8a8a8a; }
html.dark-mode .modal-close-x:hover { background: #242424; color: #eaeaea; }
html.dark-mode .adapt-option { background: #1d1d1d; }
html.dark-mode .adapt-option .name { color: #d6d6d6; }
html.dark-mode .adapt-option .desc { color: #767676; }
html.dark-mode .adapt-option:hover { background: #242424; border-color: var(--brand); }
html.dark-mode .adapt-option.selected { background: #242424; border-color: var(--brand); }
html.dark-mode .form-page label { color: #9a9a9a; }
html.dark-mode .form-page input,
html.dark-mode .form-page textarea,
html.dark-mode .form-page select { background: #1d1d1d; border-color: #303030; color: #d6d6d6; }
html.dark-mode .form-page input:focus,
html.dark-mode .form-page textarea:focus,
html.dark-mode .form-page select:focus { background: #242424; }
html.dark-mode .bonus-info { background: #1d1d1d; color: #8a8a8a; }
html.dark-mode .bonus-info b { color: var(--brand-accent); }
html.dark-mode .invite-code { background: #242424; color: var(--brand-accent); }
html.dark-mode .invite-link { background: #1d1d1d; color: #9a9a9a; }
html.dark-mode .invite-link button { background: #242424; color: var(--brand-accent); }
html.dark-mode .trade-info h4 { color: #eaeaea; }
html.dark-mode .trade-info .meta { color: #767676; }
html.dark-mode .trade-info .desc { color: #8a8a8a; }
html.dark-mode .trade-info .price { color: var(--brand-accent); }
html.dark-mode .trade-tag { background: #242424; color: var(--brand-accent); }
html.dark-mode .context-menu,
html.dark-mode .add-track-menu { background: #1a1a1a; border-color: #282828; box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
html.dark-mode .context-menu button,
html.dark-mode .add-track-menu button { color: #9a9a9a; }
html.dark-mode .context-menu button:hover,
html.dark-mode .add-track-menu button:hover { background: #242424; color: var(--brand-accent); }
html.dark-mode .proj-ctx .ctx-title { color: #767676; }
html.dark-mode .proj-ctx .ctx-status-row button { background: #242424; color: #9a9a9a; }
html.dark-mode .proj-ctx .ctx-status-row button:hover { background: #2d2d2d; color: var(--brand-accent); }
html.dark-mode .proj-ctx .ctx-status-row button.active { background: var(--brand-deep); color: var(--brand-tint); border-color: var(--brand); }
html.dark-mode .proj-ctx .ctx-status-row button.active[data-st="done"] { background: #1f1f1f; color: #93c5fd; border-color: #3a3a3a; }
html.dark-mode .proj-ctx .ctx-status-row button.active[data-st="archived"] { background: #2d2d2d; color: #9e9e9e; border-color: #3d3d3d; }
html.dark-mode .proj-ctx .ctx-sep { background: #282828; }
html.dark-mode .add-track-menu .template-name { color: #eaeaea; }
html.dark-mode .add-track-menu .template-desc { color: #767676; }
html.dark-mode .color-picker { background: #1a1a1a; border-color: #282828; box-shadow: 0 8px 24px rgba(0,0,0,0.6); }
html.dark-mode .ctx-bar-menu .ctx-title { color: #767676; }
html.dark-mode .ctx-bar-menu .ctx-swatch.active { box-shadow: 0 0 0 2px #1a1a1a, 0 0 0 4px var(--brand); }
html.dark-mode .ctx-bar-menu .ctx-sep { background: #282828; }
html.dark-mode .ctx-tl-menu .ctx-title { color: #767676; }
html.dark-mode .ctx-tl-menu .ctx-sep { background: #282828; }
html.dark-mode .ctx-tl-menu button .ctx-sub { color: #767676; }
html.dark-mode .outline-scroll::-webkit-scrollbar-thumb { background: #303030; }
html.dark-mode .outline-scroll::-webkit-scrollbar-thumb:hover { background: #3b3b3b; }
html.dark-mode .screenplay-scroll::-webkit-scrollbar-thumb { background: #303030; border-radius: 4px; }
html.dark-mode .screenplay-scroll::-webkit-scrollbar-track { background: #101010; }

  /* ============ 设置弹窗 ============ */
  .settings-modal { width: 470px; }
  .settings-section { padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
  .settings-section:last-of-type { border-bottom: none; padding-bottom: 4px; }
  .settings-label {
    font-size: 12px; font-weight: 700; color: #6b7280; letter-spacing: 0.01em;
    margin-bottom: 11px; display: flex; align-items: center; gap: 7px;
  }
  .settings-label svg { width: 14px; height: 14px; flex-shrink: 0; }
  .settings-modal .theme-options,
  .settings-modal .lang-options { display: flex; gap: 6px; }
  .settings-modal .theme-options button,
  .settings-modal .lang-options button {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12.5px; font-family: inherit; font-weight: 500;
    padding: 8px 6px; border-radius: 9px; cursor: pointer; transition: 0.15s;
    background: #f9fafb; color: #6b7280; border: 1px solid transparent;
  }
  .settings-modal .theme-options button svg,
  .settings-modal .lang-options button svg { width: 14px; height: 14px; flex-shrink: 0; }
  .settings-modal .theme-options button:hover,
  .settings-modal .lang-options button:hover { background: #f3f4f6; color: #4b5563; }
  .settings-modal .theme-options button.active,
  .settings-modal .lang-options button.active {
    background: var(--brand-soft); color: var(--brand); border-color: var(--brand-tint); font-weight: 600;
  }

  /* 主题色色板 */
  .accent-row { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
  .accent-grid { display: flex; flex-wrap: nowrap; gap: 10px; padding: 2px; }
  @media (max-width: 480px) {
    .accent-row { gap: 10px; }
    .accent-grid { gap: 7px; }
    .accent-row .accent-swatch, .accent-row .accent-pick { width: 28px; height: 28px; }
    .accent-row .accent-custom { gap: 7px; }
    .accent-row .accent-hex { display: none; }
  }
  .accent-swatch {
    width: 34px; height: 34px; border-radius: 50%; border: none; padding: 0;
    cursor: pointer; background: var(--sw, #4f46e5); position: relative; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07);
  }
  .accent-swatch:hover { transform: scale(1.09); }
  .accent-swatch .accent-check { width: 15px; height: 15px; opacity: 0; color: #fff; transition: opacity 0.15s; }
  .accent-swatch.active { outline: 2px solid var(--sw, #4f46e5); outline-offset: 2px; }
  .accent-swatch.active .accent-check { opacity: 1; }
  .accent-custom { display: flex; align-items: center; gap: 8px; margin-top: 0; flex-shrink: 0; }
  .accent-custom .accent-custom-label { font-size: 12.5px; color: #6b7280; }
  .accent-pick {
    position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
    cursor: pointer; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.07);
  }
  .accent-pick input[type="color"] {
    -webkit-appearance: none; appearance: none; border: none; padding: 0; margin: 0;
    width: 100%; height: 100%; cursor: pointer; background: none; display: block;
  }
  .accent-pick input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
  .accent-pick input[type="color"]::-webkit-color-swatch { border: none; border-radius: 0; }
  .accent-pick.active { outline: 2px solid var(--sw, #4f46e5); outline-offset: 2px; }
  .accent-custom .accent-hex {
    font-size: 12px; font-family: "Courier New", monospace; color: #9ca3af; letter-spacing: 0.05em;
  }
  html.dark-mode .settings-section { border-bottom-color: #282828; }
  html.dark-mode .settings-label { color: #9a9a9a; }
  html.dark-mode .settings-modal .theme-options button,
  html.dark-mode .settings-modal .lang-options button { background: #1a1a1a; color: #9a9a9a; }
  html.dark-mode .settings-modal .theme-options button:hover,
  html.dark-mode .settings-modal .lang-options button:hover { background: #242424; color: #b3b3b3; }
  html.dark-mode .settings-modal .theme-options button.active,
  html.dark-mode .settings-modal .lang-options button.active { background: var(--brand-deep); color: var(--brand-tint); border-color: var(--brand); }
  html.dark-mode .accent-custom .accent-custom-label,
  html.dark-mode .accent-custom .accent-hex { color: #9a9a9a; }
  html.dark-mode .accent-swatch,
  html.dark-mode .accent-pick { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.09); }

  /* Reference page: approx. 61 Courier columns, scene numbers in black. */
  .screenplay-page.format-hollywood .scene-num { color: inherit; font-weight: normal; font-size: 12pt; }
  /* All document formats share Letter geometry and vertical page margins. */
  @media (min-width: 821px) {
.screenplay-page.format-hollywood {
      width: var(--paper-width, 8.5in); min-width: var(--paper-width, 8.5in); max-width: var(--paper-width, 8.5in); min-height: var(--paper-height, 11in);
      padding-top: 96px; padding-bottom: 96px; box-sizing: border-box;
    }
  }
  /* Letter paper and normal letter spacing; text column adds one Courier letter over the previous version. */
  @media (min-width: 821px) {
.screenplay-page.format-hollywood {
      padding-left: 144px; padding-right: calc(var(--paper-width, 8.5in) - 144px - 587.3px);
    }
.screenplay-page.format-hollywood .scene-num.left { left: -77px; }
.screenplay-page.format-hollywood .scene-num.right { right: 0; }
  }
  .paper-options { display: flex; gap: 8px; }
  .paper-options button { flex: 1; padding: 10px 12px; border-radius: 9px; border: 1px solid #e5e7eb; background: #f9fafb; color: #6b7280; font: inherit; font-size: 12px; cursor: pointer; }
  .paper-options button small { display: block; margin-top: 4px; font-size: 10px; opacity: .75; }
  .paper-options button.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
  html.dark-mode .paper-options button { background: #242424; border-color: #343434; color: #b3b3b3; }
  html.dark-mode .paper-options button.active { background: var(--brand-deep); border-color: var(--brand); color: var(--brand-accent); }
  @media (min-width: 821px) {
    .screenplay-page .scene-num.right { right: 0; }
  }
  .screenplay-page { border: 0; outline: none; }
  .screenplay-page .page-break {
    position: relative; height: var(--page-gap-height, 1px) !important;
    min-height: 1px; margin-top: 0 !important; margin-bottom: 0 !important;
    padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important;
  }
  .screenplay-page .page-break::before {
    content: ''; position: absolute; left: 0; right: 0;
    top: var(--page-line-offset, 0px); height: 1px; background: #6b7280;
  }
  html.dark-mode .screenplay-page .page-break::before { background: #484848; }
  /* Letter page size; mobile width remains responsive. */
  .screenplay-page { width: var(--paper-width, 8.5in); max-width: var(--paper-width, 8.5in); min-height: var(--paper-height, 11in); box-sizing: border-box; }
  /* v25 reference-page calibration: Chinese small-four = 12pt. */
  .screenplay-page, .screenplay-page .script-block { font-size: 12pt; }

.format-toggle-group { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #6b7280; }
.format-toggle { display: inline-flex; background: #f3f4f6; border-radius: 8px; overflow: hidden; padding: 2px; }
.format-toggle button { border: none; background: transparent; color: #6b7280; padding: 3px 10px; font-size: 11px; cursor: pointer; transition: 0.15s; border-radius: 6px; font-family: inherit; }
.format-toggle button:hover { color: var(--brand); }
.format-toggle button.active { background: #fff; color: var(--brand); font-weight: 600; }
.editor-actions-menu .format-toggle-group { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 7px; padding: 1px 2px 3px; border-bottom: 1px solid #eef0ee; }
.editor-actions-menu .format-toggle { max-width: 100%; flex-wrap: wrap; }
.editor-actions-menu .format-toggle button { font-size: 11px; padding: 4px 7px; }
.format-toggle-group { gap: 3px; font-size: 10px; }
.format-toggle { padding: 1px; }
.format-toggle button { padding: 3px 6px; font-size: 10px; }
html.dark-mode .editor-actions-menu .format-toggle-group { border-bottom-color: #343434; }
html.dark-mode .format-toggle { background: #242424; }
html.dark-mode .format-toggle button { color: #9a9a9a; }
html.dark-mode .format-toggle button.active { background: #141414; color: var(--brand-accent); }
html.dark-mode .format-toggle-group { color: #767676; }
  @media (max-width: 820px) {
    html.dark-mode .app.editor-active #editorView .editor-header {
      background: #141414; border-bottom-color: #282828; color: #d6d6d6;
    }
    html.dark-mode .app.editor-active #editorView .editor-title-input { background: transparent; color: #eaeaea; }
  }
  .style-group-dot { display: inline-block; align-self: center; width: 3px; height: 3px; margin: 0 4px; border-radius: 50%; flex-shrink: 0; background: #94a3b8; }
  html.dark-mode .style-group-dot { background: #8b95a5; }
  .style-extra-group { display: inline-flex; align-items: center; gap: 6px; margin-left: 0; }
  .screenplay-page.format-hollywood .script-block[data-type="note"] { margin: 16px 0; padding: 8px 12px; border-left: 2px solid #d6b677; background: #faf6ed; color: #79603a; }
  html.dark-mode .screenplay-page.format-hollywood .script-block[data-type="note"] { background: #28241c; border-left-color: #9d8253; color: #d5be96; }
  .screenplay-page .script-block[data-type="parenthetical"]::before { content: '('; }
  .screenplay-page .script-block[data-type="parenthetical"]::after { content: ')'; }

  .story-page-measure.screenplay-page.format-hollywood { position: fixed !important; left: -20000px !important; top: 0 !important; display: block !important; visibility: hidden !important; zoom: 1 !important; transform: none !important; width: var(--paper-width, 8.5in) !important; min-width: var(--paper-width, 8.5in) !important; max-width: var(--paper-width, 8.5in) !important; padding: 96px calc(var(--paper-width, 8.5in) - 731.3px) 96px 144px !important; height: auto !important; overflow: visible !important; font-size: 16px !important; }
  .story-page-measure .script-block { font-size: 16px !important; padding: 0 !important; }
  .story-page-measure .scene-heading-row { margin: 32px 0 16px !important; }
  .story-page-measure .scene-heading-row:first-child { margin-top: 0 !important; }
  .story-page-measure .script-block[data-type="scene"] { margin: 0 !important; }
  .story-page-measure .script-block[data-type="action"], .story-page-measure .script-block[data-type="none"] { margin: 0 0 16px !important; }
  .story-page-measure .script-block[data-type="character"] { margin: 16px 0 0 192px !important; }
  .story-page-measure .script-block[data-type="dialogue"] { margin: 0 144px 16px 96px !important; }
  .story-page-measure .script-block[data-type="parenthetical"] { margin: 0 201.6px 16px 134.4px !important; }
  .story-page-measure .script-block[data-type="transition"] { margin: 16px 28.8px 16px 0 !important; }
  .tl-seg.tl-seg-colored { background: rgba(var(--tl-color), .85); color: #243044; }
  html.dark-mode .tl-seg.tl-seg-colored { background: rgba(var(--tl-color), .72); color: #101820; }
  .outline-bar.outline-letter-block { padding: 0; border-radius: 1px; top: 1px; bottom: 1px; box-shadow: none; }
  .format-help-label { position: relative; display: inline-flex; align-items: center; white-space: nowrap; }
  .format-help-label .format-label-help { position: absolute; right: 0; top: -12px; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; padding: 0; border: 1px solid #929baa; border-radius: 50%; background: #fff; color: #707b8c; font-size: 10px; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .15s; }
  .format-help-label:hover .format-label-help, .format-help-label:focus-within .format-label-help { opacity: 1; pointer-events: auto; }
  html.dark-mode .format-help-label .format-label-help { background: #242424; color: #c4cbd6; }
  #formatHelpText svg { display: block; width: 100%; height: auto; margin: 18px 0; }
  #formatHelpText h4 { margin-top: 18px; }
  @media (hover: none) { .format-help-label .format-label-help { opacity: 1; pointer-events: auto; } }
  .screenplay-page.format-chinese .script-block[data-type="character"],
  .screenplay-page.format-chinese .script-block[data-type="dialogue"] { margin-left: 0 !important; margin-right: 0 !important; text-transform: none; text-align: left; }
  .screenplay-page.format-chinese .chinese-dialogue-row { display: flex; align-items: baseline; margin: 16px 0; text-align: left; white-space: normal; }
  .screenplay-page.format-chinese .chinese-dialogue-row > .script-block { display: block; padding: 0; min-height: 1em; }
  .screenplay-page.format-chinese .chinese-dialogue-row > [data-type="character"] { flex: 0 0 auto; max-width: 45%; }
  .screenplay-page.format-chinese .chinese-dialogue-row > [data-type="dialogue"] { flex: 1 1 0; min-width: 0; }
  .screenplay-page.format-chinese .script-block[data-type="dialogue"] { position: relative; padding-left: 1em !important; box-sizing: border-box; }
  .screenplay-page.format-chinese .script-block[data-type="dialogue"]::before { content: '：'; position: absolute; left: 0; top: 0; pointer-events: none; }
  #screenplayPage { caret-color: transparent; }
  #screenplayPage .script-block { caret-color: currentColor; }
  #screenplayPage .scene-heading-row, #screenplayPage .chinese-dialogue-row { caret-color: transparent; }
  .screenplay-page.format-chinese .script-block[data-type="scene"] { font-weight: 700; }
  .screenplay-page.format-chinese .script-block[data-type="action"]::before { content: '△ '; }
  .story-summary-label { display: block; flex: 0 0 auto; margin: 8px 0 6px; font-size: 12px; font-weight: 600; color: #697586; }
  .story-logline-input { display: block; width: 100%; box-sizing: border-box; flex: 0 0 auto; min-height: 76px; padding: 10px; border: 1px solid #e2e6eb; border-radius: 7px; background: #fafbfc; color: #334155; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
  .story-logline-input:focus { outline: none; }
  html.dark-mode .story-summary-label { color: #a0a7b2; }
  html.dark-mode .story-logline-input { background: #1a1a1a; color: #d6d6d6; border-color: #343434; }
  @media (max-width: 820px) { .story-logline-input { font-size: 16px; } }
  .screenplay-slash-menu { position: fixed; z-index: 500; width: 180px; max-width: calc(100vw - 16px); max-height: 240px; overflow-y: auto; padding: 5px; background: #fff; border: 1px solid #e2e6ec; border-radius: 9px; box-shadow: 0 8px 28px #0002; font: 13px/1.5 system-ui, sans-serif; }
  .slash-menu-caption { padding: 4px 8px; color: #929aaa; font-size: 11px; }
  .screenplay-slash-menu button { display: block; width: 100%; padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: #334155; text-align: left; cursor: pointer; font: inherit; }
  .screenplay-slash-menu button:hover, .screenplay-slash-menu button.active { background: var(--brand-soft); color: var(--brand); }
  .slash-menu-empty { padding: 8px; color: #929aaa; font-size: 12px; }
  html.dark-mode .screenplay-slash-menu { background: #202020; border-color: #3a3a3a; }
  html.dark-mode .screenplay-slash-menu button { color: #d4d4d4; }
  html.dark-mode .screenplay-slash-menu button.active, html.dark-mode .screenplay-slash-menu button:hover { background: #343434; color: var(--brand-accent); }
  .proj-table colgroup col:first-child { width: 39% !important; }
  @media (max-width: 820px) { .proj-table colgroup col:first-child { width: 52% !important; } }
  .screenplay-page.format-chinese .chinese-dialogue-row > [data-type="parenthetical"] { flex: 0 1 auto; min-width: 0; max-width: 45%; margin: 0 !important; font-style: normal; }
  .screenplay-page.format-chinese .script-block[data-type="parenthetical"]::before { content: '（'; }
  .screenplay-page.format-chinese .script-block[data-type="parenthetical"]::after { content: '）'; }
  .screenplay-page.format-chinese .chinese-dialogue-row > .chinese-dialogue-colon { display: block; flex: 0 0 auto; user-select: none; caret-color: transparent; }
  .screenplay-page.format-chinese .chinese-dialogue-row > [data-type="dialogue"] { padding-left: 0 !important; }
  .screenplay-page.format-chinese .chinese-dialogue-row > [data-type="dialogue"]::before { content: none; }
  .screenplay-page.format-chinese .script-block[data-type="action"] { position: relative; padding-left: 1.35em !important; box-sizing: border-box; }
  .screenplay-page.format-chinese .script-block[data-type="action"]::before { content: '△'; position: absolute; left: 0; top: 0; pointer-events: none; }
  .screenplay-page .script-block[data-type="parenthetical"] > br:only-child { display: none; }
  .screenplay-page.format-chinese .chinese-dialogue-row > [data-type="parenthetical"] { flex-shrink: 0; min-width: 2em; }
  .screenplay-page .script-block[data-type="parenthetical"].empty-parenthetical {
    position: relative; box-sizing: border-box; width: 2em; min-width: 2em;
    padding-left: 1em !important; padding-right: 1em !important; white-space: nowrap;
  }
  .screenplay-page .script-block[data-type="parenthetical"].empty-parenthetical::before { position: absolute; left: 0; top: 0; pointer-events: none; }
  .screenplay-page .script-block[data-type="parenthetical"].empty-parenthetical::after { position: absolute; right: 0; top: 0; pointer-events: none; }
  /* Keep editable dialogue in normal text flow so native drag selection works across the row. */
  .screenplay-page.format-chinese .chinese-dialogue-row { display: block; }
  .screenplay-page.format-chinese .chinese-dialogue-row > .script-block { display: inline; min-height: 0; max-width: none; width: auto; margin: 0 !important; padding: 0 !important; white-space: pre-wrap; vertical-align: baseline; }
  .screenplay-page.format-chinese .chinese-dialogue-row > .chinese-dialogue-colon { display: inline; vertical-align: baseline; }
  .screenplay-page.format-chinese .chinese-dialogue-row > .script-block.empty-parenthetical { display: inline-block; width: 2em; min-width: 2em; padding-left: 1em !important; padding-right: 1em !important; }
  .work-subnav { margin: 0 0 8px; padding: 0 0 0 30px; }
  .sidebar-nav .work-subnav button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 5px 12px; margin: 1px 0; border: 0; background: transparent; text-align: left; font-size: 12px; font-weight: 400; color: #8b929d; border-radius: 6px; }
  .sidebar-nav .work-subnav button::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; flex-shrink: 0; }
  .sidebar-nav .work-subnav button:hover { color: #475569; background: rgba(100,116,139,.05); }
  .sidebar-nav .work-subnav button.active { color: var(--brand); background: transparent; font-weight: 600; }
  .sidebar-nav .work-subnav button.active::before { opacity: 1; }
  .sidebar.collapsed .work-subnav { display: none; }
  html.dark-mode .sidebar-nav .work-subnav button { color: #858e9c; }
  html.dark-mode .sidebar-nav .work-subnav button:hover { color: #d3d8df; background: #ffffff06; }
  html.dark-mode .sidebar-nav .work-subnav button.active { color: var(--brand-accent); background: transparent; }
  @media (max-width: 820px) { .sidebar.collapsed.mobile-menu-open .work-subnav { display: block; } }
  .work-category-select { border: 1px solid #d6dbe2; border-radius: 7px; background: transparent; color: #87909e; padding: 5px 8px; font: inherit; font-size: 12px; cursor: pointer; }
  .proj-title-search .work-category-select { margin-left: 10px; }
  #projContextMenu .work-category-select { margin: 0 10px 8px; width: calc(100% - 20px); }
  html.dark-mode .work-category-select { background: #202020; border-color: #363636; color: #bdc3cc; }
  .editor-settings-button { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; padding: 5px 8px; border: none; border-radius: 6px; background: transparent; color: #788392; cursor: pointer; font: inherit; font-size: 11px; }
  .editor-settings-button:hover { background: var(--brand-soft); color: var(--brand); }
  .editor-settings-menu { position: fixed; z-index: 500; width: 300px; max-width: calc(100vw - 16px); padding: 16px; border: 1px solid #e2e5e9; border-radius: 12px; background: #fff; box-shadow: 0 8px 32px #0002; box-sizing: border-box; }
  .editor-settings-menu[hidden] { display: none; }
  .editor-settings-title { font-size: 13px; font-weight: 600; margin-bottom: 16px; color: #475569; }
  .editor-setting-section + .editor-setting-section { margin-top: 18px; }
  .editor-command-options { display: flex; gap: 6px; }
  .editor-command-options button { flex: 1; padding: 8px 5px; border: 1px solid #e2e5e9; border-radius: 7px; background: #f9fafb; color: #64748b; cursor: pointer; font-size: 12px; }
  .editor-command-options button.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
  html.dark-mode .editor-settings-menu { background: #202020; border-color: #363636; }
  html.dark-mode .editor-settings-title { color: #d6d6d6; }
  html.dark-mode .editor-settings-button, html.dark-mode .editor-command-options button { color: #a7aeba; border-color: #363636; background: #202020; }
  html.dark-mode .editor-command-options button.active { color: var(--brand-accent); border-color: var(--brand); background: #292929; }
  @media (max-width: 820px) {
    .app.editor-active .screenplay-hint-row { display: flex !important; padding: 4px 8px; flex: 0 0 auto; }
    .app.editor-active .screenplay-hint-row .screenplay-hint, .app.editor-active .screenplay-hint-row .zoom-widget { display: none !important; }
  }

  .project-book-card.work-card-film { --work-ink: #688399; }
  .project-book-card.work-card-drama { --work-ink: #a1737d; background: linear-gradient(150deg, #faf0f2 0%, #fff 72%); }
  .project-book-card.work-card-novel { --work-ink: #5b8b70; background: linear-gradient(150deg, #edf6ef 0%, #fff 72%); }
  .work-card-signature { display: flex; align-items: center; gap: 5px; color: var(--work-ink); font-size: 9px; letter-spacing: .12em; margin-bottom: 8px; flex-shrink: 0; }
  .work-card-signature svg { width: 16px; height: 16px; flex-shrink: 0; }
  .work-card-drama .project-book-title { color: #48373d; }
  .work-card-novel .project-book-title { font-family: 'Songti SC', SimSun, 'Noto Serif CJK SC', serif; font-weight: 600; }
  html.dark-mode .project-book-card.work-card-film { --work-ink: #8ba8bf; }
  html.dark-mode .project-book-card.work-card-drama { --work-ink: #c696a3; background: linear-gradient(150deg, #33242b, #1a1a1a 76%); }
  html.dark-mode .project-book-card.work-card-novel { --work-ink: #91bda0; background: linear-gradient(150deg, #203128, #1a1a1a 76%); }
  html.dark-mode .work-card-drama .project-book-title { color: #e5d7dd; }
  @media (max-width: 820px) { .work-card-signature { margin-bottom: 5px; font-size: 8px; gap: 3px; } .work-card-signature svg { width: 13px; height: 13px; } }
  .work-card-heading { display: flex; align-items: baseline; gap: 8px; flex: 0 0 auto; min-width: 0; }
  .work-card-heading .project-book-title { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
  .work-card-heading .work-card-signature { margin: 0; flex: 0 0 auto; align-self: flex-start; padding-top: 2px; letter-spacing: 0; }
  @media (max-width: 820px) { .work-card-heading { gap: 4px; } .work-card-heading .work-card-signature { gap: 2px; } }
  .proj-view-toggle { overflow: visible; }
  .project-book-card .book-bottom-row { border-top: none; }
  .list-work-type { display: inline-flex; }
  .list-work-type.work-card-film { --work-ink: #688399; }
  .list-work-type.work-card-drama { --work-ink: #a1737d; }
  .list-work-type.work-card-novel { --work-ink: #5b8b70; }
  .list-work-type .work-card-signature { margin: 0; font-size: 11px; letter-spacing: 0; gap: 6px; }
  html.dark-mode .list-work-type.work-card-film { --work-ink: #8ba8bf; }
  html.dark-mode .list-work-type.work-card-drama { --work-ink: #c696a3; }
  html.dark-mode .list-work-type.work-card-novel { --work-ink: #91bda0; }
  .project-book-card .project-book-title { font-family: 'Songti SC', SimSun, 'Noto Serif CJK SC', serif; }
  .project-book-card .book-bottom-row .proj-status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0 2px 5px; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0; font-size: 9px; font-weight: 400; color: #729181; }
  .project-book-card .book-bottom-row .proj-status::before { content: ''; display: block; width: 4px; height: 4px; flex: 0 0 auto; border: none; border-radius: 50%; background: currentColor; }
  .project-book-card .book-bottom-row .proj-status.done { color: #7d91a6; }
  .project-book-card .book-bottom-row .proj-status.archived { color: #9a9fa7; }
  .project-book-card .book-bottom-row .proj-status:hover { opacity: .7; }
  html.dark-mode .project-book-card .book-bottom-row .proj-status { color: #93b4a2; }
  html.dark-mode .project-book-card .book-bottom-row .proj-status.done { color: #99acc0; }
  html.dark-mode .project-book-card .book-bottom-row .proj-status.archived { color: #858b95; }
  .project-book-card .book-bottom-row > .work-card-signature { margin: 0; gap: 4px; letter-spacing: 0; font-size: 9px; flex: 0 0 auto; }
  .project-book-card .book-bottom-row > .work-card-signature svg { width: 14px; height: 14px; }
  .project-book-card .book-bottom-row > .book-meta { margin-left: auto; }
  @media (max-width: 820px) { .project-book-card .book-bottom-row { gap: 4px; } .project-book-card .book-bottom-row > .work-card-signature { font-size: 8px; gap: 2px; } .project-book-card .book-bottom-row > .work-card-signature svg { width: 12px; height: 12px; } }
  .project-book-card .book-bottom-row .proj-status { color: #24996a; }
  .project-book-card .book-bottom-row .proj-status.done { color: #3182ce; }
  .project-book-card .book-bottom-row .proj-status.archived { color: #9299a3; }
  html.dark-mode .project-book-card .book-bottom-row .proj-status { color: #56c99a; }
  html.dark-mode .project-book-card .book-bottom-row .proj-status.done { color: #70adf1; }
  html.dark-mode .project-book-card .book-bottom-row .proj-status.archived { color: #9299a3; }
  .project-book-card .project-book-title { height: 2lh; min-height: 2lh; max-height: 2lh; }
  .editor-focus-button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 5px 0 5px 6px; background: transparent; color: #788392; font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap; }
  .editor-focus-button:hover, .editor-focus-button[aria-pressed="true"] { color: var(--brand); }
  .screenplay-hint-row .zoom-widget { right: 88px; }
  html.dark-mode .editor-focus-button { color: #a7aeba; }
  html.dark-mode .editor-focus-button[aria-pressed="true"] { color: var(--brand-accent); }
  .app.editor-focus-mode #editorView { position: fixed !important; inset: 0; z-index: 200; display: flex !important; flex-direction: column; width: 100%; height: 100dvh !important; padding: 0 !important; margin: 0; box-sizing: border-box; background: #f5f6f7; }
  .app.editor-focus-mode .sidebar, .app.editor-focus-mode #editorView .editor-header, .app.editor-focus-mode #editorView .side-panel, .app.editor-focus-mode #editorView .side-expand-btn { display: none !important; }
  .app.editor-focus-mode #editorView .editor-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 0; flex: 1; min-height: 0; }
  .app.editor-focus-mode #editorView .editor-main { display: flex; flex-direction: column; height: 100dvh !important; padding: 0 !important; border-radius: 0; }
  .app.editor-focus-mode .screenplay-scroll { flex: 1; min-height: 0; }
  .app.editor-focus-mode .screenplay-hint-row { display: flex !important; flex: 0 0 auto; min-height: 34px; }
  .app.editor-focus-mode .screenplay-hint-row .zoom-widget { display: none !important; }
  html.dark-mode .app.editor-focus-mode #editorView { background: #111; }
  .app.editor-focus-mode #editorView .screenplay-toolbar { display: flex !important; position: static !important; flex: 0 0 auto; width: 100%; box-sizing: border-box; }
  .app.editor-focus-mode #editorView .screenplay-toolbar { justify-content: center; }
  .app.editor-focus-mode #editorView .screenplay-toolbar .toolbar-stats { margin-left: 12px; }
  .app.editor-focus-mode #editorView .outline-nav { display: flex !important; position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: 100%; flex: 0 0 auto; box-sizing: border-box; }
  .classic-section + .classic-section { margin-top: 32px; }
  .classic-section-heading { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
  .classic-section-heading h2 { margin: 0; font-size: 16px; font-weight: 600; color: #475569; }
  .classic-section-heading > span { color: #969eaa; font-size: 11px; }
  html.dark-mode .classic-section-heading h2 { color: #d1d6de; }
  .screenplay-page.format-hollywood:not(.format-chinese) .script-block[data-type="parenthetical"] { margin-bottom: 0 !important; }
  .screenplay-page.format-hollywood:not(.format-chinese) .script-block[data-type="dialogue"]:has(+ .script-block[data-type="parenthetical"]) { margin-bottom: 0 !important; }
  #screenplayScroll, #screenplayPage { overflow-anchor: none; }
  .project-book-card.work-card-film { --work-ink: #466c8b; }
  .project-book-card.work-card-drama { --work-ink: #92596c; }
  .project-book-card.work-card-novel { --work-ink: #39724f; }
  .project-book-card .work-card-signature { font-weight: 500; }
  html.dark-mode .project-book-card.work-card-film { --work-ink: #a5c5df; }
  html.dark-mode .project-book-card.work-card-drama { --work-ink: #dfafbf; }
  html.dark-mode .project-book-card.work-card-novel { --work-ink: #a7d4b6; }


  .list-work-type.work-card-film { --work-ink: #3d6c94; }
  .list-work-type.work-card-drama { --work-ink: #98536c; }
  .list-work-type.work-card-novel { --work-ink: #34764f; }
  .list-work-type .work-card-signature { font-size: 12px; font-weight: 600; gap: 7px; }
  .list-work-type .work-card-signature svg { width: 18px; height: 18px; stroke-width: 1.6; }
  html.dark-mode .list-work-type.work-card-film { --work-ink: #9ec8ed; }
  html.dark-mode .list-work-type.work-card-drama { --work-ink: #e2a7bd; }
  html.dark-mode .list-work-type.work-card-novel { --work-ink: #9bd5af; }

  #newScriptModal .new-work-card { display: flex; flex-direction: column; width: 340px; min-height: 440px; max-height: min(640px, 90dvh); padding: 22px; border: 1px solid #dfe5ec; border-radius: 10px; background: linear-gradient(150deg, #edf4fa, #fff 72%); box-shadow: 0 20px 70px rgba(25,39,60,.16); }
  #newScriptModal .new-work-card[data-category="drama"] { background: linear-gradient(150deg, #faf0f2, #fff 72%); }
  #newScriptModal .new-work-card[data-category="novel"] { background: linear-gradient(150deg, #edf6ef, #fff 72%); }
  .new-work-card-top { display: flex; align-items: center; justify-content: space-between; color: #919aa6; font-size: 11px; margin-bottom: 22px; }
  .new-work-card-top button { border: 0; background: transparent; color: #919aa6; cursor: pointer; padding: 3px; }
  #newScriptModal .new-work-card-title { min-height: 68px; outline: none; margin: 0 0 16px; font-family: 'Songti SC', SimSun, serif; font-size: 24px; font-weight: 600; line-height: 1.4; box-shadow: none; }
  #newScriptModal .new-work-card-title::placeholder { color: #9aa4ae; }
  #newScriptModal .new-work-card-synopsis { flex: 1 1 auto; min-height: 140px; outline: none; margin: 0 0 24px; color: #687684; font: inherit; font-size: 13px; line-height: 1.85; box-shadow: none; }
  .new-work-card-synopsis::placeholder { color: #a5adb6; }
  .new-work-card-settings { flex: 0 0 auto; }
  .new-work-card-option { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .new-work-card-option > span { font-size: 11px; color: #929ba6; flex-shrink: 0; }
  .new-work-card-option .ns-chips { gap: 5px; }
  #newScriptModal .ns-chip { border: 0; padding: 5px 9px; font-size: 11px; color: #82909c; background: transparent; }
  #newScriptModal .ns-chip.active { background: rgba(100,116,139,.09); color: #465564; box-shadow: none; }
  .new-work-card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(100,116,139,.13); }
  .new-work-card-actions button { border: 0; background: transparent; color: #8c97a3; padding: 7px 0; font: inherit; font-size: 12px; cursor: pointer; }
  .new-work-card-actions .new-work-create { display: flex; align-items: center; gap: 14px; padding: 8px 13px; border-radius: 6px; background: #344454; color: white; }
  .new-work-card-actions .new-work-create:hover { background: #243443; }
  html.dark-mode #newScriptModal .new-work-card { border-color: #35404a; background: linear-gradient(150deg, #25323e, #1a1a1a 75%); }
  html.dark-mode #newScriptModal .new-work-card[data-category="drama"] { background: linear-gradient(150deg, #38282f, #1a1a1a 75%); }
  html.dark-mode #newScriptModal .new-work-card[data-category="novel"] { background: linear-gradient(150deg, #25382b, #1a1a1a 75%); }
  html.dark-mode #newScriptModal .new-work-card-title { color: #e5e8ec; }
  html.dark-mode #newScriptModal .new-work-card-synopsis { color: #b0b9c4; }
  html.dark-mode #newScriptModal .ns-chip.active { background: #ffffff10; color: #d7dfe8; }
  html.dark-mode .new-work-card-actions { border-color: #ffffff14; }
  html.dark-mode .new-work-card-actions .new-work-create { background: #d2dce5; color: #253442; }
  @media (max-width: 820px) { #newScriptModal .new-work-card { width: 330px; max-width: calc(100vw - 32px); min-height: 0; height: min(500px, 85dvh); padding: 20px; } #newScriptModal .new-work-card-synopsis { font-size: 16px; min-height: 80px; } }
  #newScriptModal .new-work-card { width: 300px; min-height: 390px; padding: 16px; border: 1px solid #e1e5e1; border-radius: 0; box-shadow: 0 6px 24px rgba(24,34,27,.13); background: linear-gradient(150deg, #f0f5fa, #fff 72%); --work-ink: #688399; }
  #newScriptModal .new-work-card[data-category="drama"] { --work-ink: #a1737d; }
  #newScriptModal .new-work-card[data-category="novel"] { --work-ink: #5b8b70; }
  .new-work-card-top { margin-bottom: 14px; font-size: 10px; }
  #newScriptModal .new-work-card-title { line-height: 1.38; min-height: 2.76em; height: 2.76em; margin-bottom: 12px; font-weight: 650; letter-spacing: -.02em; }
  #newScriptModal .new-work-card-synopsis { min-height: 125px; font-size: 12px; margin-bottom: 18px; }
  .new-work-card-option { gap: 8px; margin-bottom: 6px; }
  .new-work-card-option > span { font-size: 10px; }
  #newScriptModal .ns-chip { padding: 4px 7px; }
  .new-work-card-actions { border-top: 0; margin-top: 8px; padding-top: 10px; }
  .new-work-category-signature .work-card-signature { margin: 0; font-size: 10px; letter-spacing: 0; gap: 4px; }
  .new-work-category-signature svg { width: 14px; height: 14px; }
  .new-work-card-actions .new-work-create { padding: 5px 0 5px 8px; border: 0; border-radius: 0; background: transparent; color: var(--work-ink); font-size: 11px; gap: 8px; }
  .new-work-card-actions .new-work-create:hover { background: transparent; opacity: .7; }
  html.dark-mode .new-work-card-actions .new-work-create { background: transparent; color: #c3cfdb; }
  @media (max-width: 820px) { #newScriptModal .new-work-card { width: 300px; padding: 16px; height: min(440px, 85dvh); } #newScriptModal .new-work-card-title { font-size: 19px; } #newScriptModal .new-work-card-synopsis { font-size: 16px; } }
  .project-book-card.work-card-film, .list-work-type.work-card-film, #newScriptModal .new-work-card[data-category="film"] { --work-ink: #326c9c; }
  .project-book-card.work-card-drama, .list-work-type.work-card-drama, #newScriptModal .new-work-card[data-category="drama"] { --work-ink: #a14f70; }
  .project-book-card.work-card-novel, .list-work-type.work-card-novel, #newScriptModal .new-work-card[data-category="novel"] { --work-ink: #2e7b50; }
  .work-card-signature { font-weight: 600; }
  .work-card-signature svg { stroke-width: 1.6; }
  html.dark-mode .project-book-card.work-card-film, html.dark-mode .list-work-type.work-card-film, html.dark-mode #newScriptModal .new-work-card[data-category="film"] { --work-ink: #9acaf0; }
  html.dark-mode .project-book-card.work-card-drama, html.dark-mode .list-work-type.work-card-drama, html.dark-mode #newScriptModal .new-work-card[data-category="drama"] { --work-ink: #e7a5c0; }
  html.dark-mode .project-book-card.work-card-novel, html.dark-mode .list-work-type.work-card-novel, html.dark-mode #newScriptModal .new-work-card[data-category="novel"] { --work-ink: #9bdbb1; }
  #nav-pricing:disabled { cursor: default; opacity: .6; }
  #nav-pricing:disabled:hover { background: transparent; }
  .project-book-card.work-card-film { background: linear-gradient(150deg, #f0f5fa 0%, #fff 72%); }
  html.dark-mode .project-book-card.work-card-film { background: linear-gradient(150deg, #202b34, #1a1a1a 76%); }

/* 编辑器窄桌面窗口：标题可收缩，操作区和按钮文字保持单行。 */
@media (min-width: 821px) {
  #editorView .editor-header { flex-wrap: nowrap; align-items: center; min-width: 0; }
  #editorView .editor-header > .btn { flex: 0 0 auto; white-space: nowrap; }
  #editorView .editor-title-input { flex: 1 1 0%; min-width: 0; width: 0; text-overflow: ellipsis; }
  #editorView .editor-header > .editor-actions-wrap { flex: 0 0 auto; flex-wrap: nowrap; max-width: none; min-width: 0; }
  #editorView .editor-actions-menu { flex-wrap: nowrap; white-space: nowrap; }
  #editorView .editor-actions-menu > * { flex-shrink: 0; }
  #editorView .view-tabs { flex-wrap: nowrap; }
  #editorView .view-tabs button, #editorView .editor-actions-menu > .btn,
  #editorView .export-btn { white-space: nowrap; flex-shrink: 0; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .app.editor-active > .content { padding-left: 16px; padding-right: 16px; }
  #editorView .editor-header { gap: 6px; }
  #editorView .editor-actions-menu { gap: 4px !important; }
  #editorView .editor-header .btn { padding-left: 8px; padding-right: 8px; font-size: 12px; }
  #editorView .view-tabs button { padding-left: 8px; padding-right: 8px; }
  #editorView .view-tabs-label { display: none; }
  #editorView .title-sync-hint { max-width: 60px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* 斜杠菜单数字快捷选择：数字只是界面提示，不写入正文。 */
#screenplaySlashMenu button { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#screenplaySlashMenu .slash-option-key { flex: 0 0 auto; min-width: 18px; padding: 1px 4px; text-align: center; border: 1px solid #dfe3e8; border-radius: 4px; color: #8a929c; background: transparent; font: 10px/1.4 system-ui, sans-serif; }
html.dark-mode #screenplaySlashMenu .slash-option-key { border-color: #414141; color: #999; }

/* 自动续话标记不属于可编辑文字，复制、退格和光标均不会进入其中。 */
.screenplay-page .script-block[data-type="character"][data-continuation]::after {
  content: attr(data-continuation); user-select: none; -webkit-user-select: none;
  pointer-events: none; white-space: pre; font: inherit; color: inherit;
}

/* 中文格式设置：仅作用于当前作品的中文排版。 */
#editorSettingsMenu.chinese-settings-visible { width: 390px; max-width: calc(100vw - 16px); max-height: calc(100dvh - 24px); overflow-y: auto; box-sizing: border-box; }
#chineseFormatSettings[hidden] { display: none; }
.chinese-layout-options { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.chinese-layout-options fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chinese-layout-options legend { font-size: 11px; color: #8a8f98; margin-bottom: 9px; padding: 0; }
.chinese-layout-options label, .chinese-cast-option { display: flex; align-items: center; gap: 8px; font-size: 12px; color: inherit; cursor: pointer; }
.chinese-layout-options label { min-height: 31px; }
.chinese-layout-options input, .chinese-cast-option input { margin: 0; width: 14px; height: 14px; flex: 0 0 auto; accent-color: var(--brand); }
.chinese-cast-option { margin-top: 12px; }
.screenplay-page.format-chinese.chinese-prefix-solid .script-block[data-type="action"]::before { content: '▲'; }
.screenplay-page.format-chinese.chinese-prefix-none .script-block[data-type="action"]::before { content: none; }
.screenplay-page.format-chinese.chinese-prefix-none .script-block[data-type="action"] { padding-left: 0 !important; }
.screenplay-page.format-chinese.chinese-dialogue-separate .script-block[data-type="character"] { margin-bottom: 0 !important; }
.screenplay-page.format-chinese.chinese-dialogue-separate .script-block[data-type="dialogue"] { padding-left: 0 !important; margin-top: 0 !important; }
.screenplay-page.format-chinese.chinese-dialogue-separate .script-block[data-type="dialogue"]::before { content: none; }
.screenplay-page.format-chinese.chinese-dialogue-separate .script-block[data-type="parenthetical"] { margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.screenplay-page.format-chinese .scene-heading-row[data-cast]::after { content: '出场人物：' attr(data-cast); display: block; font: inherit; font-weight: 400; text-align: left; margin-top: 0; padding-bottom: 16px; user-select: none; -webkit-user-select: none; pointer-events: none; color: inherit; white-space: pre-wrap; }
html.dark-mode .chinese-layout-options legend { color: #929292; }
@media(max-width:420px) { .chinese-layout-options { gap: 10px; }.chinese-layout-options label { font-size: 11px; } }

/* 出场人物行增加高度时，左右序号仍与场景标题居中对齐。 */
.screenplay-page.format-chinese .scene-heading-row[data-cast] .scene-num {
  top: calc(var(--scene-title-height, 24px) / 2);
}

/* 中文设置改为独立分组、选中卡片与布局预览。 */
#editorSettingsMenu.chinese-settings-visible { width: 360px; padding: 16px; }
#chineseFormatSettings { margin-top: 15px; padding-top: 15px; border-top: 1px solid #e8ebee; }
.chinese-settings-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.chinese-settings-heading .settings-label { margin: 0; font-size: 13px; font-weight: 650; color: #303741; }
.chinese-settings-heading small { font-size: 10px; color: #9ca3af; }
#chineseFormatSettings .chinese-layout-options { display: grid; grid-template-columns: 1fr; gap: 18px; }
#chineseFormatSettings legend { font-size: 11px; color: #737d89; margin-bottom: 9px; }
.chinese-prefix-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.chinese-dialogue-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#chineseFormatSettings .chinese-choice { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 12px 5px; border: 1px solid #e3e7eb; border-radius: 8px; background: #fafbfc; color: #737d89; box-sizing: border-box; cursor: pointer; transition: border-color .12s, background .12s; }
#chineseFormatSettings .chinese-choice:hover { border-color: #b7c3ce; }
#chineseFormatSettings .chinese-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft, #edf5fb); color: var(--brand); }
#chineseFormatSettings .chinese-choice:has(input:checked)::after { content: ''; position: absolute; top: 6px; right: 6px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
#chineseFormatSettings .chinese-choice:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
#chineseFormatSettings .chinese-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; clip-path: inset(50%); }
.prefix-symbol { font-size: 23px; line-height: 26px; height: 26px; }
.prefix-symbol.prefix-none { font-size: 16px; font-weight: 400; }
#chineseFormatSettings .choice-title { font-size: 11px; font-weight: 500; line-height: 1.5; }
#chineseFormatSettings .dialogue-choice { align-items: stretch; justify-content: flex-start; padding: 11px 12px; gap: 10px; }
#chineseFormatSettings .dialogue-choice .choice-title { font-weight: 600; }
.dialogue-preview { display: block; font-family: 'Songti SC', SimSun, serif; font-size: 11px; line-height: 1.8; min-height: 40px; padding-top: 8px; border-top: 1px solid #dfe5ea; color: #65717e; }
.dialogue-preview b { font-weight: 600; }
#chineseFormatSettings .chinese-cast-option { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; margin: 18px 0 0; padding: 15px 0 0; border-top: 1px solid #e8ebee; cursor: pointer; }
.cast-option-copy { display: flex; flex-direction: column; gap: 5px; color: #46515e; font-size: 12px; }
.cast-option-copy small { color: #929ba5; font-size: 10px; font-weight: 400; }
#chineseFormatSettings .chinese-cast-option input { position: absolute; right: 0; width: 32px; height: 20px; opacity: 0; margin: 0; }
.cast-option-switch { display: block; position: relative; width: 32px; height: 19px; flex: 0 0 32px; border-radius: 12px; background: #d4dae0; transition: background .15s; }
.cast-option-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: transform .15s; }
.chinese-cast-option input:checked + .cast-option-switch { background: var(--brand); }
.chinese-cast-option input:checked + .cast-option-switch::after { transform: translateX(13px); }
.chinese-cast-option input:focus-visible + .cast-option-switch { outline: 2px solid var(--brand); outline-offset: 3px; }
html.dark-mode #chineseFormatSettings, html.dark-mode #chineseFormatSettings .chinese-cast-option { border-color: #34383d; }
html.dark-mode .chinese-settings-heading .settings-label, html.dark-mode .cast-option-copy { color: #d1d5d9; }
html.dark-mode #chineseFormatSettings .chinese-choice { background: #222528; border-color: #3b4146; color: #a8b0b8; }
html.dark-mode #chineseFormatSettings .chinese-choice:has(input:checked) { background: var(--brand-soft, #26343b); border-color: var(--brand); color: var(--brand); }
html.dark-mode .dialogue-preview { border-color: #3c454c; color: #b6bec6; }
html.dark-mode .cast-option-switch { background: #464d53; }
@media(max-width:420px) { #editorSettingsMenu.chinese-settings-visible { padding: 14px; } #chineseFormatSettings .chinese-choice { padding-left: 5px; padding-right: 5px; } #chineseFormatSettings .dialogue-choice { padding: 10px; } }

/* 中文排版设置紧凑化；选中状态只保留边框与底色。 */
#editorSettingsMenu.chinese-settings-visible { width: 320px; padding: 12px; }
#chineseFormatSettings { margin-top: 10px; padding-top: 10px; }
.chinese-settings-heading { margin-bottom: 11px; }
#chineseFormatSettings .chinese-layout-options { gap: 12px; }
#chineseFormatSettings legend { margin-bottom: 6px; }
.chinese-prefix-choices, .chinese-dialogue-choices { gap: 6px; }
#chineseFormatSettings .chinese-choice { min-height: 0; padding: 7px 5px; gap: 3px; border-radius: 6px; }
#chineseFormatSettings .chinese-choice:has(input:checked)::after { content: none; }
#chineseFormatSettings .prefix-symbol { font-size: 18px; line-height: 21px; height: 21px; }
#chineseFormatSettings .prefix-symbol.prefix-none { font-size: 13px; }
#chineseFormatSettings .choice-title { font-size: 10px; }
#chineseFormatSettings .dialogue-choice { padding: 7px 9px; gap: 5px; }
#chineseFormatSettings .dialogue-preview { padding-top: 5px; min-height: 31px; font-size: 10px; line-height: 1.55; }
#chineseFormatSettings .chinese-cast-option { margin-top: 11px; padding-top: 10px; gap: 10px; }
#chineseFormatSettings .cast-option-copy { gap: 3px; font-size: 11px; }
#chineseFormatSettings .cast-option-copy small { font-size: 9px; }

/* v27 作品卡片：紧凑圆角、标题下方分类，不显示迷你大纲。 */
:is(#projectBookGrid,#classicWorksGrid .project-book-grid), #classicWorksGrid .project-book-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 174px)); gap: 20px; }
.project-book-card:not(.cm-book-card) { border-radius: 11px; padding: 11px; aspect-ratio: .8 / 1; }
.project-book-card:not(.cm-book-card) .project-book-cover { display: none; }
.project-book-card:not(.cm-book-card) .work-card-heading { flex-direction: column; align-items: stretch; gap: 5px; margin-bottom: 10px; }
.project-book-card:not(.cm-book-card) .project-book-title { flex: 0 0 auto; font-size: 16px; }
.project-book-card:not(.cm-book-card) .work-card-heading .work-card-signature { padding: 0; margin: 0; align-self: flex-start; font-size: 9px; gap: 4px; line-height: 1.4; }
.project-book-card:not(.cm-book-card) .work-card-heading .work-card-signature svg { width: 12px; height: 12px; }
.project-book-card:not(.cm-book-card) .book-bottom-row > .book-meta { margin-left: 0; }
.project-book-card:not(.cm-book-card) .book-bottom-row > .proj-status { margin-left: auto; }
@media (max-width: 820px) {
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid), #classicWorksGrid .project-book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .project-book-card:not(.cm-book-card) { padding: 8px; border-radius: 9px; }
  .project-book-card:not(.cm-book-card) .project-book-title { font-size: 13px; }
  .project-book-card:not(.cm-book-card) .work-card-heading { gap: 4px; margin-bottom: 7px; }
}
@media (max-width: 480px) {
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid), #classicWorksGrid .project-book-grid { gap: 7px; }
  .project-book-card:not(.cm-book-card) { padding: 6px; border-radius: 8px; }
  .project-book-card:not(.cm-book-card) .project-book-title { font-size: 12px; }
  .project-book-card:not(.cm-book-card) .work-card-heading { gap: 3px; margin-bottom: 5px; }
  .project-book-card:not(.cm-book-card) .work-card-heading .work-card-signature { font-size: 8px; gap: 3px; }
  .project-book-card:not(.cm-book-card) .work-card-heading .work-card-signature svg { width: 10px; height: 10px; }
}

/* 类型移到右上角，独立留出一行，避免遮挡两行标题。 */
.project-book-card:not(.cm-book-card) .work-card-heading { position: relative; padding-top: 20px; }
.project-book-card:not(.cm-book-card) .work-card-heading > .work-card-signature { position: absolute; top: 0; right: 0; margin: 0; padding: 0; }
@media (max-width: 480px) {
  .project-book-card:not(.cm-book-card) .work-card-heading { padding-top: 16px; }
}

/* 标题、类型同排，梗概与底部信息形成清晰的三段层级。 */
.project-book-card:not(.cm-book-card) .work-card-heading { position: static; flex-direction: row; align-items: flex-start; gap: 7px; padding-top: 0; margin-bottom: 11px; }
.project-book-card:not(.cm-book-card) .work-card-heading > .project-book-title { flex: 1 1 0; min-width: 0; margin: 0; line-height: 1.4; }
.project-book-card:not(.cm-book-card) .card-type-label { flex: 0 0 auto; padding-top: 3px; max-width: 42%; }
.project-book-card:not(.cm-book-card) .card-type-label .work-card-signature { position: static; display: flex; align-items: center; white-space: nowrap; margin: 0; padding: 0; gap: 3px; font-size: 8px; line-height: 1.5; }
.project-book-card:not(.cm-book-card) .card-type-label .work-card-signature svg { width: 11px; height: 11px; flex: 0 0 auto; }
.project-book-card:not(.cm-book-card) .book-synopsis { font-size: 11px; line-height: 1.7; color: #87918c; }
.project-book-card:not(.cm-book-card) .book-bottom-row { align-items: center; justify-content: space-between; padding-top: 10px; gap: 6px; }
html.dark-mode .project-book-card:not(.cm-book-card) .book-synopsis { color: #929d96; }
@media (max-width: 820px) {
  .project-book-card:not(.cm-book-card) .work-card-heading { gap: 4px; padding-top: 0; margin-bottom: 8px; }
  .project-book-card:not(.cm-book-card) .card-type-label { padding-top: 2px; max-width: none; }
  .project-book-card:not(.cm-book-card) .card-type-label .work-card-signature span { display: none; }
  .project-book-card:not(.cm-book-card) .card-type-label .work-card-signature svg { width: 12px; height: 12px; }
  .project-book-card:not(.cm-book-card) .book-synopsis { font-size: 10px; line-height: 1.6; }
}
@media (max-width: 480px) {
  .project-book-card:not(.cm-book-card) .work-card-heading { margin-bottom: 6px; }
  .project-book-card:not(.cm-book-card) .book-synopsis { font-size: 9px; line-height: 1.5; }
}

/* 卡片底部信息分隔线。 */
.project-book-card:not(.cm-book-card) .book-bottom-row { border-top: 1px solid #e5e9e5; }
html.dark-mode .project-book-card:not(.cm-book-card) .book-bottom-row { border-top-color: #343a35; }

/* 手机作品页：标题和搜索同行，卡片两列。 */
@media (max-width: 820px) {
  #projectsView .proj-title-search { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
  #projectsView .proj-title-search > .page-title { flex: 0 0 auto; }
  #projectsView .proj-title-search > .proj-search { flex: 1 1 0; width: auto; max-width: 270px; min-width: 0; margin-left: auto; }
  #projectsView .proj-title-search .proj-search input { box-sizing: border-box; width: 100%; min-width: 0; height: 34px; padding-top: 6px; padding-bottom: 6px; font-size: 16px; }
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
}
@media (max-width: 480px) {
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid) .project-book-card { padding: 10px; border-radius: 10px; }
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid) .project-book-title { font-size: 14px; }
  :is(#projectBookGrid,#classicWorksGrid .project-book-grid) .book-synopsis { font-size: 11px; line-height: 1.65; }
}

/* 经典与作品统一手机双列，并恢复卡片底部统计。 */
@media (max-width: 820px) {
  #classicWorksGrid .project-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .project-book-card:not(.cm-book-card) .book-bottom-row > .book-meta { display: flex; flex: 0 1 auto; margin-left: 0; font-size: 10px; }
  .project-book-card:not(.cm-book-card) .book-bottom-row { justify-content: space-between; gap: 6px; }
}
@media (max-width: 480px) {
  #classicWorksGrid .project-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  #classicWorksGrid .project-book-card { padding: 10px; border-radius: 10px; }
  #classicWorksGrid .project-book-title { font-size: 14px; }
  #classicWorksGrid .book-synopsis { font-size: 11px; line-height: 1.65; }
  .project-book-card:not(.cm-book-card) .book-bottom-row > .book-meta { font-size: 9px; }
}

/* 编辑器设置入口只保留图标和文字，暗色与悬停时也不铺底色。 */
.editor-settings-button,
.editor-settings-button:hover,
.editor-settings-button:active,
html.dark-mode .editor-settings-button,
html.dark-mode .editor-settings-button:hover,
html.dark-mode .editor-settings-button:active {
  background: transparent; border: none; box-shadow: none;
}

/* 故事分析与内容校对 */
.story-tool-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.story-tool-heading h3 { margin: 0; }.story-tool-summary { color: #88938c; font-size: 11px; }
.story-tool-note { color: #8a938e; font-size: 11px; line-height: 1.8; margin: 8px 0 14px; }
.conflict-frequency-chart { overflow-x: auto; padding: 10px 0 5px; }
.conflict-frequency-plot { display: flex; align-items: flex-end; min-width: 100%; width: max-content; height: 180px; border-bottom: 1px solid #e6eae6; gap: 5px; }
.conflict-frequency-bar { display: flex; flex: 1 0 24px; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; max-width: 52px; min-width: 24px; border: 0; background: transparent; padding: 0 2px; color: #7a887f; cursor: pointer; }
.conflict-frequency-bar i { display: block; width: 75%; min-width: 12px; max-width: 28px; background: var(--brand); border-radius: 3px 3px 0 0; opacity: .65; }.conflict-frequency-bar:hover i { opacity: 1; }.conflict-frequency-bar i.frequency-zero { background: #cfd6d0; }
.frequency-value,.conflict-frequency-bar small { font-size: 10px; font-style: normal; }
.conflict-frequency-details { margin-top: 12px; font-size: 11px; color: #7d8980; }.conflict-frequency-details summary { cursor: pointer; }
.conflict-frequency-table-wrap { max-height: 330px; overflow: auto; }.conflict-frequency-table { width: 100%; border-collapse: collapse; font-size: 11px; }.conflict-frequency-table th,.conflict-frequency-table td { padding: 9px 8px; text-align: right; border-bottom: 1px solid #e9ede9; white-space: nowrap; }.conflict-frequency-table th:first-child,.conflict-frequency-table td:first-child { text-align: left; }.conflict-frequency-table td:first-child { white-space: normal; min-width: 130px; }.conflict-frequency-table button { border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }.conflict-frequency-table button:hover { color: var(--brand); }
.proofreading-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }.proofreading-header .page-title { font-size: 24px; }.proofreading-filters { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 16px; }.proofreading-filters button { border: 1px solid #e2e7e2; border-radius: 5px; padding: 6px 10px; font-size: 11px; background: transparent; color: #89918c; cursor: pointer; }.proofreading-filters button.active { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.proofreading-results { display: flex; flex-direction: column; gap: 9px; }.proofreading-item { width: 100%; border: 1px solid #e5e9e5; border-radius: 6px; background: transparent; text-align: left; padding: 14px 16px; color: inherit; cursor: pointer; }.proofreading-item:hover { border-color: var(--brand); }.proofreading-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.proofreading-item strong { font-size: 12px; font-weight: 500; }.proofreading-item small { font-size: 10px; color: #8b958e; white-space: nowrap; }.proofreading-item p { color: #8b958e; font-size: 12px; line-height: 1.8; margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }.proofreading-empty { text-align: center; color: #8b958e; padding: 40px 10px; font-size: 13px; }
#screenplayPage .script-block.story-tool-target { outline: 1px solid var(--brand); outline-offset: 3px; }
html.dark-mode .proofreading-item,html.dark-mode .proofreading-filters button,html.dark-mode .conflict-frequency-plot,html.dark-mode .conflict-frequency-table td,html.dark-mode .conflict-frequency-table th { border-color: #343b35; }
@media(min-width:821px) and (max-width:1100px) { #editorView .editor-actions-menu > .btn { font-size: 11px; padding-left: 5px; padding-right: 5px; } #editorView .view-tabs button { padding-left: 6px; padding-right: 6px; } }
@media(max-width:820px) { .proofreading-header .page-title { font-size: 20px; }.proofreading-header .page-sub { font-size: 11px; }.proofreading-item { padding: 12px; }.proofreading-item-heading { align-items: flex-start; }.story-tool-heading { align-items: flex-start; } }

/* 可见窗口高度：适配 iPad Safari 工具栏、横竖屏及软键盘。 */
:root { --app-visible-height: 100vh; }
@supports (height: 100dvh) { :root { --app-visible-height: 100dvh; } }
@media (min-width: 821px) {
  .app { height: var(--app-visible-height); min-height: 0; }
  .sidebar { height: 100%; min-height: 0; }
  .content { height: 100%; min-height: 0; min-width: 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; }
  .content > .view:not(#editorView) { height: auto; flex: 0 0 auto; min-height: 0; padding-bottom: 12px; }
  .content > #editorView { height: auto; flex: 1 1 auto; min-height: 0; overflow: hidden; }
  #editorView .editor-header { flex: 0 0 auto; }
  #editorView .editor-layout { min-height: 0; min-width: 0; }
  #editorView .editor-main, #editorView .side-panel { min-height: 0; min-width: 0; }
  #editorView .screenplay-scroll { flex: 1 1 0; min-height: 0; -webkit-overflow-scrolling: touch; }
  #editorView #canvasView, #editorView #shotView { min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
  #editorView .screenplay-hint-row { flex: 0 0 auto; }
  .sidebar-footer { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 821px) and (max-width: 1366px) and (pointer: coarse) {
  .app.editor-active > .content { padding: 14px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  #editorView .editor-layout:not(.side-collapsed) { grid-template-columns: minmax(0, 1fr) 230px; gap: 10px; }
  #editorView .editor-layout.side-collapsed { grid-template-columns: minmax(0, 1fr); }
  .screenplay-hint { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
}
@media (max-width: 820px) {
  .app { min-height: var(--app-visible-height); }
  .app.editor-active { height: var(--app-visible-height); min-height: 0; bottom: auto; }
  .app.editor-active > .content { height: 100%; min-height: 0; }
  .app.editor-active #editorView { height: 100%; min-height: 0; }
  .app.editor-active .editor-layout, .app.editor-active .editor-main { min-height: 0; }
  .app.editor-active .screenplay-hint-row { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .content > .view:not(#editorView) { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
.app.editor-focus-mode #editorView { height: var(--app-visible-height) !important; bottom: auto; }
.app.editor-focus-mode #editorView .editor-main { height: 100% !important; min-height: 0; }
.modal-content { max-height: calc(var(--app-visible-height) - 32px); overflow-y: auto; }
#editorSettingsMenu { max-height: calc(var(--app-visible-height) - 24px); }

/* 左栏选中项使用低饱和中性色底，主题色仅用于文字与图标。 */
.sidebar-nav > button:not(.btn-new-script).active,
.sidebar-bottom-nav > button.active {
  background: #e6eae8; color: var(--brand); color: color-mix(in srgb, var(--brand) 62%, #39463f);
  font-weight: 600; box-shadow: none;
}
.sidebar-nav > button:not(.btn-new-script):not(.active):hover,
.sidebar-bottom-nav > button:not(.active):not(:disabled):hover { background: #ecefed; color: #56645c; }
html.dark-mode .sidebar-nav > button:not(.btn-new-script).active,
html.dark-mode .sidebar-bottom-nav > button.active {
  background: #2a2e2c; color: var(--brand-tint); color: color-mix(in srgb, var(--brand-tint) 55%, #c4cec7);
  box-shadow: none;
}
html.dark-mode .sidebar-nav > button:not(.btn-new-script):not(.active):hover,
html.dark-mode .sidebar-bottom-nav > button:not(.active):not(:disabled):hover { background: #202422; color: #bac4bd; }

/* 舞台 / 百老汇：现代美式舞台剧，独立于影视排版。 */
.screenplay-page.format-broadway .scene-heading-row { margin-top: 32px; margin-bottom: 24px; }
.screenplay-page.format-broadway .scene-heading-row:first-child { margin-top: 0; }
.screenplay-page.format-broadway .scene-heading-row .scene-num { display: none; }
.screenplay-page.format-broadway .script-block[data-type="scene"] { text-align: center; text-transform: uppercase; font-weight: 700; }
.screenplay-page.format-broadway .script-block[data-type="character"] { margin-left: 0 !important; margin-right: 0 !important; margin-top: 16px; margin-bottom: 0; text-align: center; text-transform: uppercase; width: auto; }
.screenplay-page.format-broadway .script-block[data-type="dialogue"] { margin-left: 0 !important; margin-right: 0 !important; margin-top: 0; margin-bottom: 16px; text-align: left; width: auto; padding-left: 0 !important; }
.screenplay-page.format-broadway .script-block[data-type="action"] { margin-left: 45% !important; margin-right: 0 !important; margin-top: 16px; margin-bottom: 16px; text-align: left; width: auto; font-style: normal; }
.screenplay-page.format-broadway .script-block[data-type="parenthetical"] { margin-left: 32% !important; margin-right: 0 !important; margin-top: 0; margin-bottom: 0; text-align: left; width: auto; font-style: normal; }
.screenplay-page.format-broadway .script-block[data-type="transition"] { text-align: center; margin-left: 0 !important; margin-right: 0 !important; text-transform: uppercase; }

/* 舞台 / 话剧：中文舞台稿层级，与影视中文格式分开。 */
.screenplay-page.format-stage-chinese .scene-heading-row { margin-top: 32px; margin-bottom: 24px; }
.screenplay-page.format-stage-chinese .scene-heading-row:first-child { margin-top: 0; }
.screenplay-page.format-stage-chinese .scene-heading-row .scene-num { display: none; }
.screenplay-page.format-stage-chinese .script-block[data-type="scene"] { text-align: center; font-weight: 700; text-transform: none; }
.screenplay-page.format-stage-chinese .script-block[data-type="character"] { font-weight: 700; text-transform: none; }
.screenplay-page.format-stage-chinese .script-block[data-type="action"] { margin-left: 0 !important; margin-right: 0 !important; text-align: left; font-style: normal; }
.screenplay-page.format-stage-chinese .script-block[data-type="parenthetical"] { font-style: normal; font-weight: 400; }
.screenplay-page.format-stage-chinese .script-block[data-type="transition"] { margin-left: 0 !important; margin-right: 0 !important; text-align: center; text-transform: none; }

/* 创作第一步：三个类型选择卡片。 */
.new-work-type-dialog { width: 690px; max-width: calc(100vw - 32px); padding: 30px; }
.new-work-type-dialog .modal-title { font-size: 22px; margin-bottom: 8px; }
.new-work-type-dialog .modal-sub { margin-bottom: 22px; }
.new-work-type-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.new-work-type-choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; min-height: 190px; padding: 20px 17px; text-align: left; background: #fafbfa; border: 1px solid #e1e6e1; border-radius: 7px; color: #3c4941; cursor: pointer; transition: background .15s,border-color .15s; }
.new-work-type-choice.work-card-film { --type-color:#326c9c; --type-bg:#f0f5fa; }.new-work-type-choice.work-card-drama { --type-color:#a14f70; --type-bg:#faf0f3; }.new-work-type-choice.work-card-novel { --type-color:#2e7b50; --type-bg:#edf6ef; }
.new-work-type-choice:hover,.new-work-type-choice:focus-visible { background: var(--type-bg); border-color: var(--type-color); outline: none; }
.new-work-type-icon { display: block; margin-bottom: 12px; color: var(--type-color); }.new-work-type-icon .work-card-signature { color: inherit; margin: 0; padding: 0; }.new-work-type-icon .work-card-signature span { display: none; }.new-work-type-icon svg { width: 29px; height: 29px; }
.new-work-type-choice strong { font-size: 18px; font-weight: 600; }.new-work-type-description { font-size: 11px; line-height: 1.7; color: #8b968f; }.new-work-type-arrow { position: absolute; top: 15px; right: 15px; font-size: 15px; color: #a1aca5; }
.new-work-card-top .new-work-type-back { font-size: 10px; color: #839087; }
html.dark-mode .new-work-type-choice { background: #202421; border-color: #363f38; color: #d5ddd7; }html.dark-mode .new-work-type-choice.work-card-film { --type-color:#9acaf0; --type-bg:#222f39; }html.dark-mode .new-work-type-choice.work-card-drama { --type-color:#e7a5c0; --type-bg:#35272f; }html.dark-mode .new-work-type-choice.work-card-novel { --type-color:#9bdbb1; --type-bg:#24352a; }html.dark-mode .new-work-type-choice:hover,html.dark-mode .new-work-type-choice:focus-visible { background: var(--type-bg); border-color: var(--type-color); }
@media(max-width:600px) {
  .new-work-type-dialog { padding: 24px 20px; }.new-work-type-dialog .modal-title { font-size: 20px; }.new-work-type-dialog .modal-sub { font-size: 11px; margin-bottom: 16px; }
  .new-work-type-choices { grid-template-columns: 1fr; gap: 10px; }
  .new-work-type-choice { display: grid; grid-template-columns: 35px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 13px; row-gap: 3px; min-height: 86px; padding: 16px; }
  .new-work-type-icon { grid-row: 1 / 3; margin: 0; align-self: center; }.new-work-type-choice strong { grid-column: 2; padding-right: 16px; font-size: 16px; }.new-work-type-description { grid-column: 2; padding-right: 12px; }
}

/* 新建类型选择卡沿用作品卡片的分类渐变。 */
.new-work-type-choice.work-card-film { background: linear-gradient(150deg, #f0f5fa 0%, #fff 72%); }
.new-work-type-choice.work-card-drama { background: linear-gradient(150deg, #faf0f2 0%, #fff 72%); }
.new-work-type-choice.work-card-novel { background: linear-gradient(150deg, #edf6ef 0%, #fff 72%); }
html.dark-mode .new-work-type-choice.work-card-film { background: linear-gradient(150deg, #202b34, #1a1a1a 76%); }
html.dark-mode .new-work-type-choice.work-card-drama { background: linear-gradient(150deg, #33242b, #1a1a1a 76%); }
html.dark-mode .new-work-type-choice.work-card-novel { background: linear-gradient(150deg, #203128, #1a1a1a 76%); }
.new-work-type-choice:hover, .new-work-type-choice:focus-visible { border-color: var(--type-color); }

.new-work-type-dialog #newWorkTypeTitle { margin-bottom: 22px; }

.new-work-type-dialog:focus { outline: none; }

/* 弹窗仅加深遮罩，不模糊后方页面。 */
.modal { background: rgba(0, 0, 0, .618); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 后加的组件同步使用恢复后的圆角尺度。 */
.new-work-type-choice { border-radius: 12px; }
.proofreading-filters button { border-radius: 8px; }
.proofreading-item { border-radius: 10px; }


/* 滚轮缩放期间停用画布悬浮提示，轨道标题和文字字号保持不变。 */


/* 打开作品后隐藏侧栏，返回作品/经典等页面自动恢复。 */
.app.work-open > .sidebar { display: none; }
.app.work-open > .content { min-width: 0; }
.user-menu { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 820px) { .app.work-open:not(.editor-active) { padding-top: 0; } }

/* 场景拖动排序：不依赖浏览器原生拖拽。 */
.timeline-track .tl-seg { -webkit-user-drag: none; cursor: grab; }
.timeline-track .tl-seg.dragging { opacity: .45; }
body.scene-pointer-dragging, body.scene-pointer-dragging * { cursor: grabbing !important; user-select: none !important; }

/* 一条独立插入线横跨可见轨道宽度，覆盖标题列，不叠画两条边线。 */
#outlineInner .outline-track-row.drop-before, #outlineInner .outline-track-row.drop-after { box-shadow: none; }
#outlineTrackInsertLine { position: fixed; height: 2px; background: #10b981; pointer-events: none; z-index: 110; }
.outline-track-label { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; touch-action: none; }
body.track-pointer-dragging, body.track-pointer-dragging * { cursor: grabbing !important; user-select: none !important; }

/* 拖轨道只排序，不让标题文字进入浏览器拖选。 */
#outlineInner .outline-track-label, #outlineInner .outline-track-label * {
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}

/* 缩小相邻轨道色块之间的上下留白。 */
#outlineInner .outline-bar { top: 0; bottom: 0; }
#outlineInner .tl-seg { margin-top: 0; margin-bottom: 0; }

/* v28：作品页三个控件统一外框高度与内部对齐。 */
#projectsView { --project-control-height: 38px; }
#projectsView .proj-search input { box-sizing: border-box; height: var(--project-control-height); padding-top: 0; padding-bottom: 0; }
#projectsView .proj-filter, #projectsView .proj-view-toggle {
  box-sizing: border-box; height: var(--project-control-height); min-height: var(--project-control-height);
  display: inline-flex; align-items: stretch; padding: 3px;
}
#projectsView .proj-search input, #projectsView .proj-filter, #projectsView .proj-view-toggle { border: 1px solid #e5e7eb; }
html.dark-mode #projectsView .proj-search input, html.dark-mode #projectsView .proj-filter, html.dark-mode #projectsView .proj-view-toggle { border-color: #303030; }
#projectsView .proj-search input:focus { outline:none; }
#projectsView .proj-filter > button, #projectsView .proj-view-toggle > button {
  box-sizing: border-box; height: 100%; min-height: 0; margin-top: 0; margin-bottom: 0;
  display: inline-flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; line-height: 1;
}
@media (max-width: 820px) {
  #projectsView { --project-control-height: 34px; }
  #projectsView .proj-title-search .proj-search input { height: var(--project-control-height); padding-top: 0; padding-bottom: 0; }
}
/* 场景宽度严格按字数比例，短场景不能被内边距撑宽并挤掉末尾。 */
#outlineInner .tl-seg { min-width: 0; padding-left: 0; padding-right: 0; gap: 0; }
/* 列表类型降低视觉权重。 */
.list-work-type.work-card-film { --work-ink: #326c9c; }
.list-work-type.work-card-drama { --work-ink: #a14f70; }
.list-work-type.work-card-novel { --work-ink: #2e7b50; }
.list-work-type .work-card-signature { font-size: 11px; font-weight: 400; gap: 6px; }
.list-work-type .work-card-signature svg { width: 16px; height: 16px; stroke-width: 1.5; }
html.dark-mode .list-work-type.work-card-film { --work-ink: #9acaf0; }
html.dark-mode .list-work-type.work-card-drama { --work-ink: #e7a5c0; }
html.dark-mode .list-work-type.work-card-novel { --work-ink: #9bdbb1; }
/* 文档与探索分组。 */
.sidebar-section-label { padding: 17px 12px 7px; color: #9a9fa5; font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.sidebar-nav > .document-nav-item { font-size: 13px; padding-top: 8px; padding-bottom: 8px; }
.sidebar-section-label.exploration-label { padding-top: 22px; }
.sidebar.collapsed .sidebar-section-label { font-size: 0; height: 15px; padding: 0; }
html.dark-mode .sidebar-section-label { color: #767c83; }
/* 我的项目下的作品分类子栏。 */
.sidebar-nav > .document-nav-item[data-document-nav="film"],
.sidebar-nav > .document-nav-item[data-document-nav="drama"],
.sidebar-nav > .document-nav-item[data-document-nav="novel"] {
  margin-left: 22px; width: calc(100% - 22px); padding-left: 12px; font-size: 12px;
}
.sidebar.collapsed .sidebar-nav > .document-nav-item[data-document-nav="film"],
.sidebar.collapsed .sidebar-nav > .document-nav-item[data-document-nav="drama"],
.sidebar.collapsed .sidebar-nav > .document-nav-item[data-document-nav="novel"] {
  margin-left: 0; width: 100%; padding-left: 0;
}
.project-category-chevron { margin-left: auto; flex-shrink: 0; transition: transform .15s; }
.sidebar-nav [data-document-nav="all"][aria-expanded="false"] .project-category-chevron { transform: rotate(-90deg); }
.sidebar.collapsed .project-category-chevron { display: none; }
.sidebar-nav > .document-nav-item[hidden] { display: none !important; }
/* 编辑器右下角日夜切换与专注操作。 */
.editor-bottom-actions { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; }
.editor-bottom-actions .editor-focus-button { position: static; transform: none; padding-left: 0; }
.editor-theme-button { display: inline-flex; align-items: center; justify-content: center; padding: 5px 0; border: 0; background: transparent; color: #788392; cursor: pointer; }
.editor-theme-button:hover { color: var(--brand); }
.editor-theme-button .theme-sun { display: none; }
html.dark-mode .editor-theme-button { color: #a7aeba; }
html.dark-mode .editor-theme-button .theme-moon { display: none; }
html.dark-mode .editor-theme-button .theme-sun { display: block; }
.screenplay-hint-row .zoom-widget { right: 132px; }
/* 头像菜单内直接选择外观。 */
.user-theme-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-top: 5px; border-top: 1px solid #eceef0; }
.user-theme-label { font-size: 12px; color: #8a9098; }
#userMenu .user-theme-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 9px; background: #f5f5f5; }
#userMenu .user-theme-switch button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 28px; padding: 0; margin: 0; border: 0; border-radius: 7px; background: transparent; color: #777c82; cursor: pointer; }
#userMenu .user-theme-switch button.active { color: #24272b; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.09); }
#userMenu .user-theme-switch button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
html.dark-mode .user-theme-row { border-top-color: #33373b; }
html.dark-mode #userMenu .user-theme-switch { background: #202224; }
html.dark-mode #userMenu .user-theme-switch button { color: #9da3ab; }
html.dark-mode #userMenu .user-theme-switch button.active { color: #f0f1f2; background: #393d42; box-shadow: 0 1px 5px rgba(0,0,0,.2); }
/* 手机导航弹窗去掉外圈描边，暗色模式同步。 */
@media (max-width: 820px) {
  #sidebar .sidebar-nav, html.dark-mode #sidebar .sidebar-nav { border: 0; }
}
/* 分类淡色铺满作品卡片。 */
.project-book-card.work-card-film { background: #f0f5fa; }
.project-book-card.work-card-drama { background: #faf0f2; }
.project-book-card.work-card-novel { background: #edf6ef; }
html.dark-mode .project-book-card.work-card-film { background: #202b34; }
html.dark-mode .project-book-card.work-card-drama { background: #33242b; }
html.dark-mode .project-book-card.work-card-novel { background: #203128; }
.ai-work-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.ai-work-heading small { max-width:60%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:10px; font-weight:400; color:#8c949e; }

.ai-proof-actions,.ai-outline-actions,.ai-outline-heading { display:flex; align-items:center; gap:8px; }
.ai-outline-heading { justify-content:space-between; margin-bottom:16px; }
.ai-outline-heading h3 { margin:0; }
.ai-outline-dialog { width:660px; max-width:calc(100vw - 28px); max-height:calc(var(--app-visible-height,100dvh) - 32px); overflow:auto; }
.ai-outline-dialog label { display:block; font-size:12px; color:#87909b; margin-bottom:6px; }
.ai-outline-dialog textarea { width:100%; box-sizing:border-box; padding:10px; font:inherit; font-size:13px; border:1px solid #dfe4e8; border-radius:8px; background:transparent; color:inherit; resize:vertical; }
.ai-outline-actions { justify-content:flex-end; margin-top:18px; flex-wrap:wrap; }
html.dark-mode .ai-outline-dialog textarea { border-color:#383d43; }
@media(max-width:820px){.proofreading-header { gap:12px; flex-wrap:wrap; }.ai-outline-dialog textarea{font-size:16px;}}
.ai-track-generation { position: sticky; left: var(--outline-label-w,100px); display:flex; align-items:center; gap:10px; width:max-content; max-width:calc(100vw - 180px); height:100%; padding:0 12px; box-sizing:border-box; font-size:10px; color:#8792a0; overflow:hidden; white-space:nowrap; }
.ai-track-generation span { overflow:hidden; text-overflow:ellipsis; }

.ai-track-generation button { flex-shrink:0; border:0; background:transparent; padding:0 4px; color:var(--brand); font:inherit; cursor:pointer; }



/* 生成中的整条彩色轨道，百分比表示任务阶段进度。 */
.ai-track-generation { justify-content:space-between; max-width:none; border-radius:4px; }
.ai-track-generation.is-running { color:#263044; background:repeating-linear-gradient(90deg,#b39aee 0px,#ee9393 120px,#86b8ee 240px,#86cca3 360px,#efd16f 480px,#b39aee 600px); background-size:600px 100%; animation:ai-outline-colors 12s linear infinite; animation-delay:var(--ai-flow-delay,0s); }

.ai-track-percent { flex-shrink:0; font-size:10px; font-weight:650; font-variant-numeric:tabular-nums; }
.ai-track-generation.is-running span { text-shadow:0 1px 2px rgba(255,255,255,.3); }
@keyframes ai-outline-colors { from {background-position:0 0;} to {background-position:600px 0;} }
@media(prefers-reduced-motion:reduce){.ai-track-generation.is-running{animation:none;}}

/* 生成彩条覆盖完整轨道，状态文字在横向滚动时仍留在可见位置。 */
#outlineInner .outline-track-canvas.ai-generating-canvas { overflow:visible; }
#outlineInner .ai-generating-canvas .ai-track-generation { position:absolute; inset:0; width:100%; max-width:none; height:100%; padding:0; border-radius:0; display:block; }
#outlineInner .ai-generating-canvas .ai-track-generation > span { position:sticky; left:var(--outline-label-w,100px); display:inline-block; padding:0 12px; height:100%; max-width:calc(100vw - 120px); box-sizing:border-box; line-height:var(--row-h,22px); vertical-align:top; }
#outlineInner .ai-generating-canvas .ai-track-generation > button { position:sticky; left:calc(var(--outline-label-w,100px) + 150px); height:100%; vertical-align:top; }


/* 卡片标题与描述直接编辑，沿用卡片原有排版。 */
.canvas-card .canvas-inline-field { cursor:text; white-space:pre-wrap; overflow-wrap:anywhere; outline:none; }
.canvas-card .canvas-inline-field:empty::after { content:attr(data-placeholder); color:#a3aab3; pointer-events:none; }
.canvas-card .card-body:focus-within { overflow:auto; }
.canvas-card h4:focus-within { display:block; -webkit-line-clamp:unset; }
.canvas-card .canvas-inline-field:focus { caret-color:var(--brand); }

.canvas-card.canvas-add-card { display:flex; align-items:center; justify-content:center; padding:0; border:1px dashed #ccd3da; box-shadow:none; background:transparent; color:#9aa5b1; cursor:pointer; }
.canvas-card.canvas-add-card:hover { border-color:var(--brand); color:var(--brand); background:var(--brand-soft); }
html.dark-mode .canvas-card.canvas-add-card { border-color:#424950; color:#838e9a; background:transparent; }
html.dark-mode .canvas-card.canvas-add-card:hover { border-color:var(--brand-accent); color:var(--brand-accent); }

/* 大纲节点内容浮窗，颜色随节点。 */
.outline-content-window { position:fixed; z-index:240; box-sizing:border-box; width:480px; padding:18px 20px 16px; border-radius:16px; background:var(--node-color); color:var(--node-ink); box-shadow:0 12px 32px rgba(0,0,0,.24),0 2px 6px rgba(0,0,0,.08); }
.outline-content-window::before { content:''; position:absolute; top:-10px; left:var(--node-tip-left); width:20px; height:20px; transform:translateX(-50%) rotate(45deg); border-radius:3px; background:var(--node-color); }
.outline-content-window.opens-above::before { top:auto; bottom:-10px; }
.outline-content-top { display:flex; align-items:center; gap:10px; position:relative; }
.outline-content-title { min-width:0; flex:1; border:0; outline:0; background:transparent; color:inherit; font:inherit; font-size:18px; font-weight:650; padding:0; }
.outline-content-title::placeholder,.outline-content-body::placeholder { color:currentColor; opacity:.5; }
.outline-content-range { flex-shrink:0; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; opacity:.8; white-space:nowrap; }
.outline-content-close { flex-shrink:0; width:20px; height:24px; padding:0; border:0; background:transparent; color:inherit; opacity:.65; font-size:20px; cursor:pointer; }
.outline-content-body { display:block; box-sizing:border-box; width:100%; margin-top:13px; min-height:100px; max-height:45dvh; padding:0; border:0; outline:0; resize:vertical; background:transparent; color:inherit; font:inherit; font-size:14px; line-height:1.7; }
@media(max-width:820px){.outline-content-window{padding:14px 16px;border-radius:12px;}.outline-content-title,.outline-content-body{font-size:16px;}.outline-content-range{font-size:10px;}}

/* 卡片正文允许原生选字和输入，覆盖卡片拖动时的禁止选字样式。 */
.canvas-card [data-canvas-block-index] { user-select:text; -webkit-user-select:text; -webkit-user-drag:none; caret-color:var(--brand); }
.canvas-card h4 [data-canvas-type="scene"] { display:inline-block; min-width:1ch; min-height:1em; vertical-align:top; max-width:100%; }
.canvas-card h4 { cursor:text; }
html.dark-mode .canvas-card [data-canvas-block-index] { caret-color:var(--brand-accent); }

/* 同色浮窗以双层边线和阴影与后方轨道分离。 */
.outline-content-window { border:1px solid rgba(35,45,60,.28); box-shadow:0 15px 40px rgba(20,28,40,.3),0 3px 10px rgba(20,28,40,.14); }
.outline-content-window::before { border-left:1px solid rgba(35,45,60,.28); border-top:1px solid rgba(35,45,60,.28); }
.outline-content-window.opens-above::before { border:0; border-right:1px solid rgba(35,45,60,.28); border-bottom:1px solid rgba(35,45,60,.28); }
html.dark-mode .outline-content-window { border-color:rgba(255,255,255,.4); box-shadow:0 16px 42px rgba(0,0,0,.55),0 3px 10px rgba(0,0,0,.3); }

/* 缩紧大纲节点内容窗。 */
.outline-content-window { width:310px; padding:10px 12px 9px; border-radius:10px; }
.outline-content-title { font-size:16px; }
.outline-content-top { gap:8px; }
.outline-content-range { font-size:10px; }
.outline-content-body { margin-top:7px; min-height:50px; height:65px; font-size:13px; line-height:1.6; }
@media(max-width:820px){.outline-content-title,.outline-content-body{font-size:16px;}}

.outline-content-body { resize:none; max-height:none; overflow:hidden; }

/* 大纲要求是独立输入区，不受正文快捷键和拖动样式影响。 */
#aiOutlineModal { z-index:1200; }
#aiOutlineModal .modal-content { pointer-events:auto; }
#aiOutlineRequest { display:block; min-height:112px; pointer-events:auto; user-select:text; -webkit-user-select:text; caret-color:var(--brand); color:inherit; }
html.dark-mode #aiOutlineRequest { caret-color:var(--brand-accent); }

/* 桌面/平板横向调整右栏宽度。 */
.side-width-handle { display:none; }
@media(min-width:821px){
  #editorView .editor-layout:not(.side-collapsed) { grid-template-columns:minmax(0,1fr) var(--side-pane-width,280px); }
  #editorView .side-width-handle { display:block; position:absolute; top:0; bottom:0; right:calc(var(--side-pane-width,280px) + 3px); width:10px; z-index:15; cursor:col-resize; touch-action:none; outline:none; }
  .side-width-handle::after { content:''; position:absolute; top:0; bottom:0; left:4px; width:2px; background:transparent; border-radius:2px; transition:background .15s; }
  .side-width-handle:hover::after,.side-width-handle:focus-visible::after,.side-width-resizing .side-width-handle::after { background:var(--brand); }
  #editorView .side-collapsed .side-width-handle,.app.editor-focus-mode #editorView .side-width-handle { display:none; }
  .side-width-resizing { cursor:col-resize; user-select:none; }
}

.side-ai-image { flex-shrink:0; border:0; background:transparent; color:#8b95a1; font:inherit; font-size:10px; padding:5px 0 5px 6px; cursor:pointer; white-space:nowrap; }
.side-ai-image:hover { color:var(--brand); }
.side-avatar img { display:block; width:100%; height:100%; object-fit:cover; }
.side-avatar img[hidden] { display:none; }
#entityImageModal { z-index:1300; }
.entity-image-dialog { width:510px; }
.entity-image-dialog h3 { padding-right:25px; font-size:17px; margin:0 0 18px; }
.entity-image-dialog label { display:block; font-size:12px; color:#8c95a0; margin-bottom:6px; }
#entityImagePrompt { box-sizing:border-box; width:100%; font:inherit; font-size:13px; line-height:1.7; padding:10px; border:1px solid #dfe4e8; border-radius:8px; background:transparent; color:inherit; user-select:text; -webkit-user-select:text; resize:vertical; }
.entity-image-preview img { display:block; max-width:100%; max-height:38dvh; border-radius:9px; margin:14px auto 0; object-fit:contain; }
.entity-image-preview img[hidden] { display:none; }
html.dark-mode #entityImagePrompt { border-color:#3a4048; }
@media(max-width:820px){#entityImagePrompt{font-size:16px;}}

.outline-node-card { border-top:3px solid var(--node-card-color,#b39aee); }
.outline-node-track { font-size:10px; color:#929ba6; margin-bottom:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.outline-node-card [data-outline-field] { user-select:text; -webkit-user-select:text; -webkit-user-drag:none; caret-color:var(--brand); }
.outline-node-card [data-outline-field="label"] { display:inline-block; min-width:1ch; min-height:1em; max-width:100%; }
#canvasView .outline-node-card .card-body { display:block; }
.outline-node-card .card-body:focus-within { overflow:auto; }
.outline-node-loading { border-top-color:#86b8ee; color:#8792a0; font-size:12px; }
html.dark-mode .outline-node-card [data-outline-field] { caret-color:var(--brand-accent); }


/* 作品卡片移除类型底色，类型图标颜色保留 */
.project-book-card:not(.cm-book-card){background:#fff!important;}
html.dark-mode .project-book-card:not(.cm-book-card){background:#1a1a1a!important;}

/* 编辑器卡片按所属轨道分区，保留原有卡片外观 */
#canvasGrid.track-grouped-cards{display:block!important;box-sizing:border-box;width:100%;padding:16px;}
.track-card-section{margin:0 0 24px;}
.track-card-section-heading{display:flex;align-items:center;gap:9px;padding:0 0 10px;margin-bottom:12px;border-bottom:1px solid #e4e6ea;font-size:13px;font-weight:600;color:var(--text,#414852);}
.track-card-count{font-size:11px;font-weight:400;color:#9aa0a8;}
.track-card-section-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))!important;gap:16px!important;padding:0!important;}
.track-card-section-grid .outline-node-track{display:none!important;}
.track-grouped-cards>.canvas-add-card{width:220px;min-height:100px;font-size:26px;}
html.dark-mode .track-card-section-heading{border-color:#333;color:#ddd;}
@media(max-width:820px){#canvasGrid.track-grouped-cards{padding:10px}.track-card-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}}

/* 分类末尾的添加卡片入口 */
.track-grouped-cards .canvas-add-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:156px!important;border:1.5px dashed #d5dbe3!important;border-radius:9px!important;background:#fafbfd!important;color:#9aa5b4!important;box-shadow:none!important;cursor:pointer;transition:background .15s,border-color .15s;}
.track-grouped-cards .canvas-add-card:hover{background:#f3f6fa!important;border-color:#bac5d3!important;color:#748399!important;}
.track-add-symbol{display:block;font-family:Arial,sans-serif;font-size:36px;font-weight:300;line-height:1;}
.track-add-label{font-size:12px;font-weight:500;line-height:1.5;}
html.dark-mode .track-grouped-cards .canvas-add-card{background:#1e2228!important;border-color:#3b444f!important;color:#8793a3!important;}
html.dark-mode .track-grouped-cards .canvas-add-card:hover{background:#252c35!important;border-color:#627186!important;}

/* 节点卡片与对应大纲条使用同一底色 */
#canvasGrid.track-grouped-cards .outline-node-card:not(.outline-node-loading){background:var(--node-card-color)!important;color:#253041!important;border-color:rgba(37,48,65,.15)!important;}

/* 移除节点卡片顶部单独色条 */
#canvasGrid.track-grouped-cards .outline-node-card{border-top:1px solid rgba(37,48,65,.15)!important;}
#canvasGrid.track-grouped-cards .outline-node-card::before{display:none!important;}

/* 格式与段落样式只属于文本编辑视图 */
#editorView.hide-text-format-toolbar .screenplay-toolbar,#editorView.hide-text-format-toolbar .format-toggle-group{display:none!important;}

/* 彩色节点卡片内保持清晰的文字选择范围 */
#canvasGrid [data-outline-field]::selection,#canvasGrid [data-outline-field] *::selection{background:#245acb!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;}
#canvasGrid [data-outline-field]{user-select:text!important;-webkit-user-select:text!important;}

/* 场景卡片使用细滚动条，文字与滚动条之间留白 */
#canvasGrid .canvas-card .card-body{box-sizing:border-box;padding-right:8px;scrollbar-width:thin;scrollbar-color:rgba(120,130,145,.35) transparent;scrollbar-gutter:stable;}
#canvasGrid .canvas-card .card-body::-webkit-scrollbar{width:4px;height:4px;}
#canvasGrid .canvas-card .card-body::-webkit-scrollbar-track{background:transparent;}
#canvasGrid .canvas-card .card-body::-webkit-scrollbar-thumb{background:rgba(120,130,145,.35);border-radius:4px;}
#canvasGrid .canvas-card .card-body::-webkit-scrollbar-thumb:hover{background:rgba(120,130,145,.55);}
#canvasGrid .canvas-card .card-body::-webkit-scrollbar-button{display:none;width:0;height:0;}

/* 圆点来自伪元素；无样式段落必须同时隐藏该圆点 */
#canvasGrid .card-actions li[data-canvas-type="none"]::before{display:none!important;content:none!important;}

/* AI回答按Markdown显示，原始内容继续保存用于复制和插入 */
#aiChatMsgs .chat-bubble.ai-markdown{white-space:normal;overflow-wrap:anywhere;line-height:1.7;min-width:0;}
.ai-markdown p{margin:0 0 10px;}.ai-markdown>:last-child{margin-bottom:0;}
.ai-markdown h2,.ai-markdown h3,.ai-markdown h4,.ai-markdown h5,.ai-markdown h6{margin:14px 0 7px;font-size:1.08em;line-height:1.5;font-weight:650;color:inherit;}
.ai-markdown>:first-child{margin-top:0;}
.ai-markdown ul,.ai-markdown ol{margin:6px 0 12px;padding-left:22px;}.ai-markdown li{margin:4px 0;}
.ai-markdown strong{font-weight:700;}.ai-markdown a{color:var(--brand,#1687c9);text-decoration:underline;}
.ai-markdown code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;background:rgba(120,130,145,.12);border-radius:4px;padding:2px 4px;}
.ai-markdown pre{margin:10px 0;padding:10px;border-radius:6px;background:rgba(120,130,145,.1);overflow:auto;white-space:pre;max-width:100%;}
.ai-markdown pre code{padding:0;background:transparent;white-space:pre;}
.ai-markdown blockquote{margin:10px 0;padding:0 0 0 10px;border-left:3px solid #b6beca;opacity:.85;}
.ai-markdown hr{border:0;border-top:1px solid rgba(120,130,145,.25);margin:12px 0;}
.ai-md-table{overflow:auto;margin:10px 0;}.ai-md-table table{border-collapse:collapse;font-size:.92em;width:100%;}.ai-md-table th,.ai-md-table td{border:1px solid rgba(120,130,145,.28);padding:5px 8px;text-align:left;}.ai-md-table th{background:rgba(120,130,145,.1);}

/* 节拍卡片内容使用清晰深色，只有空白提示文字保持灰色 */
#canvasGrid.track-grouped-cards .outline-node-card:not(.outline-node-loading) h4,#canvasGrid.track-grouped-cards .outline-node-card:not(.outline-node-loading) .card-body,#canvasGrid.track-grouped-cards .outline-node-card:not(.outline-node-loading) [data-outline-field]{color:#20242a!important;-webkit-text-fill-color:#20242a;opacity:1;}
#canvasGrid.track-grouped-cards [data-outline-field]:empty::after{color:#8b929b!important;-webkit-text-fill-color:#8b929b;}
#canvasGrid.track-grouped-cards [data-outline-field]::selection{color:white!important;-webkit-text-fill-color:white!important;background:#245acb!important;}

/* 缩小时按真实节拍长度显示，留出1px视觉分隔，避免短块覆盖邻块 */
#outlineInner .outline-bar{box-sizing:border-box;min-width:0;padding:0;}
#outlineInner .outline-bar .bar-text{display:block;min-width:0;max-width:100%;box-sizing:border-box;padding:0 6px;overflow:hidden;text-overflow:ellipsis;}
#outlineInner .outline-bar.outline-letter-block .bar-text{padding:0;}

/* 移除节拍块描边，使用块间细间隔区分 */
#outlineInner .outline-bar,html.dark-mode #outlineInner .outline-bar{outline:none!important;box-shadow:none!important;border:0!important;}

/* 场景轨道卡片显示正文场景；其他卡片仍显示节拍内容 */
#canvasGrid .scene-track-card .card-body{display:block!important;}

/* 场景卡片颜色与场景轨道共用同一设置 */
#canvasGrid .scene-track-card{background:var(--scene-card-color,#eceef1)!important;color:#253041!important;}
#canvasGrid .scene-track-card h4,#canvasGrid .scene-track-card .card-body{color:inherit!important;}

#barContextMenu #insertBeatCardRightBtn[hidden]{display:none!important;}


/* 彩色背景上的占位文字提高对比度，并与实际内容保持区分 */
#canvasGrid.track-grouped-cards .outline-node-card [data-outline-field]:empty::after{color:#536171!important;-webkit-text-fill-color:#536171!important;opacity:1!important;font-weight:400;}
.outline-content-window .outline-content-title::placeholder,.outline-content-window .outline-content-body::placeholder{color:var(--node-ink,#253041)!important;opacity:.72!important;}


#outlineInner .outline-bar:not(.outline-letter-block) .bar-text:empty::after{content:attr(data-placeholder);color:#536171;font-weight:400;}


/* AI生成占满当前轨道宽度及可见区域，形状与普通节拍一致 */
#outlineInner .ai-generating-canvas .ai-track-generation{inset:2px auto 2px 0!important;height:auto!important;max-width:none!important;border-radius:4px!important;overflow:hidden!important;}
#outlineInner .ai-generating-canvas{overflow:visible!important;}


/* 整个节拍标题区域可落光标，空标题也可直接点击编辑 */
#canvasGrid .outline-node-card h4{display:block!important;cursor:text;min-height:1.45em;}
#canvasGrid .outline-node-card [data-outline-field="label"]{display:block!important;width:100%;min-width:0;min-height:1.45em;box-sizing:border-box;pointer-events:auto;user-select:text;-webkit-user-select:text;}


.entity-form-images{margin-top:18px;padding-top:14px;border-top:1px solid rgba(120,130,145,.18);}
.entity-form-image-preview{display:flex;align-items:center;justify-content:center;min-height:100px;background:rgba(120,130,145,.06);border-radius:8px;overflow:hidden;}
.entity-form-image-preview>span{color:#9ca3af;font-size:12px;}
.entity-form-image-preview img{display:block;max-width:100%;max-height:220px;object-fit:contain;}
.entity-form-image-preview img[hidden]{display:none;}
.entity-form-image-actions{display:flex;gap:8px;margin-top:10px;}
.entity-form-image-actions input[hidden]{display:none!important;}
.entity-form-image-status{font-size:12px;line-height:1.5;color:#929aa5;margin:7px 0 0;}


#characterModal .entity-form-images,#locationModal .entity-form-images{margin-top:0;padding-top:0;border-top:0;margin-bottom:18px;}


.entity-form-image-preview img,.entity-image-preview img{cursor:zoom-in;}
.entity-image-lightbox{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:40px 24px;box-sizing:border-box;background:rgba(0,0,0,.85);cursor:zoom-out;}
.entity-image-lightbox>img{display:block;max-width:100%;max-height:calc(100dvh - 80px);object-fit:contain;border-radius:6px;cursor:default;}
.entity-lightbox-close{position:absolute;top:14px;right:18px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:white;font-size:28px;line-height:32px;cursor:pointer;}


.entity-form-image-actions .entity-delete-image{color:#c35c5c;}
.entity-form-image-actions .entity-delete-image[hidden]{display:none!important;}
.entity-form-image-actions{flex-wrap:wrap;}


.entity-form-prompt-label{display:block;font-size:12px;color:#929aa5;margin:12px 0 6px;}
.entity-form-prompt{width:100%;box-sizing:border-box;min-height:76px;resize:vertical;font-size:13px;line-height:1.6;}
.entity-form-image-preview,.entity-image-preview,.side-avatar[data-entity-image-id]{position:relative;}
.entity-image-preview:has(>.entity-generating-overlay){min-height:160px;}
.entity-generating-overlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;overflow:hidden;border-radius:inherit;background:repeating-linear-gradient(100deg,#d8c6f4 0px,#f3b7c6 100px,#c6dbf5 200px,#c4e8d3 300px,#f6e4af 400px,#d8c6f4 500px);background-size:500px 100%;animation:entity-image-rainbow 12s linear infinite;animation-delay:var(--generation-phase,0s);color:#344254;pointer-events:none;}
.entity-generating-overlay strong{font-size:13px;font-weight:600;}.entity-generating-overlay small{font-size:10px;opacity:.7;}
.side-avatar .entity-generating-overlay strong{font-size:8px;text-align:center;line-height:1.3;}.side-avatar .entity-generating-overlay small{display:none;}
@keyframes entity-image-rainbow{from{background-position:0 0}to{background-position:500px 0}}
@media(prefers-reduced-motion:reduce){.entity-generating-overlay{animation:none;}}


.btn.project-ai-button {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  min-height:29px; padding:4px 12px; flex-shrink:0; white-space:nowrap;
  border:1px solid transparent; border-radius:999px; color:#6651a6;
  background:linear-gradient(115deg,#f5efff,#edf3ff 60%,#eaf8f4) padding-box,linear-gradient(120deg,#d8c4f4,#bfcff2,#bce3d7) border-box;
  font-weight:650; letter-spacing:.04em; box-shadow:0 2px 7px #7065a612;
  transition:box-shadow .18s, color .18s;
}
.btn.project-ai-button:hover, .btn.project-ai-button[aria-expanded="true"] { color:#51408d; box-shadow:0 2px 12px #8271be30; }
.btn.project-ai-button:focus-visible { outline:2px solid #9680c9; outline-offset:3px; }
.project-ai-spark { flex-shrink:0; }
html.dark-mode .btn.project-ai-button {
  color:#ddd0ff; background:linear-gradient(115deg,#332b43,#283343 60%,#253c36) padding-box,linear-gradient(120deg,#675181,#496187,#427362) border-box;
  box-shadow:0 2px 10px #0002;
}
html.dark-mode .btn.project-ai-button:hover,html.dark-mode .btn.project-ai-button[aria-expanded="true"] { color:#f0e8ff; box-shadow:0 2px 14px #aa8fe526; }
.project-notes { display:flex; flex-direction:column; flex:0 0 45%; min-height:150px; overflow:hidden; }
.side-panel > #sideList { flex:1 1 auto; min-height:60px; overflow-y:auto; }
.project-notes .project-note-input { flex:1; min-height:0; overflow-y:auto; padding:12px 16px; border-radius:0; }
.project-note-input[hidden], #projectAIChat[hidden] { display:none !important; }
.editor-layout.side-collapsed .side-panel > .project-notes { display:none !important; }
#projectAIChat { position:fixed; z-index:1100; right:24px; bottom:24px; width:min(440px,calc(100vw - 32px)); height:min(620px,calc(100dvh - 80px)); display:flex; flex-direction:column; background:#fff; color:#374151; border:1px solid #e5e7eb; border-radius:12px; box-shadow:0 16px 60px #0003; overflow:hidden; }
#projectAIChat .ai-work-heading { flex-shrink:0; padding:14px; gap:10px; }
#projectAIChat .ai-work-heading small { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.project-ai-close { border:0; background:transparent; color:inherit; cursor:pointer; font-size:22px; padding:0 4px; }
html.dark-mode #projectAIChat { background:#202020; border-color:#3b3b3b; color:#ddd; }
@media(max-width:820px) { #projectAIChat { right:12px; bottom:12px; width:calc(100vw - 24px); height:min(600px,calc(100dvh - 32px)); } .project-notes { min-height:240px; } .project-notes .project-note-input { font-size:16px; min-height:180px; } }

#projectAIButton.has-text-selection { background:linear-gradient(110deg,#f2dcff,#dceaff,#d7f5e8,#f5dfff,#f2dcff) padding-box,linear-gradient(110deg,#b18bdc,#87b9e4,#80c9b1,#b18bdc) border-box; background-size:300% 100%; animation:ai-selection-flow 4s linear infinite; color:#62448e; }
@keyframes ai-selection-flow { from {background-position:0% 50%;} to {background-position:100% 50%;} }
html.dark-mode #projectAIButton.has-text-selection { background-image:linear-gradient(110deg,#4c335e,#294b63,#285548,#52335f,#4c335e),linear-gradient(110deg,#ae7edb,#70a9db,#71bc9f,#ae7edb); color:#f2e8ff; }
#aiSelectionContext { flex-shrink:0; padding:10px 14px; border-bottom:1px solid #8883; }
#aiSelectionContext[hidden] { display:none; }
.ai-selection-heading { display:flex; align-items:center; justify-content:space-between; font-size:12px; }
.ai-selection-heading button { background:none; border:0; color:inherit; font-size:19px; cursor:pointer; }
#aiSelectionQuote { margin:7px 0; padding:0 0 0 9px; border-left:2px solid #a38ac7; max-height:95px; overflow:auto; font-size:12px; line-height:1.6; white-space:pre-wrap; opacity:.8; }
.ai-selection-actions { display:flex; gap:6px; }
.ai-selection-actions button { background:#987bc518; color:inherit; border:0; border-radius:6px; padding:4px 10px; cursor:pointer; }
#projectAIChat.selection-mode .ai-chat-chips { display:none; }
@media(prefers-reduced-motion:reduce) { #projectAIButton.has-text-selection { animation:none; } }

#projectAIChat .ai-work-heading { cursor:grab; touch-action:none; user-select:none; }
#projectAIChat.ai-window-adjusting .ai-work-heading { cursor:grabbing; }
#projectAIChat.ai-window-adjusting { user-select:none; }
.ai-window-resize { position:absolute; z-index:5; touch-action:none; }
.ai-window-resize-n,.ai-window-resize-s { left:12px; right:12px; height:8px; cursor:ns-resize; }
.ai-window-resize-n { top:0; } .ai-window-resize-s { bottom:0; }
.ai-window-resize-e,.ai-window-resize-w { top:12px; bottom:12px; width:8px; cursor:ew-resize; }
.ai-window-resize-e { right:0; } .ai-window-resize-w { left:0; }
.ai-window-resize-ne,.ai-window-resize-nw,.ai-window-resize-se,.ai-window-resize-sw { width:14px; height:14px; }
.ai-window-resize-ne { top:0; right:0; cursor:nesw-resize; }
.ai-window-resize-nw { top:0; left:0; cursor:nwse-resize; }
.ai-window-resize-se { bottom:0; right:0; cursor:nwse-resize; }
.ai-window-resize-sw { bottom:0; left:0; cursor:nesw-resize; }
.ai-window-resize-se::after { content:''; position:absolute; right:4px; bottom:4px; width:6px; height:6px; border-right:1px solid #9998; border-bottom:1px solid #9998; }
#projectAIChat .ai-chat { overflow:hidden; }

#inspirationView { max-width:1320px; margin-inline:auto; width:100%; }
#inspirationView > div:first-child { gap:20px; flex-wrap:wrap; margin-bottom:26px !important; }
#inspirationView .page-sub { line-height:1.7; }
#inspTabs { display:flex; gap:6px; border-bottom:1px solid #8882; padding-bottom:12px; margin-bottom:28px; overflow-x:auto; }
#inspTabs .cm-tab { flex-shrink:0; padding:9px 16px; border-radius:8px; font-size:13px; }
#inspirationView .knowledge-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:18px; }
#inspirationView .insp-card { padding:22px; border:1px solid #8882; border-radius:12px; box-shadow:none; background:var(--insp-surface,#fff); display:flex; flex-direction:column; gap:10px; transition:border-color .16s,background .16s; }
#inspirationView .insp-card h4 { margin:0; font-size:18px; line-height:1.5; }
#inspirationView .insp-card p { margin:0; font-size:13px; line-height:1.85; color:#7b828c; }
#inspirationView .insp-card .tag { align-self:flex-start; font-size:11px; }
#inspirationView .insp-card.selected { border-color:var(--brand); background:var(--brand-soft); }
.insp-section-heading h2 { font-size:21px; margin:0 0 8px; }
.insp-section-heading p { font-size:13px; color:#858b94; margin:0 0 22px; }
.insp-adapt-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:28px; align-items:start; }
#inspirationView .insp-adapt-settings { position:sticky; top:20px; padding:24px; border:1px solid #8882; border-radius:12px; background:var(--insp-surface,#fff); width:100%; }
.insp-step { font-size:11px; color:#9298a0; letter-spacing:.08em; }
.insp-adapt-settings h3 { margin:12px 0; font-size:19px; line-height:1.5; }
.insp-selected-pitch { color:#7b828c; font-size:12px; line-height:1.9; margin-bottom:22px; }
.insp-adapt-settings label { display:block; margin:16px 0 8px; font-size:12px; }
.insp-adapt-settings select { width:100%; padding:10px; border:1px solid #8883; border-radius:7px; background:transparent; color:inherit; }
#adaptStartButton { width:100%; margin-top:24px; min-height:38px; }
#adaptStartButton:disabled { opacity:.45; cursor:default; }
.insp-footnote { color:#9298a0; font-size:11px; line-height:1.8; margin-top:16px; }
#inspPaneHistory { max-width:960px; margin:auto; }
#inspPaneHistory .today-hero { padding:0 0 20px; gap:16px; flex-wrap:wrap; }
#inspPaneHistory .today-feature { border:1px solid #8882; border-radius:14px; box-shadow:none; overflow:hidden; }
#inspPaneHistory .tf-cover { min-height:160px; }
#inspPaneHistory .tf-body { padding:30px; }
#inspPaneHistory .tf-body p { line-height:1.95; font-size:14px; }
#inspPaneHistory .today-unlocked { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.insp-page-actions[hidden] { display:none !important; }
html.dark-mode #inspirationView { --insp-surface:#202020; }
@media(max-width:1000px) { .insp-adapt-layout { grid-template-columns:minmax(0,1fr) 260px; gap:18px; } }
@media(max-width:760px) { #inspirationView .knowledge-grid { grid-template-columns:1fr; gap:12px; } .insp-adapt-layout { grid-template-columns:1fr; } #inspirationView .insp-adapt-settings { position:static; } #inspTabs .cm-tab { padding:8px 11px; font-size:12px; } #inspirationView .insp-card { padding:18px; } #inspPaneHistory .tf-body { padding:20px; } .insp-page-actions { width:100%; } .insp-adapt-settings select { font-size:16px; } }

#inspirationView .inspiration-page-heading { margin-bottom:28px; }
.inspiration-workspace { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:26px; align-items:start; }
.inspiration-results,.inspiration-controls { border:1px solid #8882; background:var(--insp-surface,#fff); border-radius:12px; padding:26px; }
.inspiration-results { min-height:480px; }
.inspiration-result-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.inspiration-workspace h2 { font-size:16px; margin:0; }
.inspiration-controls { position:sticky; top:20px; }
.inspiration-controls label { display:block; margin:24px 0 9px; font-size:12px; color:#858b94; }
.inspiration-controls select,.inspiration-controls input { width:100%; padding:10px 12px; border:1px solid #8883; border-radius:7px; background:transparent; color:inherit; font:inherit; font-size:13px; }
.inspiration-controls input { margin-top:8px; }
#inspirationGenerate { width:100%; margin-top:28px; min-height:40px; }
#inspirationGenerate:disabled { opacity:.6; cursor:wait; }
.inspiration-empty { padding:90px 10px; text-align:center; color:#9298a0; font-size:14px; line-height:1.9; }
#inspirationResult { line-height:1.9; font-size:14px; overflow-wrap:anywhere; }
#inspirationResult h3 { margin:24px 0 12px; } #inspirationResult p { margin:12px 0; }
.inspiration-result-meta { color:#9298a0; font-size:12px; margin-bottom:20px; }
@media(max-width:760px) { .inspiration-workspace { grid-template-columns:1fr; gap:16px; } .inspiration-controls { position:static; grid-row:1; padding:20px; } .inspiration-results { min-height:300px; padding:20px; } .inspiration-controls select,.inspiration-controls input { font-size:16px; } .inspiration-empty { padding:55px 5px; } }

.inspiration-history { margin-top:24px; padding-top:20px; border-top:1px solid #8882; }
.inspiration-history h3 { margin:0 0 12px; font-size:13px; font-weight:600; }
#inspirationHistoryList { display:flex; flex-direction:column; gap:7px; max-height:340px; overflow-y:auto; }
.inspiration-history-item { width:100%; text-align:left; padding:10px; border:1px solid transparent; border-radius:7px; background:transparent; color:inherit; cursor:pointer; }
.inspiration-history-item:hover { background:#8881; }
.inspiration-history-item.active { background:var(--brand-soft); border-color:var(--brand-border); }
.inspiration-history-item strong { display:block; font-size:12px; font-weight:500; line-height:1.6; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.inspiration-history-item small { display:block; font-size:10px; color:#9298a0; margin-top:5px; }

.inspiration-options { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.inspiration-options button { border:1px solid transparent; background:#8881; color:#828891; padding:4px 8px; border-radius:5px; font:inherit; font-size:11px; line-height:1.6; cursor:pointer; }
.inspiration-options button:hover { color:var(--brand); background:var(--brand-soft); }
.inspiration-options button.active { color:var(--brand); background:var(--brand-soft); border-color:var(--brand-border); }
.inspiration-options button:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
html.dark-mode .inspiration-options button { color:#aaa; }
html.dark-mode .inspiration-options button.active { color:var(--brand-tint); }

#inspirationView .inspiration-result-heading { justify-content:flex-end; margin-bottom:12px; }
#inspirationResult .inspiration-story-title { text-align:center; font-size:25px; line-height:1.6; margin:22px 0 34px; font-weight:600; }
.inspiration-story-sections { display:flex; flex-direction:column; gap:24px; }
.inspiration-story-section { padding:22px 24px; border:1px solid #8882; border-radius:8px; background:#88803; }
#inspirationResult .inspiration-story-section h3 { margin:0 0 14px; font-size:14px; font-weight:600; }
#inspirationResult .inspiration-story-section p { line-height:1.95; margin:10px 0; }
.inspiration-story-section ul,.inspiration-story-section ol { padding-left:22px; }
@media(max-width:760px){ .inspiration-story-section { padding:18px 16px; } #inspirationResult .inspiration-story-title { font-size:21px; } }

.inspiration-sidebar-column { grid-column:2; grid-row:1; min-width:0; display:flex; flex-direction:column; gap:14px; align-self:start; }
#inspirationView .inspiration-sidebar-column .inspiration-controls { position:static; }
#inspirationView .inspiration-sidebar-column .inspiration-history { margin:0; padding:22px 24px; border:1px solid #8882; border-radius:12px; background:var(--insp-surface,#fff); }
@media(max-width:760px) { .inspiration-sidebar-column { grid-column:1; grid-row:1; } #inspirationView .inspiration-sidebar-column .inspiration-history { padding:20px; } }

#inspirationResult .inspiration-story-title { margin-top:0; margin-bottom:12px; }
#inspirationResult .inspiration-result-meta { text-align:center; margin-bottom:24px; }
.inspiration-logline { margin-bottom:24px; padding:18px 22px; background:#88808; border-left:3px solid var(--brand); border-radius:4px; }
#inspirationResult .inspiration-logline h3 { font-size:12px; margin:0 0 10px; color:var(--brand); }
#inspirationResult .inspiration-logline p { margin:0; line-height:1.9; }
.inspiration-logline-empty { opacity:.55; font-size:12px; }
#inspirationView .inspiration-result-heading { margin-top:20px; }

.inspiration-field-wrap { position:relative; }
#inspirationView .inspiration-field-wrap input { margin-top:0; padding-right:38px; }
.inspiration-options-toggle { position:absolute; right:5px; top:5px; width:30px; height:30px; display:flex; align-items:center; justify-content:center; border:0; background:transparent; color:#8b929b; border-radius:5px; cursor:pointer; }
.inspiration-options-toggle:hover { background:#8881; }
.inspiration-options-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.inspiration-field-wrap .inspiration-options { position:absolute; top:calc(100% + 5px); left:0; right:0; z-index:20; margin:0; padding:10px; border:1px solid #8883; border-radius:8px; background:var(--insp-surface,#fff); box-shadow:0 8px 24px #0002; max-height:210px; overflow-y:auto; }
.inspiration-field-wrap .inspiration-options[hidden] { display:none !important; }
.inspiration-options-toggle:focus-visible { outline:2px solid var(--brand); outline-offset:1px; }

.inspiration-option-group { flex:0 0 100%; margin:10px 0 4px; padding-top:8px; border-top:1px solid #8882; color:#9298a0; font-size:11px; }
.inspiration-option-group:first-child { margin-top:0; padding-top:0; border-top:0; }
#inspirationOptionsKind { max-height:360px; }

#inspirationSeriesFields[hidden],#inspirationCustomForm[hidden] { display:none !important; }

.project-art-style { display:flex; flex-direction:column; height:100%; min-height:180px; gap:10px; }
.project-art-style label { font-size:12px; color:#9298a0; }
.project-art-style textarea { flex:1; min-height:150px; line-height:1.8; }
.side-panel .panel-tab-add[hidden] { display:none !important; }

#projectAIButton.floating-ai-button { position:fixed; right:26px; bottom:calc(24px + env(safe-area-inset-bottom,0px)); z-index:1101; width:60px; height:60px; min-height:60px; padding:0; display:flex; flex-direction:column; gap:2px; border:0; border-radius:50%; isolation:isolate; overflow:hidden; color:#f7f3ff; background:#191625; box-shadow:0 6px 26px #49328245,0 0 22px #9d79e322; cursor:pointer; transition:transform .2s,box-shadow .2s; }
#projectAIButton.floating-ai-button::before { content:''; position:absolute; inset:-30%; z-index:-2; background:conic-gradient(from 0deg,#a68bfa,#67cff0,#a3ebcd,#d48bea,#a68bfa); animation:ai-orbit 7s linear infinite; }
#projectAIButton.floating-ai-button::after { content:''; position:absolute; inset:3px; z-index:-1; border-radius:50%; background:radial-gradient(ellipse at 25% 20%,#5a4778,#242033 65%,#16131e); }
#projectAIButton.floating-ai-button .project-ai-spark { width:23px; height:23px; animation:ai-spark-breathe 3.5s ease-in-out infinite; }
#projectAIButton.floating-ai-button > span { font-size:10px; letter-spacing:.12em; line-height:13px; }
#projectAIButton.floating-ai-button:hover { transform:translateY(-3px); box-shadow:0 8px 32px #8865c866; }
#projectAIButton.floating-ai-button[aria-expanded="true"] { box-shadow:0 0 0 3px #af8fea35,0 5px 25px #7350ad45; }
#projectAIButton.floating-ai-button.has-text-selection::before { animation-duration:1.8s; background:conic-gradient(#ef9fca,#86cfff,#f4d981,#92e5be,#ef9fca); }
#projectAIButton.floating-ai-button.has-text-selection { box-shadow:0 0 0 4px #b88fed30,0 0 30px #a176d666; }
#projectAIChat { bottom:96px; height:min(620px,calc(100dvh - 120px)); }
@keyframes ai-orbit { to { transform:rotate(360deg); } }
@keyframes ai-spark-breathe { 0%,100% { opacity:.8; transform:scale(.94); } 50% { opacity:1; transform:scale(1.08); } }
@media(max-width:820px) { #projectAIButton.floating-ai-button { width:52px; height:52px; min-height:52px; right:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); } #projectAIChat { bottom:84px; height:min(600px,calc(100dvh - 110px)); } }
@media(prefers-reduced-motion:reduce) { #projectAIButton.floating-ai-button,#projectAIButton.floating-ai-button::before,#projectAIButton.floating-ai-button .project-ai-spark { animation:none; transition:none; } }
