/* ============ 폰트 (내부 fonts 폴더) ============ */ @font-face { font-family: "Pretendard Variable"; src: url("fonts/PretendardVariable.woff2") format("woff2-variations"), url("fonts/PretendardVariable.woff2") format("woff2"); font-weight: 45 930; font-style: normal; font-display: swap; } /* ============ 색상 · 기본값 ============ */ :root { --bg: #f6f7f9; --panel: #ffffff; --text: #191c21; --text-2: #3d434d; /* 본문 글자 */ --muted: #6b7280; /* 요약 · 캡션 */ --line: #e5e7eb; /* 앱 기본 테마(light + sky) 시작 버튼 색 */ /* 민트 전체: 처음 색과 #3cbcd6 기준으로 옮긴 색의 중간 (oklch 밝기 -0.016, 채도 +0.005, 색상 +1.2°) */ --accent-base: #31B9D4; /* 처음 #41BED6 */ --accent-grad-start: #3BBCD6; /* 처음 #49C1D8 */ --accent-grad-end: #57C5DB; /* 처음 #63CADD */ --accent: #289BB2; /* 흰 바탕 위 글자·링크용 진한 색 (처음 #37A0B4) */ --accent-soft: rgba(49, 185, 212, 0.14); --accent-hover-start: #48C6E0; /* 버튼 마우스 올림: 조금 더 밝게 */ --accent-hover-end: #62CFE5; --warn: #D9922E; --warn-soft: rgba(217, 146, 46, 0.10); --draft: #b0b6c0; --toc-bg: #f3f4f6; /* 목차 칸 연한 회색 */ --page-max: 1440px; /* 본문 + 우측 칸 합친 고정폭 */ --side-w: 400px; --promo-h: 300px; /* 기능 소개 영상 칸 높이 (폭은 --side-w). 영상은 400×300 = 4:3, 2배로 800×600 제작 */ --pad-x: 64px; /* 본문 칸 좌우 안쪽 여백 */ --text-w: 760px; /* 글줄 최대 폭 */ } * { box-sizing: border-box; } html, body { margin: 0; } body { background: var(--bg); color: var(--text-2); font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 16px; line-height: 1.75; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; } ::selection { background: rgba(255, 159, 185, 0.4); } /* 드래그 선택: 벚꽃 핑크 #FF9FB9 */ .pink-ul { /* 형광펜 강조: 벚꽃 핑크 #FF9FB9, 글자 아래쪽만 칠함 */ background: linear-gradient(transparent 60%, rgba(255, 159, 185, 0.4) 60%); padding: 0 2px; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; } img { max-width: 100%; height: auto; } strong { color: var(--text); font-weight: 600; } /* ============ 레이아웃 (칸 사이 여백 없이 1px 직선) ============ */ .page { max-width: var(--page-max); min-height: 100vh; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) var(--side-w); background: var(--panel); /* 좌우 드롭섀도: 1px 테두리 대신 아주 연한 그림자로 판을 띄움 */ box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 0 36px rgba(15, 23, 42, 0.11); position: relative; } .manual { border-right: 1px solid var(--line); min-width: 0; } /* ============ 바탕: 땡땡이 (스크롤해도 고정) ============ */ body { background-color: #f1f3f6; background-image: radial-gradient(circle, #d3d8df 1.2px, transparent 1.6px); background-size: 18px 18px; background-position: 9px 0; /* 반 주기 가로 이동: 프레임 테두리와 점이 겹치지 않게 */ background-attachment: fixed; } /* ============ 첫 화면 ============ */ .hero { display: grid; grid-template-columns: minmax(0, 1fr) 393.05px; /* 그림 칸 40px 좁힘: 대체 글꼴로도 제목이 한 줄 (그림 위치는 left로 보정) */ align-items: center; gap: 10px; padding: 70px var(--pad-x) 40px; } .eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--accent); } .hero h1 { margin: 0 0 16px; font-size: 44px; line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; color: var(--text); } .hero-lead { margin: 0 0 28px; font-size: 19px; line-height: 1.65; color: var(--muted); } .hero-actions { display: flex; gap: 8px; margin-bottom: 16px; } .hero-note { margin: 0; font-size: 14px; color: var(--muted); } /* 권장 사양 줄: 위 줄과의 간격을 보통 줄 간격의 1.2배로 (줄 높이 24.5px × 0.2 ≈ 5px 추가) */ .hero-spec { display: block; margin-top: 3px; } .hero-note strong { color: inherit; font-weight: 700; } /* Bold, 색은 안내 문구와 같게 */ /* 후원·작품 링크 한 줄: 라벨은 안내 문구처럼, 링크는 민트 */ .hero-links { /* 위 문구와 한 줄(약 24px) 더 띄움 */ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 32px 0 0; font-size: 14px; color: var(--muted); } .hero-credit { display: block; font-size: 13px; line-height: 1.6; } /* 제작자 · 원작 두 줄 (회색 글자만) */ .hero-credit b { font-weight: 500; } /* 이름만 한 단계 두껍게 */ .hero-credit a { color: var(--accent); text-decoration: none; } .hero-credit a:hover { text-decoration: underline; text-underline-offset: 2px; } .follow-chip { /* 민트 테두리 둥근 사각형 버튼 */ display: inline-flex; align-items: center; padding: 3px 14px; border: 1px solid var(--accent-base); border-radius: 8px; /* 위 다운로드 버튼과 같은 둥근 사각형 */ background: var(--panel); color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.4; transition: background 0.15s, color 0.15s; } .follow-chip:hover { background: var(--accent-soft); text-decoration: none; } .hero-links .r18 { /* 작은 핑크 배지, Pixiv 칩과 6px 띄움 (gap 6px) */ margin-left: 0; padding: 1px 6px; border: 1px solid #EE85A8; border-radius: 4px; background: #EE85A8; /* 벚꽃 핑크 계열, 빨간 기 줄이고 흰 글자가 읽히는 정도로 */ font-size: 11px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.4; color: #fff; } .hero-art { /* 그림 아래 끝을 첫 화면 아래 선에 붙임 */ display: block; width: 372.05px; /* 그림 너비 (칸 오른쪽 61px는 여백) */ max-width: none; height: auto; align-self: end; margin-bottom: -40px; /* .hero 아래 여백만큼 내림 */ position: relative; left: 27px; /* 67px에서 칸을 좁힌 40px만큼 뺌: 화면상 그림 위치는 그대로 */ } .hero-art[data-full] { cursor: zoom-in; } /* 누르면 큰 그림 팝업 */ .btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; /* 확대해서 폭이 좁아져도 글자가 두 줄로 꺾이지 않게 */ } .btn:hover { text-decoration: none; border-color: #cfd3da; } .btn.primary { border-color: var(--accent-grad-start); background: linear-gradient(180deg, var(--accent-grad-start), var(--accent-grad-end)); color: #fff; } .btn.primary:hover { /* 마우스 올리면 살짝 밝게 */ background: linear-gradient(180deg, var(--accent-hover-start), var(--accent-hover-end)); border-color: var(--accent-hover-start); } /* 버튼 앞 아이콘: Google Material Symbols "download" (Apache 2.0), 글자 크기만큼 */ .btn-icon { width: 17px; height: 17px; margin-right: 9px; flex: none; } /* 그림 실제 높이 = 글자 15px + 2px */ /* ============ 장(대제목) · 절(소제목) ============ */ .chapter { border-top: 1px solid var(--line); padding: 72px var(--pad-x) 88px; } .ch-num { margin: 0 0 6px; font-size: 34px; /* 장 제목(32px)보다 살짝 크게 (처음 30px) */ line-height: 1.2; font-weight: 600; /* SemiBold */ letter-spacing: 0.02em; /* 포토샵 트래킹 20과 같음 */ color: #1da7c2; /* 34px로 커진 만큼 살짝 연하게 (처음 #139fba) */ } .chapter h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.3; font-weight: 700; letter-spacing: -0.025em; color: var(--text); scroll-margin-top: 64px; } .ch-lead { max-width: var(--text-w); margin: 0 0 40px; font-size: 17px; line-height: 1.7; color: var(--muted); } .chapter h3 { margin: 56px 0 14px; font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -0.015em; color: var(--text); scroll-margin-top: 32px; } .chapter { counter-reset: sub; } .chapter h3 { counter-increment: sub; } .chapter h3::before { /* 소제목 앞 포인트: 민트 로마 숫자 */ content: counter(sub, upper-roman) "."; display: inline-block; margin-right: 10px; color: var(--accent-base); font-family: "Pretendard Variable", Pretendard, Arial, sans-serif; font-weight: 700; } .draft h3::before { color: var(--draft); } /* 작성 예정 장은 회색 숫자 */ .ch-lead + h3 { margin-top: 0; } .prose { max-width: var(--text-w); } .prose p { margin: 0 0 16px; } .prose.full { max-width: none; } /* 그림 옆 칸 아래에서 가로폭 전체를 쓰는 문단 */ .prose p.soft { color: var(--muted); } /* 소제목 아래 짧은 안내: 본문보다 연하게 */ .prose ul { margin: 0 0 16px; padding-left: 20px; } .prose li { margin-bottom: 8px; } .prose li::marker { color: var(--draft); } .prose ul.tip-list { list-style-position: outside; padding-left: 20px; } /* 그 밖의 팁: 줄바꿈 줄이 점 뒤 글자 시작에 맞게 */ .prose ul.tip-list li { margin-bottom: 16px; } .prose ul.tip-list li::marker { color: var(--text); } .prose ul.tip-list .tip-shot { margin: 0 0 12px; } /* 팁 위 그림: 높이 지정 없이 원본 크기대로 (폭이 넘치면 줄어듦) */ /* ============ 그림 · 영상 ============ */ .shot { margin: 0 0 32px; } .shot img, .shot video { display: block; width: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 4px; } .shot figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); } /* ============ 번역 전 / 후 비교 표 ============ */ .compare { margin: 0 0 32px; } .compare-head, .compare-body { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; /* 그림 사이 간격 (글자도 같은 간격으로 그림 위 정중앙 유지) */ } .compare-head { /* 띠를 그림마다 하나씩, 사이 간격은 그림 사이와 같은 10px */ color: #fff; font-size: 15px; font-weight: 600; /* SemiBold */ line-height: 34px; /* 글자 크기만한 한 줄 */ text-align: center; } .compare-head > span { border-radius: 4px; background: linear-gradient(180deg, var(--accent-grad-start), var(--accent-grad-end)); } .compare-head > span:first-child { /* 번역 전: 흐린 민트 */ background: linear-gradient(180deg, #7fd1e7, #93d9eb); /* 가운데 = #89d5e9, 번역 후 띠와 같은 폭의 그라데이션 */ } .compare-head { position: relative; } .compare-arrow { /* 번역 전 → 후 사이 틈에 흰 원 + 민트 화살표 */ position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); display: grid; place-items: center; pointer-events: none; } .compare-arrow svg { width: 13px; height: 13px; } .compare-arrow path { fill: none; stroke: #2fb3d4; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .compare-body { margin-top: 8px; } .compare-body img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; } /* ============ 기능 소개 3단 (그림 + 제목 + 설명) ============ */ .feat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 32px; } .feat3 figure { /* 칸마다 바깥 테두리 (각진 모서리) */ margin: 0; padding: 8px; /* 바깥선과 안쪽선 사이 간격 */ border: 1px solid var(--line); background: var(--panel); } .feat-text { /* 제목 + 설명: 안쪽 테두리 없이 그림 밑에 바로 */ margin-top: 8px; padding: 12px 6px 6px; } .feat-img, /* 그림 자리: 나중에 로 바꾸면 같은 크기로 들어감 */ .feat3 img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; } .feat-img { background: #f3f5f7; color: #b0b6c0; font-size: 13px; } /* 지금은 도안(SVG) 필러 */ .feat3 .feat-wide { grid-column: 1 / -1; } /* 3칸 밑 가로 전체 1칸 */ .feat3 .feat-wide .feat-img { aspect-ratio: auto; } /* 넣은 그림 원래 비율 그대로 (가로 1120 기준) */ .feat3 h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--text); } .feat3 p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); } @media (max-width: 720px) { .feat3 { grid-template-columns: 1fr; } } .compare figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); } /* ============ 그림 확대 팝업 ============ */ .shot img, .compare img { cursor: pointer; } .lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(15, 18, 24, 0.86); cursor: pointer; opacity: 0; transition: opacity 0.2s; } .lightbox.open { opacity: 1; } .lightbox[hidden] { display: none; } .lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4); transform: scale(0.97); transition: transform 0.2s; } .lightbox.open img { transform: scale(1); } html.no-scroll { overflow: hidden; } /* ============ 팁 · 주의 상자 ============ */ .callout { max-width: var(--text-w); margin: 0 0 24px; padding: 14px 18px; border-left: 3px solid var(--accent-base); background: var(--accent-soft); border-radius: 0 4px 4px 0; } .callout p { margin: 0; } .callout ul { margin: 4px 0 0; padding-left: 18px; } /* 팁 상자 안 점 목록 */ .callout li + li { margin-top: 4px; } .callout .try-lead { color: var(--muted); } .callout .term { font-weight: 600; color: var(--text); } /* 따라해보기 속 예시 단어: 약간 더 진하게 */ .callout p.josa-note { margin-top: 12px; padding: 8px 12px; border-radius: 6px; background: var(--panel); } /* 조사 자동 설명: 흰 칸 안에 */ .callout .josa-name { color: #E8789E; font-weight: 700; } /* 조사 자동: 핑크 강조 */ .callout ul.try-steps { list-style: none; padding-left: 0; margin-top: 8px; } /* 따라해보기: A B C D 글자 머리표 */ .callout ul.try-steps li { position: relative; padding-left: 28px; } .callout ul.try-steps li + li { margin-top: 6px; } .callout .step-key { position: absolute; left: 0; top: 0; width: 20px; color: var(--accent); font-weight: 700; text-align: center; } .callout .step-key.check { font-size: 1.3em; line-height: 1.2; top: -1px; } /* 마지막 체크는 크게 */ .callout p:not(.callout-title) + p { margin-top: 6px; } /* 팁 상자 안 문단 사이 */ .callout .ai-kind { margin-top: 4px; font-weight: 600; } .callout .ai-kind .ai-list { font-weight: 400; } .prompt .prompt-note { color: var(--accent); } /* 프롬프트 안 '직접 채울 부분' 안내 */ /* 괄호 속 예시는 평체 */ .callout .prompt + .ai-kind { margin-top: 18px; } /* 두 번째 AI 종류는 위 프롬프트와 띄움 */ /* 프롬프트 상자 안 AI 종류 소제목 */ .callout .ai-kind + p.ai-hint { margin-top: 0; font-size: 13px; } /* AI 종류 바로 밑, 작게 붙여서 */ .callout .callout-title { margin-bottom: 2px; font-size: 14px; font-weight: 700; color: var(--accent); } .callout.warn { border-left-color: var(--warn); background: var(--warn-soft); } .callout.warn .callout-title { color: var(--warn); } .callout.important { border-left-color: #FF9FB9; background: rgba(255, 159, 185, 0.07); } /* 핑크 중요 상자 (일괄 편집 등) */ .callout.important .callout-title { color: #E8789E; font-size: 16px; margin-bottom: 4px; } .callout .weight-sample { /* [ ] 굵기 전환 예시: 가는 글자 → 굵은 글자 */ display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 440px; margin: 10px auto 12px; /* 팁 상자 가운데 */ padding: 12px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--text); font-size: 26px; line-height: 1.2; } .callout .weight-sample .ws-key { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; } .callout .weight-sample { align-items: stretch; } /* 칸 높이를 맞춰 위 글씨 줄을 같은 높이에 */ .callout .weight-sample .ws-item { display: inline-flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2px; } .callout .weight-sample .ws-item kbd { margin-bottom: 5px; } /* 키는 '사탕' 글자 높이 가운데쯤 */ .callout .weight-sample .ws-item small { display: flex; align-items: flex-end; height: 16px; line-height: 1; } /* 위 글씨 줄: 크기가 달라도 아랫선을 맞춤 */ .callout .weight-sample .ws-item small { font-size: 11px; font-weight: 400; line-height: 1.2; color: var(--muted); } /* 굵기 이름: 굵기 적용 안 함 */ .callout .weight-sample .ws-item small { color: #1f242c; } /* 가늘게·굵게: Black 이름과 같은 색 */ .callout .weight-sample .ws-item small:not(.wname) { font-size: 11px; color: var(--accent); font-weight: 500; } /* 가늘게·굵게만 조금 크게, 민트 */ /* Thin → Black: 굵어질수록 진한 회색 */ .callout .weight-sample .ws-item small.w1 { color: #b4bac4; } .callout .weight-sample .ws-item small.w2 { color: #8a919c; } .callout .weight-sample .ws-item small.w3 { color: #555d6a; } .callout .weight-sample .ws-item small.w4 { color: #1f242c; } .callout .prompt { /* 복사해서 쓰는 프롬프트: 흰 칸에 줄바꿈 그대로 */ margin: 10px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--text); font-family: inherit; font-size: 14px; line-height: 1.7; white-space: pre-wrap; } /* ============ 단계 안내 ============ */ .steps { max-width: var(--text-w); margin: 0 0 24px; padding: 0; list-style: none; counter-reset: step; } .steps > li { position: relative; counter-increment: step; padding: 0 0 24px 48px; } .steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--accent); font-size: 14px; font-weight: 700; line-height: 28px; text-align: center; } .steps > li::after { /* 단계 사이를 잇는 세로선 */ content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--line); } .steps > li:last-child::after { display: none; } .steps.alpha > li::before { content: counter(step, upper-alpha); } /* A B C D 순서 (일괄 편집) */ .steps > li.finish::before { content: "✓"; border-color: #FF9FB9; color: #E8789E; font-size: 17px; } /* 마지막 마무리 단계: 핑크 체크 */ .steps strong { display: block; line-height: 30px; } .steps span { display: block; } .steps .pink-ul { display: inline; } .aside { font-style: normal; font-weight: 400; color: var(--muted); } /* 문장 뒤 회색 보충 (파일 이름 등) */ a.plain-link { color: inherit; text-decoration: none; } /* 색 없이 주변 글자색 그대로인 링크 */ .star { color: #FF9FB9; font-family: "Arial Black", Arial, sans-serif; font-weight: 900; font-size: 1.25em; line-height: 0; } /* 중요 문장 앞 핑크 *: Pretendard는 다리 6개라 5개짜리 글꼴로 */ .pink-line { /* 중요 문장 밑줄: 형광펜이 아닌 같은 핑크 선 */ text-decoration: underline; text-decoration-color: #FF9FB9; text-decoration-thickness: 2px; text-underline-offset: 4px; } .btn-shot { display: inline-block; width: 22px; height: 22px; vertical-align: -6px; } /* 문장 속 앱 버튼 그림 (글자 높이에 맞춤) */ .mini-link { margin-left: 2px; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; } /* 문장 옆 작은 링크 (가입 등) */ .mono { font-family: Consolas, "Cascadia Mono", Menlo, monospace; font-size: 0.92em; } /* 파일 이름용 고정폭 글꼴 */ /* 단계 안 형광펜은 줄바꿈 없이 글자에만 */ .steps.plain strong { font-weight: 500; } /* 단계 제목을 볼드와 평체 사이 중간 굵기로 (TXT 따라해보기) */ .half-gap { display: block; margin-top: 0.8em; margin-top: 0.5lh; } /* 설명 안에서 반 줄 띄우기 */ .file-name, .ui-name { color: var(--accent); font-weight: inherit; } /* 파일·모드·버튼 이름: 민트 글자로 구분 */ .ui-name.semi { font-weight: 500; } /* 평체 문장 안에서 한 단계만 굵게 */ .steps .shot { margin: 12px 0 0; } /* 기본 사용법: 왼쪽 번호 설명 + 오른쪽 스크린샷(잘라 낸 세로 그림이라 좁게) */ .usage { display: grid; grid-template-columns: minmax(0, 1fr) 283px; gap: 36px; align-items: start; margin: 56px 0 32px; } .usage h3 { margin-top: 0; } /* 소제목 윗선 = 그림 윗선 (위 간격은 .usage가 대신 가짐) */ .usage .steps { margin: 0; } .usage-shot { display: block; width: 100%; border: 1px solid var(--line); border-radius: 6px 0 0 6px; margin-bottom: -40px; } /* 오른쪽은 잘린 화면이라 직각 */ /* 아래 여백으로 살짝 내려가도 다음 소제목을 밀지 않게 */ /* 설명 오른쪽에 작은 앱 화면 (일괄 편집 메뉴 등) */ .side-shot { display: flex; align-items: flex-start; gap: 40px; margin-bottom: 28px; } /* 그림 윗선 = 대제목 윗선 (장 번호는 위에 따로) */ .side-shot-text { flex: 1 1 auto; min-width: 0; } .side-shot .prose p:last-child { margin-bottom: 0; } .side-shot-img { flex: none; display: block; width: 220px; height: auto; border: 1px solid var(--line); border-radius: 6px; } @media (max-width: 760px) { .side-shot { flex-direction: column; align-items: flex-start; } } .usage-shot.shot-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; margin-bottom: 0; border-radius: 6px; } /* 그림 넣기 전 빈 자리 */ @media (max-width: 720px) { .usage { grid-template-columns: 1fr; } .usage-shot { max-width: 283px; margin-bottom: 0; } } /* ============ 표 · 키 ============ */ table { width: 100%; max-width: var(--text-w); margin: 0 0 24px; border-collapse: collapse; font-size: 15px; } th, td { padding: 12px 16px 12px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; } th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom-color: #d1d5db; } td:first-child { white-space: nowrap; color: var(--text); width: 1%; padding-right: 32px; } /* 작업 모드 표: 모드 이름은 민트, 꺼져 있는 모드는 아래에 작은 핑크 표시 */ .mode-table { table-layout: fixed; } .mode-table th:first-child { width: 230px; } /* 세 표의 설명 칸 시작 위치를 맞춤 */ .mode-table td:first-child { width: auto; color: var(--accent); font-weight: 500; } .callout table { margin: 10px 0 0; } /* 팁 상자 안 표: 위는 살짝 띄우고 아래 여백 없음 */ .callout .mode-table th:first-child { width: 140px; } /* 저사양 설정 도움말: 설정 이름 칸은 좁게 */ .callout tr:last-child td { border-bottom: none; } .callout table { background: var(--panel); border-radius: 6px; border-collapse: separate; border-spacing: 0; overflow: hidden; } /* 팁 상자 안 표: 헤더까지 통째로 흰 판 하나 */ .callout th, .callout td { padding-left: 12px; } /* 흰 판 안쪽 글자가 가장자리에 붙지 않게 */ .need-on { display: table; /* 이름 아래 한 줄, 글자 폭만큼 */ margin-top: 4px; color: #d9577c; /* 바탕 없이 핑크 글자만 */ font-size: 12px; font-weight: 500; line-height: 18px; } .need-on::before { content: "• "; } /* 앞에 점 (특수문자) */ kbd { display: inline-block; min-width: 22px; padding: 0 6px; border: 1px solid #d1d5db; border-bottom-width: 2px; border-radius: 4px; background: #f9fafb; color: var(--text); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 20px; text-align: center; } /* ============ 작성 예정 ============ */ .draft .ch-num, .draft h2, .draft h3 { color: var(--draft); } .draft-note { margin: 0; color: var(--draft); } /* ============ 바닥글 ============ */ .foot { border-top: 1px solid var(--line); padding: 36px var(--pad-x) 44px; text-align: center; } .foot-thanks { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-2); } /* ============ 우측: 목차 + 기능 소개 ============ */ .side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; min-width: 0; } .side-title { font-weight: 700; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); color: var(--text); } /* 목차: 기능 소개 칸을 뺀 남은 높이 전부, 자체 스크롤 */ .toc { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; border-bottom: 1px solid var(--line); background: var(--toc-bg); } .toc-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; /* 목차 끝까지 굴려도 본문이 따라 스크롤되지 않음 */ padding: 12px 0; } .toc ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; } .toc a { display: flex; gap: 10px; padding: 5px 20px; color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.5; text-decoration: none; } .toc a.lv-h3 { padding-left: 50px; font-size: 14px; font-weight: 400; color: var(--muted); } .toc a.is-draft { color: var(--draft); } .toc a:hover { color: var(--accent); text-decoration: none; } .toc a.active { font-weight: 700; } /* 글자 색은 그대로, 강조는 뒤의 네모가 담당 */ .toc-num { flex: none; width: 20px; color: var(--accent); font-size: 13px; font-weight: 700; line-height: 22px; font-variant-numeric: tabular-nums; } .toc a.is-draft .toc-num, .toc a.is-draft .toc-sub { color: var(--draft); } .toc-sub { /* 소제목 로마 숫자: 옆 글자와 같은 색, 좁게 */ flex: none; margin-right: -4px; /* a의 gap 10px → 6px (글자 하나의 약 40%) */ color: inherit; /* 옆 소제목 글자와 같은 색 */ opacity: 0.55; /* 옆 글자보다 연하게 */ font-size: 12px; font-weight: 700; line-height: 21px; } /* 강조 배경: 글자 뒤의 네모 레이어. 글자보다 살짝 늦게 부드럽게 따라옴 */ .toc-marker { position: absolute; left: 0; right: 0; top: 0; height: 0; background: #d7edf3; /* 불투명 단색 (투명도 없이 이 색 그대로) */ border-left: 3px solid var(--accent-base); pointer-events: none; z-index: 0; } .toc-marker.animate { transition: transform 0.5s cubic-bezier(0.22, 0.8, 0.24, 1) 0.08s, height 0.5s cubic-bezier(0.22, 0.8, 0.24, 1) 0.08s; } /* 기능 소개(광고) 섹션: 고정 크기 (제목 줄 + 400×300 영상 칸) */ .promo { flex: none; display: flex; flex-direction: column; overflow: hidden; } .promo-media { flex: none; height: var(--promo-h); display: flex; align-items: center; justify-content: center; background: #111; cursor: pointer; } .promo-media img, .promo-media video { width: 100%; height: 100%; object-fit: cover; display: block; } .promo-body { padding: 14px 18px 16px; } .promo-placeholder { flex: none; height: var(--promo-h); display: flex; align-items: center; justify-content: center; background: #f3f5f7; } /* [준비중]: 프레임 가운데 */ .promo-placeholder .promo-desc { margin: 0; } .promo-title { font-weight: 700; margin: 0 0 4px; color: var(--text); } .promo-desc { color: var(--muted); font-size: 14px; margin: 0 0 10px; line-height: 1.6; } .promo-actions { display: flex; gap: 8px; } .promo-actions button { font: inherit; font-size: 14px; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; } .promo-actions button.primary { background: linear-gradient(180deg, var(--accent-grad-start), var(--accent-grad-end)); border-color: var(--accent-base); color: #fff; } /* 목차 위 머리 줄: 아래 마감 줄과 같은 흰 칸 */ .toc-head { flex: none; height: 45px; display: flex; align-items: center; gap: 9px; padding: 0 20px; background: var(--panel); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--text); } /* 목차 아래 마감 줄: 기능 소개 대신 브랜드와 버전만 작게 */ .promo.side-foot { flex: none; background: var(--panel); } .side-square { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #f3f5f7; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; } /* 정사각형 영상 자리 (400×400, 제작은 800×800) */ .side-square video { width: 100%; height: 100%; object-fit: cover; display: block; } .side-foot-bar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 13px; } .side-foot-name { font-weight: 600; color: var(--text); } .side-foot-ver { color: var(--muted); } /* 우하단 라이선스 카드: 고정 높이, 영문 전용. 사용 모델 목록을 Hugging Face 모델 목록처럼 부각 */ .side-license { flex: none; height: 323px; display: flex; flex-direction: column; padding: 0 14px 12px; background: var(--panel); font-size: 13px; line-height: 1.5; color: var(--text-2); } .lic-head { flex: none; height: 45px; display: flex; align-items: center; justify-content: space-between; margin: 0 -14px 8px; padding: 0 14px; border-bottom: 1px solid var(--line); } /* 목차 위 머리 줄과 같은 45px 흰 줄 (예전 StoneCandy 브랜드 줄 자리) */ .lic-title { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--text); } .lic-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--muted); text-decoration: none; } /* 머리 줄 안의 메타 정보: 테두리 없이 아이콘 + 글자 */ .lic-tag svg { width: 14px; height: 14px; color: var(--accent); } .lic-tag b { margin-left: -1px; color: var(--text-2); font-weight: 600; } .lic-tag:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; } .lic-tag:hover b { color: var(--accent); } .lic-models { flex: 1 1 auto; min-height: 0; overflow-y: auto; list-style: none; margin: 0 -8px; padding: 0; } .lic-model { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; text-decoration: none; color: inherit; } .lic-model:hover { background: var(--accent-soft); } .lic-model-id { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; } .lic-org { color: var(--muted); } .lic-sep { margin: 0 1px; color: var(--muted); } /* 제작자 / 모델 사이 빗금 좌우 여백 */ .lic-name { color: var(--text-2); font-weight: 500; } .lic-model:hover .lic-name { color: var(--accent); } .lic-task { flex: none; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; background: #f9fafb; color: var(--muted); font-size: 10px; line-height: 14px; } .lic-nc { flex: none; padding: 0 5px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; line-height: 16px; } .lic-fine { flex: none; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; line-height: 1.55; } .lic-fine a { color: var(--text-2); } .lic-fine .lic-nc { display: inline-block; margin-right: 2px; vertical-align: 1px; } /* 우하단 맨 아래 배너 (라이선스 카드 아래) */ .side-banner { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; padding: 0 14px; background: var(--toc-bg); border-top: 1px solid var(--line); } .side-banner-mark { display: block; height: 15px; width: auto; opacity: .85; } /* 살짝 연하게 */ .side-banner-links { display: flex; align-items: center; gap: 6px; } .side-banner-links a { display: block; border-radius: 4px; overflow: hidden; transition: opacity .15s; } .side-banner-links a:hover { opacity: .8; } .side-banner-links img { display: block; height: 18px; width: auto; } .side-banner-nsfw { margin-right: 2px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: #EE85A8; } /* 히어로 R-18 배지와 같은 핑크, 테두리·바탕 없이 글자만 */ /* ============ 좁은 화면 ============ */ @media (max-width: 1000px) { :root { --pad-x: 16px; } .page { grid-template-columns: 1fr; box-shadow: none; } .manual { border: 0; } .side { position: static; height: auto; order: -1; } .toc { flex: none; max-height: 50vh; } .promo, .side-license, .side-banner { display: none; } .hero { grid-template-columns: 1fr; padding-top: 40px; } .hero-art { max-width: 240px; } .hero h1 { font-size: 32px; } } /* ============ Model Test: 데모 팝업 (manual.js) ============ */ .frame-pop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 19, 23, 0.72); } .frame-pop[hidden] { display: none; } .frame-pop-panel { display: flex; flex-direction: column; width: min(1100px, 100%); height: min(940px, 100%); overflow: hidden; background: var(--panel); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); } .frame-pop-bar { flex: none; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); } .frame-pop-new { margin-left: auto; font-size: 13px; color: var(--muted); text-decoration: none; } .frame-pop-new:hover { color: var(--accent); text-decoration: underline; } .frame-pop-close { border: 0; background: none; padding: 0 6px; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; } .frame-pop-close:hover { color: var(--accent); } .frame-pop iframe { flex: 1 1 auto; width: 100%; border: 0; background: var(--panel); } /* 그림 아래 짧은 캡션: 가운데, 연회색 알약(pill) 안에 가는 글씨 */ .shot figcaption.shot-cap { display: flex; align-items: center; justify-content: center; gap: 5px; width: fit-content; margin: 12px auto 0; padding: 1px 12px; border-radius: 999px; background: #f1f3f5; border: 1px solid #d4d8de; white-space: nowrap; font-size: 13px; font-weight: 300; line-height: 1.6; color: #374151; } .shot-cap i { font-style: normal; font-size: 8px; color: #9ca3af; } .shot-cap i.dot { font-size: 7.5px; color: var(--accent-base); opacity: 0.55; } /* 캡션 앞 ▲: 민트, 튀지 않게 반투명 */ /* 그림 세 칸 나란히 (같은 크기, 같은 간격) */ .shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--text-w); margin: 0 0 32px; } .shot-row .shot { margin: 0; } .shot-row .shot img { width: 100%; height: auto; } @media (max-width: 720px) { .shot-row { grid-template-columns: 1fr; } } /* 목차 · Models used 앞 2×2 타일 기호 */ .tile4 { flex: none; display: inline-grid; grid-template-columns: var(--tile, 5px) var(--tile, 5px); grid-template-rows: var(--tile, 5px) var(--tile, 5px); gap: var(--tile-gap, 1px); } /* 칸·틈을 화면 픽셀 정수로 맞춤(manual.js): 확대·축소해도 위아래 간격이 같게 */ .tile4 i { background: var(--accent); opacity: .4; } /* 연한 칸 3개 */ .tile4 i:first-child { opacity: .85; } /* 좌상 한 칸만 진하게 */ /* About: (NSFW) 표시 - 배너 R-18과 같은 핑크 */ .nsfw-note { font-size: .85em; color: #EE85A8; font-weight: 600; } /* 회색 보충 줄 안의 항목 이름(과거 모딩 이력: · 활동 ID:)만 작게 */ .aside-label { font-size: .85em; font-weight: 600; } /* About 우측 하단 구석의 미쿠 그림 (흰 배경은 multiply로 지움) */ .chapter-about { position: relative; } .about-miku { position: absolute; right: 34px; bottom: 29px; width: 213px; height: auto; mix-blend-mode: multiply; pointer-events: none; } @media (max-width: 720px) { .about-miku { display: none; } } .chapter-about .prose ul.tip-list li { margin-bottom: 12px; } /* About 항목 사이: 팁(16px)보다 살짝 좁게 */