/* ===== 글꼴: 프로젝트 안에 포함된 Pretendard (SIL OFL) ===== */
@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2');
}

/* ===== 색: 흰색·쿨그레이 바탕 + 분위기(테마)별 포인트 색 ===== */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5b6273;
  --line: #e4e7ee;
  --line-strong: #cfd5e0;
  --focus: #1d4ed8;
  --danger: #b42318;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
  /* 테마 (기본: 민트) */
  --accent: #0fa595;
  --accent-strong: #0f766e;
  --accent-soft: #ccfbf1;
  --accent-softer: #f0fdfa;
  --focus: #0f766e;
}
[data-theme='blossom'] { --accent: #ec4899; --accent-strong: #be185d; --accent-soft: #fce7f3; --accent-softer: #fdf2f8; --focus: #be185d; }
[data-theme='sky'] { --accent: #3b82f6; --accent-strong: #1d4ed8; --accent-soft: #dbeafe; --accent-softer: #eff6ff; --focus: #1d4ed8; }
[data-theme='mint'] { --accent: #14b8a6; --accent-strong: #0f766e; --accent-soft: #ccfbf1; --accent-softer: #f0fdfa; --focus: #0f766e; }
[data-theme='christmas'] { --accent: #d32f2f; --accent-strong: #b71c1c; --accent-soft: #e8f5e9; --accent-softer: #f3faf4; --focus: #1b5e20; }
[data-theme='lavender'] { --accent: #8b5cf6; --accent-strong: #6d28d9; --accent-soft: #ede9fe; --accent-softer: #f5f3ff; --focus: #6d28d9; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 160px; }
body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 12px 14px; min-height: 44px; z-index: 10; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* ===== 영어: 단어 단위 줄바꿈 ===== */
:lang(en) body { word-break: normal; overflow-wrap: anywhere; }

/* ===== 머리말 ===== */
.site-header {
  position: sticky; top: 0; z-index: 5;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; text-decoration: none; min-height: 44px; letter-spacing: -.01em; }
.logo img { width: 28px; height: 28px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.lang-globe { width: 18px; height: 18px; flex: none; }
.lang-options {
  position: relative; display: inline-flex; padding: 3px; gap: 2px;
  background: #eef0f5; border-radius: 999px; box-shadow: inset 0 1px 2px rgba(16, 24, 40, .06);
}
.lang-options a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 36px; padding: 4px 14px;
  border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: -.01em;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.lang-options a:hover { color: var(--text); }
.lang-options a[aria-current='true'] { background: #fff; color: var(--accent-strong); box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 2px 8px rgba(16, 24, 40, .08); }
.lang-options a:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.lang-short { display: none; }
@media (max-width: 479px) {
  /* 휴대폰: 짧은 표기(KO·EN)로 한 줄에 */
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .lang-options a { min-width: 44px; padding: 4px 10px; }
  .lang-globe { display: none; }
}

main { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ===== 소개 ===== */
.intro { padding: 28px 0 4px; }
.intro h1 { font-size: 28px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.02em; }
.lead { margin: 0 0 14px; color: var(--muted); }
.privacy-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px;
  background: #ecfdf3; color: #05603a; border: 1px solid #abefc6;
  border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4;
}

/* ===== 만들기 영역 ===== */
.maker { display: grid; gap: 24px; margin-top: 20px; }
.maker-form { display: grid; gap: 14px; counter-reset: step; }
.field {
  margin: 0; padding: 20px 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.field > :not(legend) { clear: both; }
.step {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 9px; background: var(--accent-soft); color: var(--accent-strong); font-size: 14px;
}
.step::before { counter-increment: step; content: counter(step); }
.optional { color: var(--muted); font-weight: 400; font-size: 15px; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.hint-error { color: var(--danger); font-weight: 700; }
.hint-ok { color: #05603a; font-weight: 700; }
.hint-ok:empty { display: none; }
.opt-label { display: block; margin: 18px 0 8px; font-weight: 700; font-size: 15px; color: var(--muted); }

input[type='text'], input[type='number'], input[type='date'], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--text);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* ===== 고르는 카드 공통 (실제로는 라디오 버튼 → 탭·키보드로 선택) ===== */
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.goal-card, .type-card, .theme-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px; text-align: center; cursor: pointer; line-height: 1.3;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  transition: border-color .15s, background-color .15s, transform .1s;
}
.goal-card:hover, .type-card:hover, .theme-card:hover { border-color: var(--line-strong); }
.goal-card:active, .type-card:active, .theme-card:active { transform: scale(.98); }
.goal-card input, .type-card input, .theme-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.goal-card:has(input:checked), .type-card:has(input:checked), .theme-card:has(input:checked) {
  background: var(--accent-softer); border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent) inset;
}
.goal-card:has(input:focus-visible), .type-card:has(input:focus-visible), .theme-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.goal-card { min-height: 100px; font-size: 15px; }
.goal-card img { width: 42px; height: 42px; pointer-events: none; }
.goal-name { font-weight: 700; }
.char-grid { grid-template-columns: repeat(4, 1fr); }
.char-card { min-height: 98px; }
.char-card img { width: 54px; height: 54px; }
.custom-goal, .custom-count { margin-top: 14px; }
.write-type { margin-top: 4px; }
.custom-goal label, .custom-count label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.custom-count input { max-width: 160px; }

/* 판 모양 */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-card { min-height: 112px; color: var(--muted); }
.type-card svg { width: 40px; height: 40px; pointer-events: none; }
.type-card:has(input:checked) { color: var(--accent-strong); }
.type-name { font-weight: 700; font-size: 15px; color: var(--text); }
.type-desc { font-size: 12px; color: var(--muted); }

/* 분위기 */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.theme-card { min-height: 84px; font-weight: 700; font-size: 14px; padding: 12px 2px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.swatch-sky { background: linear-gradient(135deg, #93c5fd, #3b82f6); }
.swatch-blossom { background: linear-gradient(135deg, #f9a8d4, #ec4899); }
.swatch-mint { background: linear-gradient(135deg, #7dd3c7, #14b8a6); }
.swatch-lavender { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); }
.swatch-christmas { background: linear-gradient(135deg, #b3261e 0 50%, #1f4d36 50% 100%); box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e3c27a; }

/* 세그먼트 버튼 (칸 수·기간·색상) */
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented label { flex: 1 1 0; position: relative; min-width: 76px; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented label > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 8px 10px; text-align: center; line-height: 1.25;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 700;
  transition: border-color .15s, background-color .15s;
}
.segmented small { font-size: 12px; font-weight: 400; color: var(--muted); }
.segmented input:checked + span { background: var(--accent-softer); border-color: var(--accent); color: var(--accent-strong); box-shadow: 0 0 0 1.5px var(--accent) inset; }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* 저장 체크 */

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 20px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border-radius: 14px; border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { filter: brightness(.95); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--accent-softer); border-color: var(--accent); }
.btn-text { background: transparent; color: var(--muted); text-decoration: underline; padding: 12px 8px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ===== 미리보기 ===== */
.preview { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.preview h2 { margin: 0 0 12px; font-size: 18px; }
.canvas-wrap { padding: 14px; background: var(--accent-softer); border-radius: 16px; transition: background-color .2s; }
.canvas-wrap canvas { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 1754; background: #fff; border-radius: 6px; box-shadow: 0 2px 6px rgba(16, 24, 40, .08), 0 12px 32px rgba(16, 24, 40, .10); }
.preview-desc { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.actions { display: grid; gap: 8px; margin-top: 16px; }

/* 인증서 탭 안내 · 완성 · 처음부터 */
.cert-note { margin: 0; padding: 14px 16px; background: var(--accent-softer); border: 1.5px solid var(--accent-soft); border-radius: 16px; font-weight: 700; }
.done-box { margin-top: 16px; padding: 18px; background: var(--accent-softer); border-radius: 16px; text-align: center; }
.done-box p { margin: 0 0 8px; }
.done-title { font-weight: 700; font-size: 19px; }
.reset-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.reset-row .hint { margin: 0; }
.reset-row .hint:empty { display: none; }

/* 인증서 탭: 칭찬판 내용 요약 */
.sync-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px; background: var(--accent-softer); border: 1.5px solid var(--accent-soft); border-radius: var(--radius);
}
.sync-title { margin: 0; font-weight: 700; }
.sync-summary { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.shared-fields { display: grid; gap: 14px; }
.shared-hint { margin: 0; }

/* 크리스마스 분위기: 차분하게 (미리보기 배경만 짙은 초록, 제목 옆 인사) */
[data-theme='christmas'] .canvas-wrap { background: #1f4d36; }
[data-theme='christmas'] .preview h2::after { content: ' · 메리 크리스마스!'; color: #b3261e; }
[data-theme='christmas']:lang(en) .preview h2::after { content: ' · Merry Christmas!'; }

/* ===== 탭: 칭찬판 / 인증서 ===== */
.tabs {
  position: sticky; top: 65px; z-index: 4;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin: 20px 0 0; padding: 6px;
  background: #eceff5; border-radius: 18px;
}
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 10px 12px;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--muted);
  background: transparent; border: 0; border-radius: 14px; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.tab svg { width: 22px; height: 22px; }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { background: #fff; color: var(--accent-strong); box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .08); }

/* ===== 꼬리말 ===== */
.site-footer { margin-top: 56px; padding: 32px 16px 44px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.site-footer p { margin: 4px 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin: 8px 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* ===== 넓은 화면 ===== */
@media (min-width: 480px) {
  .goal-grid { grid-template-columns: repeat(4, 1fr); }
  .type-grid { grid-template-columns: repeat(5, 1fr); }
  .theme-grid { grid-template-columns: repeat(5, 1fr); }
  .actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .intro h1 { font-size: 34px; }
  .maker { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: start; gap: 28px; }
  .preview { position: sticky; top: 150px; }
  .actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ===== 한 줄 소개 · 도움말 · 글자 수 ===== */
.tagline { margin: 0; color: var(--muted); font-size: 16px; letter-spacing: .01em; }
.help-btn {
  display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: auto; flex: none;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
}
.help-btn::after { content: ''; position: absolute; inset: -10px; }
.help-btn { position: relative; }
.help-btn:hover, .help-btn[aria-expanded='true'] { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-softer); }
.field:not(:focus-within) .counter { display: none; }
.footer-note { font-size: 13px; color: var(--muted); margin: 8px 0 0 !important; }

/* ===== 장점 배지 · 크리스마스 배너 ===== */
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.chips li { padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--accent-strong); }
.xmas-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 0; padding: 14px 16px;
  background: #1f4d36; color: #fff; border-radius: var(--radius);
}
.xmas-banner[hidden] { display: none; }
.xmas-banner img { width: 56px; height: 56px; flex: none; }
.xmas-text { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.xmas-text strong { font-size: 18px; }
.xmas-text > span { font-size: 14px; opacity: .9; }
.xmas-banner .btn-primary { background: #d32f2f; }

/* ===== 안내 글·정보 페이지 ===== */
.crumb { display: flex; gap: 8px; align-items: center; padding-top: 18px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.h1-icon { width: 44px; height: 44px; vertical-align: -8px; margin-right: 10px; }
.doc { max-width: 760px; margin: 32px auto 0; padding: 28px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.doc h1 { font-size: 28px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.02em; }
.doc h2 { font-size: 20px; margin: 28px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li, .doc dd { color: #3b4252; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc-lead { font-size: 18px; color: var(--muted) !important; margin: 0 0 8px; }
.doc-cta { margin-top: 28px; }
.guide-article { max-width: none; }
.doc > h2:first-child { margin-top: 0; }
.phrase-list { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.phrase-list li { margin: 0; padding: 12px 16px; background: var(--accent-softer); border-radius: 14px; font-weight: 700; color: var(--text); }
.phrase-list li::before { content: '“'; color: var(--accent); font-size: 22px; line-height: 0; margin-right: 6px; vertical-align: -6px; }
.board-fit { margin-top: 18px; padding: 12px 16px; border: 1.5px dashed var(--accent-soft); border-radius: 14px; }
.goal-links { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.goal-links li { margin: 0; }
.goal-links a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 700; }
.goal-links a:hover { border-color: var(--accent); background: var(--accent-softer); }
.faq dt { font-weight: 700; margin-top: 16px; }
.faq dd { margin: 4px 0 0; }
.contact-mail { font-size: 18px; padding: 14px 16px; background: var(--accent-softer); border-radius: 14px; }
.notfound { max-width: 560px; margin: 60px auto; padding: 0 16px; text-align: center; }
@media (min-width: 720px) { .goal-links { grid-template-columns: repeat(3, 1fr); } .doc { padding: 36px 40px; } }

/* ===== 꼬리말 링크 모음 ===== */
.footer-cols { max-width: 1120px; margin: 0 auto 20px; display: grid; gap: 24px; text-align: left; }
.footer-h { font-size: 15px; margin: 0 0 10px; color: var(--text); }
.footer-goals, .footer-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px 16px; }
.footer-goals { grid-template-columns: repeat(2, 1fr); }
.footer-goals a, .footer-info a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-goals a:hover, .footer-info a:hover { color: var(--text); text-decoration: underline; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: 2fr 1fr; } .footer-goals { grid-template-columns: repeat(3, 1fr); } }

/* ===== 휴대폰 하단 고정 버튼 ===== */
.mobile-cta { display: none; }
@media (max-width: 959px) {
  .mobile-cta:not([hidden]) {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 6;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 12px;
    background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 8px 28px rgba(16, 24, 40, .18);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    animation: cta-in .25s ease-out;
  }
  .mini-preview { width: 40px; height: 57px; flex: none; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(16, 24, 40, .12); }
  .mobile-cta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
  .mobile-cta-text strong { font-size: 15px; color: var(--text); }
  .mobile-cta-text > span { font-size: 13px; color: var(--muted); }
  .mobile-cta .btn { min-height: 46px; padding: 8px 18px; }
  body { padding-bottom: 96px; }
}
@keyframes cta-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mobile-cta { animation: none !important; } }

/* ===== 인쇄: 미리보기 그림만 A4 한 장으로 ===== */
#print-area { display: none; }
@page { size: A4 portrait; margin: 0; }
@media print {
  .screen-only, .mobile-cta { display: none !important; }
  html, body { background: #fff; margin: 0; padding: 0; }
  #print-area { display: block; width: 210mm; height: 296mm; overflow: hidden; break-after: avoid; }
  #print-area img { display: block; width: 210mm; height: 296mm; object-fit: contain; }
}
