/* 自由生成页 · 对照影擎 video-free。不重写共享 .btn/.pill/.input/.chip。 */ .content:has(.fc-page) { overflow: hidden; } .fc-page { --klein: #002fa7; --klein-hover: #002680; --fc-black: #101012; --fc-muted: #6f747c; --fc-line: rgba(34, 42, 54, 0.10); --fc-wash: rgba(34, 42, 54, 0.045); width: 100%; max-width: none; box-sizing: border-box; margin: -24px -28px -60px; padding: 52px clamp(40px, 3.2vw, 68px) 20px; height: calc(100vh - 116px); height: calc(100dvh - 116px); max-height: calc(100vh - 116px); max-height: calc(100dvh - 116px); min-height: 0; overflow: hidden; display: flex; flex-direction: column; } @media (max-width: 1100px) { .fc-page { margin: -28px -24px -48px; } } .fc-page .fc-inner { width: min(1560px, 100%); margin: 0 auto; flex: 1; min-height: 0; display: flex; flex-direction: column; } .fc-page .fc-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 18px; flex-shrink: 0; } .fc-page .fc-title-row { display: flex; align-items: center; gap: 13px; min-width: 0; } .fc-page .fc-back { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(34, 42, 54, 0.12); border-radius: 12px; color: var(--accent-black); background: rgba(255, 255, 255, 0.82); cursor: pointer; transition: background-color 180ms ease, transform 180ms ease; } .fc-page .fc-back:hover { transform: translateX(-2px); background: rgba(34, 42, 54, 0.08); } .fc-page .fc-back svg { width: 19px; height: 19px; } .fc-page .fc-head h1 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--accent-black); } .fc-page .fc-material { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; } .fc-page .fc-ghost { min-width: 126px; height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(28, 34, 43, 0.12); border-radius: 11px; color: var(--accent-black); background: rgba(34, 42, 54, 0.05); font: inherit; cursor: pointer; } .fc-page .fc-ghost:hover { background: rgba(34, 42, 54, 0.10); } .fc-page .fc-ghost svg { width: 19px; height: 19px; } .fc-page .fc-stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain; } .fc-page .fc-stage:has(.system-loading) { display: grid; place-items: center; } .fc-page .fc-stage:has(.fc-empty:not(.is-soft)) { display: grid; place-items: center; overflow: hidden; } .fc-page .fc-stage:has(.fc-empty:not(.is-soft))::before { content: ""; position: absolute; inset: 5% 7%; background-image: linear-gradient(rgba(0, 47, 167, 0.075) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 47, 167, 0.075) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(circle at center, #000 0, rgba(0,0,0,.72) 35%, transparent 74%); mask-image: radial-gradient(circle at center, #000 0, rgba(0,0,0,.72) 35%, transparent 74%); pointer-events: none; } .fc-page .fc-empty { position: relative; z-index: 1; text-align: center; color: var(--fc-muted); } .fc-page .fc-empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 12px; background: rgba(34, 42, 54, 0.07); } .fc-page .fc-empty-icon svg { width: 22px; height: 22px; } .fc-page .fc-empty strong { display: block; font-size: 15px; font-weight: 600; color: var(--accent-black); } .fc-page .fc-empty p { margin: 8px 0 0; font-size: 13px; } .fc-page .fc-feedbar { display: flex; flex-wrap: wrap; gap: 7px; flex-shrink: 0; margin-bottom: 14px; } .fc-page .fc-filter { height: 30px; padding: 0 11px; border: 0; border-radius: 8px; color: var(--fc-muted); background: rgba(34, 42, 54, 0.055); font: inherit; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; } .fc-page .fc-filter span { font-variant-numeric: tabular-nums; opacity: 0.72; } .fc-page .fc-filter:hover { color: var(--accent-black); background: rgba(34, 42, 54, 0.10); } .fc-page .fc-filter.active { color: #fff; background: var(--fc-black); } .fc-page .fc-group + .fc-group { margin-top: 28px; } .fc-page .fc-group-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--accent-black); } .fc-page .fc-group-h span { font-weight: 400; color: var(--fc-muted); font-variant-numeric: tabular-nums; } .fc-page .fc-feed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-bottom: 8px; } .fc-page .fc-sentinel { padding: 28px 0; text-align: center; font-size: 12px; color: var(--fc-muted); } .fc-page .fc-card { overflow: hidden; min-width: 0; height: 100%; border: 1px solid var(--fc-line); border-radius: 13px; background: rgba(34, 42, 54, 0.05); box-shadow: 0 8px 18px rgba(20, 27, 38, 0.075); display: flex; flex-direction: column; transition: transform 180ms ease, background-color 180ms ease; } .fc-page .fc-card.done { cursor: pointer; } .fc-page .fc-card:hover { transform: translateY(-3px); background: rgba(34, 42, 54, 0.08); } .fc-page .fc-card-media { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #e5e6e9; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto; } .fc-page .fc-card-media video { width: 100%; height: 100%; object-fit: cover; display: block; } .fc-page .fc-dur { position: absolute; right: 9px; bottom: 9px; padding: 4px 7px; border-radius: 6px; color: #fff; background: rgba(16, 16, 18, 0.78); font-size: 11px; } .fc-page .fc-card-generating { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(110deg, rgba(34, 42, 54, 0.04) 30%, rgba(34, 42, 54, 0.08) 50%, rgba(34, 42, 54, 0.04) 70%); background-size: 200% 100%; animation: fc-shimmer 1.6s linear infinite; font-size: 11px; color: var(--fc-muted); } @keyframes fc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .fc-page .fc-progress { width: 60%; height: 4px; border-radius: 99px; background: #e2e5ea; overflow: hidden; } .fc-page .fc-progress span, .fc-page .fc-progress-mini span { display: block; height: 100%; border-radius: inherit; background: var(--klein); transition: width 0.6s ease; } .fc-page .fc-progress-mini { height: 4px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #e2e5ea; } .fc-page .fc-card-failed { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; background: rgba(255, 255, 255, 0.82); } .fc-page .fc-card-failed p { font-size: 12px; line-height: 1.65; color: var(--fc-muted); max-width: 90%; margin: 0; } .fc-page .fc-failed-actions { display: flex; gap: 8px; } .fc-page .fc-mini { height: 30px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(28, 34, 43, 0.12); border-radius: 8px; color: var(--accent-black); background: #fff; font: inherit; font-size: 12px; cursor: pointer; } .fc-page .fc-mini:hover { background: rgba(34, 42, 54, 0.06); } .fc-page .fc-card-hover { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transition: opacity 0.2s; } .fc-page .fc-card:hover .fc-card-hover { opacity: 1; } .fc-page .fc-hover-btn { width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--fc-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .fc-page .fc-hover-btn:hover { color: var(--accent-black); } .fc-page .fc-hover-btn.fav { color: var(--klein); } .fc-page .fc-hover-btn.danger:hover { color: var(--accent-crimson); } .fc-page .fc-card-meta { padding: 15px 16px 17px; flex: 1 1 auto; } .fc-page .fc-card-meta h3 { margin: 0 0 6px; min-height: calc(1.35em * 2); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--accent-black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .fc-page .fc-card-meta p { margin: 0; color: var(--fc-muted); font-size: 12px; } .fc-page .fc-card-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; } .fc-page .fc-tag { display: inline-flex; align-items: center; height: 25px; padding: 0 9px; border-radius: 7px; color: #4c5360; background: rgba(34, 42, 54, 0.08); font-size: 11px; } .fc-page .fc-tag.blue { color: var(--klein); background: rgba(0, 47, 167, 0.09); } .fc-page .fc-tag.green { color: #138d3f; background: rgba(22, 184, 78, 0.10); } .fc-page .fc-tag.danger { color: var(--accent-crimson); background: var(--crimson-bg); } .fc-page .fc-composer { position: relative; z-index: 6; flex: 0 0 auto; margin-top: 14px; padding: 16px; border: 1px solid var(--fc-line); border-radius: 14px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 12px 30px rgba(20, 27, 38, 0.10); } .fc-page .fc-composer.drag { border-color: var(--klein); } .fc-page .fc-drop-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: inherit; background: rgba(0, 47, 167, 0.08); color: var(--klein); font-size: 13px; pointer-events: none; z-index: 2; } .fc-page .fc-prompt-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; } .fc-page .fc-refs { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; max-width: 220px; } .fc-page .fc-ref-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px dashed rgba(34, 42, 54, 0.18); border-radius: 10px; background: rgba(34, 42, 54, 0.035); color: var(--accent-black); cursor: pointer; } .fc-page .fc-ref-btn:hover { background: rgba(34, 42, 54, 0.07); } .fc-page .fc-ref-btn svg { width: 18px; height: 18px; } .fc-page .fc-ref { position: relative; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--fc-line); overflow: hidden; background: var(--fc-wash); display: flex; align-items: center; justify-content: center; } .fc-page .fc-ref img { width: 100%; height: 100%; object-fit: cover; } .fc-page .fc-ref.uploading img { opacity: 0.4; } .fc-page .fc-ref .spinner { position: absolute; } .fc-page .fc-ref-kind { font-size: 10px; color: var(--fc-muted); } .fc-page .fc-ref-dur { position: absolute; right: 3px; bottom: 3px; font-size: 8.5px; padding: 1px 4px; border-radius: 4px; background: rgba(16, 16, 18, 0.72); color: #fff; } .fc-page .fc-ref-label { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; padding: 1px 4px; background: rgba(16, 16, 18, 0.72); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fc-page .fc-ref-x { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 999px; border: none; background: rgba(16, 16, 18, 0.72); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; } .fc-page .fc-ref:hover .fc-ref-x, .fc-page .fc-kf-slot-wrap:hover .fc-ref-x { display: inline-flex; } .fc-page .fc-keyframes { display: flex; align-items: center; gap: 8px; } .fc-page .fc-kf-slot-wrap { position: relative; width: 88px; height: 66px; flex: 0 0 auto; } .fc-page .fc-kf-slot { position: relative; width: 88px; height: 66px; border-radius: 10px; border: 1px dashed rgba(34, 42, 54, 0.18); background: rgba(34, 42, 54, 0.035); color: var(--fc-muted); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font-size: 11px; overflow: hidden; } .fc-page .fc-kf-slot-wrap > .fc-kf-slot { width: 100%; height: 100%; } .fc-page .fc-kf-slot:hover { color: var(--accent-black); background: rgba(34, 42, 54, 0.07); } .fc-page .fc-kf-slot.filled { border-style: solid; border-color: var(--fc-line); } .fc-page .fc-kf-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .fc-page .fc-kf-slot .spinner { position: absolute; } .fc-page .fc-kf-lib { position: absolute; inset: 0; width: 100%; height: 100%; border: none; border-radius: 10px; background: transparent; color: transparent; cursor: pointer; opacity: 0; z-index: 1; } .fc-page .fc-kf-slot-wrap > .fc-ref-x { z-index: 2; } .fc-page .fc-kf-tag { position: absolute; left: 3px; top: 3px; font-size: 8.5px; padding: 1px 4px; border-radius: 4px; background: rgba(16, 16, 18, 0.72); color: #fff; } .fc-page .fc-kf-arrow { color: var(--fc-muted); font-size: 13px; } .fc-page .fc-prompt-wrap { min-width: 0; } .fc-page .fc-prompt { min-height: 72px; max-height: 160px; overflow-y: auto; font-size: 14px; line-height: 1.65; color: var(--accent-black); outline: none; word-break: break-word; } .fc-page .fc-prompt:empty::before { content: attr(data-placeholder); color: var(--fc-muted); pointer-events: none; } .fc-page .fc-mention { display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; margin: 0 1px; border-radius: 6px; background: rgba(0, 47, 167, 0.09); color: var(--klein); font-size: 12px; vertical-align: middle; user-select: none; white-space: nowrap; } .fc-page .fc-mention img { width: 16px; height: 16px; border-radius: 3px; object-fit: cover; } .fc-mention-menu { position: fixed; z-index: 300; transform: translateY(-100%); } .fc-mention-menu-inner { min-width: 220px; max-width: 280px; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid rgba(34, 42, 54, 0.10); border-radius: 12px; box-shadow: 0 12px 30px rgba(20, 27, 38, 0.12); padding: 6px; } .fc-mention-menu-head { font-size: 11px; color: var(--fc-muted, #6f747c); padding: 4px 8px; } .fc-mention-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border: none; border-radius: 8px; background: transparent; cursor: pointer; font-size: 12.5px; color: var(--accent-black); text-align: left; } .fc-mention-item.active { background: rgba(34, 42, 54, 0.06); } .fc-mention-item img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; } .fc-mention-ph { width: 24px; height: 24px; border-radius: 6px; background: rgba(34, 42, 54, 0.08); } .fc-mention-item .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fc-mention-item .lbl.lib { color: #6f747c; } .fc-page .fc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 13px; border-top: 1px solid rgba(34, 42, 54, 0.08); } .fc-page .fc-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .fc-page .fc-toolbar-r { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } .fc-page .fc-estimate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fc-muted); font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: 2px; } .fc-page .fc-estimate svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--fc-muted); } .fc-page .fc-gen { min-width: 100px; height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; color: #fff; background: var(--klein); box-shadow: 0 9px 18px rgba(0, 47, 167, 0.18); font: inherit; font-weight: 500; cursor: pointer; } .fc-page .fc-gen:hover:not(:disabled) { transform: translateY(-1px); background: var(--klein-hover); } .fc-page .fc-gen:disabled { opacity: 0.38; transform: none; box-shadow: none; cursor: not-allowed; } .fc-page .fc-gen svg { width: 16px; height: 16px; } .fc-page .fc-dd { position: relative; } .fc-page .fc-chip { height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 8px; color: #4a4f57; background: rgba(34, 42, 54, 0.06); font: inherit; font-size: 11px; cursor: pointer; } .fc-page .fc-chip strong { font-weight: 600; color: var(--accent-black); } .fc-page .fc-chip svg { width: 12px; height: 12px; color: #4a4f57; } .fc-page .fc-chip:hover { background: rgba(34, 42, 54, 0.10); } .fc-page .fc-chip:disabled { opacity: 0.45; cursor: not-allowed; } .fc-page .fc-dd.open .fc-chip svg { transform: rotate(180deg); } .fc-page .fc-dd-menu { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 60; min-width: 180px; background: #fff; border: 1px solid rgba(34, 42, 54, 0.10); border-radius: 12px; box-shadow: 0 12px 30px rgba(20, 27, 38, 0.12); padding: 6px; /* 时长档随模型走(Seedance 2.5 有 4–30 共 27 项),菜单会顶穿视口。 封顶后内部滚动;上限跟着视口收,矮屏也不会被切掉。 */ max-height: min(320px, calc(100vh - 160px)); overflow-y: auto; overscroll-behavior: contain; } /* 细滚动条:菜单本来就窄,系统默认那条会压掉一截可读宽度 */ .fc-page .fc-dd-menu::-webkit-scrollbar { width: 6px; } .fc-page .fc-dd-menu::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(34, 42, 54, 0.18); } .fc-page .fc-dd-menu::-webkit-scrollbar-track { background: transparent; } .fc-page .fc-dd-item { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 7px 10px; border: none; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; font: inherit; } .fc-page .fc-dd-item:hover { background: rgba(34, 42, 54, 0.06); } .fc-page .fc-dd-item.selected { background: rgba(0, 47, 167, 0.08); } .fc-page .fc-dd-item.selected .ti { color: var(--klein); } .fc-page .fc-dd-item.disabled { cursor: not-allowed; } .fc-page .fc-dd-item.disabled .ti, .fc-page .fc-dd-item.disabled .de { color: rgba(28, 34, 43, 0.36); } .fc-page .fc-dd-item .ti { font-size: 12.5px; font-weight: 500; color: var(--accent-black); } .fc-page .fc-dd-item .de { font-size: 10.5px; color: var(--fc-muted); } .fc-page .fc-seed-menu { min-width: 220px; padding: 10px; } .fc-page .fc-seed-row { display: flex; gap: 8px; align-items: center; } .fc-page .fc-seed-row .input { height: 30px; flex: 1; } .fc-page .fc-seed-hint { margin-top: 6px; font-size: 10.5px; color: var(--fc-muted); } .fc-fav-on { color: var(--klein); } /* —— 全屏播放器 —— */ .fc-player-bg { position: fixed; inset: 0; z-index: 200; background: rgba(21, 20, 15, 0.72); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 40px 72px; } .fc-player-x { position: absolute; top: 20px; right: 24px; width: 36px; height: 36px; border-radius: var(--r-md); border: none; background: var(--black-alpha-24); color: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .fc-player-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; border: none; background: var(--black-alpha-24); color: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; } .fc-player-nav.prev { left: 20px; } .fc-player-nav.next { right: 20px; } .fc-player-nav:hover, .fc-player-x:hover { background: var(--black-alpha-48); } .fc-player { width: min(920px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; } .fc-player-stage { max-height: 62vh; margin: 0 auto; max-width: 100%; background: #000; /* 视频画布留黑,行业惯例,非界面色 */ border-radius: var(--r-md); overflow: hidden; cursor: pointer; } .fc-player-stage video { width: 100%; height: 100%; object-fit: contain; display: block; } .fc-player-controls { display: flex; align-items: center; gap: 10px; background: var(--surface-raised); border-radius: var(--r-md); padding: 8px 12px; } .fc-ctl { width: 30px; height: 30px; border: none; border-radius: var(--r-md); background: transparent; color: var(--black-alpha-56); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .fc-ctl:hover { background: var(--black-alpha-4); color: var(--accent-black); } .fc-time { font-size: 11px; color: var(--black-alpha-56); font-variant-numeric: tabular-nums; white-space: nowrap; } .fc-seek { flex: 1; accent-color: var(--heat); } .fc-vol { width: 72px; accent-color: var(--heat); } .fc-player-info { background: var(--surface-raised); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; } .fc-player-prompt { font-size: 13px; line-height: 1.65; color: var(--accent-black); max-height: 72px; overflow-y: auto; } .fc-player-sub { font-size: 11px; letter-spacing: 0.04em; color: var(--black-alpha-48); } .fc-player-warn { font-size: 11px; color: var(--accent-honey); } .fc-player-actions { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; } /* —— 素材库弹窗 —— */ .fc-lib-modal { width: min(720px, 92vw); max-width: min(720px, 92vw); } .fc-lib-body { max-height: 60vh; overflow-y: auto; } .fc-lib-back { display: inline-flex; align-items: center; gap: 4px; border: none; background: transparent; font-size: inherit; font-weight: inherit; color: inherit; cursor: pointer; padding: 0; } .fc-lib-back:hover { color: var(--heat); } .fc-lib-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .fc-lib-hint { font-size: 11px; letter-spacing: 0.04em; color: var(--black-alpha-48); } .fc-lib-create { display: flex; gap: 8px; align-items: center; flex: 1; } .fc-lib-create .input { height: 30px; flex: 1; max-width: 260px; } .fc-lib-groups, .fc-lib-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; } .fc-lib-group, .fc-lib-asset { position: relative; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 10px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: background 0.2s, border-color 0.2s; } .fc-lib-group:hover, .fc-lib-asset.pickable:hover { background: var(--surface); border-color: var(--heat-40); } .fc-lib-asset:not(.pickable) { cursor: default; } .fc-lib-thumb { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--black-alpha-4); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--black-alpha-48); } .fc-lib-thumb img { width: 100%; height: 100%; object-fit: cover; } .fc-lib-name { font-size: 12.5px; font-weight: 500; color: var(--accent-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fc-lib-rename-row { display: grid; grid-template-columns: minmax(0, 1fr) 24px 24px; gap: 4px; align-items: center; } .fc-lib-name-input { height: 28px; min-width: 0; padding: 0 8px; font-size: 12.5px; font-weight: 500; } .fc-lib-rename-btn { width: 24px; height: 28px; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--surface); color: var(--black-alpha-56); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .fc-lib-rename-btn:hover { color: var(--accent-black); border-color: var(--black-alpha-24); background: var(--black-alpha-4); } .fc-lib-rename-btn.ok { color: var(--accent-forest); border-color: var(--forest-bd); background: var(--forest-bg); } .fc-lib-rename-btn:disabled { opacity: .45; cursor: not-allowed; } .fc-lib-count { font-size: 10.5px; letter-spacing: 0.04em; color: var(--black-alpha-48); } .fc-lib-err { font-size: 10.5px; color: var(--accent-crimson); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fc-lib-status { width: 100%; justify-content: flex-start; font-size: 11px; } .fc-lib-status.pill-ok { background: var(--forest-bg); color: var(--accent-forest); border-color: var(--forest-bd); } .fc-lib-status.pill-info { background: var(--heat-12); color: var(--heat); border-color: var(--heat-20); } .fc-lib-status.pill-err { background: var(--crimson-bg); color: var(--accent-crimson); border-color: var(--crimson-bd); } .fc-lib-status.pill-warn { background: var(--honey-bg); color: var(--accent-honey); border-color: var(--honey-bd); } .fc-lib-status .dot { width: 7px; height: 7px; background: currentColor; } .fc-lib-ops { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; opacity: 0; transition: opacity 0.2s; } .fc-lib-group:hover .fc-lib-ops, .fc-lib-asset:hover .fc-lib-ops { opacity: 1; } .fc-lib-ops button { width: 22px; height: 22px; border: none; border-radius: var(--r-sm); background: var(--black-alpha-56); color: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .fc-lib-ops button:hover { background: var(--accent-black); } .fc-lib-delete-pop { position: absolute; top: 42px; right: 10px; z-index: 2; min-width: 148px; padding: 10px; border: 1px solid var(--border-muted); border-radius: var(--r-md); background: var(--surface-raised); box-shadow: 0 0 0 1px var(--black-alpha-7), var(--shadow-floating); } .fc-lib-delete-pop::before { content: ""; position: absolute; top: -5px; right: 16px; width: 8px; height: 8px; border-left: 1px solid var(--border-muted); border-top: 1px solid var(--border-muted); background: var(--surface-raised); transform: rotate(45deg); } .fc-lib-delete-title { font-size: 12.5px; font-weight: 500; color: var(--accent-black); margin-bottom: 8px; } .fc-lib-delete-note { font-size: 10.5px; letter-spacing: 0.04em; color: var(--black-alpha-48); margin: -2px 0 8px; } .fc-lib-delete-actions { display: flex; justify-content: flex-end; gap: 6px; } .fc-lib-delete-actions .btn { height: 26px; padding: 0 10px; font-size: 12px; } .fc-lib-delete-danger { color: var(--accent-crimson); border-color: var(--crimson-bd); background: var(--crimson-bg); } .fc-lib-delete-danger:hover { color: var(--accent-crimson); border-color: var(--crimson-bd); background: var(--crimson-bg); } /* —— 三库引用弹窗(资产库 / 模特库 / 商品库)—— */ .fc-lib-tabs { margin-bottom: 14px; } .fc-lib-search { position: relative; display: flex; align-items: center; flex: 1; max-width: 280px; } .fc-lib-search svg { position: absolute; left: 10px; z-index: 2; color: var(--black-alpha-48); } .fc-lib-search .input { height: 30px; width: 100%; padding-left: 30px; } .fc-lib-review-btn { height: 24px; padding: 0 8px; font-size: 11.5px; align-self: flex-start; } .fc-lib-model-picks { display: flex; flex-wrap: wrap; gap: 6px; } .fc-lib-model-picks .btn { height: 24px; padding: 0 8px; font-size: 11.5px; } .fc-lib-more { display: flex; justify-content: center; padding-top: 14px; } @media (max-width: 1500px) { .fc-page .fc-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 1100px) { .fc-page .fc-head { flex-direction: column; align-items: stretch; } .fc-page .fc-material .fc-ghost { min-width: 0; } .fc-page .fc-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 720px) { .fc-page .fc-feed { grid-template-columns: 1fr; } .fc-page .fc-prompt-main { grid-template-columns: 1fr; } .fc-page .fc-refs { max-width: none; } .fc-page .fc-toolbar { flex-wrap: wrap; } .fc-player-bg { padding: 16px; } .fc-player-nav.prev { left: 6px; } .fc-player-nav.next { right: 6px; } } /* 素材库弹窗:整块 body 接住拖进来的文件 */ .fc-lib-body.is-dragover { outline: 1.5px dashed var(--heat); outline-offset: -8px; background: var(--heat-8); }