/* 主题开发（95p-themes.js）。只用 app.css 的 token 与现成的积木：
   .ig-compose 输入条、.chip 选项、.gen-row 历史、.tl 阶段、.btn —— 这里只补这一页
   独有的三样：选项的「标签 + 一行 chips」、整机截图的格子、放大看的那一层。 */
.th{max-width:1120px;display:grid;gap:14px}
.th-intro p{margin:0;color:var(--ink-2);font-size:13px;line-height:1.6;max-width:760px}
.th-new{display:grid;gap:10px}
.th-name{height:38px;padding:0 12px;border:1px solid var(--line-2);border-radius:var(--r-md);background:var(--surface);
  font-size:15px;font-weight:600;color:var(--ink);max-width:360px}
.th-name:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--ring)}
.th-name::placeholder{font-weight:400;color:var(--ink-3)}
.th-new .ig-compose textarea{min-height:64px;font-size:14px}
.th-err{margin:0;color:var(--brick);font-size:12.5px}
.th-examples{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.th-opts{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.th-row{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center}
.th-k{font-size:12px;font-weight:600;color:var(--ink-2)}
.th-color{position:relative;cursor:pointer}
.th-color i{width:12px;height:12px;border-radius:4px;border:1px solid rgba(0,0,0,.12)}
.th-color input{position:absolute;inset:0;opacity:0;cursor:pointer}
.th-more>summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--ink-2);list-style:none;padding:2px 0}
.th-more>summary::-webkit-details-marker{display:none}
.th-more>summary::before{content:"▸ ";color:var(--ink-3)}
.th-more[open]>summary::before{content:"▾ "}
.th-more[open]{display:grid;gap:8px}
.th-h{margin:10px 0 0;font-size:13.5px;font-weight:650;color:var(--ink)}
.th-cover{object-fit:cover!important;aspect-ratio:9/20;height:auto;width:38px}
.th-cover-empty{display:flex;align-items:center;justify-content:center;color:var(--ink-3)}
.th-cover-empty svg{width:18px;height:18px}
.th-bad{color:var(--brick)}
/* 一次运行 */
.th-job{display:grid;gap:12px}
.th-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.th-head h2{margin:0;font-size:20px;font-weight:650}
.th-brief{margin:0;color:var(--ink-2);font-size:13px}
.th-given .chip{cursor:default}
.th-sw{width:12px;height:12px;border-radius:4px;display:inline-block;border:1px solid rgba(0,0,0,.12)}
.th-run{padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.th-tl{margin-bottom:6px}
.th-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.th-verdict{padding:12px 14px;border:1px solid var(--ochre-line);border-radius:var(--r-lg);background:var(--ochre-soft);
  font-size:13px;line-height:1.6;display:grid;gap:6px}
.th-verdict.ok{border-color:var(--accent-line);background:var(--accent-soft)}
.th-verdict.bad{border-color:var(--brick-line);background:var(--brick-soft)}
.th-verdict p{margin:0}
.th-st{font-weight:650;color:var(--ochre)}
.th-fix{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}
.th-shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}
.th-shot{display:grid;gap:6px;padding:0;border:0;background:none;text-align:left;cursor:zoom-in}
.th-shot img{width:100%;aspect-ratio:9/20;object-fit:cover;border-radius:14px;display:block;background:var(--surface-2);
  box-shadow:0 0 0 1px var(--line);transition:.13s var(--ease)}
.th-shot:hover img{box-shadow:0 0 0 1px var(--line-2),var(--lift)}
.th-shot span{font-size:11.5px;color:var(--ink-2)}
.th-palette{display:flex;flex-wrap:wrap;gap:8px}
.th-swatch{display:grid;grid-template-columns:28px auto;column-gap:8px;align-items:center;padding:6px 10px 6px 6px;
  border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}
.th-swatch i{grid-row:span 2;width:28px;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.th-swatch b{font-size:12px;font-weight:600}
.th-swatch code{font-family:var(--mono);font-size:10.5px;color:var(--ink-3)}
.th-notes summary{cursor:pointer}
.th-notes ul{margin:6px 0 0;padding-left:18px;color:var(--ink-2);font-size:12.5px}
.th-folder{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);padding:10px 12px}
.th-folder>summary{cursor:pointer;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;list-style:none}
.th-folder>summary::-webkit-details-marker{display:none}
.th-folder>summary svg{width:16px;height:16px}
.th-flist{display:grid;gap:4px;margin-top:10px}
.th-flist a{display:grid;grid-template-columns:minmax(160px,auto) 1fr;gap:12px;padding:6px 8px;border-radius:var(--r);
  color:var(--ink);text-decoration:none}
.th-flist a:hover{background:var(--surface-2)}
.th-flist code{font-family:var(--mono);font-size:12px}
/* 放大看一屏：←/→ 换屏，Esc 或点空白关 */
.th-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(10,12,16,.72);display:flex;align-items:center;
  justify-content:center;gap:18px}
.th-lightbox figure{margin:0;display:grid;gap:8px;justify-items:center}
.th-lightbox img{height:min(84vh,1000px);aspect-ratio:9/20;border-radius:26px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.th-lightbox figcaption{color:#fff;font-size:13px}
.th-nav{width:44px;height:44px;border-radius:22px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:26px;cursor:pointer}
.th-nav:disabled{opacity:.25;cursor:default}
@media(max-width:760px){.th-row{grid-template-columns:1fr}.th-shots{grid-template-columns:repeat(2,1fr)}
  .th-lightbox img{height:auto;width:78vw}}
/* 动效视频：成品页的第一眼。手机外框只是 CSS —— 视频本身就是屏幕。 */
.th-hero{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start}
.th-hero-r{display:grid;gap:12px;align-content:start}
.th-reel{margin:0;display:grid;gap:8px;justify-items:center}
.th-reel video{width:240px;aspect-ratio:9/20;border-radius:30px;background:#000;display:block;
  box-shadow:0 0 0 7px #111,0 0 0 8px #333,0 22px 50px rgba(0,0,0,.28)}
.th-reel figcaption{font-size:11.5px;color:var(--ink-3);max-width:260px;text-align:center}
.th-motion-note{margin:0}
.th-hero.wide{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}
.th-show{margin:0;display:grid;gap:6px}
.th-show video{width:100%;aspect-ratio:16/9;border-radius:16px;background:#000;display:block;object-fit:cover;box-shadow:0 14px 40px rgba(0,0,0,.16)}
.th-show figcaption{font-size:11.5px;color:var(--ink-3)}
.th-more-row{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start;margin:18px 0 4px}
.th-poster{display:grid;gap:6px;flex:1 1 360px;max-width:720px;color:inherit;text-decoration:none}
.th-poster img{width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:14px;display:block;box-shadow:0 10px 30px rgba(0,0,0,.14)}
@media(max-width:760px){.th-hero,.th-hero.wide{grid-template-columns:1fr}.th-reel video{width:200px}}
