:root {
  --bg: #fff8ec;
  --panel: transparent;
  --surface: rgba(255, 255, 255, .84);
  --surface-2: #fff4de;
  --surface-3: #f6ead3;
  --text: #2a1f12;
  --muted: #6e604e;
  --faint: #a6977f;
  --hair: rgba(120, 80, 20, .11);
  --edge: 0 0 0 1px rgba(255, 255, 255, .8), 0 1px 2px rgba(120, 80, 0, .04), 0 6px 22px rgba(150, 95, 30, .07);
  --lift: 0 0 0 1px rgba(255, 255, 255, .9), 0 2px 4px rgba(120, 80, 0, .05), 0 16px 40px rgba(150, 95, 30, .15);
  --hover: rgba(255, 255, 255, .6);
  --gold: #ffc21a;
  --gold-soft: #ffefc2;
  --gold-text: #9a6000;
  --gold-ink: #241a0b;
  --grad: linear-gradient(135deg, #ffd23f, #ff9f1a);
  --ink: #241a0b;
  --bad: #c2412f;
  --bad-soft: #fdecea;
  --good: #1d8a4e;
  --scrim: rgba(42, 31, 18, .28);
  --r-xl: 26px;
  --r-lg: 22px;
  --r-md: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: "misans", -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 620px at 0% 0%, #ffe9a6 0, rgba(255, 233, 166, 0) 62%),
    radial-gradient(860px 640px at 100% 0%, #ffd9c6 0, rgba(255, 217, 198, 0) 60%),
    radial-gradient(1000px 760px at 80% 100%, #f1e8ff 0, rgba(241, 232, 255, 0) 60%), var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }

.app { position: relative; z-index: 1; height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.gold { color: var(--gold-text); }

/* ---------- sidebar (desktop) / top bar (phone) ---------- */
.top { display: none; }
.mark { display: flex; align-items: center; gap: 10px; }
.badge { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #fff; flex-shrink: 0; box-shadow: 0 0 0 2px var(--gold); }
.badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.mark b { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.side { display: flex; flex-direction: column; min-height: 0; margin: 12px 0 12px 12px; padding: 20px 12px 12px; border-radius: 24px; overflow-y: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 12px 40px rgba(150, 95, 30, .1); }
.side .mark { padding: 0 8px 14px; }
.snav { display: flex; flex-direction: column; gap: 2px; }
.snav a, .snav .nav-off { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 8px; border-radius: 13px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; }
.snav a:hover { background: rgba(255, 255, 255, .7); color: var(--text); }
.snav a.on { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(120, 80, 0, .06), 0 6px 18px rgba(150, 95, 30, .12); }
.ic { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(120, 80, 20, .08); transition: background .15s; }
.ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.snav a.on .ic { background: var(--grad); color: var(--ink); box-shadow: 0 3px 10px rgba(255, 159, 26, .35); }
.sprod { display: flex; align-items: center; gap: 8px; padding: 18px 8px 6px; }
.sprod .dogi { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px rgba(255, 194, 26, .7); }
.sprod .dogi img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.sprod b { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--text); }
.sprod small { font-size: 11px; color: var(--faint); padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, .7); }
.sgrp { padding: 20px 8px 6px; font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: .04em; }
.snav .nav-off { cursor: not-allowed; color: var(--faint); }
.snav .nav-off .ic { opacity: .6; }
.snav em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; line-height: 20px; min-width: 20px; padding: 0 6px; border-radius: 10px; text-align: center; background: var(--grad); color: var(--ink); }
.snav em:empty { display: none; }
.snav em.n, .snav .nav-off em { background: rgba(120, 80, 20, .07); color: var(--faint); font-weight: 500; }
.side .me { margin-top: auto; }
.nav-off em, .soon { font-style: normal; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); letter-spacing: .02em; }
.me { width: 100%; height: 56px; padding: 0 12px; border-radius: 16px; display: flex; align-items: center; gap: 10px; text-align: left; transition: background .2s, box-shadow .2s; }
.side .me { background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 2px 8px rgba(150, 95, 30, .06); }
.me:hover, .me[aria-expanded="true"] { background: #fff; }
.me-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
.me-txt b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-txt small { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-txt small:empty { display: none; }
.me-caret { width: 6px; height: 6px; border-right: 1.5px solid var(--faint); border-top: 1.5px solid var(--faint); transform: rotate(-45deg); margin-right: 4px; }
.face { display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; object-fit: cover; color: #fff; font-weight: 600; line-height: 1; background: var(--surface-3); }
.faces { display: inline-flex; }
.faces .face { box-shadow: 0 0 0 2px var(--surface); }
.faces .face + .face { margin-left: -7px; }
.face.more { background: var(--surface-3); color: var(--muted); font-size: 11px; font-weight: 500; }
.tface { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; flex-shrink: 0; background: var(--gold); color: var(--gold-ink); font-size: 13px; font-weight: 600; }
.tface.lg { width: 48px; height: 48px; border-radius: 14px; font-size: 21px; }

/* Everything that sits on the page as its own block gets the same hairline edge; .on / hover rules may replace it. */
:where(.tk, .pcard, .tm-card, .mb-list, .pf-card, .entry, .list .row, .acc-card, .lib, .fxs-card, .fxs-step, .bk-card, .bk-stat, .ins-post, .stat,
  .hookcard, .crow, .sb-shot, .shield, .acf-card, .acf-type, .acf-fmt, .acf-plan, .uploadbox, .attach, .acct, .tc, .chip, .active .job, .bx-sheet, .len-pick button,
  .past .item, .vp-item, .opt, .fchip, .tm-people a, .model-pick, .nav-arrow, .bx-older a, .acf-seg, .vp-groups, .tool-card, .ins-card) { box-shadow: var(--edge); }
:where(.tk, .pcard, .tm-card, .mb-list, .pf-card, .acc-card, .ins-post, .ins-top, .ins-card, .ins-hero, .tool-card, .active .job, .fxs-step, .list .row) { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* ---------- pages ---------- */
.page { display: none; min-height: 0; padding: 40px 56px 44px; overflow: auto; outline: none; }
.page:focus, .page:focus-visible { outline: none; }
.actions.float { position: sticky; bottom: 0; margin: 40px -56px -44px; padding: 18px 56px 28px; justify-content: flex-end;
  background: linear-gradient(rgba(255, 248, 236, 0), rgba(255, 248, 236, .92) 38%); backdrop-filter: blur(6px); }
.page.show { display: block; animation: fade 0.5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page::-webkit-scrollbar { width: 0; }
.wrap { max-width: 1240px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.kicker { font-size: 13px; color: var(--faint); letter-spacing: 0.12em; margin-bottom: 14px; }
h1 { font-family: var(--display); font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-family: var(--display); font-size: 22px; line-height: 1.35; font-weight: 700; }
.lead { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 13px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow .2s; }
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(36, 26, 11, .18); }
.btn-gold:hover { background: #3a2c14; }
.btn-soft { background: rgba(255, 255, 255, .85); color: var(--text); box-shadow: var(--edge); }
.btn-soft:hover { background: #fff; }
.btn-text { height: auto; padding: 0; color: var(--muted); font-weight: 500; }
.btn-text:hover { color: var(--text); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 40px; }
.model-pick { margin-right: auto; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); font-size: 13px; }
.model-pick span { padding: 0 10px 0 12px; color: var(--faint); }
.model-pick button { height: 30px; padding: 0 14px; border-radius: 999px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.model-pick button:hover { color: var(--text); }
.model-pick button.on { background: var(--surface-3); color: var(--text); }
.model-pick.locked { background: none; padding-left: 0; }
.model-pick.locked span { padding: 0 2px; color: var(--faint); font-size: 12px; }
.picks { margin-right: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.picks .model-pick { margin-right: 0; }

.panel { background: var(--surface); border-radius: var(--r-xl); }
.glass { background: rgba(255, 255, 255, .96); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border: 1px solid var(--hair); box-shadow: 0 12px 40px rgba(29, 28, 25, .12); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); font-size: 13px; color: var(--muted); white-space: nowrap; }
.tag.hi { color: var(--gold-ink); background: var(--gold); font-weight: 600; }

/* ---------- login ---------- */
#login { display: none; }
#login.show { display: grid; place-items: center; }
.login { width: 400px; text-align: center; margin-top: -60px; }
.login .badge { width: 92px; height: 92px; margin: 0 auto 26px; box-shadow: 0 20px 60px rgba(255, 194, 43, 0.12); }
.login h1 { font-size: 40px; }
.login p { color: var(--muted); margin: 12px 0 40px; font-size: 16px; }
.field { width: 100%; height: 46px; border-radius: 13px; background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--hair); outline: 0; padding: 0 14px; font-size: 15px; color: var(--text); margin-bottom: 12px; transition: box-shadow .15s; }
.field:hover { box-shadow: inset 0 0 0 1px #d6d3cb; }
.field::placeholder { color: var(--faint); }
.login .btn { width: 100%; margin-top: 12px; }
.login .note { margin-top: 26px; font-size: 13px; color: var(--faint); line-height: 1.7; }

/* ---------- home ---------- */
.hero { padding: 36px 0 44px; }
.hero h1 { font-size: 60px; line-height: 1.12; letter-spacing: -0.02em; }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.entry { position: relative; height: 400px; border-radius: var(--r-xl); background: var(--surface); padding: 40px; display: flex; overflow: hidden; cursor: pointer; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s; }
.entry:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.entry .copy { width: 46%; display: flex; flex-direction: column; }
.preview .ref { position: absolute; left: -96px; bottom: 34px; width: 156px; z-index: 2; }
.preview .ref .wide { width: 156px; opacity: 1; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); }
.preview .ref span { display: block; font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.entry .copy .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.entry .copy .who .badge { width: 26px; height: 26px; }
.entry h2 { font-size: 30px; line-height: 1.3; }
.entry .flow { margin-top: 18px; font-size: 14px; color: var(--faint); line-height: 1.8; }
.entry .go { margin-top: auto; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.entry .go i { font-style: normal; transition: transform 0.25s; }
.entry:hover .go i { transform: translateX(5px); }
.preview { position: absolute; right: 40px; top: 40px; bottom: 40px; display: flex; align-items: center; gap: 14px; }
.preview .reel { height: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.preview .reel video, .preview .reel img { width: 100%; height: 100%; object-fit: cover; }
.preview .wide { width: 150px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; opacity: 0.85; }
.preview .wide img { width: 100%; height: 100%; object-fit: cover; }
.preview .arrow { color: var(--faint); font-size: 18px; }
.preview small { position: absolute; font-size: 12px; color: var(--faint); }
.recent { margin-top: 48px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.row-head h3 { font-family: var(--display); font-size: 19px; font-weight: 700; }
.posters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.poster { cursor: pointer; }
.poster .shot { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; position: relative; }
.poster .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.poster .shot.wide img { object-fit: contain; }
.poster .shot .ratio { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; font-size: 11px; color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, 0.55); }
.poster:hover .shot img { transform: scale(1.04); }
.poster b { display: block; font-size: 14px; font-weight: 500; margin-top: 12px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster small { display: block; font-size: 12px; color: var(--faint); margin-top: 6px; }
.state { position: absolute; left: 10px; top: 10px; font-size: 12px; padding: 4px 10px; border-radius: 999px; color: #fff; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); }
.state.wait::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: 1px; }

/* ---------- 选题 ---------- */
.accts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.acct { padding: 26px; border-radius: var(--r-lg); background: var(--surface); display: flex; align-items: center; gap: 18px; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.acct:hover { background: var(--surface-2); }
.acct.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; flex-shrink: 0; }
.acct b { font-size: 17px; font-weight: 600; display: block; }
.acct small { display: block; font-size: 13px; color: var(--faint); margin-top: 6px; }
.extra { margin-top: 44px; }
.extra .label { font-size: 14px; color: var(--faint); margin-bottom: 16px; }
.opts { display: flex; gap: 12px; }
.opt { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.opt.on { background: var(--surface-2); color: var(--text); }
.attach { margin-top: 18px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); display: flex; gap: 22px; align-items: center; }
.attach .thumbs { display: flex; }
.attach .thumbs img { width: 44px; height: 78px; object-fit: cover; border-radius: 10px; margin-right: -12px; border: 2px solid var(--surface); }
.attach b { font-size: 15px; font-weight: 500; }
.attach small { display: block; color: var(--faint); font-size: 13px; margin-top: 4px; }

.stage { position: relative; height: 480px; margin-top: 30px; display: flex; align-items: center; justify-content: center; }
.tc { position: absolute; width: 640px; padding: 44px 48px; border-radius: var(--r-xl); background: var(--surface); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s, filter 0.45s; }
.tc[data-pos="0"] { z-index: 3; }
.tc[data-pos="-1"] { transform: translateX(-78%) scale(0.86); opacity: 0.32; filter: blur(1.5px); z-index: 2; }
.tc[data-pos="1"] { transform: translateX(78%) scale(0.86); opacity: 0.32; filter: blur(1.5px); z-index: 2; }
.tc[data-pos="hide"] { opacity: 0; pointer-events: none; transform: scale(0.8); }
.tc .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); margin-bottom: 26px; }
.tc h2 { font-size: 30px; line-height: 1.35; }
.tc .hook { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--text); padding-left: 18px; border-left: 2px solid var(--gold); }
.tc .angle { margin-top: 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.tc .why { margin-top: 16px; font-size: 14px; color: var(--faint); }
.pager { text-align: center; color: var(--faint); font-size: 14px; margin-top: 8px; }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 20px; z-index: 5; }
.nav-arrow:hover { color: var(--text); }
.nav-arrow.l { left: 0; }
.nav-arrow.r { right: 0; }

.script { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; margin-top: 36px; }
.beats { display: flex; flex-direction: column; gap: 4px; }
.beat { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 18px; border-radius: 16px; font-size: 18px; line-height: 1.65; transition: background 0.2s; }
.beat:hover { background: var(--surface); }
.beat em { font-style: normal; font-size: 13px; color: var(--faint); padding-top: 4px; font-variant-numeric: tabular-nums; }
.beat.hook span { color: var(--text); box-shadow: inset 0 -0.42em 0 rgba(255, 194, 43, 0.28); }
.beat .hold { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }
.tools { display: flex; gap: 20px; margin: 18px 0 0 18px; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: start; }
.board img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }
.board-head { font-size: 14px; color: var(--faint); margin-bottom: 14px; }

/* ---------- making ---------- */
.making { min-height: calc(100vh - 200px); display: grid; place-items: center; text-align: center; }
.making .now { font-family: var(--display); font-size: 38px; font-weight: 600; letter-spacing: -0.01em; }
.making .sub { margin-top: 16px; font-size: 15px; color: var(--faint); }
.line { width: 420px; height: 3px; border-radius: 2px; background: var(--surface-2); margin: 40px auto 0; overflow: hidden; }
.line i { display: block; height: 100%; width: 46%; background: var(--gold); border-radius: 2px; }
.steps-words { margin-top: 26px; display: flex; gap: 18px; justify-content: center; font-size: 14px; color: var(--faint); }
.steps-words .d { color: var(--muted); }
.steps-words .c { color: var(--gold-text); }
.making .peek { margin-top: 44px; }

.drawer { position: fixed; right: 20px; top: 20px; bottom: 20px; width: 420px; border-radius: 28px; padding: 30px; z-index: 40; transform: translateX(110%); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: auto; }
.drawer.open { transform: none; }
.drawer h3 { font-size: 20px; font-weight: 600; }
.drawer .close { position: absolute; right: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--hover); color: var(--muted); }
.drawer .item { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.drawer .item:last-child { border-bottom: 0; }
.drawer .item b { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; }
.drawer .item b span { font-weight: 400; font-size: 13px; color: var(--faint); }
.drawer .item p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.6; white-space: pre-line; }
.drawer .copy { float: right; font-size: 13px; color: var(--muted); }
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 30; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- 复刻 ---------- */
.paste { margin-top: 40px; display: flex; gap: 12px; }
.paste .field { height: 66px; font-size: 17px; margin: 0; border-radius: 20px; padding: 0 24px; }
.paste .btn { height: 66px; padding: 0 34px; }
.hint { margin-top: 18px; font-size: 14px; color: var(--faint); }
.hint a { color: var(--muted); border-bottom: 1px solid var(--hair); }
.past { margin-top: 60px; }
.past .item { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 20px; background: var(--surface); width: 460px; cursor: pointer; }
.past .item img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.past .item b { font-size: 15px; font-weight: 500; }
.past .item small { display: block; font-size: 13px; color: var(--faint); margin-top: 6px; }

.bd { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 30px; }
.cine { position: relative; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.cine video, .cine img { width: 100%; height: 100%; object-fit: cover; }
.cine.wide { aspect-ratio: 16 / 9; }
.cine .ctrl { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); display: flex; align-items: center; gap: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.cine .ctrl .bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); position: relative; }
.cine .ctrl .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 18%; background: var(--gold); border-radius: 2px; }
.cine .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; padding-left: 5px; cursor: pointer; }
.timeline { margin-top: 22px; }
.segbar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 3px; }
.segbar i { display: block; height: 100%; background: var(--surface-3); border-radius: 3px; }
.segbar i.hook { background: var(--gold); }
.cutbar { position: relative; height: 12px; margin-top: 6px; }
.cutbar i { position: absolute; top: 0; width: 1px; height: 8px; background: rgba(255, 255, 255, 0.22); }
.segs { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.seg { display: grid; grid-template-columns: 86px 72px 1fr; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--muted); }
.seg:hover { background: var(--surface); }
.seg em { font-style: normal; color: var(--faint); font-variant-numeric: tabular-nums; }
.seg b { font-weight: 600; color: var(--text); font-size: 13px; }
.seg.hook b { color: var(--gold-text); }
.why h3, .sec h3 { font-size: 14px; font-weight: 500; color: var(--faint); margin-bottom: 14px; letter-spacing: 0.06em; }
.why ol { list-style: none; counter-reset: w; display: flex; flex-direction: column; gap: 14px; }
.why li { counter-increment: w; display: grid; grid-template-columns: 26px 1fr; font-size: 16px; line-height: 1.6; }
.why li::before { content: counter(w); color: var(--gold-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.sec { margin-top: 34px; }
.hookcard { padding: 22px 24px; border-radius: 20px; background: var(--surface); }
.hookcard .t { font-size: 13px; color: var(--faint); }
.hookcard p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { padding: 16px; border-radius: 16px; background: var(--surface); }
.stat b { display: block; font-size: 24px; font-weight: 600; font-family: var(--display); }
.stat small { font-size: 12px; color: var(--faint); }
.template { font-size: 15px; line-height: 1.9; color: var(--muted); }
.more { margin-top: 18px; font-size: 14px; color: var(--muted); cursor: pointer; }

.compare { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.crow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; padding: 18px 22px; border-radius: 20px; background: var(--surface); }
.crow .orig { font-size: 14px; color: var(--faint); line-height: 1.7; }
.crow .orig b { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.crow .mine { font-size: 16px; line-height: 1.75; }
.crow .mine p + p { margin-top: 4px; }
.cmp-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; padding: 0 22px; font-size: 13px; color: var(--faint); margin-top: 30px; }
.strip { display: flex; gap: 10px; margin-top: 26px; overflow: hidden; }
.strip img { width: 84px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.shield { margin-top: 22px; padding: 18px 22px; border-radius: 20px; background: var(--surface); font-size: 14px; color: var(--muted); line-height: 1.8; }
.shield b { color: var(--text); font-weight: 500; }
textarea.field { height: 112px; padding: 18px 20px; resize: none; line-height: 1.7; }

/* ---------- works ---------- */
.tabs { display: flex; gap: 28px; margin-top: 26px; font-size: 15px; }
.tabs a { color: var(--faint); padding-bottom: 10px; position: relative; }
.tabs a.on { color: var(--text); }
.tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 30px; }
.gallery .poster .shot { border-radius: 24px; }
.gallery .poster .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.5)); }
.gallery .poster b { font-size: 15px; }
.playmark { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; padding-left: 4px; opacity: 0; transition: opacity 0.25s; z-index: 2; }
.poster:hover .playmark { opacity: 1; }

/* ---------- review ---------- */
.review { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: center; }
.rv-info { align-self: center; justify-self: end; width: 300px; }
.rv-info h2 { font-size: 26px; line-height: 1.4; }
.rv-info .from { margin-top: 14px; font-size: 14px; color: var(--faint); line-height: 1.8; }
.rv-info .links { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rv-player { height: calc(100vh - 150px); max-height: 760px; aspect-ratio: 9 / 16; }
.rv-player.cine { border-radius: 32px; }
.review:has(.rv-player.wide) { grid-template-columns: 300px minmax(0, 1fr) 220px; gap: 48px; }
.wrap.done:has(.rv-player.wide) { max-width: 1480px; }
.rv-player.wide { height: auto; width: 100%; max-width: min(1040px, calc((100vh - 150px) * 16 / 9)); max-height: none; aspect-ratio: 16 / 9; justify-self: center; }
.rv-act { justify-self: start; display: flex; flex-direction: column; gap: 14px; width: 220px; }
.rv-act .btn { width: 100%; }
.rv-act .counter { font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.ghost-prev, .ghost-next { position: fixed; top: 50%; transform: translateY(-50%); width: 120px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; opacity: 0.16; filter: blur(2px); pointer-events: none; }
.ghost-prev { left: -60px; }
.ghost-prev.wide, .ghost-next.wide { width: 220px; aspect-ratio: 16 / 9; }
.ghost-prev.wide { left: -150px; }
.ghost-next.wide { right: -150px; }
.ghost-next { right: -60px; }
.ghost-prev img, .ghost-next img { width: 100%; height: 100%; object-fit: cover; }
.pub .tabs { margin-top: 18px; }

/* ---------- library / accounts ---------- */
.libgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.lib { border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.lib .cover { aspect-ratio: 4 / 3; overflow: hidden; }
.lib .cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.lib .info { padding: 18px 20px 22px; }
.lib b { font-size: 16px; font-weight: 500; }
.lib small { display: block; font-size: 13px; color: var(--faint); margin-top: 6px; }
.acc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.acc-card { padding: 12px 12px 26px; border-radius: var(--r-xl); background: var(--surface); display: flex; flex-direction: column; }
.acc-card > :not(.acc-cover) { margin-left: 14px; margin-right: 14px; }
.acc-cover { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; }
.acc-cover img { width: 100%; height: 100%; object-fit: cover; }
.acc-cover.tall img { object-fit: contain; background: #000; }
.acc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); }
.acc-fmt { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 600; }
.acc-cover small { position: absolute; left: 14px; right: 14px; bottom: 10px; z-index: 1; font-size: 12px; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.acc-card .avatar { width: 48px; height: 48px; font-size: 18px; flex: none; }
.acc-card h3 { font-size: 19px; font-weight: 600; }
.acc-who small { display: block; font-size: 13px; color: var(--faint); margin-top: 3px; }
.acc-card p.acc-persona { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.9em; }
.acc-mascot { display: inline-block; height: 26px; vertical-align: -8px; margin-left: 6px; }
.acc-card .acc-acts { margin-top: auto; padding-top: 20px; align-items: center; }
.acc-card .btn.sm { height: 38px; padding: 0 18px; font-size: 14px; }
.acc-card .kv { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--faint); }
.acc-card .kv span { color: var(--muted); }
.swatch { display: inline-block; width: 52px; height: 18px; border-radius: 9px; vertical-align: -4px; margin-left: 6px; }
.acc-acts { display: flex; gap: 26px; margin-top: 18px; }
.btn-text.danger:hover { color: #a3301f; }
.archived { margin-top: 36px; }
.archived summary { cursor: pointer; list-style: none; font-size: 14px; color: var(--faint); }
.archived summary::-webkit-details-marker { display: none; }
.archived summary:hover { color: var(--muted); }
.archived .list { margin-top: 14px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pick button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 14px; transition: background 0.2s, color 0.2s; }
.pick button:hover { color: var(--text); }
.pick button.on { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.pick .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(29, 28, 25, .15); }
.vp-now { color: var(--muted); }
.vp-now b { color: var(--gold-text); font-weight: 500; }
.vp { padding: 10px; border-radius: var(--r-md); background: var(--surface-2); }
.vp-groups { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); }
.vp-groups button { flex: 1; height: 32px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: background 0.2s, color 0.2s; }
.vp-groups button em { font-style: normal; font-size: 12px; color: var(--faint); margin-left: 5px; font-variant-numeric: tabular-nums; }
.vp-groups button.on { background: var(--surface-3); color: var(--text); }
.vp-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 2px 8px; }
.vp-tags button { flex: none; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; color: var(--faint); box-shadow: inset 0 0 0 1px var(--hair); transition: color 0.2s, box-shadow 0.2s; }
.vp-tags button:hover { color: var(--muted); }
.vp-tags button.on { color: var(--gold-text); box-shadow: inset 0 0 0 1px rgba(255, 194, 43, 0.5); }
.vp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 236px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.vp-item { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; padding: 9px 8px 9px 12px; border-radius: 12px; background: var(--surface); cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.vp-item:hover { background: var(--surface-3); }
.vp-item span { min-width: 0; }
.vp-item b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-item small { display: block; font-size: 11px; color: var(--faint); margin-top: 2px; }
.vp-item.on { background: rgba(255, 194, 43, 0.07); box-shadow: inset 0 0 0 1.5px var(--gold); }
.vp-item.on b { color: var(--gold-text); }
.vp-play { flex: none; height: 26px; padding: 0 9px; border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--hover); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.vp-play:hover { color: var(--text); background: var(--surface-3); }
.vp-play.playing { color: var(--gold-ink); background: var(--gold); }
.vp-custom { margin-top: 10px; padding: 0 4px 2px; }
.vp-custom summary { cursor: pointer; list-style: none; font-size: 13px; color: var(--faint); }
.vp-custom summary::-webkit-details-marker { display: none; }
.vp-custom summary::before { content: "+ "; }
.vp-custom[open] summary::before { content: "− "; }
.vp-custom summary:hover { color: var(--muted); }
.vp-custom .field { height: 44px; margin: 10px 0 6px; padding: 0 14px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); }
.vp-custom p { line-height: 1.6; }
.btn-danger { background: #e5534b; color: #fff; }
.btn-danger:hover { background: #f06a62; }
.confirm-wrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: var(--scrim); animation: fade 0.2s ease both; }
.confirm { width: min(440px, 100%); border-radius: 28px; padding: 30px; }
.confirm h3 { font-size: 20px; font-weight: 600; }
.confirm p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.confirm .actions { margin-top: 28px; gap: 12px; }
.confirm .btn { height: 46px; padding: 0 24px; font-size: 15px; }

/* ---------- prototype helper ---------- */
.proto { position: fixed; left: 16px; bottom: 14px; z-index: 50; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(20, 17, 14, 0.85); backdrop-filter: blur(10px); font-size: 12px; }
.proto a { color: var(--faint); padding: 5px 9px; border-radius: 999px; }
.proto a.on { background: var(--surface-3); color: var(--text); }
.shot .proto { display: none; }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); padding: 14px 24px; border-radius: 999px; font-size: 15px; opacity: 0; transition: 0.3s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ================= production additions ================= */
body:not(.authed) .top, body:not(.authed) .tabbar, body:not(.authed) .side { display: none; }
body:not(.authed) .app { display: block; }
body:not(.authed) .page { height: 100vh; }
.boot { position: fixed; inset: 0; display: grid; place-items: center; }
.boot .badge { width: 72px; height: 72px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.96); } }
.page.center { display: grid; place-items: center; }
.small { font-size: 14px; }
.hint { margin-top: 14px; font-size: 14px; color: var(--faint); line-height: 1.7; }
.hint a { color: var(--muted); border-bottom: 1px solid var(--hair); }
.empty { padding: 48px 0; color: var(--faint); font-size: 15px; }
.errorbox { margin: 22px auto 0; max-width: 620px; padding: 18px 22px; border-radius: 18px; background: var(--bad-soft); color: var(--bad); font-size: 15px; line-height: 1.7; text-align: left; white-space: pre-line; }
.bad { color: var(--bad); }
.label { font-size: 14px; color: var(--faint); margin: 18px 0 10px; }
.drawer .label { margin-top: 16px; }
.drawer textarea.field { height: 120px; }
.field.slim { height: 46px; width: 360px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--surface); color: var(--muted); text-align: left; transition: background .2s, box-shadow .2s; }
.chip:hover { background: var(--surface-2); }
.chip.on { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--text); }
.chip b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.chip small { display: block; font-size: 12px; color: var(--faint); margin-top: 3px; }
.chip .thumbs { display: flex; }
.chip .thumbs img { width: 30px; height: 52px; object-fit: cover; border-radius: 8px; margin-right: -8px; border: 2px solid var(--surface); }
.chips.small .chip { padding: 8px 14px; font-size: 13px; border-radius: 999px; }
.chip.add { padding: 9px 18px 9px 9px; border: 1px dashed rgba(255, 194, 43, .3); background: transparent; }
.chip.add:hover { border-color: rgba(255, 194, 43, .6); background: var(--surface); }
.chip .plus, .chip .spin { width: 30px; height: 52px; display: grid; place-items: center; flex-shrink: 0; color: var(--gold-text); font-size: 22px; font-weight: 300; }
.chip .spin::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 194, 43, .2); border-top-color: var(--gold-text); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip.wait, .chip.wait:hover { position: relative; overflow: hidden; cursor: default; background: var(--surface); }
.chip.wait .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--surface-3); }
.chip.wait .bar i { display: block; height: 100%; background: var(--gold); transition: width .6s; }
.chip.bad .plus, .chip.bad small { color: var(--bad); }
.uploadbox .btn:disabled { opacity: .45; cursor: default; }
.uploadbox [hidden] { display: none; }
.uploadbox { margin-top: 26px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); }
.uploads { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.urow { display: grid; grid-template-columns: minmax(0, 1fr) 80px 200px 48px; gap: 14px; align-items: center; font-size: 14px; }
.urow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.urow small { color: var(--faint); }
.urow i { height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.urow i b { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.urow em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.page.dropping::after { content: "松手就开始上传"; position: fixed; inset: 90px 40px 40px; border: 2px dashed rgba(255, 194, 43, .55); border-radius: 32px; display: grid; place-items: center; color: var(--gold-text); font-size: 20px; background: rgba(255, 255, 255, .85); pointer-events: none; }
#drawer-body.dropping { outline: 2px dashed rgba(255, 194, 43, .7); outline-offset: 10px; border-radius: 16px; }
#drawer-body.dropping::after { content: "松手就开始上传"; display: block; margin-top: 16px; text-align: center; color: var(--gold-text); font-size: 15px; }
.lib { cursor: pointer; }
.lib .ph, .board .ph, .strip .ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); background: var(--surface-2); font-size: 13px; text-align: center; padding: 8px; }
.lib .info .btn { margin-top: 8px; font-size: 14px; }
.lib .acts { display: flex; gap: 22px; }
.board figure { margin: 0; }
.board figure img, .board figure .ph { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }
.board figcaption { font-size: 12px; color: var(--faint); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
.strip .ph.small { width: 84px; aspect-ratio: 9 / 16; border-radius: 12px; flex-shrink: 0; }
[contenteditable] { outline: none; border-radius: 6px; transition: background .2s; }
[contenteditable]:focus { background: var(--hover); box-shadow: 0 0 0 6px var(--hover); }
.active { display: flex; gap: 14px; flex-wrap: wrap; }
.active .job { padding: 16px 20px; border-radius: 18px; background: var(--surface); min-width: 260px; }
.active .job b { display: block; font-size: 15px; font-weight: 500; }
.active .job span { display: block; font-size: 13px; color: var(--gold-text); margin-top: 6px; }
.active .job .line, .task .line { width: 100%; margin: 12px 0 0; }
.active .job small { display: block; font-size: 12px; color: var(--faint); margin-top: 8px; }
.task a b { color: var(--text); }
.task small.gold { color: var(--gold-text); }
.task small.bad { color: var(--bad); }
.task.failed .tag { color: var(--bad); }
.task[data-href], .list .proj { cursor: pointer; transition: background .15s; }
.task[data-href]:hover, .list .proj:hover { background: var(--surface-2); }
.list .proj { color: inherit; text-decoration: none; }
.list .proj small { display: block; margin-top: 4px; color: var(--faint); }
.list .proj .tag.gold { color: var(--gold-text); }
.list .proj .tag.bad { color: var(--bad); }
.list .proj > i { font-style: normal; color: var(--faint); }
.dup { margin-top: 14px; }
.dup .actions { margin-top: 10px; gap: 10px; }
/* ---------- account menu (header) ---------- */
.menu { position: fixed; left: 20px; bottom: 82px; width: 236px; max-height: calc(100vh - 96px); overflow: auto; border-radius: 22px; padding: 8px; z-index: 45; display: none; }
.menu.open { display: block; }
.menu .who { display: flex; gap: 12px; align-items: center; padding: 12px 12px 14px; }
.menu .who > div { min-width: 0; }
.menu .who b { display: block; font-size: 15px; font-weight: 600; }
.menu .who small { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrole { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--gold-text); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--muted); }
.menu a:hover, .menu button:not(:disabled):hover { background: var(--hover); color: var(--text); }
.menu .m-only { display: none; }
.msep { height: 1px; background: var(--hair); margin: 6px 4px; }
.msec { padding: 8px 12px 4px; font-size: 12px; color: var(--faint); }
.menu .mteam.on { color: var(--text); cursor: default; }
.menu .mteam.on::after { content: ""; margin-left: auto; width: 10px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-2px) rotate(-45deg); }

.list { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; }
.list .row { display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-radius: 18px; background: var(--surface); }
.list .row > div { flex: 1; }
.list .row b { font-weight: 500; }
.list .row small { display: block; font-size: 13px; color: var(--faint); margin-top: 4px; }
.drawer .list button.row { width: 100%; text-align: left; }
.drawer .list button.row:hover { background: var(--surface-3); }

/* ---------- teams ---------- */
.tm-sum { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 22px; font-size: 13px; color: var(--faint); }
.tm-sum b { font-size: 22px; font-weight: 500; color: var(--text); margin-right: 6px; font-variant-numeric: tabular-nums; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 26px; }
.tm-card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 18px; transition: background .2s; }
.tm-card:hover { background: var(--surface-2); }
.tm-card.on { box-shadow: inset 0 0 0 1.5px rgba(255, 194, 43, .55); }
.tm-head { display: flex; align-items: center; gap: 14px; }
.tm-head > div { flex: 1; min-width: 0; }
.tm-head b { display: block; font-size: 18px; font-weight: 600; }
.tm-head small { display: block; margin-top: 3px; font-size: 13px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-here { align-self: flex-start; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); }
.tm-people-row { display: flex; align-items: center; gap: 12px; }
.tm-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0 0; border-top: 1px solid var(--hair); font-size: 12px; color: var(--faint); }
.tm-nums b { display: block; font-size: 20px; font-weight: 500; color: var(--text); margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.tm-acts { display: flex; gap: 8px; }
.tm-acts .btn.sm { height: 38px; padding: 0 18px; font-size: 14px; }
.tm-pill { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-size: 12px; font-weight: 400; vertical-align: 1px; }
.tm-you { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 12px; font-weight: 400; vertical-align: 1px; }
.tm-title { display: flex; align-items: center; gap: 16px; }
.tm-title h1 { line-height: 1.1; }
.tm-title small { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }
.back-link { margin-left: -14px; margin-bottom: 6px; }
.tm-people { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tm-people a { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.tm-people a:has(.face) { padding-left: 6px; }
.tm-people a em { font-style: normal; color: var(--faint); font-size: 12px; }
.tm-people a.on { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--gold); }

/* ---------- members ---------- */
.mb-list { margin-top: 18px; border-radius: var(--r-lg); background: var(--surface); }
.mb-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.mb-row + .mb-row { border-top: 1px solid var(--hair); }
.mb-row.off { opacity: .55; }
.mb-who { flex: 1; min-width: 0; }
.mb-who b { font-weight: 500; font-size: 15px; }
.mb-who small { display: block; margin-top: 3px; font-size: 13px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-stats { display: flex; }
.mb-stat { width: 84px; text-align: right; }
.mb-stat b { display: block; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mb-stat small { font-size: 12px; color: var(--faint); }
.mb-wait { font-size: 13px; color: var(--faint); }
.mb-more { width: 40px; display: flex; justify-content: flex-end; position: relative; }
.mb-more summary { list-style: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); font-size: 18px; letter-spacing: 1px; }
.mb-more summary::-webkit-details-marker { display: none; }
.mb-more summary:hover, .mb-more details[open] summary { background: var(--surface-3); color: var(--text); }
.mb-pop { position: absolute; right: 0; top: 42px; z-index: 30; width: 200px; padding: 6px; border-radius: 16px; }
.mb-pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.mb-pop button:hover { background: var(--hover); color: var(--text); }
.mb-pop button.danger, .btn-text.danger { color: var(--bad); }
.mb-sec { display: flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 14px; font-weight: 500; color: var(--muted); }
.mb-sec em, .tk-day h4 em { font-style: normal; font-size: 12px; color: var(--faint); font-weight: 400; }
.mb-fold > summary { list-style: none; cursor: pointer; }
.mb-fold > summary::-webkit-details-marker { display: none; }
.mb-fold > summary .mb-sec::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(-45deg); margin-left: 4px; transition: transform .2s; }
.mb-fold[open] > summary .mb-sec::after { transform: rotate(45deg); }
.role-pick { display: flex; flex-direction: column; gap: 8px; }
.role-pick label { display: grid; grid-template-columns: 20px 1fr; gap: 2px 10px; padding: 14px; border-radius: 14px; background: var(--surface-2); cursor: pointer; }
.role-pick label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--gold); }
.role-pick input { grid-row: span 2; accent-color: var(--gold-text); margin-top: 3px; }
.role-pick b { font-size: 15px; font-weight: 500; }
.role-pick small { font-size: 13px; color: var(--faint); }

/* ---------- profile ---------- */
.pf-card { margin-top: 18px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); }
.pf-card:first-of-type { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.pf-card h3 { font-size: 16px; font-weight: 600; }
.pf-card form .field { margin-top: 12px; }
.pf-face-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pf-face-acts small { flex-basis: 100%; font-size: 12px; }
.pf-face-acts label { cursor: pointer; }
.pf-face-acts [hidden] { display: none; }
.pf .lead { margin-top: 10px; }
.pf-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 8px 0; }
.pf-row .label { margin: 0; }
.pf-line { display: flex; gap: 10px; align-items: center; }
.pf-line .field { margin: 0; flex: 1; }
.pf-static { color: var(--muted); font-size: 15px; word-break: break-all; }
.making .soon { font-size: 13px; padding: 6px 12px; }

@media (max-width: 760px) {
  .tm-grid { grid-template-columns: 1fr; }
  .mb-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px 12px; padding: 14px; }
  .mb-more { grid-column: 3; grid-row: 1; }
  .mb-stats, .mb-wait { grid-column: 2; grid-row: 2; }
  .mb-stats { gap: 18px; }
  .mb-stat { width: auto; text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .mb-stat b { font-size: 15px; }
  .tm-title .tface.lg { width: 40px; height: 40px; font-size: 18px; }
  .tm-title { gap: 12px; min-width: 0; }
  .row-head:has(.tm-title) { align-items: flex-start; gap: 12px; }
  .row-head:has(.tm-title) .btn-gold { height: 40px; padding: 0 16px; font-size: 14px; flex-shrink: 0; box-shadow: none; }
  .pf-row { grid-template-columns: 1fr; gap: 6px; }
}
.drawer .item.asset { display: grid; grid-template-columns: 64px 1fr; gap: 14px; }
.drawer .item.asset img { width: 64px; height: 100px; object-fit: cover; border-radius: 10px; }
.drawer .item.asset b span { font-weight: 400; font-size: 12px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer a.btn { display: flex; }
.done .review { min-height: calc(100vh - 150px); }
.rv-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.cine.wide video { object-fit: contain; }
.tabbar { display: none; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { overflow: auto; }
  .app { display: block; height: auto; min-height: 100vh; }
  .side { display: none; }
  .top { display: flex; align-items: center; height: 56px; padding: 0 18px; gap: 12px; position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 236, .8); backdrop-filter: blur(16px); }
  .page, .page.show { padding: 8px 16px calc(110px + env(safe-area-inset-bottom)); overflow: visible; }
  h1 { font-size: 24px; }
  .lead { font-size: 14px; }
  .entries, .accts, .script, .bd, .acc-list, .cmp-head, .crow { grid-template-columns: 1fr; }
  .entry { height: auto; min-height: 200px; padding: 26px; flex-direction: column; }
  .entry .copy { width: 100%; }
  .entry .preview { display: none; }
  .entry h2 { font-size: 24px; }
  .entry .go { margin-top: 20px; }
  .posters, .gallery, .libgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stage { height: 520px; overflow-x: clip; }
  .tc { width: 100%; padding: 28px 24px; }
  .tc[data-pos="-1"], .tc[data-pos="1"] { opacity: 0; }
  .tc h2 { font-size: 24px; }
  .nav-arrow { display: none; }
  .board { grid-template-columns: repeat(3, 1fr); }
  /* The sticky row stays over the page while it scrolls: nothing shows through behind its controls, and focused fields land above it. */
  .actions.float { margin: 30px -18px calc(-110px - env(safe-area-inset-bottom)); padding: 16px 18px calc(76px + env(safe-area-inset-bottom));
    background: linear-gradient(rgba(255, 248, 236, 0), rgba(255, 248, 236, .95) 16px); }
  html:has(.actions.float) { scroll-padding-bottom: calc(220px + env(safe-area-inset-bottom)); }
  .actions { flex-wrap: wrap; justify-content: stretch; }
  .actions .btn-gold { flex: 1; }
  .actions .model-pick { flex-basis: 100%; justify-content: center; margin-right: 0; background: none; }
  .actions .picks { flex-basis: 100%; justify-content: center; margin-right: 0; }
  .actions .picks .model-pick { flex-basis: auto; }
  .review { grid-template-columns: 1fr; gap: 24px; }
  .rv-info, .rv-act { justify-self: stretch; width: auto; }
  .rv-player { height: auto; width: 100%; max-height: none; }
  .review:has(.rv-player.wide) { grid-template-columns: 1fr; gap: 24px; }
  .rv-player.wide { width: 100%; max-width: none; }
  .ghost-prev, .ghost-next { display: none; }
  .paste { flex-direction: column; }
  .opts { flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .opts::-webkit-scrollbar { display: none; }
  .opt { flex: 0 0 auto; height: 40px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
  .narrow { padding-top: 30px !important; }
  .making .now { font-size: 28px; }
  .line { width: 80%; }
  .steps-words { flex-wrap: wrap; }
  .urow { grid-template-columns: minmax(0, 1fr) 60px 44px; }
  .urow i { grid-column: 1 / -1; grid-row: 2; }
  .field.slim { width: 100%; }
  .uploadbox .row-head { flex-direction: column; align-items: stretch; gap: 8px; }
  .drawer { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 82vh; border-radius: 26px 26px 0 0; transform: translateY(110%); }
  .menu { left: 10px; right: 10px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100vh - 140px); }
  .menu .m-only { display: flex; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); border-top: 1px solid var(--hair); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; color: var(--faint); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on, .tabbar button[aria-expanded="true"] { color: var(--text); }
  .tabbar .plus { justify-self: center; width: 46px; height: 46px; padding: 0; border-radius: 15px; background: var(--grad); color: var(--ink); justify-content: center; box-shadow: 0 6px 16px rgba(255, 159, 26, .4); }
  .tabbar .plus svg { stroke-width: 2.2; }
  .invite { flex-direction: column; }
  .list .row { flex-wrap: wrap; }
}

/* ---------- mobile review feed ---------- */
body.feeding .top, body.feeding .tabbar, body.feeding .side { display: none; }
.feed-page { position: fixed; inset: 0; padding: 0 !important; z-index: 15; background: #000; --text: #f6f1e8; --muted: rgba(246, 241, 232, .7); --faint: rgba(246, 241, 232, .5); }
.feed { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; }
.feed::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 100%; height: 100dvh; scroll-snap-align: start; overflow: hidden; }
.slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .35), transparent 18%, transparent 62%, rgba(0, 0, 0, .7)); pointer-events: none; }
.fhead { position: absolute; top: 0; left: 0; right: 0; padding: calc(14px + env(safe-area-inset-top)) 18px 0; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.fhead .back { width: 44px; height: 44px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--text); background: rgba(26, 22, 18, .45); backdrop-filter: blur(12px); }
.fhead .count { margin-left: auto; color: rgba(246, 241, 232, .7); font-size: 13px; }
.rail { position: absolute; right: 12px; bottom: 150px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.rb { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #f6f1e8; }
.rb span { padding: 1px 7px; border-radius: 9px; background: rgba(20, 16, 12, .6); }
.rb i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: rgba(26, 22, 18, .55); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .1); }
.rb.ok i { background: var(--gold); color: var(--gold-ink); border: 0; }
.slide .info { position: absolute; left: 18px; right: 86px; bottom: calc(46px + env(safe-area-inset-bottom)); }
.slide .info .who { font-size: 15px; font-weight: 600; }
.slide .info .title { font-size: 15px; line-height: 1.5; margin-top: 8px; }
.slide .info .meta { font-size: 12px; margin-top: 8px; color: rgba(246, 241, 232, .6); }
.slide .hint { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); text-align: center; font-size: 12px; color: rgba(246, 241, 232, .5); margin: 0; }

/* ================= interaction pass ================= */
body.locked .page { overflow: hidden; }
html:has(body.locked) { overflow: hidden; }
:where(a, button, [role="button"], summary, [tabindex]):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.btn:focus-visible { border-radius: 999px; }
.field:focus-visible, textarea.field:focus, .field:focus { box-shadow: inset 0 0 0 1px #e0a800, 0 0 0 3px rgba(255, 194, 43, .25); }
.drawer:focus { outline: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn:disabled:active { transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn-text { min-height: 40px; min-width: 40px; }
.empty .btn-text { min-height: 0; vertical-align: baseline; font-size: inherit; }
.empty a.gold { border-bottom: 1px solid rgba(255, 194, 43, .35); }

/* step bar of 选题 / 复刻 */
.stepper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 22px; font-size: 13px; color: var(--faint); }
.stepper > * { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 6px; border-radius: 999px; }
.stepper > * + *::before { content: ""; width: 14px; height: 1px; background: var(--hair); margin: 0 4px 0 -8px; }
.stepper i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.stepper a { color: var(--muted); transition: background .2s, color .2s; }
.stepper a:hover { background: var(--surface); color: var(--text); }
.stepper a i { background: var(--surface-3); color: var(--text); }
.stepper .on { color: var(--text); background: var(--surface); }
.stepper .on i { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.stepper .off { opacity: .55; }
.actions .back { margin-right: auto; }
.actions .back:has(+ .picks), .actions .back:has(+ .model-pick) { margin-right: 0; }
.making .peek { display: flex; gap: 28px; justify-content: center; }
button.more { display: block; text-align: left; background: none; padding: 0; min-height: 40px; }
button.more:hover { color: var(--text); }
.drawer .copy { min-height: 40px; padding: 0 12px; margin: -11px -12px -11px 0; border-radius: 10px; font-weight: 400; }
.mark { min-height: 44px; }
.drawer .copy:hover { color: var(--text); background: var(--hover); }
.drawer .close { width: 40px; height: 40px; z-index: 1; }
.drawer-acts { margin-top: 24px; gap: 12px; }
.drawer-acts .btn { flex: 1; }
.drawer .zoom { cursor: zoom-in; }
.board .zoom, .strip .zoom { cursor: zoom-in; }

/* review: a way back, a close, and ↑↓ buttons for mouse users */
.rv-close { position: fixed; top: 96px; right: 40px; z-index: 6; width: 46px; height: 46px; border-radius: 50%; font-size: 16px; color: var(--muted); }
.rv-close:hover { color: var(--text); }
.rv-info .rv-back { margin: -10px 0 18px; }
.rv-nav { display: flex; gap: 8px; margin-bottom: 6px; }
.rv-nav .btn { flex: 1; height: 42px; padding: 0 12px; font-size: 14px; font-weight: 500; }

/* full-screen preview */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 64px 24px 24px; background: rgba(5, 4, 3, .92); animation: fade .2s ease both; cursor: zoom-out; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; border-radius: 18px; object-fit: contain; background: #000; }
.lightbox video { cursor: auto; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; }

/* mobile feed: paused state is visible */
.slide .paused { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; padding-left: 5px; font-size: 26px;
  background: rgba(26, 22, 18, .5); backdrop-filter: blur(14px); opacity: 0; transition: opacity .2s; pointer-events: none; }
.slide.is-paused .paused { opacity: 1; }
.rb:disabled { opacity: .5; }
.hint .linkish { font-size: inherit; color: var(--muted); border-bottom: 1px solid var(--hair); padding: 8px 0; }
.hint .linkish:hover { color: var(--text); }

@media (max-width: 760px), (pointer: coarse) {
  .model-pick button, .vp-groups button { min-height: 40px; }
  .pick button, .vp-tags button, .vp-play { min-height: 40px; }
  .tabs a { padding: 10px 0; }
  .tabbar a { padding: 12px 0; }
  .drawer .close { width: 42px; height: 42px; }
  .me { min-width: 44px; height: 44px; }
  .archived summary { padding: 10px 0; }
  .menu a, .menu button { min-height: 44px; }
  .hint a { display: inline-block; padding: 8px 0; }
  .chips.small .chip { min-height: 40px; }
  p a.gold { display: inline-block; padding: 12px 0; margin: -12px 0; }
}
@media (max-width: 760px) {
  .stepper { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 4px -18px 16px; padding: 0 18px; }
  .stepper::-webkit-scrollbar { display: none; }
  .stepper > * { flex: none; }
  .actions .back { flex: 0 0 auto; margin-right: 0; }
  .actions .back:has(+ .picks), .actions .back:has(+ .model-pick) { order: 2; }
  .actions .picks, .actions .model-pick { order: 1; }
  .actions .btn-gold, .actions #more { order: 3; }
  .rv-close { display: none; }
  .lightbox { padding: 64px 10px 10px; }
}

/* 账号新建 / 编辑页（account-edit.js） */
.acf-sec { margin-top: 46px; }
.acf-sec > h2 { font-size: 22px; font-weight: 600; display: flex; align-items: baseline; gap: 12px; }
.acf-sec > h2 i { font-style: normal; font-size: 13px; color: var(--gold-ink); background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; }
.acf-sec > p.faint { margin-top: 8px; }
.acf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acf-tune { margin-top: 18px; grid-template-columns: 1.1fr 1fr; }
.acf-card { padding: 24px 26px; border-radius: var(--r-lg); background: var(--surface); margin-top: 18px; }
.acf-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 16px; }
.acf-type { padding: 20px 18px; border-radius: var(--r-lg); background: var(--surface); text-align: left; transition: background .2s, box-shadow .2s; }
.acf-type:hover { background: var(--surface-2); }
.acf-type.on, .acf-plan.on, .acf-capcard.on, .acf-font.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.acf-type b { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.acf-type small { display: block; font-size: 13px; color: var(--faint); margin-top: 8px; line-height: 1.6; }
.acf-type em { display: inline-block; font-style: normal; font-size: 11px; color: var(--gold-text); margin-top: 10px; }
.acf-notice { margin-top: 14px; padding: 14px 18px; border-radius: 16px; background: var(--gold-soft); color: var(--muted); font-size: 14px; line-height: 1.7; }
.acf-notice b { color: var(--gold-text); font-weight: 500; }
.acf-drop { width: 100%; padding: 26px; border-radius: var(--r-lg); background: var(--surface-2); color: var(--faint); border: 1px dashed var(--surface-3); }
.acf-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); margin-top: 18px; }
.acf-seg button { height: 36px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-size: 14px; }
.acf-seg button.on { background: var(--surface-3); color: var(--text); }
.acf-prev { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #000; }
.acf-prev img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); }
.acf-capbox { position: absolute; left: 0; right: 0; bottom: 9%; display: flex; justify-content: center; }
.acf-cap { white-space: nowrap; line-height: 1.25; display: inline-block; }
.acf-big { position: absolute; left: 7%; top: 10%; font-size: 34px; line-height: 1.1; white-space: nowrap; color: #fff; -webkit-text-stroke: 5px #111; paint-order: stroke fill; }
.acf-big em { font-style: normal; }
.acf-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.acf-plan { padding: 12px 12px 18px; border-radius: var(--r-lg); background: var(--surface); text-align: left; transition: box-shadow .2s; }
.acf-plan h3 { font-size: 16px; font-weight: 600; margin: 14px 6px 0; color: var(--text); }
.acf-plan p { font-size: 12px; color: var(--faint); margin: 6px 6px 0; line-height: 1.6; }
.acf-plan .acf-alike { display: block; margin: 10px 6px 0; }
.acf-alike { font-size: 13px; }
.acf-alike.ok { color: var(--good); }
.acf-alike.warn { color: #b06d00; }
.acf-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.acf-lines > div { padding: 12px 10px 16px; border-radius: 14px; background: #4a4a4a; text-align: center; }
.acf-lines small { display: block; font-size: 12px; color: #d6d6d6; margin-bottom: 10px; }
.acf-fonts { display: flex; flex-wrap: wrap; gap: 8px; }
.acf-font { padding: 10px 14px; border-radius: 14px; background: var(--surface-2); color: var(--text); text-align: left; }
.acf-font span { display: block; font-size: 20px; line-height: 1.2; }
.acf-font small { display: block; font-size: 11px; color: var(--faint); margin-top: 4px; }
.acf-fonts.small .acf-font span { font-size: 15px; }
.acf-fonts.small .acf-font small { display: none; }
.acf-swatches { display: flex; gap: 10px; }
.acf-swatches button { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(29, 28, 25, .15); }
.acf-swatches button.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.acf-capgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.acf-capcard { border-radius: 18px; padding: 8px 8px 12px; background: var(--surface-2); text-align: left; transition: box-shadow .2s; }
.acf-capcard b { display: block; font-size: 14px; font-weight: 600; margin: 10px 4px 0; color: var(--text); }
.acf-capcard small { display: block; font-size: 12px; color: var(--faint); margin: 3px 4px 0; }
.acf-hotchip { display: flex; align-items: center; gap: 8px; margin: 8px 4px 0; padding: 6px 8px; border-radius: 10px; background: #4a4a4a; }
.acf-hotchip > small { margin: 0 !important; color: #d6d6d6 !important; font-size: 11px !important; }
.acf-plan .acf-big { font-size: 24px; -webkit-text-stroke: 4px #111; }
.acf-more summary { cursor: pointer; color: var(--muted); font-size: 15px; }
.acf .btn.sm { height: 42px; padding: 0 20px; font-size: 14px; }
.acf-fmts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 16px; }
.acf-fmt { padding: 10px 10px 18px; border-radius: var(--r-lg); background: var(--surface); text-align: left; transition: background .2s, box-shadow .2s; }
.acf-fmt:hover { background: var(--surface-2); }
.acf-fmt.on, .acf-mascot.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.acf-fmt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.acf-fmt b { display: block; font-size: 16px; font-weight: 600; color: var(--text); margin: 14px 6px 0; }
.acf-fmt small { display: block; font-size: 13px; color: var(--faint); margin: 6px 6px 0; line-height: 1.6; }
.acf-fmt em { display: inline-block; font-style: normal; font-size: 11px; color: var(--gold-text); margin: 10px 6px 0; }
.acf-mascots { display: flex; gap: 14px; flex-wrap: wrap; }
.acf-mascot { width: 200px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); text-align: left; }
.acf-mascot img { height: 92px; margin: 0 auto 10px; }
.acf-mascot b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.acf-mascot small { display: block; font-size: 12px; color: var(--faint); margin-top: 4px; line-height: 1.5; }
.acf-mascot.soon { border: 1px dashed var(--surface-3); background: none; }
.acf-mascot .plus { display: grid; place-items: center; height: 92px; margin-bottom: 10px; font-size: 34px; color: var(--faint); }
.acf-mascot.draft { border: 1px dashed rgba(244,196,48,.35); }
.acf-mascot.draft.st-failed small { color: var(--bad); }
.acf-mascot .line { width: 100%; margin: 10px 0 0; background: var(--surface-3); }
.mascot-poses { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.mascot-poses figure { margin: 0; padding: 8px 6px; border-radius: var(--r-md); background: var(--surface-2); text-align: center; }
.mascot-poses img { height: 84px; width: 100%; object-fit: contain; cursor: zoom-in; }
.mascot-poses figcaption { font-size: 11px; color: var(--faint); margin-top: 4px; line-height: 1.4; }
@media (max-width: 760px) {
  .acf-types, .acf-fmts { grid-template-columns: 1fr 1fr; }
  .acf-grid2, .acf-tune { grid-template-columns: 1fr; }
  .acf-plans, .acf-capgrid { grid-template-columns: 1fr 1fr; }
  .acf-big { font-size: 26px; }
  .acf-plan .acf-capbox, .acf-capcard .acf-capbox { transform: scale(.7); transform-origin: 50% 100%; }
  .acf-plan .acf-big { font-size: 18px; -webkit-text-stroke: 3px #111; }
}

/* 任务页：一个项目一张卡片 */
.tbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.tbar .field { flex: 1 1 260px; max-width: 360px; height: 44px; margin: 0; font-size: 15px; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 14px; }
.fchip:hover { color: var(--text); }
.fchip.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--gold); }
.plist { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pcard { padding: 18px 22px; border-radius: 18px; background: var(--surface); }
.pcard[data-href] { cursor: pointer; transition: background .15s; }
.pcard[data-href]:hover { background: var(--surface-2); }
.pc-head { display: flex; gap: 20px; align-items: center; }
.pc-main { flex: 1; min-width: 0; }
.pc-title { display: flex; gap: 12px; align-items: center; }
.pc-title b { font-weight: 500; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-main small { display: block; margin-top: 5px; font-size: 12px; color: var(--faint); }
.pc-main small.gold, .pcard .tag.gold { color: var(--gold-text); }
.pcard .tag.bad { color: var(--bad); }
.pc-main .line { width: 100%; margin: 12px 0 0; }
.pc-act { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.pc-steps { margin-top: 14px; border-top: 1px solid var(--hair); padding-top: 6px; cursor: default; }
.pstep { display: grid; grid-template-columns: 92px 260px 1fr auto; gap: 14px; align-items: baseline; padding: 9px 0; font-size: 13px; color: var(--faint); }
.pstep b { font-weight: 500; color: var(--muted); }
.pstep .gold { color: var(--gold-text); }
.pstep .bad { color: var(--bad); }
@media (max-width: 760px) {
  .pc-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .pc-act { flex-wrap: wrap; }
  .pstep { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 任务：按天分组的项目卡 ---------- */
.tk-day { margin-top: 30px; }
.tk-day h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.tk-list { display: flex; flex-direction: column; gap: 8px; }
.tk { border-radius: 18px; background: var(--surface); transition: background .15s; }
.tk[data-href] { cursor: pointer; }
.tk[data-href]:hover, .tk.open { background: var(--surface-2); }
.tk-row { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 12px; }
.tk-thumb { width: 52px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--surface-3); }
.tk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tk-thumb.none { display: grid; place-items: center; }
.tk-thumb.none img { width: 30px; height: 30px; border-radius: 50%; background: #fff; opacity: .55; }
.tk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tk-name { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-ref { font-size: 12px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--faint); min-width: 0; }
.tk-meta > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-by { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); flex-shrink: 0; }
.tk-prog { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.tk-prog .line { flex: 0 1 220px; margin: 0; }
.tk-prog small { font-size: 12px; color: var(--gold-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tk .tag.gold { color: var(--gold-text); }
.tk .tag.bad { color: var(--bad); }
.tk-acts { display: flex; align-items: center; gap: 6px; }
.tk-acts .btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.tk-fold { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); }
.tk-fold::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.tk-fold:hover { background: var(--surface-3); color: var(--text); }
.tk.open .tk-fold::before { transform: translateY(2px) rotate(-135deg); }
.tk-more { margin: 0 14px 0 80px; padding: 4px 0 14px; border-top: 1px solid var(--hair); cursor: default; }
.tk-facts { display: grid; grid-template-columns: 72px 1fr; gap: 8px 14px; padding: 14px 0 6px; font-size: 13px; }
.tk-facts dt { color: var(--faint); }
.tk-facts dd { color: var(--muted); line-height: 1.6; word-break: break-all; }
.tk-more .pc-steps { margin-top: 8px; }
.tk-foot { display: flex; justify-content: flex-end; padding-top: 6px; }
@media (max-width: 760px) {
  .tk-row { flex-wrap: wrap; gap: 12px; }
  .tk-main { flex: 1 1 calc(100% - 70px); }
  .tk-side { width: 100%; justify-content: space-between; padding-left: 64px; }
  .tk-more { margin: 0 14px; }
  .tk-facts { grid-template-columns: 1fr; gap: 2px; }
  .tk-facts dd { margin-bottom: 8px; }
}

/* 首页：大黄狗 · 选题升级中 */
.entry.off { cursor: default; opacity: .5; }
.entry.off:hover { transform: none; background: var(--surface); }
.entry .who .soon { margin-left: 2px; }
.entry.off .go { color: var(--faint); font-weight: 400; font-size: 14px; }

/* 作品库：卡片上的删除 / 回收站里的恢复 */
.poster .shot .pdel { position: absolute; right: 10px; bottom: 10px; z-index: 2; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px;
  color: var(--text); background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .15s; }
.poster:hover .shot .pdel, .poster .shot .pdel:focus-visible, .poster .shot .pdel.restore { opacity: 1; }
.poster .shot .pdel:hover { background: #b3261e; }
.poster .shot .pdel.restore:hover { background: var(--gold); color: #1a1408; }
.poster.binned { cursor: default; }
.poster.binned .shot img { opacity: .55; }
@media (pointer: coarse) { .poster .shot .pdel { opacity: 1; } }

/* 复刻首页（fx.js fxStart） */
.fxs { padding-top: 36px; }
.fxs-hero { max-width: 860px; margin: 0 auto; text-align: center; padding: 34px 0 10px; }
.fxs-hero h1 { font-size: 40px; letter-spacing: -0.01em; }
.fxs-box { display: flex; gap: 10px; margin-top: 34px; padding: 10px; border-radius: 28px; background: var(--surface); box-shadow: var(--lift); }
.fxs-box .field { flex: 1; height: 62px; margin: 0; font-size: 17px; border-radius: 20px; padding: 0 22px; background: var(--surface-2); }
.fxs-box .btn { height: 62px; padding: 0 34px; font-size: 16px; }
.fxs-sub { margin-top: 16px; font-size: 14px; color: var(--faint); display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.fxs-hero #dup, .fxs-hero #up { text-align: left; }
.fxs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.fxs-step { padding: 14px 14px 24px; border-radius: var(--r-lg); background: var(--surface); }
.fxs-step > em { display: block; font-style: normal; font-size: 12px; color: var(--gold-text); margin: 18px 10px 0; letter-spacing: .1em; }
.fxs-step > b { display: block; font-size: 19px; font-weight: 600; margin: 6px 10px 0; }
.fxs-step > p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 8px 10px 0; }
.fxs-art { height: 168px; border-radius: 18px; background: var(--surface-2); overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 18px; }
.art-bar { display: flex; gap: 4px; height: 34px; }
.art-bar i { border-radius: 8px; background: var(--surface-3); }
.art-bar i.hook { background: var(--gold); }
.art-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.art-chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.art-chips span.on { background: var(--gold-soft); color: var(--gold-text); }
.art-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.art-types span { position: relative; border-radius: 10px; overflow: hidden; }
.art-types img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: 58px; }
.art-types small { position: absolute; left: 6px; bottom: 4px; font-size: 11px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.art-film { position: absolute; inset: 0; }
.art-film img { width: 100%; height: 168px; object-fit: cover; filter: brightness(.7); }
.art-film > i { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-style: normal; font-size: 16px; }
.art-film .art-chips { position: absolute; left: 12px; bottom: 12px; margin: 0; }
.art-film .art-chips span { background: rgba(0,0,0,.55); color: #fff; }
.fxs-recent { margin-top: 56px; }
.fxs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fxs-card { display: block; padding: 10px 10px 16px; border-radius: var(--r-lg); background: var(--surface); transition: background .2s; }
.fxs-card:hover { background: var(--surface-2); }
.fxs-cover { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); font-size: 13px; }
.fxs-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fxs-cover .tag { position: absolute; left: 8px; top: 8px; height: 24px; font-size: 12px; background: rgba(0,0,0,.6); color: #fff; }
.fxs-cover .tag.gold { color: var(--gold-text); }
.fxs-cover .tag.bad { color: var(--bad); }
.fxs-cover em { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.fxs-card b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.5; margin: 12px 6px 0; min-height: 3em; }
.fxs-card small { display: block; font-size: 12px; color: var(--faint); margin: 6px 6px 0; }

/* 素材库总览（library.js） */
.bk-tabs { margin-top: 22px; }
.bk-stock { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.bk-stat { padding: 16px 22px; border-radius: var(--r-md); background: var(--surface); min-width: 200px; }
.bk-stat b { display: block; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-stat small { display: block; font-size: 13px; color: var(--faint); margin-top: 4px; }
.bk-stat.warn b { color: var(--bad); }
.bk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.bk-card { position: relative; padding: 8px 8px 14px; border-radius: var(--r-md); background: var(--surface); }
.bk-card img, .bk-card .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; cursor: zoom-in; background: var(--surface-2); }
.bk-tag { position: absolute; left: 16px; top: 16px; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; }
.bk-tag.ai { background: rgba(255,194,43,.85); color: var(--gold-ink); }
.bk-card b { display: block; font-size: 14px; font-weight: 500; margin: 10px 4px 0; line-height: 1.5; }
.bk-card b.two { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.bk-card small { display: block; font-size: 12px; color: var(--faint); margin: 4px 4px 0; }
.bk-card .used { color: var(--muted); }
.bk-card .fresh { color: var(--good); }
.keepbox { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--text); cursor: pointer; }
.keepbox input { accent-color: var(--gold-text); }
.keepbox small { flex-basis: 100%; padding-left: 22px; font-size: 12px; color: var(--faint); }
@media (max-width: 760px) {
  .fxs-hero h1 { font-size: 28px; }
  .fxs-box { flex-direction: column; }
  .fxs-steps { grid-template-columns: 1fr; }
  .fxs-grid, .bk-grid { grid-template-columns: 1fr 1fr; }
}

/* 发布登记（作品的发布包抽屉）和复盘页 */
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.clamp.open { display: block; }
.drawer details.more summary { font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.drawer details.more summary::-webkit-details-marker { display: none; }
.drawer details.more summary::after { content: "怎么勾"; font-weight: 400; font-size: 13px; color: var(--muted); }
.drawer details.more[open] summary::after { content: "收起"; }
.post-add { display: flex; gap: 10px; margin-top: 16px; }
.post-add .field { margin: 0; height: 50px; font-size: 15px; }
.post-add .btn { height: 50px; padding: 0 24px; flex: none; }
.drawer #published { margin-top: 14px; font-size: 14px; }
.post { margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: var(--surface-2); }
.post-head { display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.post-head b { font-weight: 600; }
.post-head span, .post-head a { color: var(--muted); font-size: 14px; }
.post-head a { margin-left: auto; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tiles b { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tiles b i { font-style: normal; font-size: 13px; font-weight: 500; opacity: .85; }
.tiles small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.tiles .up b { color: var(--good); }
.tiles .down b { color: var(--bad); }
.post .tiles { margin-top: 16px; }
.post-rest { margin-top: 12px; font-size: 13px; color: var(--muted); }
.post-rest.warn { color: var(--bad); }
.post-acts { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.post-acts .btn-soft { height: 40px; padding: 0 20px; font-size: 14px; background: var(--surface-3); }
.post-acts .btn-text { font-size: 14px; }
.post-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.post-form[hidden], .post-acts [hidden] { display: none; }
.post-form label { font-size: 13px; color: var(--muted); }
.post-form .field { height: 44px; margin: 6px 0 0; padding: 0 14px; font-size: 15px; background: var(--surface-3); }
.post-form .btn { grid-column: 1 / -1; height: 46px; }
/* ---------- 复盘 ---------- */
.pseg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8); flex-shrink: 0; }
.pseg button { height: 32px; padding: 0 14px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.pseg button.on { background: var(--ink); color: #fff; font-weight: 500; }
.pseg.sm button { height: 28px; padding: 0 12px; }
.ins-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ins-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; margin-top: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--edge); overflow: hidden; }
.ins-say { position: relative; padding: 28px 30px; background: radial-gradient(circle at 90% 10%, rgba(255, 246, 200, .9) 0, rgba(255, 246, 200, 0) 45%), linear-gradient(125deg, #ffd84d, #ffb81a); }
.ins-say > small { font-size: 12px; color: var(--ink); opacity: .6; font-weight: 600; letter-spacing: .04em; }
.ins-say h2 { margin: 8px 0 0; font-size: 26px; line-height: 1.3; }
.ins-say h2 { color: var(--ink); }
.ins-say p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: #4d3b1c; }
.streak { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #ffd84d; background: var(--ink); }
.streak::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffd84d; }
.ins-kpis { display: grid; grid-template-columns: repeat(2, 1fr); }
.ins-kpis > div { padding: 22px 26px; border-bottom: 1px solid var(--hair); }
.ins-kpis > div:nth-child(odd) { border-right: 1px solid var(--hair); }
.ins-kpis > div:nth-child(n + 3) { border-bottom: 0; }
.ins-kpis small { font-size: 13px; color: var(--muted); }
.ins-kpis b { display: block; margin-top: 4px; font-size: 30px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ins-kpis b i { margin-left: 3px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); }
.ins-kpis .hot b { color: var(--gold-text); }
.dl { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--faint); font-weight: 500; }
.dl.up { color: var(--good); }
.dl.down { color: var(--bad); }
.dl small { font-size: 12px; font-weight: 400; color: var(--faint); }
.ins-tops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ins-top { display: flex; gap: 16px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--edge); }
.ins-top.first { box-shadow: 0 0 0 2px var(--gold), 0 14px 36px rgba(255, 159, 26, .25); }
.it-shot { position: relative; flex: 0 0 96px; height: 150px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.it-shot img { width: 100%; height: 100%; object-fit: cover; }
.it-shot em { position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: rgba(29, 28, 25, .6); }
.ins-top.first .it-shot em { background: var(--grad); color: var(--ink); }
.it-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.it-body > b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.45; }
.it-body > small { margin-top: 3px; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-num { margin-top: 10px; font-size: 24px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.it-num small { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--faint); }
.it-vs { align-self: flex-start; margin-top: 6px; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.it-vs.hit { color: var(--gold-text); background: var(--gold-soft); }
.it-vs.good { color: var(--good); background: #e8f5ed; }
.it-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.it-foot .who { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; }
.it-foot .btn.sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 9px; }
.ins-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.ins-card { padding: 18px 20px 10px; border-radius: var(--r-lg); background: var(--surface); }
.ins-card .row-head { margin-bottom: 6px; }
.ib-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); }
.ib-row:first-of-type { border-top: 0; }
.ib-rank { width: 22px; text-align: center; font-size: 13px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.ib-rank.r1 { color: var(--gold-text); }
.ib-what { flex: 1; min-width: 0; }
.ib-what b { font-size: 14px; font-weight: 500; }
.ib-what small { margin-left: 8px; font-size: 12px; color: var(--faint); }
.ib-bar { height: 6px; margin-top: 7px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.ib-bar i { display: block; height: 100%; border-radius: 3px; background: var(--grad); }
.ib-num { text-align: right; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ib-num small { display: block; font-size: 11px; font-weight: 400; color: var(--faint); }
.ins-list { margin-top: 4px; }
.ins-post { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(0, 400px); gap: 20px; align-items: center; padding: 12px 18px; border-radius: var(--r-md); background: var(--surface); margin-top: 8px; transition: box-shadow .2s; }
.ins-post:hover { box-shadow: var(--lift); }
.ins-post img, .ins-post > i { width: 54px; height: 76px; border-radius: 8px; object-fit: cover; background: var(--surface-3); }
.ins-post .what b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 500; line-height: 1.45; }
.ins-post .what small { display: flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 12px; color: var(--faint); }
.ip-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 600; vertical-align: 2px; color: var(--muted); background: var(--surface-2); }
.ip-tag.hit { color: var(--ink); background: var(--grad); }
.ip-tag.good { color: var(--good); background: #e8f5ed; }
.ip-tag.low { color: var(--bad); background: var(--bad-soft); }
.ip-bar { display: flex; align-items: center; gap: 10px; height: 18px; margin-top: 8px; }
.ip-bar s { position: relative; flex: 0 1 220px; height: 6px; border-radius: 3px; background: var(--surface-2); text-decoration: none; }
.ip-bar i { position: absolute; left: 0; top: 0; height: 6px; border-radius: 3px; background: #c9c6bd; }
.ip-bar.hit i { background: var(--grad); }
.ip-bar.good i { background: #5fbf88; }
.ip-bar.low i { background: #e6a397; }
/* 竖线是「平时」：1 倍落在三分之一处。 */
.ip-bar u { position: absolute; left: 33.3%; top: -4px; width: 2px; height: 14px; border-radius: 1px; background: var(--text); opacity: .22; }
.ip-bar span { white-space: nowrap; font-size: 12px; color: var(--muted); }
.ip-bar.none span { color: var(--faint); }
.ip-bar.hit span { color: var(--gold-text); font-weight: 600; }
.ins-post .tiles b { font-size: 18px; }
@media (max-width: 1100px) {
  .ins-hero { grid-template-columns: 1fr; }
  .ins-say { border-right: 0; border-bottom: 1px solid var(--hair); }
  .ins-tops { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ins-head { flex-direction: column; align-items: stretch; }
  .ins-head .pseg { align-self: flex-start; }
  .ins-say { padding: 22px 20px; }
  .ins-say h2 { font-size: 22px; }
  .ins-kpis > div { padding: 16px 18px; }
  .ins-kpis b { font-size: 24px; }
  .ins-post { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .ins-post .tiles { grid-column: 1 / -1; }
  .tiles b { font-size: 19px; }
  .tiles b i { font-size: 12px; }
}

/* ---------- 首页 / 开始创作 ---------- */
.hero2 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 24px; min-height: 340px; padding: 44px 48px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(255, 246, 200, .95) 0, rgba(255, 246, 200, 0) 42%), linear-gradient(120deg, #ffd84d 0%, #ffc21a 55%, #ffaa14 100%); color: var(--ink);
  box-shadow: 0 20px 50px rgba(255, 159, 26, .22); }
.h2-hi { display: inline-block; font-size: 13px; font-weight: 500; opacity: .72; }
.hero2 h1 { margin-top: 14px; font-size: 52px; line-height: 1.12; font-weight: 900; letter-spacing: -.02em; }
.hero2 p { max-width: 440px; margin-top: 16px; font-size: 15px; line-height: 1.7; opacity: .78; }
.h2-acts { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.btn-lg { height: 52px; padding: 0 30px; border-radius: 14px; font-size: 16px; font-weight: 600; }
.hero2 .btn-gold { background: #1c1406; color: #fff; box-shadow: 0 8px 24px rgba(28, 20, 6, .22); }
.hero2 .btn-gold:hover { background: #33270f; }
.hero2 .btn-text { color: #1c1406; opacity: .75; }
.h2-art { position: relative; height: 280px; }
.h2-fan img { position: absolute; top: 18px; width: 150px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(60, 35, 0, .28); border: 3px solid #fff; }
.h2-fan .f0 { left: 120px; z-index: 2; transform: rotate(-2deg); }
.h2-fan .f1 { left: 10px; top: 46px; transform: rotate(-11deg); }
.h2-fan .f2 { left: 236px; top: 46px; transform: rotate(10deg); }
.h2-dog { position: absolute; left: -10px; bottom: -22px; z-index: 3; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: 0 12px 30px rgba(60, 35, 0, .25); transform: rotate(-8deg); }
.h2-dog img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
@media (max-width: 1100px) { .h2-art { display: none; } .hero2 { grid-template-columns: 1fr; min-height: 0; } }
.home-sec { margin-top: 36px; }
.home-sec > .row-head { align-items: center; margin-bottom: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); transition: box-shadow .2s, transform .2s; }
a.tool-card:hover { box-shadow: var(--lift); transform: translateY(-1px); }
.tool-card .dogi { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.tool-card .dogi img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.tool-card > div { flex: 1; min-width: 0; }
.tool-card b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.tool-card small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.tool-card small.tk-k { margin: 0 0 3px; font-size: 12px; color: var(--faint); }
.tool-card > i { font-style: normal; color: var(--faint); }
.tool-card.big { padding: 20px 22px; min-height: 132px; }
.tool-card.big .dogi { width: 52px; height: 52px; border-radius: 50%; align-self: flex-start; }
.tool-card .tc-cover { flex: 0 0 auto; width: 64px; height: 92px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--hair); }
.tool-card.off { cursor: default; }
.tool-card.off .dogi, .tool-card.off .tc-cover { opacity: .5; filter: grayscale(.5); }
.tool-card.off b { color: var(--muted); }
.tool-card .soon { padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 500; color: var(--faint); background: var(--surface-2); }
.create .sgrp { margin: 18px 0 8px; font-size: 12px; color: var(--faint); }
.create .sgrp:first-child { margin-top: 4px; }
.create .tool-card { box-shadow: var(--edge); }
@media (max-width: 760px) {
  .hero2 { padding: 28px 22px; border-radius: 22px; }
  .hero2 h1 { font-size: 34px; }
  .h2-acts .btn-lg { flex: 1; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card.big { min-height: 0; }
  .tool-card .tc-cover { display: none; }
  .tool-grid .tool-card.off { order: 1; padding: 14px 18px; }
  .tool-card.off small:not(.tk-k) { display: none; }
  .tool-card.off .dogi { width: 40px; height: 40px; }
  .home-sec { margin-top: 28px; }
}

/* 批量复刻：选号多选、批次看板（web/app/pages/batch.js） */
.bx-pick { position: relative; }
.bx-pick > div { min-width: 0; }
.bx-pick b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-ck { margin-left: auto; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(29, 28, 25, .2); display: grid; place-items: center; }
.bx-ck svg { width: 14px; height: 14px; }
.bx-pick.on .bx-ck { background: var(--gold); color: var(--gold-ink); box-shadow: none; }
.bx { --ok: #22a061; --warn: #e08a1e; --ease: cubic-bezier(.2, .7, .2, 1); padding-bottom: 60px; }
.bx-ico { width: 15px; height: 15px; flex-shrink: 0; }
.bx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.bx-ref { display: flex; align-items: center; gap: 14px; max-width: 640px; margin-bottom: 18px; }
.bx-ref > div { min-width: 0; }
.bx-ref img { width: 76px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; }
.bx-ref span { display: block; font-size: 13px; color: var(--faint); }
.bx-ref b { display: block; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-big { display: flex; align-items: baseline; gap: 14px; }
.bx-big b { font-family: var(--display); font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bx-big b i { font-style: normal; color: var(--faint); font-weight: 400; }
.bx-big span { font-size: 16px; color: var(--muted); }
.bx-acts { display: flex; gap: 10px; }
.bx-bar { display: flex; gap: 4px; margin-top: 26px; }
.bx-bar i { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.bx-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w, 100%); border-radius: 4px; background: var(--gold); transition: width .6s var(--ease); }
.bx-bar i.ok::after { background: var(--ok); }
.bx-bar i.wait::after, .bx-bar i.held::after { background: var(--warn); }
.bx-bar i.bad::after { background: #e0464e; }
.bx-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--faint); }
.bx-meta span { display: inline-flex; align-items: center; gap: 7px; }
.bx-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--gold); }
.bx-dot.ok { background: var(--ok); }
.bx-dot.wait, .bx-dot.held { background: var(--warn); }
.bx-dot.bad { background: #e0464e; }
.bx-same { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--faint); }
.bx-same:hover { color: var(--text); }
.bx-same.warn { color: var(--warn); }
.bx-sheet { margin-top: 18px; padding: 8px; border-radius: 20px; background: var(--surface); }
.bx-sheet[hidden] { display: none; }
.bx-sheet > div { display: grid; grid-template-columns: 26px 200px 1fr; align-items: center; gap: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.bx-sheet > div + div { border-top: 1px solid var(--hair); }
.bx-sheet > div.warn > span:first-of-type { color: var(--warn); }
.bx-sheet b { display: block; color: var(--text); font-weight: 500; margin-bottom: 2px; }
.bx-sheet small { display: block; margin-top: 4px; font-size: 12px; color: var(--faint, var(--muted)); }
.bx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; margin-top: 34px; }
.bx-card { display: flex; flex-direction: column; min-width: 0; color: inherit; }
.bx-m { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bx-card:hover .bx-m { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.bx-m img, .bx-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx-m .bx-bg { inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); filter: blur(18px) brightness(.4); }
.bx-card.ok .bx-m:not(.tall) .bx-bg, .bx-card.held .bx-m:not(.tall) .bx-bg { inset: 0; width: 100%; height: 100%; filter: none; }
button.bx-m { width: 100%; padding: 0; text-align: left; cursor: pointer; }
.bx-m.tall .bx-fg, .bx-m.tall video { object-fit: contain; }
.bx-m:not(.tall) .bx-fg { display: none; }
.bx-m video { opacity: 0; transition: opacity .3s; }
.bx-m.playing video { opacity: 1; }
.bx-card.ok .bx-m::after, .bx-card.held .bx-m::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.bx-dur { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: 12px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.bx-pct { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 2px; }
.bx-pct b { font-family: var(--display); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bx-pct span { font-size: 13px; color: var(--muted); }
.bx-prog { position: absolute; left: 0; bottom: 0; z-index: 1; height: 3px; background: var(--gold); transition: width .6s var(--ease); }
.bx-card.wait .bx-m, .bx-card.held .bx-m { box-shadow: 0 0 0 1.5px var(--warn); }
.bx-card.bad .bx-m { box-shadow: 0 0 0 1.5px rgba(224, 70, 78, .7); }
.bx-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.bx-row .avatar { font-size: 11px; flex-shrink: 0; }
.bx-row b { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); white-space: nowrap; }
.bx-card .bx-t { margin-top: 4px; padding-left: 32px; font-size: 13px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-diff { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-left: 32px; }
.bx-diff span { max-width: 100%; height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; color: var(--muted); background: var(--surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-why { margin-top: 10px; padding-left: 32px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.bx-do { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; padding-left: 32px; }
.bx-do .btn.sm { height: 36px; padding: 0 16px; font-size: 13px; }
.bx-do .btn-text.sm { padding: 0; }
.held-film { position: relative; display: block; width: min(100%, 480px); aspect-ratio: 16 / 9; margin: 22px auto 0; border-radius: 16px; overflow: hidden; background: #000; }
.held-film.tall { width: 220px; aspect-ratio: 9 / 16; }
.held-film img { width: 100%; height: 100%; object-fit: cover; }
.held-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.held-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.held-why { display: inline-grid; gap: 6px; margin: 18px auto 0; padding: 0; list-style: none; text-align: left; font-size: 15px; color: var(--muted); }
.held-why li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--warn, #ffa14a); }
.bx-older { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.bx-older a { height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; color: var(--faint); background: var(--surface); }
.bx-older a.on, .bx-older a:hover { color: var(--text); background: var(--surface-3); }
@media (max-width: 1000px) { .bx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bx-grid { grid-template-columns: 1fr; } .bx-big b { font-size: 56px; } .bx-sheet > div { grid-template-columns: 26px 1fr; } .bx-sheet > div > span:last-child { grid-column: 2; } }
.len-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.len-pick button { padding: 18px 20px; border-radius: 18px; background: var(--surface); text-align: left; box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s; }
.len-pick button:hover { background: var(--surface-2); }
.len-pick button.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.len-pick b { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.len-pick span { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }
.acct-ar { height: 22px; margin-left: 6px; padding: 0 9px; border-radius: 999px; font-size: 12px; color: var(--text); background: var(--surface-3); vertical-align: 1px; }
.acct-ar:hover { background: var(--gold); color: var(--gold-ink); }
@media (max-width: 640px) { .len-pick { grid-template-columns: 1fr; } }
.swap-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.swap { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--surface); text-align: left; font-size: 14px; color: var(--faint); line-height: 1.6; transition: background .2s; }
.swap:hover { background: var(--surface-2); }
.swap i { flex-shrink: 0; min-width: 4.6em; text-align: center; font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--surface-3); color: var(--muted); }
.swap.on i { background: var(--gold); color: var(--gold-ink); }
.swap.on span { color: var(--text); }
.hint.warn { color: var(--warn, #ffa14a); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.slot { padding: 16px 18px; border-radius: 18px; background: var(--surface); }
.slot.missing { box-shadow: inset 0 0 0 1.5px var(--warn, #ffa14a); }
.slot-head b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.slot-head span { display: block; margin-top: 4px; font-size: 12px; color: var(--faint); line-height: 1.6; }
.slot-clips { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.slot-clip { flex: 1; min-width: 0; }
.slot-clip img, .slot-clip i { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--surface-3); }
.slot-clip small { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-clip small b { margin-right: 6px; color: var(--text); font-weight: 600; }
.slot-vs { color: var(--faint); font-size: 14px; }
.slot .hint { margin-top: 10px; font-size: 12px; }
.slot-act { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.slot-act button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; color: var(--text); background: var(--surface-3); }
.slot-act button:hover { background: var(--gold); color: var(--gold-ink); }
@media (max-width: 900px) { .slots { grid-template-columns: 1fr; } }
.crow .orig small { display: block; margin-top: 8px; font-size: 12px; color: var(--faint); opacity: .8; }
.crow .orig .none { opacity: .7; }
.crow .mine .flag { display: block; margin-top: 6px; font-size: 12px; color: var(--warn, #ffa14a); line-height: 1.6; }

/* 审稿页（带画面）：顶上是系统的理解，下面按段落排分镜，画面在左、这个画面上念的口播在右 */
.read { margin-top: 26px; padding: 20px 24px; border-radius: 20px; background: var(--surface); box-shadow: var(--edge); }
.read-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.read-h b { font-size: 15px; }
.read-h span { font-size: 12px; color: var(--faint); }
.read dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 16px; font-size: 14px; line-height: 1.75; }
.read dt { color: var(--faint); font-size: 13px; padding-top: 1px; }
.read dd { color: var(--text); min-width: 0; }
.read dd small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.read ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.read ul em, .read-flow em { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; margin-right: 8px; background: var(--gold-soft); color: var(--gold-text); white-space: nowrap; }
.read-flow { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 8px 0 2px; }
.read-flow li { display: inline-flex; align-items: center; height: 30px; padding: 0 12px 0 5px; border-radius: 999px; background: var(--surface-2); font-size: 13px; }
.read-flow li.auto { background: transparent; box-shadow: inset 0 0 0 1px var(--hair); color: var(--muted); }
.read-flow li.auto em { background: var(--surface-3); color: var(--muted); }

.sb-head { display: grid; grid-template-columns: minmax(340px, 46%) 1fr; gap: 28px; padding: 0 22px; margin-top: 30px; font-size: 13px; color: var(--faint); }
.sb { margin-top: 12px; display: flex; flex-direction: column; gap: 26px; }
.sb-sec { display: flex; flex-direction: column; gap: 10px; }
.sb-sec h3 { display: flex; align-items: baseline; gap: 10px; padding: 0 6px; font-size: 17px; font-weight: 600; }
.sb-sec h3 span { font-size: 12px; font-weight: 400; color: var(--faint); }
.sb-stage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 8px; padding: 0 6px; font-size: 14px; font-weight: 600; }
.sb-stage em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); }
.sb-stage span { font-size: 12px; font-weight: 400; color: var(--faint); }
.sb-stage.auto { color: var(--muted); }
.sb-stage.auto em { background: var(--surface-3); color: var(--muted); }
.sb-shot { display: grid; grid-template-columns: minmax(340px, 46%) 1fr; gap: 28px; padding: 16px 22px 16px 16px; border-radius: 20px; background: var(--surface); }
.sb-pic { min-width: 0; }
.sb-imgs { display: grid; gap: 6px; }
.sb-imgs.n2 { grid-template-columns: 1fr 1fr; }
.sb-imgs.n3 { grid-template-columns: 1fr 1fr 1fr; }
.sb-imgs img { display: block; width: 100%; max-height: 360px; object-fit: contain; border-radius: 12px; background: #18181a; cursor: zoom-in; }
.sb-imgs.n2 img, .sb-imgs.n3 img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.sb-words { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 18px 14px; border-radius: 12px; background: #18181a; color: #fff; text-align: center; }
.sb-words span { font-size: 13px; opacity: .78; }
.sb-words .w0 { font-size: 24px; font-weight: 700; opacity: 1; letter-spacing: .02em; }
.sb-words:not(.big) { align-items: flex-start; text-align: left; min-height: 0; }
.sb-words:not(.big) span, .sb-words:not(.big) .w0 { font-size: 14px; font-weight: 500; opacity: 1; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.sb-imgs + .sb-words { margin-top: 6px; }
.sb-none { display: grid; place-items: center; min-height: 110px; border-radius: 12px; background: var(--surface-3); color: var(--faint); font-size: 12px; }
.sb-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 8px; font-size: 13px; }
.sb-cap b { font-weight: 600; color: var(--muted); }
.sb-cap span { font-size: 11px; color: var(--faint); }
.sb-steps { list-style: none; margin-top: 4px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.sb-steps li.dim { color: var(--bad); }
.sb-extra { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.sb-extra span { font-size: 11px; line-height: 1.5; padding: 2px 8px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.sb-lines { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.sb-line { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.sb-line + .sb-line { padding-top: 14px; border-top: 1px solid var(--hair); }
.sb-line > i { font-style: normal; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 5px; }
.sb-line p { font-size: 17px; line-height: 1.7; }
.sb-line p span { display: inline-block; min-width: 40px; border-radius: 6px; outline: none; transition: background .15s, box-shadow .15s; }
.sb-line p span:hover { background: var(--surface-2); }
.sb-line p span:focus { background: #fff; box-shadow: 0 0 0 2px var(--gold); }
.sb-line .flag { display: block; margin-top: 4px; font-size: 12px; color: var(--bad); line-height: 1.6; }
.sb-ref { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--faint); }
.sb-ref img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; cursor: zoom-in; opacity: .92; }
@media (max-width: 960px) {
  .sb-head { display: none; }
  .sb-shot { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .read dl { grid-template-columns: 1fr; gap: 2px 0; }
  .read dt { margin-top: 8px; }
}
.bx-m .held-play { z-index: 1; }

/* 审稿页的真实画面：能改的字各有一个可点的框；飞象植入的结论 */
.sb-imgs.real { gap: 8px; }
.sb-real { position: relative; border-radius: 12px; overflow: hidden; background: #18181a; }
.sb-real img { max-height: none; border-radius: 0; }
.sb-f { position: absolute; border-radius: 6px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0); cursor: text; transition: box-shadow .15s, background .15s; }
.sb-real:hover .sb-f { box-shadow: inset 0 0 0 1.5px rgba(255, 212, 0, .55); }
.sb-f:hover, .sb-f:focus-visible { background: rgba(255, 212, 0, .22); box-shadow: inset 0 0 0 2px var(--gold) !important; outline: none; }
.sb-f.on { background: rgba(255, 212, 0, .18); box-shadow: inset 0 0 0 2px var(--gold); }
.sb-sets { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.6; }
.sb-sets li { display: flex; align-items: baseline; gap: 8px; }
.sb-sets em { font-style: normal; flex-shrink: 0; padding: 1px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); }
.sb-sets span { min-width: 0; color: var(--text); }
.sb-sets s { color: var(--faint); }
.sb-sets .linkish { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--muted); }
.sb-ask { margin-top: 8px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); transition: color .15s, box-shadow .15s; }
.sb-ask:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--gold); }
.sb-swaps, .sb-wedit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.sb-swaps > span, .sb-wedit > span { font-size: 11px; color: var(--faint); margin-right: 2px; }
.sb-sw { display: flex; align-items: center; gap: 6px; height: 40px; padding: 3px 10px 3px 3px; border-radius: 10px; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .15s, color .15s; }
.sb-sw img { width: 34px; height: 34px; object-fit: cover; border-radius: 7px; background: #18181a; }
.sb-sw em, .sb-we em { font-style: normal; }
.sb-sw:hover, .sb-we:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--gold); }
.sb-sw.on, .sb-we.on { color: var(--text); box-shadow: inset 0 0 0 2px var(--gold); background: var(--gold-soft); }
.sb-we { max-width: 100%; padding: 4px 10px; border-radius: 8px; font-size: 12px; line-height: 1.5; text-align: left; color: var(--text); box-shadow: inset 0 0 0 1px var(--hair); cursor: text; transition: box-shadow .15s; }
.sb-we em { margin-right: 6px; color: var(--faint); }
.sb-line p span:empty::before { content: '（这句删掉，画面并到上一句）'; color: var(--bad); font-size: 14px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.pick { display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 12px; text-align: left; box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .15s; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 9px; background: #18181a; }
.pick small { font-size: 11px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.pick.on { box-shadow: inset 0 0 0 2px var(--gold); }
.sets-n { margin-right: 10px; font-size: 13px; color: var(--muted); }
.ask-field { margin-top: 16px; }
.ask-field .field { width: 100%; }
.ask-field small { display: block; margin-top: 6px; min-height: 18px; font-size: 12px; color: var(--faint); }
.ask-field small.bad { color: var(--bad); }
.plug { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 14px; padding: 14px 24px; border-radius: 20px; background: var(--surface); box-shadow: var(--edge); font-size: 14px; line-height: 1.7; }
.plug > div:first-child { min-width: 0; flex: 1 1 420px; }
.plug b { font-size: 15px; }
.plug em { font-style: normal; margin: 0 10px 0 8px; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); white-space: nowrap; }
.plug span { color: var(--muted); }
.plug-pick { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.plug-pick span { color: var(--faint); }
.plug-pick button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); }
.plug-pick button:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--gold); }
.plug-set { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.plug-set button { padding: 14px 16px; border-radius: 16px; background: var(--surface); text-align: left; box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s; }
.plug-set button:hover { background: var(--surface-2); }
.plug-set button.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.plug-set b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.plug-set span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.6; color: var(--faint); }
@media (max-width: 760px) { .plug-set { grid-template-columns: 1fr 1fr; } }

/* 建号：画面风格（三套样张）和收起来的更多设置 */
.look-now { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: center; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); }
.look-now b { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.look-now small { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--faint); }
.look-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.look-pics img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #18181a; cursor: zoom-in; }
.look-dots { display: inline-flex; gap: 4px; }
.look-dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(29, 28, 25, .18); }
.look-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.look-card { padding: 10px 10px 16px; border-radius: var(--r-lg); background: var(--surface); text-align: left; box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s; }
.look-card:hover { background: var(--surface-2); }
.look-card.on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.look-card .look-pics { grid-template-columns: 1fr 1fr; }
.look-card .look-pics img:first-child { grid-column: 1 / -1; }
.look-card .look-pics img { cursor: pointer; }
.look-card b { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 6px 0; font-size: 16px; font-weight: 600; color: var(--text); }
.look-card small { display: block; margin: 6px 6px 0; font-size: 13px; line-height: 1.6; color: var(--faint); }
.look-card small.look-traits, .look-now small.look-traits { margin-top: 2px; font-size: 12px; }
.look-card em { display: inline-block; margin: 10px 6px 0; font-style: normal; font-size: 12px; color: var(--gold-text); }
.look-ask { display: flex; gap: 10px; margin-top: 16px; }
.look-ask .field { flex: 1; min-width: 0; }
.look-ask .btn { flex-shrink: 0; }
.look-wait { margin-top: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); }
.look-wait b { font-size: 15px; font-weight: 600; }
.look-wait .line { margin-top: 12px; height: 4px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.look-wait .line i { display: block; height: 100%; border-radius: 999px; background: var(--gold); transition: width .4s; }
.look-wait small { display: block; margin-top: 10px; font-size: 12px; color: var(--faint); }
.bad { color: var(--bad); }
.acf-more { margin-top: 46px; }
.acf-more > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; cursor: pointer; list-style: none; }
.acf-more > summary::-webkit-details-marker { display: none; }
.acf-more > summary h2 { font-size: 22px; font-weight: 600; display: flex; align-items: baseline; gap: 12px; }
.acf-more > summary h2 i { font-style: normal; font-size: 13px; color: var(--gold-ink); background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; }
.acf-more > summary h2::after { content: '展开'; font-size: 13px; font-weight: 400; color: var(--gold-text); }
.acf-more[open] > summary h2::after { content: '收起'; }
.acf-more > summary span { font-size: 13px; color: var(--faint); }
.acf-more .acf-sec { margin-top: 30px; }
.acf-more .acf-sec > h3 { font-size: 17px; font-weight: 600; }
@media (max-width: 900px) { .look-list, .look-now { grid-template-columns: 1fr; } .acf-fmts { grid-template-columns: 1fr 1fr; } .look-ask { flex-direction: column; } }

/* 一贴到底：贴链接页上选发到哪些号，审稿页顶上的出片状态行，成片页的版本条 */
.fxs-hero .lead { font-size: 15px; margin-top: 12px; }
.fxs-to { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 0 10px; font-size: 14px; color: var(--faint); text-align: left; }
.fxs-to > span { line-height: 44px; flex-shrink: 0; }
.fxs-to #to { display: flex; flex-wrap: wrap; gap: 10px; }
.to-more { height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); }
.to-more:hover { color: var(--text); background: var(--surface); }
.to-acct { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.to-acct:hover { background: var(--surface-2); }
.to-acct .avatar { font-size: 13px; flex-shrink: 0; opacity: .55; transition: opacity .2s; }
.to-acct b { font-size: 14px; font-weight: 500; max-width: 12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.to-acct small { font-size: 12px; color: var(--faint); }
.to-acct { position: relative; }
.to-type { width: 40px; height: 24px; border-radius: 5px; object-fit: cover; flex-shrink: 0; opacity: .7; box-shadow: 0 0 0 1px rgba(31, 24, 8, .08); }
.to-acct.on .to-type { opacity: 1; }
.to-peek { display: none; position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); z-index: 20; width: 248px; padding: 8px 8px 12px; border-radius: 14px;
  background: #fff; box-shadow: 0 14px 40px rgba(31, 24, 8, .18); font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: left; white-space: normal; pointer-events: none; }
.to-peek img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; margin-bottom: 8px; }
.to-peek em { display: block; font-style: normal; font-weight: 600; color: var(--text); padding: 0 4px; }
.to-peek { padding-left: 8px; padding-right: 8px; }
.to-acct:hover .to-peek, .to-acct:focus-visible .to-peek { display: block; }
.to-acct.on { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--text); background: #fff; }
.to-acct.on .avatar { opacity: 1; }
.to-acct .acct-ar { margin-left: 0; }
.fxs-brief { display: block; width: calc(100% - 20px); margin: 14px 10px 0; height: 44px; border-radius: 999px; padding: 0 20px; font-size: 14px; background: var(--surface); box-shadow: none; }
.fxs-brief:focus { background: #fff; }
.uploads .urow.done em { color: var(--ok, #2f9e5b); }
.verbar:empty { display: none; }
.verbar { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; padding: 12px 18px; border-radius: 16px; background: var(--surface); font-size: 14px; }
.verbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex-shrink: 0; }
.verbar.run i { background: var(--gold); animation: verpulse 1.4s ease-in-out infinite; }
.verbar.ok i { background: var(--ok, #2f9e5b); }
.verbar.bad i { background: var(--bad); }
.verbar b { font-weight: 500; }
.verbar span { color: var(--faint); }
.verbar a { margin-left: auto; color: var(--text); border-bottom: 1px solid var(--hair); }
@keyframes verpulse { 50% { opacity: .35; } }
.vers { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.vers a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); transition: background .2s; }
.vers a:hover { background: var(--surface-2); }
.vers a.on { background: var(--text); color: #fff; }
.vers a b { font-weight: 500; }
.vers a span { opacity: .7; }
.vers a em { font-style: normal; opacity: .7; }
.vers a em.run { color: var(--gold-text); opacity: 1; }
.vers a.on em.run { color: var(--gold); }
.vers a em.bad { color: var(--bad); opacity: 1; }

.urow.done { grid-template-columns: minmax(0, 1fr) 80px auto auto; }
.fxs-hero #up .uploads { padding: 0 10px; margin-top: 14px; }
