841 lines
21 KiB
CSS
841 lines
21 KiB
CSS
/* =====================================================
|
|
Poster to Video (P2V) — castad 통합 화면 스타일
|
|
|
|
F1(포스터→영상) · F2(포스터 스타일링) 두 파이프라인이 함께 쓴다.
|
|
|
|
규칙 (썰박스 통합과 동일):
|
|
- 모든 선택자를 `.p2v-scope` 안에 가둔다 — castad 기존 화면에 새지 않게.
|
|
- 색·반경·간격은 tokens.css 토큰만 쓴다. 하드코딩 색은 상태색(실패 빨강) 뿐이고
|
|
그것도 castad 가 이미 쓰는 값(#ff7a7a 계열)을 따른다.
|
|
- 버튼 문법은 ADO2 프로덕트를 따른다: 퍼플=주 CTA(화면당 하나), 민트=보조·선택,
|
|
아웃라인=중립. 이 규칙을 어기면 화면이 알록달록해진다.
|
|
===================================================== */
|
|
|
|
.p2v-scope {
|
|
width: 100%;
|
|
color: var(--color-text-white);
|
|
font-family: inherit;
|
|
}
|
|
|
|
/* ── 공통 요소 ────────────────────────────────────── */
|
|
|
|
.p2v-scope .p2v-label {
|
|
display: block;
|
|
margin: 0 0 8px;
|
|
font-size: var(--text-lg);
|
|
font-weight: 700;
|
|
color: var(--color-text-white);
|
|
}
|
|
|
|
.p2v-scope .p2v-help {
|
|
margin: 0 0 12px;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.6;
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-scope .p2v-note {
|
|
margin: 8px 0 0;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.6;
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-scope .p2v-note.warn {
|
|
color: #ff9a9a;
|
|
}
|
|
|
|
.p2v-scope .p2v-panel {
|
|
background: var(--color-bg-card-inner);
|
|
border: 1px solid var(--color-border-white-5);
|
|
border-radius: var(--radius-2xl);
|
|
padding: var(--spacing-page);
|
|
}
|
|
|
|
/* 서버 stderr tail — 개발자용이라 폭이 넘칠 수 있어 스스로 스크롤한다 */
|
|
.p2v-scope .p2v-errorbox {
|
|
margin: 12px 0 0;
|
|
padding: 12px 14px;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
background: var(--color-bg-card-inner);
|
|
border: 1px solid var(--color-border-white-5);
|
|
border-radius: var(--radius-md);
|
|
font-size: var(--text-sm);
|
|
line-height: 1.5;
|
|
color: var(--color-text-gray-400);
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
text-align: left;
|
|
}
|
|
|
|
.p2v-scope .p2v-step {
|
|
align-self: flex-start;
|
|
margin-bottom: 10px;
|
|
font-size: var(--text-xs);
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
color: var(--color-mint);
|
|
}
|
|
|
|
/* ── 입력 (프로덕트 흰 pill) ──────────────────────── */
|
|
|
|
.p2v-scope .p2v-input {
|
|
width: 100%;
|
|
height: 52px;
|
|
padding: 0 20px;
|
|
margin-bottom: 8px;
|
|
border: 1.5px solid transparent;
|
|
border-radius: var(--radius-full);
|
|
background: var(--color-text-white);
|
|
color: var(--color-bg-dark);
|
|
font-family: inherit;
|
|
font-size: var(--text-base);
|
|
font-weight: 600;
|
|
letter-spacing: -0.006em;
|
|
}
|
|
|
|
.p2v-scope .p2v-input::placeholder {
|
|
color: #3a8f86;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.p2v-scope .p2v-input:focus {
|
|
outline: none;
|
|
border-color: var(--color-mint);
|
|
}
|
|
|
|
.p2v-scope .p2v-input--center,
|
|
.p2v-scope .p2v-input--center::placeholder {
|
|
text-align: center;
|
|
}
|
|
|
|
.p2v-scope .p2v-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.p2v-scope .p2v-field__label {
|
|
flex: none;
|
|
width: 52px;
|
|
font-size: var(--text-sm);
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
/* ── 버튼 ────────────────────────────────────────── */
|
|
|
|
.p2v-scope .p2v-btn-cta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 48px;
|
|
margin-top: 20px;
|
|
border: none;
|
|
border-radius: var(--radius-full);
|
|
background: var(--color-purple);
|
|
color: var(--color-text-white);
|
|
box-shadow: var(--shadow-purple);
|
|
font-family: inherit;
|
|
font-size: var(--text-base);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background-color var(--transition-normal);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-cta:hover:not(:disabled) {
|
|
background: var(--color-purple-hover);
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-cta:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
/* 다운로드처럼 행 안에 들어가는 CTA — 폭을 차지하지 않는다 */
|
|
.p2v-scope .p2v-btn-cta--compact {
|
|
width: auto;
|
|
margin-top: 0;
|
|
padding: 0 24px;
|
|
height: 44px;
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-mint,
|
|
.p2v-scope .p2v-btn-tonal,
|
|
.p2v-scope .p2v-btn-outline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 44px;
|
|
padding: 0 22px;
|
|
border-radius: var(--radius-full);
|
|
font-family: inherit;
|
|
font-size: var(--text-base);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
transition: background-color var(--transition-normal), border-color var(--transition-normal);
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-mint {
|
|
border: none;
|
|
background: var(--color-mint);
|
|
color: var(--color-bg-dark);
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-mint:hover:not(:disabled) { background: var(--color-mint-hover); }
|
|
|
|
.p2v-scope .p2v-btn-tonal {
|
|
border: 1px solid var(--color-mint-30);
|
|
background: var(--color-mint-20);
|
|
color: var(--color-mint);
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-tonal:hover { background: var(--color-mint-30); }
|
|
|
|
.p2v-scope .p2v-btn-outline {
|
|
border: 1px solid var(--color-border-gray-600);
|
|
background: transparent;
|
|
color: var(--color-text-white);
|
|
}
|
|
|
|
.p2v-scope .p2v-btn-outline:hover:not(:disabled) { background: rgba(255, 255, 255, 0.05); }
|
|
|
|
.p2v-scope .p2v-btn-mint:disabled,
|
|
.p2v-scope .p2v-btn-outline:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
/* ── 접근 키 게이트 ───────────────────────────────── */
|
|
|
|
.p2v-scope .p2v-keygate {
|
|
width: 100%;
|
|
padding: 22px;
|
|
border: 1px solid var(--color-mint-30);
|
|
border-radius: var(--radius-2xl);
|
|
background: var(--color-mint-10);
|
|
}
|
|
|
|
.p2v-scope .p2v-keygate__title {
|
|
margin: 0 0 6px;
|
|
font-size: var(--text-lg);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.p2v-scope .p2v-keygate__desc {
|
|
margin: 0 0 16px;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.6;
|
|
color: var(--color-text-gray-300);
|
|
}
|
|
|
|
.p2v-scope .p2v-keygate__row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.p2v-scope .p2v-keygate__row .p2v-input { margin-bottom: 0; }
|
|
.p2v-scope .p2v-keygate__row .p2v-btn-mint { height: 52px; flex: none; }
|
|
|
|
/* ── 드롭존 ──────────────────────────────────────── */
|
|
|
|
.p2v-scope .p2v-dropzone-wrap { width: 100%; }
|
|
|
|
.p2v-scope .p2v-dropzone {
|
|
/* 포스터는 세로물 — 입력창도 세로여야 무엇을 올렸는지 바로 보인다 */
|
|
aspect-ratio: 4 / 5;
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
padding: var(--spacing-page);
|
|
border: 1px dashed var(--color-border-gray-700);
|
|
border-radius: var(--radius-2xl);
|
|
background: var(--color-bg-card-inner);
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: border-color var(--transition-normal), background-color var(--transition-normal);
|
|
}
|
|
|
|
.p2v-scope .p2v-dropzone.has-file { padding: 0; border-style: solid; }
|
|
|
|
.p2v-scope .p2v-dropzone.dragging {
|
|
border-color: var(--color-mint);
|
|
background: var(--color-mint-10);
|
|
}
|
|
|
|
.p2v-scope .p2v-dropzone img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.p2v-scope .p2v-dropzone__cta {
|
|
margin: 0;
|
|
font-size: var(--text-base);
|
|
font-weight: 700;
|
|
line-height: 1.5;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.p2v-scope .p2v-dropzone__hint {
|
|
margin: 12px 0 0;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.5;
|
|
color: var(--color-text-gray-400);
|
|
white-space: pre-line;
|
|
}
|
|
|
|
/* ── F1 생성 폼 ───────────────────────────────────── */
|
|
|
|
.p2v-scope.p2v-create {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 480px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* 드롭존과 이름 입력은 "업로드" 한 묶음이라 붙이고(16), 제출과는 섹션 간격을 둔다.
|
|
간격 체계는 generation-flow.css 상단 참조 */
|
|
.p2v-scope.p2v-create .p2v-input {
|
|
margin-top: 16px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.p2v-scope.p2v-create .p2v-btn-cta { margin-top: 28px; }
|
|
|
|
.p2v-scope .p2v-create__cost {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 0 4px;
|
|
margin-top: 28px;
|
|
font-size: 12px;
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-scope .p2v-create__cost-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-weight: 700;
|
|
color: var(--color-mint);
|
|
}
|
|
|
|
.p2v-scope .p2v-create__coin {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.p2v-scope.p2v-create .p2v-create__cost + .p2v-btn-cta {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
/* ── 시작 선택 화면 + 소개 카드 (playreel 의 "어떻게 시작할까요?") ── */
|
|
|
|
.p2v-scope.p2v-start {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
max-width: 560px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.p2v-scope .p2v-start__title {
|
|
margin: 0;
|
|
font-size: var(--text-2xl);
|
|
font-weight: 800;
|
|
text-align: center;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.p2v-scope .p2v-start__subtitle {
|
|
margin: 0 0 8px;
|
|
font-size: var(--text-sm);
|
|
text-align: center;
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-scope .p2v-back {
|
|
align-self: flex-start;
|
|
margin: 0 0 16px;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
color: var(--color-text-gray-400);
|
|
font-family: inherit;
|
|
font-size: var(--text-sm);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.p2v-scope .p2v-back:hover { color: var(--color-text-white); }
|
|
|
|
.p2v-scope .p2v-intro--hot { border-color: var(--color-mint-30); }
|
|
|
|
.p2v-scope .p2v-intro__badge {
|
|
align-self: flex-start;
|
|
margin-bottom: -4px;
|
|
padding: 3px 10px;
|
|
border-radius: var(--radius-full);
|
|
background: var(--color-mint);
|
|
color: var(--color-bg-dark);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro .p2v-btn-cta { margin-top: 4px; }
|
|
|
|
|
|
.p2v-scope .p2v-intro {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__icon {
|
|
display: grid;
|
|
flex: none;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-mint-10);
|
|
color: var(--color-mint);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__title {
|
|
margin: 0;
|
|
font-size: var(--text-lg);
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__desc {
|
|
margin: 2px 0 0;
|
|
font-size: var(--text-sm);
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__flow {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 0;
|
|
padding: 14px;
|
|
list-style: none;
|
|
border: 1px solid var(--color-border-white-5);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-bg-card);
|
|
font-size: var(--text-xs);
|
|
line-height: 1.6;
|
|
color: var(--color-text-gray-300);
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__flow li {
|
|
display: grid;
|
|
grid-template-columns: 22px minmax(0, 1fr);
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__flow-number {
|
|
color: var(--color-mint);
|
|
font-weight: 800;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__facts div {
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--color-bg-card);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-bg-card);
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__facts b {
|
|
display: block;
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
color: var(--color-text-gray-500);
|
|
}
|
|
|
|
.p2v-scope .p2v-intro__facts span {
|
|
font-size: var(--text-sm);
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.p2v-scope .p2v-intro__facts { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
/* ── F1 진행 화면 ────────────────────────────────── */
|
|
|
|
.p2v-scope.p2v-making {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
max-width: 520px;
|
|
/* 부모(.wizard-page-container)가 height:100% flex column 이라
|
|
margin:auto 가 스텝퍼~바닥 사이 중앙에 놓는다 (썰박스와 같은 처리) */
|
|
height: auto;
|
|
margin: auto;
|
|
padding: 48px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.p2v-making__name {
|
|
font-size: var(--text-xl);
|
|
font-weight: 700;
|
|
color: var(--color-mint);
|
|
}
|
|
|
|
.p2v-making__title {
|
|
margin: 8px 0 24px;
|
|
font-size: var(--text-2xl);
|
|
font-weight: 700;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.p2v-making__title.warn { color: #ffb4a8; }
|
|
|
|
.p2v-making__meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
font-size: var(--text-base);
|
|
color: var(--color-text-gray-300);
|
|
}
|
|
|
|
.p2v-making__pct {
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.p2v-making__desc {
|
|
margin: 22px 0 0;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.6;
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-making__actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.p2v-scope .p2v-making__narration {
|
|
width: 100%;
|
|
margin-top: 26px;
|
|
text-align: left;
|
|
}
|
|
|
|
.p2v-scope .p2v-narration-line {
|
|
margin: 6px 0;
|
|
font-size: var(--text-base);
|
|
line-height: 1.6;
|
|
color: var(--color-text-gray-300);
|
|
}
|
|
|
|
/* 스피너 — castad 전역 `spin` 키프레임을 재사용한다(새로 만들면 중복) */
|
|
.p2v-scope .p2v-spinner {
|
|
position: relative;
|
|
flex: none;
|
|
width: 120px;
|
|
height: 120px;
|
|
margin: 4px 0 22px;
|
|
}
|
|
|
|
.p2v-scope .p2v-spinner--md { width: 48px; height: 48px; margin: 0; }
|
|
.p2v-scope .p2v-spinner--sm { width: 26px; height: 26px; margin: 0; }
|
|
|
|
.p2v-scope .p2v-spinner::before,
|
|
.p2v-scope .p2v-spinner::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
border: 6px solid transparent;
|
|
}
|
|
|
|
.p2v-scope .p2v-spinner::before { border-color: var(--color-border-white-10); }
|
|
|
|
/* 3/4 만 칠해 회전이 보이게 한다. 색은 ADO2 생성 스피너 표준(퍼플) */
|
|
.p2v-scope .p2v-spinner::after {
|
|
border-top-color: var(--color-purple);
|
|
border-right-color: var(--color-purple);
|
|
border-bottom-color: var(--color-purple);
|
|
animation: spin 1.1s linear infinite;
|
|
}
|
|
|
|
.p2v-scope .p2v-spinner--md::before,
|
|
.p2v-scope .p2v-spinner--md::after { border-width: 4px; }
|
|
.p2v-scope .p2v-spinner--sm::before,
|
|
.p2v-scope .p2v-spinner--sm::after { border-width: 3px; }
|
|
|
|
.p2v-scope .p2v-bar {
|
|
width: 100%;
|
|
height: 6px;
|
|
margin-top: 20px;
|
|
border-radius: var(--radius-full);
|
|
background: var(--color-bg-card-inner);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.p2v-scope .p2v-bar__fill {
|
|
height: 100%;
|
|
border-radius: var(--radius-full);
|
|
background: var(--color-mint);
|
|
transition: width 400ms ease;
|
|
}
|
|
|
|
/* ── F1 검수 게이트 ───────────────────────────────── */
|
|
|
|
/* 좌우 패딩을 스스로 갖는다. 부모 `.wizard-page-container` 에는 패딩이 없어서
|
|
0 으로 두면 모바일에서 글자가 화면 가장자리에 그대로 붙는다(실제로 그랬다).
|
|
16px 은 모바일 화면 가장자리 여백 기준값(Material 3). */
|
|
.p2v-scope.p2v-review {
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
padding: 8px 16px 40px;
|
|
}
|
|
|
|
.p2v-review__grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--spacing-page-md);
|
|
align-items: start;
|
|
}
|
|
|
|
.p2v-scope .p2v-review__edit .p2v-label { margin-top: 26px; }
|
|
.p2v-scope .p2v-review__edit > .p2v-label:first-child { margin-top: 0; }
|
|
|
|
.p2v-scope .p2v-review__image {
|
|
display: block;
|
|
width: 100%;
|
|
border: 1px solid var(--color-border-white-5);
|
|
border-radius: var(--radius-2xl);
|
|
}
|
|
|
|
.p2v-scope .p2v-review__image-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 320px;
|
|
font-size: var(--text-sm);
|
|
color: var(--color-text-gray-500);
|
|
}
|
|
|
|
/* 모션 칩 — 선택은 민트 테두리+틴트(castad .btn-select.selected 문법) */
|
|
.p2v-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.p2v-scope .p2v-chip {
|
|
padding: 7px 14px;
|
|
border: 1px solid var(--color-border-white-10);
|
|
border-radius: var(--radius-full);
|
|
background: transparent;
|
|
color: var(--color-text-gray-400);
|
|
font-family: inherit;
|
|
font-size: var(--text-sm);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: border-color var(--transition-normal), background-color var(--transition-normal),
|
|
color var(--transition-normal);
|
|
}
|
|
|
|
.p2v-scope .p2v-chip:hover { color: var(--color-text-white); }
|
|
|
|
.p2v-scope .p2v-chip.active {
|
|
border-color: var(--color-mint);
|
|
background: var(--color-mint-20);
|
|
color: var(--color-mint);
|
|
}
|
|
|
|
/* ── F1 결과 ─────────────────────────────────────── */
|
|
|
|
.p2v-scope.p2v-result {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: 8px 16px 40px;
|
|
}
|
|
|
|
.p2v-result__title {
|
|
margin: 0 0 22px;
|
|
font-size: var(--text-2xl);
|
|
font-weight: 700;
|
|
text-align: center;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.p2v-result__grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--spacing-page-md);
|
|
align-items: stretch;
|
|
}
|
|
|
|
.p2v-scope .p2v-result__player {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px;
|
|
}
|
|
|
|
.p2v-scope .p2v-result__player video {
|
|
display: block;
|
|
width: 100%;
|
|
max-height: 560px;
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.p2v-result__side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-left: var(--spacing-page);
|
|
border-left: 2px solid var(--color-mint-20);
|
|
}
|
|
|
|
.p2v-result__filename {
|
|
margin: 4px 0 16px;
|
|
font-size: var(--text-xl);
|
|
font-weight: 700;
|
|
line-height: 1.35;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.p2v-result__block {
|
|
margin-top: 16px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--color-border-white-10);
|
|
}
|
|
|
|
.p2v-result__row {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 6px;
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.p2v-result__row span {
|
|
flex: none;
|
|
width: 52px;
|
|
color: var(--color-text-gray-400);
|
|
}
|
|
|
|
.p2v-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.p2v-scope .p2v-tag {
|
|
padding: 3px 10px;
|
|
border-radius: var(--radius-full);
|
|
background: var(--color-mint-10);
|
|
color: var(--color-mint);
|
|
font-size: var(--text-sm);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.p2v-result__actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
margin-top: auto;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.p2v-scope .p2v-result__new {
|
|
display: flex;
|
|
margin: 28px auto 0;
|
|
}
|
|
|
|
/* ── F2 스타일링 ─────────────────────────────────── */
|
|
|
|
/* 내부 전용 — 주황 계열. 민트/퍼플과 겹치지 않아야 "제한"으로 읽힌다 */
|
|
|
|
/* 명화는 가로 그림도 있다 — cover 로 자르면 무엇인지 알 수 없다 */
|
|
|
|
/* 제목이 1줄인 카드와 2줄인 카드가 섞인다 — 아래로 밀어야 배지가 같은 선에 선다 */
|
|
|
|
/* ── 모바일 ──────────────────────────────────────── */
|
|
|
|
@media (max-width: 768px) {
|
|
.p2v-review__grid,
|
|
.p2v-result__grid,
|
|
.p2v-styling__io {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
/* 세로로 쌓이면 왼쪽 테두리는 위쪽 구분선이 되어야 한다 */
|
|
.p2v-result__side {
|
|
padding-left: 0;
|
|
padding-top: var(--spacing-page);
|
|
border-left: none;
|
|
border-top: 2px solid var(--color-mint-20);
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 검수 화면(모바일) — 2단이 1단으로 접히면서 순서 문제가 생긴다.
|
|
데스크톱은 좌(편집)·우(포스터)라 나란히 보이지만, 세로로 쌓으면 편집이 먼저 오고
|
|
**대조할 포스터가 그 아래로 밀린다.** 연도·지명이 맞는지 보려면 위아래로 오가야 한다.
|
|
포스터를 먼저 올려 읽고 나서 고치는 순서로 만든다. */
|
|
.p2v-review__preview { order: -1; margin-bottom: 20px; }
|
|
|
|
.p2v-scope .p2v-review__image { max-height: 52vh; object-fit: contain; }
|
|
|
|
/* 주 액션은 하단 탭바 바로 위에 붙여 둔다.
|
|
탭바(고정 72px)가 화면 아래를 차지해 CTA 가 문서 흐름 한가운데로 밀리는데,
|
|
그러면 편집을 마치고도 버튼을 찾아 위로 스크롤해야 한다.
|
|
castad 가 이미 쓰는 오프셋 패턴(`bottom: nav + 16px`)과 같은 발상이되,
|
|
여기서는 스크롤 컨테이너 안이라 sticky 로 충분하다.
|
|
box-shadow 의 두 번째 값은 배경색 링 — 뒤로 지나가는 콘텐츠를 가려 준다. */
|
|
.p2v-scope.p2v-review .p2v-btn-cta {
|
|
position: sticky;
|
|
bottom: 12px;
|
|
z-index: 5;
|
|
box-shadow: var(--shadow-purple), 0 0 0 10px var(--color-bg-darker);
|
|
}
|
|
}
|
|
|
|
/* 진행 애니메이션은 모션 민감 사용자에게 끈다.
|
|
스피너는 회전을 멈춰도 3/4 호가 남아 정적 표시로 읽힌다 */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.p2v-scope .p2v-spinner::after { animation: none; }
|
|
.p2v-scope .p2v-bar__fill { transition: none; }
|
|
}
|