/* 模特库列表 · 对照影擎 models。详情弹窗仍用后半段 .model-detail-*。不重写共享 .btn/.chip/.tabs。 */ .models-page { --klein: #002fa7; --klein-hover: #002680; --ml-black: #101012; --ml-muted: #6f747c; --ml-line: rgba(34, 42, 54, 0.10); --ml-wash: rgba(34, 42, 54, 0.045); --ml-shadow: 0 8px 18px rgba(20, 27, 38, 0.075); width: 100%; max-width: none; box-sizing: border-box; margin: -24px -28px -60px; padding: 52px clamp(40px, 3.2vw, 68px) 48px; } @media (max-width: 1100px) { .models-page { margin: -28px -24px -48px; } } .models-page .ml-head { min-height: 76px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 34px; } .models-page .ml-head h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--accent-black); } .models-page .ml-head p { margin: 0; color: var(--ml-muted); font-size: 15px; } .models-page .ml-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } .models-page .ml-ghost, .models-page .ml-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; font: inherit; cursor: pointer; } .models-page .ml-ghost { min-width: 132px; height: 46px; padding: 0 18px; border: 1px solid rgba(28, 34, 43, 0.12); border-radius: 11px; color: var(--accent-black); background: rgba(34, 42, 54, 0.05); } .models-page .ml-ghost:hover { background: rgba(34, 42, 54, 0.10); } .models-page .ml-ghost.is-on { color: #fff; border-color: var(--ml-black); background: var(--ml-black); } .models-page .ml-primary { min-width: 158px; height: 50px; padding: 0 22px; border-radius: 11px; color: #fff; background: var(--klein); box-shadow: 0 9px 18px rgba(0, 47, 167, 0.18); } .models-page .ml-primary:hover { transform: translateY(-2px); background: var(--klein-hover); } .models-page .ml-primary:disabled { opacity: 0.38; transform: none; box-shadow: none; cursor: not-allowed; } .models-page .ml-ghost svg, .models-page .ml-primary svg { width: 19px; height: 19px; } .models-page .ml-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 14px; border: 1px solid rgba(34, 42, 54, 0.09); border-radius: 13px; background: var(--ml-wash); box-shadow: 0 7px 17px rgba(20, 27, 38, 0.07); } .models-page .ml-seg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .models-page .ml-seg-btn { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; color: #50555d; background: transparent; font: inherit; font-size: 14px; cursor: pointer; } .models-page .ml-seg-btn:hover { color: var(--accent-black); } .models-page .ml-seg-btn.active { color: #fff; background: var(--ml-black); } .models-page .ml-note { color: var(--ml-muted); font-size: 12px; } .models-page .ml-section { margin: 32px 0 17px; } .models-page .ml-section h2 { margin: 0; font-size: 21px; font-weight: 600; color: var(--accent-black); } .models-page .ml-section p { margin: 5px 0 0; color: var(--ml-muted); font-size: 13px; } .models-page .ml-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .models-page .ml-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--ml-line); border-radius: 13px; background: rgba(34, 42, 54, 0.05); box-shadow: var(--ml-shadow); cursor: pointer; outline: none; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; } .models-page .ml-card:hover { transform: translateY(-3px); background: rgba(34, 42, 54, 0.08); } .models-page .ml-card.selected { border-color: var(--klein); box-shadow: 0 0 0 2px rgba(0, 47, 167, 0.16), var(--ml-shadow); } .models-page .ml-thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e6e7ea; border: 0; border-radius: 0; padding: 0; } .models-page .ml-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; } .models-page .ml-thumb.has-mock-media { background-image: var(--mock-media-url); background-size: cover; background-position: center; border: 0; border-radius: 0; } .models-page .ml-meta { padding: 15px 16px 17px; } .models-page .ml-meta h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .models-page .ml-meta p { margin: 0; color: var(--ml-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .models-page .ml-triview { width: 100%; aspect-ratio: 16 / 9; margin-top: 10px; overflow: hidden; border-radius: 8px; background: rgba(34, 42, 54, 0.06); } .models-page .ml-triview.has-mock-media { background-image: var(--mock-media-url); background-size: cover; background-position: center; border: 0; } .models-page .ml-triview .ph-frame { font-size: 11px; } .models-page .ml-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 13px; } .models-page .ml-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; font-weight: 500; white-space: nowrap; } .models-page .ml-tag.blue { color: var(--klein); background: rgba(0, 47, 167, 0.09); } .models-page .ml-tag.green { color: #138d3f; background: rgba(22, 184, 78, 0.10); } .models-page .ml-check { position: absolute; top: 12px; left: 12px; z-index: 4; width: 25px; height: 25px; display: none; place-items: center; border: 2px solid rgba(0, 47, 167, 0.38); border-radius: 8px; color: transparent; background: rgba(255, 255, 255, 0.96); pointer-events: none; } .models-page .ml-check svg { width: 13px; height: 13px; } .models-page.manage-mode .ml-card.selectable .ml-check { display: grid; } .models-page.manage-mode .ml-card.selected .ml-check { color: #fff; border-color: var(--klein); background: var(--klein); } .models-page.manage-mode .ml-card .card-del-btn { opacity: 0 !important; pointer-events: none !important; } .models-page .ml-empty { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 28px; border: 1px dashed rgba(0, 47, 167, 0.20); border-radius: 16px; color: var(--ml-muted); background: rgba(0, 47, 167, 0.03); text-align: center; } .models-page .ml-empty svg { width: 28px; height: 28px; color: var(--klein); opacity: 0.72; } .models-page .ml-empty strong { color: var(--accent-black); font-size: 14px; font-weight: 600; } .models-page .ml-empty span { font-size: 12px; } .models-page .ml-sel-bar { position: fixed; left: calc(164px + (100vw - 164px) / 2); bottom: 26px; z-index: 100; min-width: 410px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 14px 13px 20px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; color: #fff; background: rgba(16, 16, 18, 0.94); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease; } .models-page .ml-sel-bar.active { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; } .models-page .ml-sel-copy strong, .models-page .ml-sel-copy span { display: block; } .models-page .ml-sel-copy span { margin-top: 3px; color: rgba(255, 255, 255, 0.58); font-size: 12px; } .models-page .ml-sel-actions { display: flex; gap: 8px; } .models-page .ml-sel-actions button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; font: inherit; font-size: 13px; cursor: pointer; } .models-page .ml-sel-cancel { color: #fff; background: rgba(255, 255, 255, 0.12); } .models-page .ml-sel-confirm { color: #fff; background: #002fa7; } .models-page .ml-sel-confirm:disabled { opacity: 0.4; cursor: not-allowed; } @media (max-width: 1100px) { .models-page .ml-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .models-page .ml-sel-bar { left: 50%; } } @media (max-width: 860px) { .models-page .ml-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 模特详情弹窗:参考视频项目角色详情结构 */ .modal.model-detail-modal { width: min(880px, calc(100vw - 80px)); max-width: 880px; } .model-detail-b { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 24px; padding: 24px 28px; } .model-detail-left, .model-detail-right { min-width: 0; } .model-detail-right { display: flex; flex-direction: column; gap: 20px; } .model-detail-section-h { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; } .model-detail-section-h strong { font-size: 13px; font-weight: 500; color: var(--accent-black); } .model-detail-section-h .mono { font-size: 11px; color: var(--black-alpha-48); letter-spacing: .04em; } .model-detail-section-actions { display: flex; align-items: center; gap: 8px; } .model-detail-section-actions .spinner { width: 13px; height: 13px; border-width: 2px; flex: 0 0 auto; } .model-detail-portrait { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-md); } .model-detail-portrait[role="button"] { cursor: zoom-in; } .model-detail-tags { display: flex; align-items: center; gap: 8px; margin-top: 12px; } .model-detail-triview { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-sm); } .model-detail-triview[role="button"] { cursor: zoom-in; } .model-detail-form { padding-top: 20px; border-top: 1px solid var(--border-faint); } .model-detail-form .field:last-of-type { margin-bottom: 10px; } .model-detail-form .textarea { resize: vertical; } .model-detail-readonly { margin-right: auto; font-size: 11px; color: var(--black-alpha-48); letter-spacing: .04em; } @media (max-width: 720px) { .modal.model-detail-modal { width: calc(100vw - 32px); } .model-detail-b { grid-template-columns: 1fr; padding: 20px; } .model-detail-left { width: min(100%, 320px); margin: 0 auto; } }