:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --panel-soft: #f3f4f5;
  --line: #e9eaec;
  --line-strong: #dcdfe3;
  --text: #17191c;
  --muted: #838a93;
  --accent: #2f6ee5;
  --accent-soft: #eef4ff;
  --success: #12805c;
  --warning: #a65d00;
  --danger: #c93636;
  --shadow: 0 18px 54px rgba(18, 22, 28, 0.09), 0 2px 10px rgba(18, 22, 28, 0.04);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 文案默认可选中、可复制；按钮和表单控件也不例外。 */
* { box-sizing: border-box; -webkit-user-select: text; user-select: text; }
html, body { height: 100%; }
body { margin: 0; overflow: hidden; background: var(--bg); color: var(--text); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .46; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #20242a; outline-offset: 2px; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
::selection { background: #dfe3e8; color: #111316; }

.boot-screen { height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); }
.boot-mark, .brand-mark { display: grid; place-items: center; background: transparent; }
.boot-mark { width: 58px; height: 58px; border-radius: 17px; box-shadow: 0 12px 30px rgba(18, 22, 28, .10); }
.boot-mark img, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.boot-screen p { margin: 0; font-size: 14px; }

.shell { height: 100vh; min-height: 0; display: grid; grid-template-columns: 198px 226px minmax(0, 1fr); background: var(--bg); }
.rail { position: relative; z-index: 30; min-height: 0; background: #fff; border-right: 1px solid #e8eaee; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: stretch; }
.brand-mark { width: 46px; height: 46px; margin: 0 auto 25px; filter: drop-shadow(0 7px 14px rgba(25,31,45,.11)); }
.rail-brand { width: 174px; min-height: 58px; margin: 0 2px 28px; display: flex; align-items: center; gap: 11px; color: #11151d; }
.rail-brand-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; filter: drop-shadow(0 6px 12px rgba(23, 79, 230, .16)); }
.rail-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.rail-brand-copy { min-width: 0; display: grid; gap: 3px; }
.rail-brand-copy strong { font-size: 17px; font-weight: 720; letter-spacing: -.03em; line-height: 1.15; }
.rail-brand-copy small { color: #8a93a1; font-size: 10px; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.rail-nav { display: grid; gap: 4px; }
.rail-button { border: 1px solid transparent; background: transparent; border-radius: 8px; min-height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; color: #69717c; transition: background .16s ease, color .16s ease, border-color .16s ease; white-space: nowrap; }
.rail-button img { width: 18px; height: 18px; opacity: .76; }
.rail-button:hover { background: #f6f7f9; color: #242932; }
.rail-button:hover img { opacity: .9; }
.rail-button.active { background: #eef4ff; border-color: #eef2ff; color: #2f6ee5; font-weight: 650; box-shadow: inset 2px 0 0 #2f6ee5; }
.rail-button.active img { opacity: 1; filter: invert(42%) sepia(96%) saturate(1657%) hue-rotate(199deg) brightness(93%) contrast(92%); }
.rail-button small { font-size: 13px; font-weight: 580; line-height: 20px; letter-spacing: 0; }
.rail-index { display: none; }
.rail-bottom { margin-top: auto; display: grid; gap: 12px; padding-top: 12px; }
.notification-button, .avatar-button { border: 0; background: transparent; position: relative; white-space: nowrap; writing-mode: horizontal-tb; }
.rail .notification-button { width: 100%; height: 38px; border-radius: 8px; display: flex; align-items: center; gap: 12px; padding: 0 14px; color: #68717c; font-size: 13px; line-height: 20px; text-align: left; }
.rail .notification-button img { width: 18px; height: 18px; opacity: .68; }
.notification-button > span:first-child { display: block; white-space: nowrap; writing-mode: horizontal-tb; }
.rail .notification-button:hover, .rail .avatar-button:hover { background: #f0f1f4; }
.unread-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #2f6ee5; right: 13px; top: 8px; border: 2px solid #fff; }
.rail .avatar-button { width: 100%; min-height: 58px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 14px; align-items: center; gap: 9px; padding: 10px 8px; border-top: 1px solid #eaecf0; border-radius: 0; color: #303641; text-align: left; }
.rail-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e5edff; color: #2f6ee5; font-size: 11px; font-weight: 700; }
.rail-account-copy { min-width: 0; }
.rail-account-copy strong, .rail-account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-account-copy strong { color: #262b32; font-size: 12px; font-weight: 650; line-height: 17px; }
.rail-account-copy small { margin-top: 1px; color: #8b929c; font-size: 11px; line-height: 16px; }
.rail .avatar-button > img { width: 14px; height: 14px; opacity: .55; }

.side-panel { min-width: 0; min-height: 0; background: #fbfbfc; border-right: 1px solid #e4e6eb; display: flex; flex-direction: column; }
.side-head { min-height: 82px; padding: 23px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.side-kicker { display: none; }
.side-head h1 { font-size: 20px; margin: 0; font-weight: 650; line-height: 28px; letter-spacing: -.02em; }
.new-button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 11px; font-size: 12px; font-weight: 650; box-shadow: 0 3px 10px rgba(18,22,28,.03); }
.new-button:hover { border-color: #cfd3d8; background: #f8f9fa; }
.side-action { padding: 0 14px 10px; }
.side-create { width: 100%; height: 42px; border: 1px solid #e0e3e8; border-radius: 8px; background: #fff; color: #252a32; font-size: 13px; font-weight: 600; line-height: 20px; text-align: left; padding: 0 13px; transition: background .16s ease, border-color .16s ease, transform .16s ease; display: flex; align-items: center; gap: 8px; box-shadow: 0 3px 10px rgba(18,22,28,.025); }
.side-create img { width: 16px; height: 16px; opacity: .68; }
.side-create:hover { background: #f8f9fb; border-color: #d4d8df; transform: translateY(-1px); }
.side-project-delete { padding-top: 0; }
.side-delete { color: #b05158; }
.side-delete:hover { color: #8f373e; background: #fff8f8; border-color: #e8c8cc; }
.side-delete-icon { width: 16px; height: 16px; display: grid; place-items: center; color: currentColor; font-size: 20px; font-weight: 400; line-height: 1; }
.side-search { margin: 0 14px 9px; position: relative; }
.side-search > img { position: absolute; z-index: 1; width: 14px; height: 14px; left: 11px; top: 50%; transform: translateY(-50%); opacity: .48; }
.side-search input { width: 100%; border: 1px solid transparent; outline: 0; background: #f0f1f4; border-radius: 8px; padding: 9px 12px 9px 33px; font-size: 12px; font-weight: 400; line-height: 18px; }
.side-search input:focus { background: #fff; border-color: #d8dce1; box-shadow: 0 0 0 3px #f1f2f3; }
.side-scroll { flex: 1; min-height: 0; overflow: auto; padding: 0 10px 26px; }
.side-label { color: #98a0aa; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: 0; padding: 18px 10px 9px; }
.side-list { display: grid; gap: 2px; }
.recent-generation-scroll { scrollbar-width: thin; scrollbar-color: #d8dbe1 transparent; }
.recent-generation-scroll::-webkit-scrollbar { width: 6px; }
.recent-generation-scroll::-webkit-scrollbar-track { background: transparent; }
.recent-generation-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: #d8dbe1; }
.recent-generations-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.recent-generations-label small { color: #afb4bc; font-size: 10px; font-weight: 500; }
.recent-generation-list { gap: 3px; }
.recent-generation-item { width: 100%; min-height: 54px; border: 0; border-radius: 10px; background: transparent; padding: 6px 8px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; text-align: left; transition: background .16s ease, box-shadow .16s ease; }
.recent-generation-item:hover { background: #f1f2f5; }
.recent-generation-item.active { background: #e9edfb; box-shadow: inset 2px 0 0 #2f6ee5; }
.recent-generation-item .side-main strong { display: block; overflow: hidden; color: #262b32; font-size: 12px; font-weight: 610; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.recent-generation-item .side-main > span { display: block; margin-top: 1px; overflow: hidden; color: #979da6; font-size: 10px; line-height: 15px; text-overflow: ellipsis; white-space: nowrap; }
.recent-generation-thumb { width: 38px; height: 38px; overflow: hidden; border-radius: 9px; background: #e8eaed; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(20,24,32,.04); }
.recent-generation-thumb > img, .recent-generation-thumb > video { width: 100%; height: 100%; object-fit: cover; }
.recent-generation-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 1px; color: #9097a1; }
.recent-generation-placeholder img { width: 14px; height: 14px; opacity: .52; }
.recent-generation-placeholder small { max-width: 34px; overflow: hidden; font-size: 6px; line-height: 8px; text-overflow: ellipsis; white-space: nowrap; }
.recent-generation-status { max-width: 38px; padding: 3px 5px; border-radius: 6px; background: #fff2df; color: #96610b; font-size: 8px; font-weight: 650; white-space: nowrap; }
.recent-generation-status.status-failed, .recent-generation-status.status-cancelled { background: #fbeaea; color: #aa4141; }
.project-list-row { position: relative; border-radius: 11px; }
.project-list-row.active { background: #eceefa; box-shadow: inset 2px 0 0 #2f6ee5; }
.project-list-row .project-side-item { border-radius: 11px; }
.project-list-row.active .project-side-item { background: transparent; box-shadow: none; }
.project-delete-button { position: absolute; right: 8px; top: 50%; z-index: 2; transform: translateY(-50%); border: 0; border-radius: 7px; background: rgba(255,255,255,.78); color: #9a5860; padding: 4px 6px; font-size: 10px; opacity: 0; transition: opacity .16s ease, background .16s ease; }
.project-list-row:hover .project-delete-button, .project-list-row:focus-within .project-delete-button { opacity: 1; }
.project-delete-button:hover { background: #fff3f3; color: #b63232; }
.side-item { width: 100%; border: 0; background: transparent; border-radius: 11px; padding: 9px 10px; text-align: left; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.side-item:hover { background: #f5f6f7; }
.side-item.active { background: #eceefa; box-shadow: inset 2px 0 0 #2f6ee5; }
.project-side-item { min-height: 58px; grid-template-columns: 38px minmax(0, 1fr) auto; padding: 7px 8px; gap: 9px; }
.asset-side-item { min-height: 56px; grid-template-columns: minmax(0, 1fr) auto; padding: 9px 11px; }
.project-glyph { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, #e3e8ff, #eaf1ff); color: #577fca; font-size: 12px; font-weight: 750; }
.side-main { min-width: 0; margin: 0 !important; }
.project-thumb, .side-thumb { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: #e9ebee; color: #525965; font-size: 13px; font-weight: 740; box-shadow: inset 0 0 0 1px rgba(20,24,32,.035); }
.project-thumb img, .project-thumb video { width: 100%; height: 100%; object-fit: cover; }
.project-thumb.has-media { background: #dfe2e6; }
.project-thumb.empty { background: linear-gradient(145deg, #f0f1f3, #e7e9ed); }
.project-thumb-empty { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 2px; color: #8c939d; }
.project-thumb-empty img { width: 16px; height: 16px; opacity: .42; object-fit: contain; }
.project-thumb-empty small { font-size: 7px; font-weight: 560; line-height: 1; }
.side-item strong { display: block; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item .side-main > span { display: block; font-size: 12px; font-weight: 400; line-height: 18px; color: #9299a2; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-count { align-self: center; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px; display: grid; place-items: center; background: #f4f5f6; color: #858c95; font-size: 10px; }
.project-side-state { align-self: center; text-align: right; }
.project-side-state small { display: block; max-width: 48px; color: #a1a7af; font-size: 11px; font-weight: 450; line-height: 16px; }
.project-side-state em { display: inline-flex; padding: 4px 6px; border-radius: 7px; background: #fff2df; color: #9a5a00; font-size: 9px; font-style: normal; font-weight: 680; white-space: nowrap; }
.side-empty { margin: 28px 12px; padding: 24px 14px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7; }
.member-row { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: center; padding: 10px; border-radius: 12px; }
.member-row:hover { background: #f6f7f8; }
.member-avatar { width: 34px; height: 34px; border-radius: 50%; background: #e9effa; color: #315f9d; display: grid; place-items: center; font-size: 12px; font-weight: 720; }
.member-row strong { font-size: 13px; }
.member-row span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.workspace { min-width: 0; min-height: 0; height: 100vh; display: grid; grid-template-rows: 68px minmax(0, 1fr); }
.topbar { background: rgba(255,255,255,.94); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(221,224,231,.88); padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 40; }
.project-heading { min-width: 0; display: flex; align-items: center; gap: 11px; }
.project-heading strong { display: block; font-size: 19px; font-weight: 660; line-height: 26px; letter-spacing: -.025em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-heading span { display: block; max-width: 220px; overflow: hidden; color: #7d858f; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.project-heading em { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 7px; border-radius: 6px; background: #eef4ff; color: #2f6ee5; font-size: 10px; font-style: normal; font-weight: 680; white-space: nowrap; }
.generation-scope-heading { align-items: end; gap: 9px; }
.scope-select { min-width: 0; display: grid; gap: 2px; }
.scope-select > span { max-width: none; color: #949ba5; font-size: 9px; font-weight: 620; line-height: 12px; letter-spacing: .02em; }
.scope-select select { height: 31px; border: 1px solid #e0e4ea; border-radius: 8px; background: #fff; color: #252a31; padding: 4px 29px 4px 9px; outline: none; cursor: pointer; text-overflow: ellipsis; transition: border-color .16s ease, box-shadow .16s ease; }
.scope-select select:hover { border-color: #bdc7d5; }
.scope-select select:focus { border-color: #7fa5ee; box-shadow: 0 0 0 3px rgba(47,110,229,.11); }
.scope-select select:disabled { cursor: not-allowed; color: #9299a2; background: #f4f5f6; }
.scope-select-project select { width: min(210px, 24vw); font-size: 15px; font-weight: 660; letter-spacing: -.02em; }
.scope-select-member select { width: min(200px, 22vw); font-size: 11px; }
.generation-scope-heading > em { margin-bottom: 4px; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.participant-stack { display: flex; align-items: center; padding-left: 5px; }
.participant-avatar, .participant-more { width: 28px; height: 28px; margin-left: -5px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #dfe9ff; color: #2c63ca; font-size: 9px; font-weight: 740; box-shadow: 0 1px 3px rgba(18,22,28,.09); }
.participant-avatar:nth-child(2n) { background: #f5e7df; color: #a1532e; }
.participant-avatar:nth-child(3n) { background: #e5f1e8; color: #2b7a56; }
.participant-more { background: #edf0f3; color: #5e6671; }
.invite-button { min-height: 32px; padding: 6px 10px; border: 1px solid #dbe1ea; border-radius: 8px; background: #fff; color: #3c4652; font-size: 11px; font-weight: 620; display: inline-flex; align-items: center; gap: 5px; }
.invite-button:hover { border-color: #b8c5d8; background: #f8fbff; color: #2f6ee5; }
.invite-button img { width: 13px; height: 13px; opacity: .68; }
.mobile-only { display: none; }
.project-switch { max-width: 150px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 7px 8px; font-size: 12px; }
.generation-filter, .ghost-button { border: 1px solid #e0e3e9; background: rgba(255,255,255,.94); border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 18px; display: inline-flex; align-items: center; gap: 7px; }
.generation-filter img, .ghost-button img { width: 14px; height: 14px; opacity: .62; }
.generation-filter > span { color: #a0a6ae; }
.generation-filter select { min-width: 58px; border: 0; outline: 0; background: transparent; color: #36404c; font: inherit; font-weight: 620; cursor: pointer; }
.generation-filter:hover, .generation-filter:focus-within, .ghost-button:hover { background: #fff; border-color: #b8c5d8; }

.canvas { min-height: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; background: #f7f8fa; }
.canvas-inner { width: min(860px, calc(100% - 72px)); min-height: 100%; margin: 0 auto; padding: 34px 0 286px; }
.project-switching { min-height: 380px; display: grid; place-content: center; justify-items: center; gap: 10px; color: #8b929c; text-align: center; }
.project-switching-spinner { width: 28px; height: 28px; border: 3px solid #e2e6ec; border-top-color: #2f6ee5; border-radius: 50%; animation: project-switching-spin .8s linear infinite; }
.project-switching strong { color: #2d3239; font-size: 15px; font-weight: 650; }
.project-switching p { margin: 0; font-size: 12px; }
@keyframes project-switching-spin { to { transform: rotate(360deg); } }
.feed { display: grid; gap: 68px; }
.generation-scope-bar { margin-bottom: 26px; min-height: 62px; padding: 12px 14px; border: 1px solid #e2e6ec; border-radius: 13px; background: rgba(255,255,255,.84); display: flex; align-items: center; gap: 12px; box-shadow: 0 5px 18px rgba(18,22,28,.025); }
.generation-scope-bar > span:first-child { min-width: 0; flex: 1; }
.generation-scope-bar strong, .generation-scope-bar small { display: block; }
.generation-scope-bar strong { color: #2c323a; font-size: 13px; }
.generation-scope-bar small { margin-top: 4px; overflow: hidden; color: #8a929d; font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.generation-scope-count { padding: 5px 8px; border-radius: 8px; background: #f0f3f7; color: #6f7884; font-size: 10px; white-space: nowrap; }
.member-generation-empty { min-height: 240px; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; }
.member-generation-empty strong { color: #424951; font-size: 15px; }
.member-generation-empty p { margin: 0; color: #8b929c; font-size: 12px; line-height: 1.7; }
.day-group { display: grid; gap: 25px; }
.day-header { display: flex; align-items: center; gap: 14px; }
.day-header::after { content: ""; flex: 1; height: 1px; background: #e1e4e8; }
.day-header > span { order: 2; color: #a0a7b0; font-size: 10px; white-space: nowrap; }
.day-label { margin: 0; font-size: 23px; font-weight: 660; letter-spacing: -.045em; }
.day-works { display: grid; gap: 30px; }
.generation { min-width: 0; }
.generation-card { min-width: 0; overflow: hidden; border: 1px solid #e0e3e8; border-radius: 18px; background: #fff; box-shadow: 0 10px 34px rgba(20,24,32,.045); }
.generation.recent-target .generation-card { animation: recent-target-highlight 1.8s ease; }
@keyframes recent-target-highlight { 0%, 100% { box-shadow: 0 10px 34px rgba(20,24,32,.045); } 18%, 72% { box-shadow: 0 0 0 3px rgba(47,110,229,.22), 0 16px 44px rgba(47,110,229,.12); } }
.generation-head { min-height: 92px; padding: 16px 18px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.kind-icon { width: 38px; height: 38px; border: 1px solid #e2e5e8; border-radius: 11px; display: grid; place-items: center; background: #f8f9fa; }
.kind-icon img { width: 16px; height: 16px; opacity: .72; }
.generation-title { min-width: 0; }
.generation-byline { display: block; margin-bottom: 5px; color: #777f89; font-size: 10px; font-weight: 610; }
.generation-title strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #24282e; font-size: 14px; font-weight: 630; line-height: 1.48; }
.generation-title small { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9299a2; font-size: 10px; }
.generation-title small > span { color: #505760; font-weight: 640; }
.generation-status { padding: 5px 8px; border-radius: 999px; background: #eceef1; color: #6f7781; font-size: 10px; white-space: nowrap; }
.generation-status.status-succeeded { background: #e8f5ee; color: #287659; }
.generation-status.status-failed, .generation-status.status-cancelled { background: #fbeaea; color: #a64444; }
.generation-status.status-submitting, .generation-status.status-running, .generation-status.status-queued, .generation-status.status-unknown { background: #fff3df; color: #94600b; }
.generation-body { min-width: 0; border-top: 1px solid #eceef1; border-bottom: 1px solid #eceef1; background: #eef0f2; }
.generation-meta { display: flex; align-items: center; gap: 9px; color: #8b929b; font-size: 12px; flex-wrap: wrap; }
.generation-meta strong { color: #40454c; font-weight: 620; }
.kind-pill { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 8px; background: #e8e9fb; color: #567abd; font-weight: 660; }
.generation-prompt { color: #30343a; font-size: 14px; line-height: 1.7; margin: 0; }
.generation-prompt .details { color: #8a949f; margin-left: 8px; }
.media-frame { overflow: hidden; background: #e9ebee; max-height: 620px; min-height: 150px; display: grid; place-items: center; }
.media-frame img, .media-frame video { width: 100%; max-height: 620px; object-fit: contain; background: #e9ebee; }
.media-frame audio { width: calc(100% - 34px); margin: 30px 17px; }
.text-output { width: 100%; padding: 24px; background: #fff; white-space: pre-wrap; font-size: 14px; line-height: 1.8; }
.job-state { min-height: 180px; padding: 34px; display: grid; place-items: center; text-align: center; color: var(--muted); line-height: 1.6; }
.job-state strong { color: var(--text); display: block; margin-bottom: 6px; }
.task-frame { background: linear-gradient(145deg, #f8f9fb, #eef1f5); }
.task-state { width: 100%; min-height: 190px; }
.task-state > div { width: min(480px, 100%); }
.task-state > div > span { display: block; font-size: 12px; color: #7d858f; }
.task-steps { margin: 24px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; text-align: center; }
.task-steps.reverse-task-steps { grid-template-columns: repeat(5, minmax(0,1fr)); }
.task-steps.reverse-task-steps.priority { grid-template-columns: repeat(4, minmax(0,1fr)); }
.task-steps span { position: relative; color: #a0a7b0; font-size: 10px; padding-top: 18px; }
.task-steps span::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: #d9dde3; }
.task-steps span:first-child::before { left: 50%; }
.task-steps span:last-child::before { right: 50%; }
.task-steps i { position: absolute; z-index: 1; top: 0; left: 50%; width: 12px; height: 12px; border: 3px solid #eef1f5; border-radius: 50%; background: #c8cdd4; transform: translateX(-50%); }
.task-steps span.done, .task-steps span.active { color: #3e4650; }
.task-steps span.done::before, .task-steps span.active::before { background: #2f6ee5; }
.task-steps span.done i, .task-steps span.active i { background: #2f6ee5; }
.task-steps span.active i { box-shadow: 0 0 0 4px rgba(100,148,238,.14); }
.progress-line { height: 3px; background: #dde2e8; position: relative; overflow: hidden; width: 200px; margin-top: 18px; border-radius: 2px; }
.progress-line::after { content: ""; position: absolute; inset: 0 auto 0 -35%; width: 35%; background: var(--accent); animation: progress 1.3s infinite ease-in-out; }
@keyframes progress { to { left: 100%; } }
.generation-footer { min-height: 60px; padding: 12px 16px; display: flex; align-items: center; background: #fff; }
.generation-actions { width: 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.action-button { min-height: 34px; border: 1px solid transparent; border-radius: 9px; padding: 7px 11px; background: #f2f3f5; color: #3f4650; font-size: 12px; font-weight: 590; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.action-button img { width: 15px; height: 15px; opacity: .72; }
.action-button:hover { background: #e8ebef; border-color: #dce1e7; }
.action-button:disabled { cursor: not-allowed; opacity: .48; }
.download-action { margin-left: auto; }
.generation-live-note { color: #858d97; font-size: 11px; line-height: 1.5; }

.empty-canvas { min-height: 58vh; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); }
.empty-canvas strong { color: var(--text); font-size: 27px; font-weight: 650; letter-spacing: -.04em; margin-bottom: 10px; }
.empty-canvas p { margin: 0; font-size: 14px; line-height: 1.7; }
.feed-empty { width: 100%; min-height: 0; margin: 0; padding-top: 14px; text-align: left; }
.first-use-empty { min-height: 100%; }
.filtered-empty { gap: 16px; }
.filtered-empty button { height: 38px; border: 1px solid #dde0e4; border-radius: 10px; padding: 0 16px; background: #fff; font-size: 11px; font-weight: 650; }

.start-canvas { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 36px 20px; }
.start-mark { width: 82px; height: 82px; margin-bottom: 20px; }
.start-mark img { width: 100%; height: 100%; object-fit: contain; }
.start-kicker { color: #2377e7; font-size: 12px; font-weight: 720; letter-spacing: .12em; }
.start-canvas h2 { margin: 11px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -.055em; font-weight: 680; }
.start-canvas > p { max-width: 560px; margin: 18px 0 0; color: #747c86; font-size: 15px; line-height: 1.85; }
.start-primary { margin-top: 28px; min-width: 170px; height: 48px; border: 0; border-radius: 13px; padding: 0 22px; color: #fff; background: #17191c; font-size: 14px; font-weight: 680; box-shadow: 0 12px 28px rgba(20,24,30,.13); }
.start-primary:hover { background: #050607; transform: translateY(-1px); }
.start-flow { width: min(680px, 100%); margin-top: 54px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid #e5e7ea; }
.start-flow > div { padding: 22px 20px 0; display: grid; gap: 7px; text-align: left; }
.start-flow > div + div { border-left: 1px solid #eceef0; }
.start-flow span { color: #a2a8b0; font-size: 10px; letter-spacing: .12em; }
.start-flow strong { font-size: 13px; font-weight: 680; }
.start-flow small { color: #8d949d; font-size: 11px; line-height: 1.5; }

.composer-wrap { position: fixed; z-index: 25; left: 424px; right: 0; bottom: 28px; pointer-events: none; }
.composer { pointer-events: auto; width: min(920px, calc(100% - 72px)); margin: 0 auto; background: rgba(255,255,255,.985); border: 1px solid rgba(210,214,220,.98); border-radius: 22px; box-shadow: 0 24px 60px rgba(24,28,40,.12), 0 2px 8px rgba(24,28,40,.035); padding: 13px 14px 11px; backdrop-filter: blur(24px); }
.prompt-row { min-height: 104px; display: grid; grid-template-columns: minmax(210px, auto) minmax(0, 1fr); gap: 15px; align-items: stretch; }
.prompt-row.no-assets { grid-template-columns: minmax(0,1fr); }
.reference-rail { min-width: 0; display: flex; align-items: flex-start; align-content: flex-start; flex-wrap: wrap; gap: 8px; padding: 2px 0 0 1px; }
.references { min-width: 0; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0; padding: 0; }
.reference-chip { position: relative; width: 58px; height: 58px; flex: 0 0 auto; margin-right: -10px; border-radius: 13px; overflow: hidden; background: #eceff2; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(25,30,38,.13); }
.reference-chip:last-child { margin-right: 0; }
.reference-chip img, .reference-chip video { width: 100%; height: 100%; object-fit: cover; }
.reference-chip .file-chip { height: 100%; display: grid; place-items: center; padding: 8px; font-size: 10px; text-align: center; color: var(--muted); }
.reference-chip .audio-reference-chip { align-content: center; gap: 5px; background: linear-gradient(145deg, #f1f6ff, #eef3ff); color: #5772a5; }
.reference-chip .audio-reference-chip img { width: 22px; height: 22px; object-fit: contain; }
.reference-chip .audio-reference-chip small { font-size: 9px; font-weight: 700; }
.reference-chip .reference-order { position: absolute; left: 3px; bottom: 3px; min-width: 23px; padding: 2px 4px; border-radius: 5px; background: rgba(20,23,28,.78); color: #fff; font-size: 9px; font-weight: 700; line-height: 1.2; }
.reference-chip button { position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border: 0; border-radius: 50%; background: rgba(20,23,28,.78); color: #fff; font-size: 12px; line-height: 1; }
.composer-assets { display: flex; align-items: flex-start; gap: 8px; padding: 0; }
.upload-tile { width: 58px; height: 58px; border: 1px dashed #c8ccd2; border-radius: 13px; display: grid; place-items: center; background: #fafbfc; color: #818892; font-size: 24px; line-height: 1; }
.upload-tile:hover { background: #f0f1f3; border-color: #9299a3; color: #333941; }
.built-in-add { align-content: center; gap: 2px; }
.built-in-add span { font-size: 22px; line-height: 1; }
.built-in-add small { font-size: 9px; line-height: 12px; color: #8e959e; }
.built-in-reference { width: 148px; height: 58px; position: relative; flex: 0 0 auto; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; border: 1px solid #e0e3e7; border-radius: 13px; background: #f7f8f9; }
.built-in-preview { width: 58px; height: 58px; padding: 0; border: 1px solid #dfe2e6; border-radius: 13px; overflow: hidden; background: #eef0f2; position: relative; }
.built-in-preview img, .built-in-preview video { width: 100%; height: 100%; object-fit: cover; }
.built-in-preview span { position: absolute; left: 4px; bottom: 4px; padding: 2px 4px; border-radius: 4px; background: rgba(20,23,28,.72); color: #fff; font-size: 8px; line-height: 1; }
.built-in-reference-copy { min-width: 0; padding: 0 8px; display: block; text-align: left; }
.built-in-reference-copy small { display: block; color: #7c838d; font-size: 8px; line-height: 1; }
.built-in-reference-copy strong { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 650; }
.built-in-reference-copy button { margin: 2px 0 0; padding: 0; border: 0; background: transparent; color: #2f6ee5; font-size: 8px; }
.built-in-remove { position: absolute; z-index: 2; top: -6px; right: -6px; width: 18px; height: 18px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #25292f; color: #fff; display: grid; place-items: center; font-size: 11px; line-height: 1; }
.prompt-editor { position: relative; min-width: 0; min-height: 104px; }
.composer textarea { width: 100%; min-height: 98px; max-height: 180px; resize: none; border: 0; outline: 0; background: transparent; padding: 5px 4px 8px 2px; font-size: 14px; line-height: 22px; }
.composer textarea::placeholder { color: #969da6; }
.mention-trigger { width: 32px; height: 32px; border: 1px solid #e1e4e8; border-radius: 9px; background: #f7f8fa; color: #555d68; font-size: 16px; line-height: 1; font-weight: 700; }
.toolbar-mention { flex: 0 0 32px; margin-left: 2px; }
.mention-trigger:hover, .mention-trigger:focus-visible { border-color: #a4bff2; background: #eff5ff; color: #4871bd; outline: 0; }
.reference-mention-menu { position: absolute; z-index: 20; left: 0; right: 0; bottom: calc(100% - 2px); max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #dedfe7; border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: 0 14px 34px rgba(25,30,45,.16); }
.reference-mention-menu[hidden] { display: none; }
.reference-mention-option { width: 100%; display: flex; align-items: center; gap: 9px; padding: 7px; border: 0; border-radius: 9px; background: transparent; text-align: left; }
.reference-mention-option:hover, .reference-mention-option.active { background: #f0f5ff; }
.reference-mention-thumb { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #eef0f3; color: #2f6ee5; font-size: 16px; }
.reference-mention-thumb img, .reference-mention-thumb video { width: 100%; height: 100%; object-fit: cover; }
.reference-mention-copy { min-width: 0; display: grid; gap: 2px; }
.reference-mention-copy strong { color: #282c32; font-size: 12px; font-weight: 700; }
.reference-mention-copy small { overflow: hidden; color: #8b919a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.composer-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid #eef0f2; }
.composer-options { min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.composer-options::-webkit-scrollbar { display: none; }
.select-control { min-height: 34px; border: 0; background: transparent; border-radius: 8px; padding: 6px 26px 6px 8px; outline: 0; font-size: 12px; line-height: 18px; max-width: 170px; color: #4d5661; }
.param-button { min-height: 34px; border: 0; background: transparent; border-radius: 8px; padding: 6px 9px; font-size: 12px; line-height: 18px; color: #5b626c; white-space: nowrap; }
.param-button:hover, .select-control:hover { background: #f2f3f5; }
.composer-spacer { flex: 1; }
.submit-button { min-width: 82px; height: 40px; border: 0; border-radius: 11px; background: #202328; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; font-size: 13px; line-height: 20px; font-weight: 650; box-shadow: 0 9px 20px rgba(18,22,29,.14); transition: transform .16s ease, background .16s ease; }
.submit-button img { width: 15px; height: 15px; filter: invert(1); }
.submit-button:hover:not(:disabled) { transform: translateY(-1px); background: #07080a; }
.submit-button.loading { animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: .6; } }
.hint { margin-left: auto; color: #9aa1aa; font-size: 12px; line-height: 18px; white-space: nowrap; }
.param-popover { position: absolute; left: 50%; bottom: 132px; transform: translateX(-12%); width: min(560px, calc(100vw - 450px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 19px; display: grid; gap: 16px; }
.param-section { display: grid; gap: 8px; }
.param-section label { color: var(--muted); font-size: 12px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.choice { border: 1px solid var(--line); background: #fff; border-radius: 9px; min-width: 62px; padding: 8px 11px; font-size: 12px; }
.choice.active { border-color: #89acee; background: var(--accent-soft); color: #4f77c0; font-weight: 680; }
.duration-section { gap: 11px; }
.duration-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.duration-heading > label { color: var(--muted); font-size: 12px; }
.duration-heading > span { color: #8a919b; font-size: 10px; }
.duration-control { display: grid; grid-template-columns: minmax(0,1fr) 88px; align-items: center; gap: 14px; }
.duration-range { width: 100%; height: 18px; margin: 0; accent-color: #2f6ee5; cursor: pointer; }
.duration-input { height: 38px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px; padding: 0 10px; border: 1px solid #dfe2e7; border-radius: 10px; background: #f7f8f9; }
.duration-input:focus-within { border-color: #89acee; box-shadow: 0 0 0 3px rgba(94,143,234,.1); }
.duration-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 12px; text-align: right; appearance: textfield; }
.duration-input input::-webkit-inner-spin-button, .duration-input input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.duration-input span { color: #7f8690; font-size: 11px; }
.duration-scale { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #a0a6ae; font-size: 9px; }
.duration-scale strong { color: #2f6ee5; font-size: 10px; font-weight: 680; }
.duration-scale span:last-child { text-align: right; }

.asset-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.asset-toolbar h2 { margin: 0; font-size: 25px; font-weight: 660; letter-spacing: -.035em; }
.asset-toolbar .form-note { margin-top: 7px; }
.team-project-title { display: flex; align-items: center; gap: 9px; }
.team-project-edit { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border: 1px solid #dfe3e8; border-radius: 8px; background: #fff; color: #4f5a66; font-size: 12px; font-weight: 650; transition: border-color .16s ease, background .16s ease, color .16s ease; }
.team-project-edit img { width: 14px; height: 14px; opacity: .7; }
.team-project-edit:hover { border-color: #a8b7cb; background: #f5f8fc; color: #1f4f97; }
.team-project-edit:focus-visible { outline: 3px solid rgba(47,110,229,.25); outline-offset: 2px; }
.asset-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.asset-selection-toolbar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.asset-selection-toolbar > span { color: #6f7782; font-size: 12px; white-space: nowrap; }
.asset-selection-toolbar > span strong { color: var(--text); }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.asset-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 28px rgba(18,22,28,.035); transition: transform .16s ease, box-shadow .16s ease; }
.asset-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(18,22,28,.065); }
.asset-card.selection-mode { cursor: pointer; }
.asset-card.selection-mode.selected { border-color: #2f6ee5; box-shadow: 0 0 0 3px rgba(94,143,234,.13), 0 14px 34px rgba(18,22,28,.065); }
.asset-preview { position: relative; aspect-ratio: 4 / 3; background: #eceef0; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.asset-select-toggle { position: absolute; z-index: 3; top: 10px; left: 10px; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 9px; background: rgba(255,255,255,.92); color: #fff; box-shadow: 0 2px 10px rgba(20,24,32,.18); font-weight: 760; }
.asset-card.selected .asset-select-toggle { background: #2f6ee5; }
.asset-preview img, .asset-preview video { width: 100%; height: 100%; object-fit: cover; }
.asset-preview audio { width: calc(100% - 24px); }
.asset-info { padding: 13px 14px 14px; }
.asset-info strong { display: block; font-size: 13px; font-weight: 680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-info span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.asset-actions { display: flex; gap: 6px; margin-top: 10px; }
.asset-actions button { border: 0; border-radius: 8px; background: #f0f2f4; padding: 7px 9px; font-size: 11px; }
.asset-actions button:hover { background: #e6e9ed; }
.asset-actions .favorited { background: #eef4ff; color: #2f6ee5; font-weight: 650; }
.member-role-actions { flex-wrap: wrap; }
.member-role-actions .role-status { display: inline-flex; align-items: center; gap: 6px; border-color: transparent; color: #fff; font-weight: 700; }
.member-role-actions .role-status-admin, .member-role-actions .role-status-leader { background: #1d2128; }
.member-role-actions .role-status-admin:hover, .member-role-actions .role-status-leader:hover { background: #090b0f; }
.member-role-actions .role-status b { display: inline-grid; width: 14px; height: 14px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.24); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.team-member-remove-button { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #1d2128; color: #fff; font-size: 20px; font-weight: 500; line-height: 1; box-shadow: 0 3px 12px rgba(18,22,28,.16); opacity: 1; transition: background .16s ease, transform .16s ease; }
.team-member-remove-button:hover { background: #090b0f; transform: scale(1.04); }
.team-member-remove-button:focus-visible { outline: 3px solid rgba(47,110,229,.28); outline-offset: 2px; }
.member-role-actions .role-action-unavailable { cursor: not-allowed; opacity: .52; }
.member-role-actions .member-delete-button { margin-left: auto; background: #fff1f1; color: #ad3c3c !important; }
.member-role-actions .member-delete-button:hover { background: #ffe3e3; }
.danger-text-button { color: #ad3c3c !important; }
.danger-text-button:hover { background: #fff1f1 !important; }
.generation-actions .danger-action { margin-left: 0; color: #ad3c3c; background: #fff1f1; }
.generation-actions .danger-action:hover { background: #ffe5e5; }
.delete-preview-list { display: grid; gap: 7px; max-height: 220px; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #f7f8fa; }
.delete-preview-list span { overflow: hidden; color: #3e4650; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.team-members { display: grid; gap: 12px; }
.team-members h3, .team-workspace h3 { margin: 0; font-size: 15px; font-weight: 700; }
.team-members-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.team-members-head p { max-width: 630px; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.team-workspace { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.team-workspace-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.team-workspace-head p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.team-workspace-head > span { color: #6e7782; font-size: 11px; white-space: nowrap; }
.team-generation-list { display: grid; gap: 14px; }
.team-generation { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 7px 24px rgba(18,22,28,.035); }
.team-generation > header { padding: 14px 15px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.team-generation > header strong, .team-generation > header span { display: block; }
.team-generation > header strong { font-size: 13px; }
.team-generation > header span { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.team-generation > header em { border-radius: 7px; background: #f1f3f5; color: #69717a; padding: 4px 7px; font-size: 10px; font-style: normal; white-space: nowrap; }
.team-generation > header em.status-succeeded { background: #eaf7f1; color: #12805c; }
.team-generation-prompt { margin: 11px 15px; color: #3f4650; font-size: 12px; line-height: 1.6; }
.team-generation-output .media-frame, .team-generation-output .text-output { margin: 0 15px; }
.team-generation-output .media-frame { max-height: 400px; }
.team-generation-output .media-frame img, .team-generation-output .media-frame video { max-height: 400px; object-fit: contain; background: #eff1f3; }
.team-generation > footer { margin-top: 12px; padding: 10px 15px 13px; border-top: 1px solid #f0f1f3; color: #8a919a; font-size: 11px; }

.account-management { display: grid; gap: 18px; }
.account-list { display: grid; gap: 4px; }
.account-row { min-height: 52px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 10px; }
.account-row:hover { background: #f7f8fa; }
.account-row span { min-width: 0; }
.account-row strong, .account-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-row strong { font-size: 13px; }
.account-row small, .account-row em { margin-top: 3px; color: var(--muted); font-size: 11px; font-style: normal; }

.modal-layer { position: fixed; z-index: 100; inset: 0; background: rgba(18,22,29,.28); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 22px; }
.modal { width: min(520px, 100%); max-height: calc(100vh - 44px); overflow: auto; background: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; box-shadow: 0 30px 90px rgba(14,18,28,.22); }
.modal.wide { width: min(760px, 100%); }
.modal-head { padding: 20px 22px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 18px; }
.close-button { width: 34px; height: 34px; border: 0; background: #f2f3f5; border-radius: 50%; font-size: 18px; }
.modal-body { padding: 20px 22px 24px; }
.built-in-library { display: grid; gap: 16px; }
.built-in-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.built-in-option { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.built-in-option:hover { transform: translateY(-1px); border-color: #cfd4da; box-shadow: 0 10px 28px rgba(18,22,28,.08); }
.built-in-option.active { border-color: #25292f; box-shadow: 0 0 0 1px #25292f; }
.built-in-option img, .built-in-option video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef0f2; }
.built-in-option > span { display: block; padding: 10px 11px 11px; }
.built-in-option strong { display: block; font-size: 12px; font-weight: 650; }
.built-in-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.built-in-detail { display: grid; gap: 18px; }
.built-in-detail-media { position: relative; border-radius: 16px; overflow: hidden; background: #e9ebee; }
.built-in-detail-media img, .built-in-detail-media video { width: 100%; max-height: 440px; aspect-ratio: 16 / 9; object-fit: contain; background: #e9ebee; }
.built-in-detail-media > span { position: absolute; left: 12px; top: 12px; padding: 5px 8px; border-radius: 8px; background: rgba(20,23,28,.74); color: #fff; font-size: 10px; }
.built-in-detail-info > span { color: #8b929b; font-size: 10px; }
.built-in-detail-info strong { display: block; margin-top: 5px; font-size: 17px; }
.built-in-detail-info p { margin: 8px 0 0; color: #737b85; font-size: 12px; line-height: 1.65; }
.form { display: grid; gap: 15px; }
.form-row { display: grid; gap: 7px; }
.form-row label { font-size: 13px; font-weight: 650; }
.form-row input, .form-row textarea, .form-row select { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 11px; outline: 0; background: #fff; }
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: #96baf0; box-shadow: 0 0 0 3px #e8f1ff; }
.invite-member-picker { gap: 8px; }
.invite-member-search { min-height: 42px; }
.invite-member-select { height: min(280px, 36dvh); min-height: 176px; padding: 4px !important; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.invite-member-select option { padding: 8px 9px; }
.invite-member-picker .form-note { margin-top: 1px; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.danger-button { color: #aa3939; border-color: #f0d5d5; background: #fff; }
.danger-button:hover { color: #992d2d; background: #fff5f5; border-color: #eabcbc; }
.primary-button { border: 0; border-radius: 10px; padding: 10px 15px; background: var(--text); color: #fff; font-size: 13px; font-weight: 650; }
.secondary-button { border: 1px solid var(--line); border-radius: 10px; padding: 10px 15px; background: #fff; font-size: 13px; }
.settings-group { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.settings-group h3 { margin: 0; padding: 13px 15px; background: #f6f7f8; font-size: 14px; }
.settings-description { margin: 0; padding: 12px 15px 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.settings-fields { padding: 15px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.settings-wide { grid-column: 1 / -1; }
.voice-manager { display: grid; gap: 10px; }
.voice-manager-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.voice-manager-head > div { display: grid; gap: 3px; }
.voice-manager-head strong { font-size: 13px; }
.voice-manager-head small { color: var(--muted); font-size: 11px; }
.voice-editor-add { padding: 7px 11px; white-space: nowrap; }
.voice-editor-list { display: grid; gap: 8px; }
.voice-editor-row { display: grid; grid-template-columns: minmax(120px, .9fr) minmax(180px, 1.25fr) auto 34px; align-items: center; gap: 8px; }
.voice-editor-row input { min-width: 0; }
.voice-editor-kind { color: var(--muted); font-size: 11px; white-space: nowrap; }
.voice-editor-remove { width: 32px; height: 32px; border: 1px solid #f0d5d5; border-radius: 9px; background: #fff; color: #aa3939; font-size: 20px; line-height: 1; cursor: pointer; }
.voice-editor-remove:hover { background: #fff5f5; border-color: #eabcbc; }
.voice-editor-empty { padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.settings-service-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 15px 15px; }
.settings-image-status { display: grid; gap: 5px; margin: 0 15px 12px; padding: 11px 12px; border: 1px solid #dce7f7; border-radius: 9px; background: #f6f9ff; color: #52647f; font-size: 12px; line-height: 1.6; }
.settings-image-status strong { color: #263d61; }
.settings-image-status p { margin: 0; }
.account-menu, .notification-panel { position: fixed; z-index: 80; background: rgba(255,255,255,.98); border: 1px solid #e3e5e9; box-shadow: 0 18px 48px rgba(24,28,38,.13), 0 3px 12px rgba(24,28,38,.06); backdrop-filter: blur(20px); }
.account-menu { width: 270px; left: 12px; bottom: 70px; border-radius: 17px; padding: 8px; }
.notification-panel { width: 320px; left: 12px; bottom: 118px; border-radius: 17px; padding: 8px; max-height: min(520px, calc(100dvh - 134px)); display: flex; flex-direction: column; overflow: hidden; }
.notification-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 6px; }
.notification-panel-head strong { font-size: 12px; }
.notification-panel-head span { color: var(--muted); font-size: 11px; }
.notification-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
.account-summary { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 9px; padding: 9px 8px 10px; }
.account-avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #eef0ff; color: #2f6ee5; font-size: 11px; font-weight: 700; }
.account-summary strong { display: block; font-size: 12px; font-weight: 650; line-height: 1.35; letter-spacing: -.005em; }
.account-summary small { display: block; margin-top: 3px; color: #9299a2; font-size: 9px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-balance { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 8px; margin: 1px 4px 8px; padding: 8px; border: 1px solid #e0e7f3; border-radius: 11px; background: linear-gradient(135deg, #fbfdff, #f1f6ff); }
.account-balance-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #e1ecff; color: #2f6ee5; font-size: 14px; font-weight: 800; }
.account-balance-copy { min-width: 0; display: grid; gap: 1px; }
.account-balance-copy small { overflow: hidden; color: #7e8998; font-size: 9px; font-weight: 660; line-height: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-balance-copy strong { overflow: hidden; color: #1d2735; font-size: 14px; font-weight: 760; line-height: 17px; text-overflow: ellipsis; white-space: nowrap; }
.account-balance-unavailable { border-color: #e7e8eb; background: #f7f8f9; }
.account-balance-unavailable .account-balance-mark { background: #eceff3; color: #7c8490; }
.account-balance-unavailable .account-balance-copy strong { color: #69727f; }
.menu-button { width: 100%; min-height: 48px; border: 0; background: transparent; border-radius: 11px; text-align: left; padding: 7px 8px; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 8px; transition: background .14s ease, color .14s ease; }
.menu-button > img { width: 16px; height: 16px; margin: auto; opacity: .68; }
.menu-button strong { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.003em; }
.menu-button small { display: block; margin-top: 2px; color: #9aa0a8; font-size: 9px; line-height: 1.35; }
.menu-button:hover { background: #f3f4f7; }
.menu-button.danger { color: #b33838; }
.menu-button.danger > img { filter: invert(32%) sepia(51%) saturate(1268%) hue-rotate(321deg) brightness(88%); }
.menu-button.danger small { color: #b98e8e; }
.menu-separator { height: 1px; background: #eceef1; margin: 6px 5px; }
.notification-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px; border-radius: 10px; }
.notification-item:hover { background: #f4f5f6; }
.notification-item.unread { background: #fff0f0; }
.notification-content { width: 100%; border: 0; background: transparent; text-align: left; padding: 11px; border-radius: 10px; }
.notification-content:hover { background: rgba(255,255,255,.46); }
.notification-item strong { font-size: 12px; }
.notification-item p { margin: 5px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.notification-delete { width: 24px; height: 24px; margin: 8px 8px 0 0; border: 0; border-radius: 7px; padding: 0; background: transparent; color: #9aa0a8; font-size: 20px; font-weight: 400; line-height: 1; }
.notification-delete:hover:not(:disabled) { background: #fff; color: #8f3232; }
.notification-delete:disabled { cursor: wait; opacity: .55; }

/* 灵感广场：呈现 RedFox 的抖音/小红书元数据与原平台媒体预览，不使用本地平台媒体文件。 */
.inspiration-shell { grid-template-columns: 198px minmax(0, 1fr); }
.inspiration-shell .workspace { grid-template-rows: 68px minmax(0, 1fr); }
.inspiration-shell .canvas { background: #fafbfe; }
.inspiration-shell .canvas-inner { width: min(1440px, calc(100% - 60px)); padding: 25px 0 54px; }
.inspiration-topbar { min-width: 0; padding: 0 30px; border-bottom: 1px solid #e9ecf2; background: rgba(255,255,255,.96); display: flex; align-items: center; gap: 25px; position: sticky; top: 0; z-index: 40; }
.inspiration-title { flex: 0 0 auto; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.inspiration-title h1 { margin: 0; color: #161b24; font-size: 21px; line-height: 28px; font-weight: 750; letter-spacing: -.035em; }
.inspiration-title span { color: #96a0af; font-size: 11px; }
.inspiration-search { width: min(380px, 30vw); height: 36px; padding: 0 12px; border: 1px solid #e1e7ef; border-radius: 9px; background: #fbfcfe; display: flex; align-items: center; gap: 8px; transition: border-color .16s ease, box-shadow .16s ease; }
.inspiration-search:focus-within { border-color: #8fb9ff; box-shadow: 0 0 0 3px #edf5ff; background: #fff; }
.inspiration-search img { width: 15px; height: 15px; opacity: .48; }
.inspiration-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #354052; font-size: 13px; }
.inspiration-search input::placeholder { color: #adb5c2; }
.inspiration-search.active { border-color: #8fb9ff; background: #fff; }
.inspiration-search-clear { border: 0; background: transparent; color: #98a2b3; font-size: 16px; line-height: 1; padding: 0 2px; cursor: pointer; }
.inspiration-search-clear:hover { color: #4c586c; }
/* DOM 常驻保证交互稳定；输入为空时视觉隐藏，避免出现无意义的 ×。 */
.inspiration-search input:placeholder-shown + .inspiration-search-clear { display: none; }
.inspiration-search-submit { flex-shrink: 0; border: 0; border-radius: 6px; background: #2f6bff; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; cursor: pointer; transition: background .16s ease; }
.inspiration-search-submit:hover { background: #245bd6; }
.inspiration-search-submit:disabled { opacity: .55; cursor: default; }
.inspiration-top-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.inspiration-admin-button { display: inline-flex; align-items: center; gap: 6px; }
.inspiration-admin-button img { width: 14px; height: 14px; opacity: .7; }
.inspiration-favorite-button { position: relative; color: #3d4350; }
.inspiration-favorite-button span { display: inline-grid; min-width: 17px; height: 17px; margin-left: 4px; place-items: center; border-radius: 999px; background: #eef4ff; color: #3976d8; font-size: 10px; }
.inspiration-page { display: grid; gap: 18px; }
.inspiration-toolbar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.inspiration-sort-tabs { display: flex; align-items: center; gap: 5px; }
.inspiration-sort-tabs button { min-width: 56px; border: 0; border-radius: 8px; padding: 8px 12px; background: transparent; color: #667084; font-size: 13px; font-weight: 630; }
.inspiration-sort-tabs button:hover { background: #f0f4fb; color: #2c5fa9; }
.inspiration-sort-tabs button.active { background: #eaf2ff; color: #2167d5; }
.inspiration-toolbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.inspiration-filter-bar { display: flex; align-items: center; gap: 7px; }
.inspiration-filter-wrap { position: relative; }
.inspiration-filter-button, .inspiration-refresh-button { min-height: 34px; border: 1px solid #e0e6ef; border-radius: 8px; background: #fff; color: #576173; padding: 6px 10px; font-size: 12px; font-weight: 610; white-space: nowrap; }
.inspiration-filter-button:hover, .inspiration-filter-button.active, .inspiration-refresh-button:hover { border-color: #b7cced; color: #2869cc; background: #fbfdff; }
.inspiration-filter-button span { margin-left: 5px; color: #7b8798; }
.inspiration-filter-menu { position: absolute; z-index: 52; right: 0; top: calc(100% + 7px); width: 204px; max-height: 320px; overflow: auto; padding: 6px; border: 1px solid #e0e6ef; border-radius: 11px; background: rgba(255,255,255,.99); box-shadow: 0 18px 42px rgba(40,57,82,.14), 0 3px 8px rgba(40,57,82,.06); }
.inspiration-filter-menu button { width: 100%; min-height: 34px; border: 0; border-radius: 7px; padding: 7px 9px; background: transparent; color: #4f5a6b; display: flex; align-items: center; gap: 7px; text-align: left; font-size: 12px; }
.inspiration-filter-menu button:hover { background: #f3f7ff; }
.inspiration-filter-menu button.selected { background: #edf4ff; color: #2466ce; font-weight: 650; }
.filter-checkbox { width: 16px; height: 16px; border: 1px solid #cbd4e1; border-radius: 4px; display: inline-grid; place-items: center; color: #fff; font-size: 10px; }
.inspiration-filter-menu button.selected .filter-checkbox { border-color: #2f72df; background: #2f72df; }
.inspiration-filter-empty { display: block; padding: 10px; color: #8a95a4; font-size: 12px; }
.inspiration-refresh-button { display: inline-flex; align-items: center; gap: 6px; color: #3e668e; }
.inspiration-refresh-button img { width: 14px; height: 14px; opacity: .7; }
.inspiration-section-label { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.inspiration-section-label > span { width: 3px; height: 15px; border-radius: 9px; background: linear-gradient(#559cff, #2d6fdb); }
.inspiration-section-label strong { color: #252d3b; font-size: 15px; font-weight: 720; letter-spacing: -.015em; }
.inspiration-section-label small { color: #96a0ae; font-size: 11px; }
.inspiration-featured { padding: 17px 18px 19px; border: 1px solid #e6ebf3; border-radius: 15px; background: linear-gradient(135deg, #fff, #fcfdff); box-shadow: 0 10px 30px rgba(32,54,87,.035); }
.inspiration-featured-grid { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(340px,.9fr); gap: 14px; margin-top: 12px; }
.inspiration-lead-card { min-width: 0; overflow: hidden; border: 1px solid #edf0f4; border-radius: 13px; background: #fff; display: grid; grid-template-columns: minmax(220px,1fr) minmax(230px,.78fr); }
.inspiration-lead-card > button { position: relative; min-height: 222px; overflow: hidden; border: 0; padding: 0; background: #e8edf4; }
.inspiration-lead-image, .inspiration-cover-image { width: 100%; height: 100%; object-fit: cover; }
.inspiration-lead-card > div { min-width: 0; padding: 20px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.inspiration-lead-card > div > span { color: #3676d4; font-size: 11px; font-weight: 650; }
.inspiration-lead-card h2 { display: -webkit-box; overflow: hidden; margin: 7px 0 8px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #202938; font-size: 18px; line-height: 1.38; letter-spacing: -.03em; }
.inspiration-lead-card p { display: -webkit-box; overflow: hidden; margin: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #808a98; font-size: 12px; line-height: 1.65; }
.inspiration-lead-card > div > div { margin-top: auto; padding-top: 15px; display: flex; align-items: center; gap: 12px; }
.inspiration-lead-card a, .inspiration-card-footer a { color: #4274ae; font-size: 11px; text-decoration: none; }
.inspiration-text-button { border: 0; padding: 0; background: transparent; color: #7a8696; font-size: 11px; }
.inspiration-text-button.active { color: #e05b70; }
.inspiration-featured-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.inspiration-card { min-width: 0; overflow: hidden; border: 1px solid #e7ebf0; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(30,44,67,.035); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.inspiration-card:hover { border-color: #cad8ed; box-shadow: 0 12px 28px rgba(39,77,130,.11); transform: translateY(-2px); }
.inspiration-card.featured { min-height: 0; }
.inspiration-cover { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 0; padding: 0; background: #e8edf4; display: grid; place-items: center; }
.inspiration-grid .inspiration-cover { aspect-ratio: 9 / 13; }
.inspiration-cover:hover .inspiration-cover-image, .inspiration-lead-card > button:hover .inspiration-lead-image { transform: scale(1.025); }
.inspiration-cover-image, .inspiration-lead-image { transition: transform .26s ease; }
.inspiration-cover-placeholder { width: 100%; height: 100%; background: linear-gradient(145deg,#eff4fb,#d9e2ef); color: #768396; display: grid; place-content: center; justify-items: center; gap: 7px; }
.inspiration-cover-placeholder img { width: 23px; height: 23px; opacity: .55; }
.inspiration-cover-placeholder small { font-size: 11px; }
.inspiration-play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.44); border-radius: 50%; background: rgba(20,32,50,.40); color: #fff; display: grid; place-items: center; padding-left: 2px; font-size: 16px; backdrop-filter: blur(3px); }
.inspiration-category-badge { position: absolute; left: 9px; top: 9px; max-width: calc(100% - 18px); overflow: hidden; padding: 4px 7px; border-radius: 6px; background: rgba(19,34,55,.68); color: #fff; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.inspiration-card-body { padding: 10px 11px 11px; }
.inspiration-card-title-row { min-width: 0; display: flex; align-items: start; gap: 6px; }
.inspiration-card-title-row strong { min-width: 0; flex: 1; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #293241; font-size: 12px; line-height: 1.5; letter-spacing: -.01em; }
.inspiration-heart { flex: 0 0 auto; width: 25px; height: 25px; border: 0; border-radius: 50%; background: transparent; color: #97a3b2; font-size: 18px; line-height: 1; }
.inspiration-heart:hover { background: #fff0f2; color: #e05b70; }
.inspiration-heart.active { color: #e25870; }
.inspiration-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: #8994a3; font-size: 10px; }
.inspiration-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inspiration-card-footer { min-height: 26px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #edf0f3; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.inspiration-card-footer > div { display: flex; align-items: center; gap: 6px; }
.inspiration-source { overflow: hidden; color: #9aa4b2; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.inspiration-link-button { border: 0; padding: 0; background: transparent; color: #667d99; font-size: 10px; white-space: nowrap; }
.inspiration-link-button:hover, .inspiration-card-footer a:hover, .inspiration-lead-card a:hover { color: #1d68d9; text-decoration: underline; }
.inspiration-all { display: grid; gap: 12px; }
.inspiration-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.inspiration-empty, .inspiration-loading { min-height: 360px; padding: 35px; border: 1px dashed #d8e0eb; border-radius: 16px; background: #fff; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.inspiration-empty.compact { min-height: 260px; }
.inspiration-empty-mark { width: 46px; height: 46px; border-radius: 15px; background: #eaf2ff; display: grid; place-items: center; }
.inspiration-empty-mark img { width: 22px; height: 22px; filter: invert(40%) sepia(53%) saturate(984%) hue-rotate(191deg); }
.inspiration-empty h2 { margin: 0; color: #2d3746; font-size: 17px; }
.inspiration-empty p, .inspiration-loading p { max-width: 520px; margin: 0; color: #8c97a6; font-size: 13px; line-height: 1.7; }
.inspiration-empty-actions { display: flex; align-items: center; gap: 9px; margin-top: 4px; }
.inspiration-source-status { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 3px; color: #7d8998; font-size: 11px; }
.inspiration-source-status span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #e6ebf2; border-radius: 7px; background: #fafcff; }
.inspiration-source-status i { width: 6px; height: 6px; border-radius: 50%; background: #e65765; }
.inspiration-source-status i.xiaohongshu { background: #e97892; }
.inspiration-source-status b { color: #4777b8; font-weight: 600; }
.inspiration-loading span, .inspiration-preview-loading span { width: 26px; height: 26px; border: 3px solid #e0e9f6; border-top-color: #3c7ce0; border-radius: 50%; animation: project-switching-spin .8s linear infinite; }
.inspiration-preview-frame { min-height: 420px; overflow: hidden; border-radius: 13px; background: #f2f5f9; display: grid; place-items: center; }
.inspiration-image-gallery { width: 100%; height: 100%; min-height: 420px; padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: auto; align-content: start; }
.inspiration-image-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: #e8edf4; }
.inspiration-iframe { width: 100%; min-height: 520px; border: 0; background: #111; }
.inspiration-preview-loading, .inspiration-preview-error { min-height: 260px; padding: 24px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.inspiration-preview-loading p, .inspiration-preview-error p { margin: 0; color: #8390a0; font-size: 12px; line-height: 1.65; }
.inspiration-preview-error strong { color: #343e4c; font-size: 15px; }
.inspiration-preview-info { padding: 17px 2px 3px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.inspiration-preview-info > div:first-child { min-width: 0; }
.inspiration-preview-info span { color: #3777d6; font-size: 11px; font-weight: 650; }
.inspiration-preview-info h3 { margin: 6px 0; color: #222d3c; font-size: 18px; }
.inspiration-preview-info p { margin: 0; color: #7e8a99; font-size: 12px; line-height: 1.65; }
.inspiration-preview-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.inspiration-preview-actions .primary-button { text-decoration: none; white-space: nowrap; }
.inspiration-preview-notice { margin: 17px 2px 0; color: #97a1ae; font-size: 11px; line-height: 1.55; }
.inspiration-favorites-modal { display: grid; gap: 16px; }
.favorites-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.inspiration-admin-modal { display: grid; gap: 17px; }
.inspiration-admin-status { margin: 0; padding: 10px 12px; border-radius: 9px; font-size: 12px; line-height: 1.55; }
.inspiration-admin-status.success { background: #edf8f2; color: #28775a; }
.inspiration-admin-status.warning { background: #fff5e7; color: #9b6216; }
.inspiration-admin-summary { padding: 11px 12px; border: 1px solid #e4eaf2; border-radius: 10px; background: #fafcff; display: flex; align-items: center; gap: 15px; color: #6d7989; font-size: 12px; }
.inspiration-admin-summary strong { color: #26364b; }
.inspiration-admin-summary button { margin-left: auto; }
.inspiration-category-create, .inspiration-category-list { padding: 14px; border: 1px solid #e5eaf1; border-radius: 12px; background: #fff; }
.inspiration-category-create h3, .inspiration-category-list h3 { margin: 0 0 13px; color: #303b4b; font-size: 14px; }
.inspiration-category-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #667285; font-size: 12px; }
.inspiration-category-options input[type="number"], .inspiration-category-row input[type="number"] { width: 70px; margin-left: 4px; border: 1px solid #dbe2eb; border-radius: 7px; padding: 6px; }
.inspiration-category-list { display: grid; gap: 9px; }
.inspiration-category-row { padding: 11px; border: 1px solid #edf0f4; border-radius: 9px; display: grid; grid-template-columns: minmax(105px,.6fr) minmax(180px,1.5fr) auto auto auto auto; align-items: end; gap: 8px; }
.inspiration-category-row .form-row { gap: 4px; }
.inspiration-category-row .form-row label { color: #8792a0; font-size: 10px; }
.inspiration-category-row .form-row input { min-width: 0; padding: 7px 8px; border: 1px solid #dfe5ec; border-radius: 7px; font-size: 12px; }
.inspiration-category-row > label { color: #7d8998; font-size: 10px; white-space: nowrap; }
.inspiration-category-row .category-enabled { padding-bottom: 8px; }
.inspiration-category-row button { padding: 7px 9px; font-size: 11px; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); background: #fff; }
.auth-art { position: relative; overflow: hidden; background: radial-gradient(circle at 72% 24%, rgba(32,129,255,.28), transparent 32%), radial-gradient(circle at 28% 82%, rgba(66,132,255,.22), transparent 36%), #111318; padding: clamp(40px, 5vw, 72px); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art::after { content: ""; position: absolute; width: min(52vw, 660px); aspect-ratio: 1; right: -20%; bottom: -36%; border: 1px solid rgba(255,255,255,.09); border-radius: 38%; transform: rotate(22deg); box-shadow: 0 0 0 64px rgba(255,255,255,.025), 0 0 0 128px rgba(255,255,255,.018); pointer-events: none; }
.brand-lockup { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.brand-lockup .brand-mark { width: 68px; height: 68px; margin: 0; }
.brand-lockup strong { display: block; font-size: 22px; font-weight: 720; letter-spacing: -.035em; }
.brand-lockup small { display: block; margin-top: 5px; color: rgba(255,255,255,.58); font-size: 12px; letter-spacing: .04em; }
.auth-copy { position: relative; z-index: 1; max-width: 650px; }
.auth-eyebrow { display: inline-block; margin-bottom: 21px; color: #81b7ff; font-size: 12px; font-weight: 680; letter-spacing: .14em; }
.auth-copy h1 { font-size: clamp(42px, 4.5vw, 64px); font-weight: 630; letter-spacing: -.055em; line-height: 1.1; margin: 0 0 22px; }
.auth-copy p { max-width: 590px; margin: 0; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.66); }
.auth-capabilities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.auth-capabilities span { border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.76); font-size: 11px; }
.auth-art > small { position: relative; z-index: 1; color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .06em; }
.auth-panel { display: grid; place-items: center; padding: clamp(38px, 6vw, 82px); background: #fbfbfc; }
.auth-card { width: min(420px, 100%); }
.auth-mobile-brand { display: none; align-items: center; gap: 10px; margin-bottom: 38px; }
.auth-mobile-brand img { width: 50px; height: 50px; }
.auth-mobile-brand span { display: grid; gap: 3px; }
.auth-mobile-brand strong { font-size: 16px; line-height: 20px; }
.auth-mobile-brand small { color: #89919b; font-size: 10px; line-height: 14px; }
.auth-card-kicker { display: block; margin-bottom: 12px; color: #2377e7; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.auth-card h2 { font-size: 30px; font-weight: 650; letter-spacing: -.04em; line-height: 1.25; margin: 0 0 11px; }
.auth-card > p { color: var(--muted); margin: 0 0 30px; line-height: 1.7; font-size: 13px; }
.auth-tabs { display: flex; gap: 18px; margin-bottom: 20px; }
.auth-tab { border: 0; padding: 7px 0; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; }
.auth-tab.active { color: var(--text); border-color: var(--text); }
.auth-submit { width: 100%; min-height: 46px; margin-top: 5px; border: 0; border-radius: 12px; padding: 12px; background: linear-gradient(135deg, #176ee6, #2f6ee5); color: #fff; font-weight: 680; box-shadow: 0 10px 24px rgba(36,91,217,.19); }
.auth-submit:hover { filter: brightness(.96); transform: translateY(-1px); }
.auth-error { padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: var(--danger); font-size: 13px; line-height: 1.5; }

.toast-region { position: fixed; z-index: 200; right: 20px; top: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: 260px; max-width: 420px; padding: 12px 14px; background: #20242a; color: #fff; border-radius: 11px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; animation: toast-in .2s ease; }
.toast.error { background: #a92d2d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1040px) {
  .shell { grid-template-columns: 168px 222px minmax(0,1fr); }
  .rail-brand { width: 144px; }
  .rail-button { padding-left: 12px; padding-right: 12px; }
  .composer-wrap { left: 390px; }
  .composer { width: calc(100% - 44px); }
  .canvas-inner { width: calc(100% - 48px); }
  .asset-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .settings-fields { grid-template-columns: 1fr; }
  .inspiration-shell .canvas-inner { width: calc(100% - 42px); }
  .inspiration-topbar { padding: 0 22px; gap: 15px; }
  .inspiration-title span { display: none; }
  .inspiration-search { width: min(320px, 33vw); }
  .inspiration-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .inspiration-featured-grid { grid-template-columns: 1fr; }
  .inspiration-featured-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .inspiration-category-row { grid-template-columns: 1fr 1.4fr auto auto; }
  .inspiration-category-row > button { align-self: center; }
}

@media (max-width: 760px) {
  body { overflow: auto; }
  .shell { display: block; height: auto; min-height: 100vh; }
  .rail { position: fixed; left: 0; right: 0; bottom: 0; height: 68px; border-right: 0; border-top: 1px solid var(--line); padding: 5px 10px; flex-direction: row; z-index: 60; }
  .rail-brand, .rail-bottom { display: none; }
  .rail-nav { width: 100%; grid-template-columns: repeat(3,1fr); gap: 4px; }
  .inspiration-shell .rail-nav { grid-template-columns: repeat(5,1fr); }
  .rail-button { min-height: 56px; padding: 5px; flex-direction: column; justify-content: center; gap: 2px; box-shadow: none; }
  .rail-button small { font-size: 10px; line-height: 14px; }
  .rail-index { display: none; }
  .side-panel { display: none; }
  .workspace { height: auto; min-height: 100vh; grid-template-rows: 58px minmax(0,1fr); }
  .topbar { padding: 0 16px; position: sticky; top: 0; }
  .project-heading { gap: 6px; }
  .project-heading strong { font-size: 16px; line-height: 22px; }
  .project-heading > span, .project-heading > em, .scope-select > span, .participant-stack, .invite-button { display: none; }
  .generation-scope-heading { flex: 1; display: flex; align-items: center; }
  .scope-select-member { display: none; }
  .scope-select select { height: 34px; padding: 5px 23px 5px 7px; }
  .scope-select-project select { width: min(32vw, 132px); font-size: 12px; }
  .scope-select-member select { width: min(35vw, 145px); font-size: 10px; }
  .generation-filter { padding: 7px 8px; gap: 5px; }
  .generation-filter > span { display: none; }
  .generation-filter select { min-width: 50px; font-size: 11px; }
  .top-actions .ghost-button { display: none; }
  .mobile-only { display: inline-flex; }
  .top-actions .avatar-button, .top-actions .notification-button { width: 34px; height: 34px; font-size: 11px; }
  .canvas { overflow: visible; }
  .canvas-inner { width: calc(100% - 28px); padding: 24px 0 278px; }
  .composer-wrap { left: 0; bottom: 78px; }
  .composer { width: calc(100% - 20px); border-radius: 20px; padding: 13px 13px 11px; }
  .prompt-row { min-height: 154px; grid-template-columns: minmax(0,1fr); gap: 5px; }
  .reference-rail { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .reference-rail::-webkit-scrollbar { display: none; }
  .references { flex-wrap: nowrap; }
  .built-in-reference { width: 142px; }
  .built-in-reference-copy { padding: 0 7px; }
  .prompt-editor { min-height: 82px; }
  .composer textarea { min-height: 78px; font-size: 14px; }
  .composer-bar { display: grid; grid-template-columns: minmax(0,1fr) auto; overflow: visible; }
  .composer-options { overflow-x: auto; padding-bottom: 2px; }
  .composer-spacer { display: none; }
  .hint { display: none; }
  .select-control { flex: 0 0 auto; }
  .submit-button { min-width: 70px; }
  .param-popover { position: fixed; left: 10px; right: 10px; bottom: 232px; width: auto; transform: none; }
  .account-menu { left: auto; right: 10px; bottom: 76px; width: min(286px, calc(100vw - 20px)); }
  .notification-panel { left: auto; right: 10px; bottom: 76px; width: min(320px, calc(100vw - 20px)); max-height: calc(100dvh - 92px); }
  .asset-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .voice-editor-row { grid-template-columns: 1fr 1fr 34px; }
  .voice-editor-kind { display: none; }
  .voice-editor-row .voice-editor-remove { grid-column: 3; grid-row: 1; }
  .inspiration-shell .workspace { height: auto; min-height: 100vh; grid-template-rows: 58px minmax(0,1fr); }
  .inspiration-shell .canvas-inner { width: calc(100% - 28px); padding: 17px 0 92px; }
  .inspiration-topbar { padding: 0 14px; gap: 10px; }
  .inspiration-title h1 { font-size: 17px; }
  .inspiration-search { flex: 1; width: auto; min-width: 0; height: 34px; }
  .inspiration-top-actions { margin-left: 0; }
  .inspiration-admin-button { padding: 8px; font-size: 0; }
  .inspiration-admin-button img { width: 16px; height: 16px; margin: 0; }
  .inspiration-favorite-button { padding: 8px; font-size: 0; }
  .inspiration-favorite-button::before { content: '☆'; font-size: 18px; }
  .inspiration-favorite-button span { position: absolute; right: -4px; top: -5px; margin: 0; font-size: 8px; }
  .inspiration-toolbar { align-items: flex-start; flex-direction: column; gap: 11px; }
  .inspiration-toolbar-right { width: 100%; justify-content: space-between; }
  .inspiration-filter-bar { max-width: calc(100vw - 100px); overflow-x: auto; }
  .inspiration-filter-button { padding: 6px 8px; }
  .inspiration-featured { padding: 13px; }
  .inspiration-featured-grid { margin-top: 10px; }
  .inspiration-lead-card { grid-template-columns: 1fr; }
  .inspiration-lead-card > button { min-height: 210px; }
  .inspiration-lead-card > div { min-height: 175px; }
  .inspiration-featured-side { grid-template-columns: 1fr; }
  .inspiration-grid, .favorites-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .inspiration-preview-frame { min-height: 330px; }
  .inspiration-image-gallery { min-height: 330px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inspiration-iframe { min-height: 420px; }
  .inspiration-preview-info { display: grid; align-items: initial; }
  .inspiration-preview-actions { flex-wrap: wrap; }
  .inspiration-admin-summary { align-items: flex-start; flex-wrap: wrap; }
  .inspiration-admin-summary button { margin-left: 0; }
  .inspiration-category-row { grid-template-columns: 1fr; align-items: stretch; }
  .inspiration-category-row > label { font-size: 12px; }
  .inspiration-category-row .category-enabled { padding-bottom: 0; }
  .built-in-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .asset-toolbar { align-items: flex-start; flex-direction: column; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-panel { padding: 28px 20px; min-height: 100vh; }
  .auth-mobile-brand { display: flex; }
  .start-flow { grid-template-columns: 1fr; margin-top: 38px; }
  .start-flow > div { padding: 16px 12px; }
  .start-flow > div + div { border-left: 0; border-top: 1px solid #eceef0; }
  .feed { gap: 52px; }
  .generation-scope-bar { margin-bottom: 20px; align-items: flex-start; flex-wrap: wrap; }
  .generation-scope-bar > span:first-child { flex-basis: calc(100% - 54px); }
  .generation-scope-bar small { white-space: normal; }
  .day-works { gap: 24px; }
  .day-label { font-size: 20px; }
  .feed-empty { min-height: 0; padding: 6px 2px 0; }
  .generation-head { grid-template-columns: 34px minmax(0,1fr); padding: 14px; }
  .kind-icon { width: 34px; height: 34px; }
  .generation-status { grid-column: 2; justify-self: start; }
  .generation-footer { padding: 10px; }
  .download-action { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 多图生成结果：可左右滑动画廊 */
.media-gallery { position: relative; overflow: hidden; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; width: 100%; object-fit: contain; scroll-snap-align: center; min-width: 0; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(23, 25, 28, .55); color: #fff; font-size: 22px; line-height: 34px; text-align: center; padding: 0; display: grid; place-items: center; }
.gallery-nav:hover { background: rgba(23, 25, 28, .75); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(23, 25, 28, .62); color: #fff; font-size: 12px; line-height: 1; letter-spacing: .04em; }

/* ===================== AI 创作抽屉（灵感广场卡片级仿写） ===================== */
.compose-drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(430px, 94vw); background: #fff; border-left: 1px solid #e3e6ec; box-shadow: -18px 0 48px rgba(24,28,38,.10), -2px 0 10px rgba(24,28,38,.04); display: flex; flex-direction: column; }
.shell.compose-open .workspace { margin-right: min(430px, 94vw); transition: margin-right .22s ease; }
.drama-fullbleed-shell { grid-template-columns: 198px minmax(0, 1fr); }
.drama-fullbleed-shell .workspace { grid-column: 2; }
.drama-fullbleed-shell .canvas { background: #fafbfe; }
.drama-fullbleed-shell .canvas-inner { width: min(1440px, calc(100% - 60px)); min-height: 100%; margin: 0 auto; padding: 25px 0 54px; }
.drama-canvas-shell { grid-template-columns: minmax(0, 1fr); }
.drama-canvas-shell .workspace { grid-column: 1; grid-template-rows: minmax(0, 1fr); }
.drama-canvas-shell .canvas { overflow: hidden; background: #f7f9fc; }
.drama-canvas-shell .canvas-inner { width: 100%; min-height: 100%; margin: 0; padding: 0; }
.drama-canvas-shell .drama-free-canvas { margin: 0; min-height: 100%; }
.compose-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid #edf0f4; flex-shrink: 0; }
.compose-drawer-title { display: grid; gap: 2px; }
.compose-drawer-title strong { font-size: 15px; color: #1c2029; }
.compose-drawer-title small { font-size: 12px; color: #667084; }
.compose-drawer-close { border: 0; background: transparent; color: #98a2b3; font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.compose-drawer-close:hover { color: #3d4350; background: #f0f3f8; }
.compose-drawer-scroll { flex: 1; overflow-y: auto; padding: 14px 18px 18px; display: grid; gap: 14px; align-content: start; }
.compose-drawer-footer { flex-shrink: 0; display: grid; gap: 8px; padding: 12px 18px 14px; border-top: 1px solid #edf0f4; background: rgba(250,251,253,.97); }
.compose-drawer-footer textarea { width: 100%; resize: none; border: 1px solid #dfe3ea; border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 13px; color: #2c3038; background: #fff; }
.compose-drawer-footer textarea:focus { outline: none; border-color: #2f6bff; box-shadow: 0 0 0 3px rgba(47,107,255,.12); }
.compose-drawer-footer textarea:disabled { background: #f4f6f9; color: #98a2b3; }
.compose-block { border: 1px solid #eceff4; border-radius: 12px; padding: 12px 14px; display: grid; gap: 9px; background: #fdfdfe; }
.compose-block h3 { margin: 0; font-size: 13px; color: #1c2029; font-weight: 640; }
.compose-item-summary { display: grid; gap: 4px; }
.compose-item-summary strong { font-size: 13px; color: #2c3038; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.compose-item-summary span { font-size: 12px; color: #667084; }
.compose-item-summary a { font-size: 12px; color: #2f6bff; text-decoration: none; justify-self: start; }
.compose-item-summary a:hover { text-decoration: underline; }
.compose-reference-list { margin: 0; padding: 0 0 0 2px; list-style: none; display: grid; gap: 5px; }
.compose-reference-list li { font-size: 12px; color: #475061; }
.compose-reference-list li.muted { color: #b3bac4; }
.compose-options { display: flex; flex-wrap: wrap; gap: 10px; }
.compose-options label { display: grid; gap: 4px; font-size: 11px; color: #667084; }
.compose-options select { border: 1px solid #dfe3ea; border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 12px; color: #2c3038; background: #fff; }
.compose-primary-button { border: 0; border-radius: 9px; background: #2f6bff; color: #fff; font: inherit; font-size: 13px; font-weight: 620; padding: 9px 14px; cursor: pointer; transition: background .16s ease; justify-self: start; }
.compose-primary-button:hover { background: #245bd6; }
.compose-primary-button:disabled { opacity: .55; cursor: default; }
.compose-secondary-button { border: 1px solid #dfe3ea; border-radius: 9px; background: #fff; color: #3d4350; font: inherit; font-size: 12px; font-weight: 600; padding: 7px 12px; cursor: pointer; transition: border-color .16s ease, color .16s ease; }
.compose-secondary-button:hover { border-color: #2f6bff; color: #2f6bff; }
.compose-secondary-button:disabled { opacity: .5; cursor: default; }
.compose-status-block { display: flex; align-items: center; gap: 12px; }
.compose-status-block div { display: grid; gap: 3px; }
.compose-status-block strong { font-size: 13px; color: #2c3038; font-weight: 600; }
.compose-status-block small { font-size: 12px; color: #98a2b3; }
.compose-spinner { flex-shrink: 0; width: 22px; height: 22px; border: 3px solid #e8ecf3; border-top-color: #2f6bff; border-radius: 50%; animation: compose-spin .8s linear infinite; }
@keyframes compose-spin { to { transform: rotate(360deg); } }
.compose-error-block strong { font-size: 13px; color: #c0413b; }
.compose-error-block small { font-size: 12px; color: #8a5350; line-height: 1.5; }
.compose-error-block .compose-primary-button { margin-top: 2px; }
.compose-meta { font-size: 11px; color: #98a2b3; line-height: 1.5; }
.compose-result { display: grid; gap: 10px; }
.compose-result-block { border: 1px solid #edf0f4; border-radius: 10px; background: #fff; padding: 10px 12px; display: grid; gap: 7px; }
.compose-result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.compose-result-head h4 { margin: 0; font-size: 12px; color: #667084; font-weight: 640; }
.compose-result-head button { border: 0; background: transparent; color: #2f6bff; font-size: 12px; cursor: pointer; padding: 2px 5px; border-radius: 5px; }
.compose-result-head button:hover { background: rgba(47,107,255,.08); }
.compose-result-block pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 12.5px; line-height: 1.65; color: #2c3038; }
.compose-result-block p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #2c3038; }
.compose-title-list, .compose-cover-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.compose-title-list li, .compose-cover-list li { font-size: 12.5px; color: #2c3038; line-height: 1.5; }
.compose-result-actions { display: flex; gap: 8px; }
.inspiration-compose-trigger { color: #2f6bff; font-weight: 620; }
.inspiration-compose-trigger:hover { background: rgba(47,107,255,.08); }
@media (max-width: 719px) {
  .shell.compose-open .workspace { margin-right: 0; }
  .compose-drawer { width: 100vw; border-left: 0; }
}

/* ===================== 账号监控（二期） ===================== */
.monitor-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.monitor-search { display: flex; align-items: center; gap: 6px; background: #f5f7fa; border: 1px solid #dfe4ec; border-radius: 10px; padding: 6px 10px; min-width: 340px; }
.monitor-search input { border: 0; background: transparent; outline: none; font-size: 13px; flex: 1; }
.monitor-main { padding: 20px 28px 48px; max-width: 1180px; margin: 0 auto; width: 100%; }
.monitor-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #66707f; font-size: 13px; margin-bottom: 14px; }
.monitor-summary strong { color: #1f2733; font-size: 15px; }
.monitor-note { color: #98a2b3; font-size: 12px; }
.monitor-error { color: #d92d20; background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 14px; }
.monitor-search-results { background: #fff; border: 1px solid #e4e9f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; box-shadow: 0 8px 24px rgba(16, 24, 40, .06); }
.monitor-search-results h3 { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin: 0 0 10px; }
.monitor-search-row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-top: 1px solid #f2f4f7; }
.monitor-search-row .primary-button { margin-left: auto; padding: 6px 14px; font-size: 12px; }
.monitor-added { margin-left: auto; color: #12b76a; font-size: 13px; }
.monitor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.monitor-card { background: #fff; border: 1px solid #e4e9f0; border-radius: 14px; padding: 16px 18px; box-shadow: 0 8px 24px rgba(16, 24, 40, .05); }
.monitor-card-head { display: flex; gap: 12px; align-items: flex-start; }
.monitor-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.monitor-id { flex: 1; min-width: 0; }
.monitor-id strong { display: block; font-size: 15px; color: #1f2733; }
.monitor-id small { display: block; color: #66707f; font-size: 12px; margin-top: 2px; }
.monitor-id em { display: block; color: #98a2b3; font-size: 12px; font-style: normal; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.monitor-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.monitor-actions select { border: 1px solid #dfe4ec; border-radius: 8px; padding: 5px 8px; font-size: 12px; background: #fff; color: #364152; }
.monitor-actions .secondary-button { padding: 5px 10px; font-size: 12px; }
.monitor-remove { border: 0; background: transparent; color: #98a2b3; cursor: pointer; font-size: 12px; padding: 4px 2px; }
.monitor-remove:hover { color: #d92d20; }
.monitor-stats { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; color: #66707f; font-size: 12px; }
.monitor-stats strong { color: #1f2733; font-size: 13px; margin-left: 4px; }
.monitor-growth { margin: 10px 0 0; color: #2f6bff; font-size: 12px; font-weight: 600; }
.monitor-works { margin-top: 14px; border-top: 1px dashed #e4e9f0; padding-top: 12px; }
.monitor-works-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.monitor-works-head h4 { margin: 0; color: #1f2733; font-size: 13px; }
.monitor-works-head small { color: #98a2b3; font-size: 11px; }
.monitor-work-list { display: grid; gap: 8px; }
.monitor-work-row { display: flex; gap: 10px; min-width: 0; padding: 8px 0; border-top: 1px solid #f2f4f7; }
.monitor-work-row:first-child { border-top: 0; padding-top: 0; }
.monitor-work-row > img, .monitor-work-cover { width: 58px; height: 76px; flex: 0 0 58px; border-radius: 7px; object-fit: cover; background: #eef2f7; color: #98a2b3; display: grid; place-items: center; font-size: 11px; }
.monitor-work-main { min-width: 0; flex: 1; }
.monitor-work-main > a { display: block; overflow: hidden; color: #1f2733; font-size: 13px; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.monitor-work-main > a:hover { color: #2f6bff; }
.monitor-work-main > small { display: block; margin-top: 3px; color: #98a2b3; font-size: 11px; }
.monitor-work-metrics { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 7px; color: #66707f; font-size: 11px; }
.monitor-work-metrics b { color: #364152; font-weight: 600; margin-left: 2px; }
.monitor-works-empty { margin: 0; color: #98a2b3; font-size: 12px; line-height: 1.55; }
.monitor-report { margin-top: 12px; border-top: 1px dashed #e4e9f0; padding-top: 10px; }
.monitor-report h4 { font-size: 13px; margin: 0 0 8px; color: #1f2733; }
.monitor-report h4 small { color: #98a2b3; font-weight: 400; margin-left: 8px; }
.monitor-report p { margin: 4px 0; font-size: 13px; color: #364152; line-height: 1.55; }
.monitor-report ul { margin: 6px 0 0; padding-left: 18px; }
.monitor-report li { font-size: 13px; color: #364152; line-height: 1.6; }
.monitor-empty { color: #98a2b3; font-size: 13px; padding: 28px 0; text-align: center; }
@media (max-width: 720px) { .monitor-search { min-width: 0; width: 100%; } .monitor-grid { grid-template-columns: 1fr; } .monitor-card-head { flex-wrap: wrap; } .monitor-actions { width: 100%; justify-content: flex-start; } .monitor-work-metrics { gap: 4px 8px; } }
