/* =========================================================
   모야모야(MOYAMOYA) — 디자인
   콘셉트: 미니멀 여행 매거진 (Instagram Editorial)
   - 따뜻한 아이보리 바탕, 차분한 블루·세이지·샌드 포인트
   - 카드 안에 카드를 겹치지 않고, 가는 구분선과 여백으로 정보를 나눔
   - 사진 없이 글자만으로 완성되는 표지
   ========================================================= */
:root {
  /* 색상 (요청 팔레트) */
  --bg: #faf9f6;          /* 따뜻한 아이보리 */
  --surface: #ffffff;
  --text: #242424;
  --muted: #656565;       /* 작은 글씨용: #777777은 아이보리 위 대비 4.25:1이라 한 단계 진하게 (모든 배경 4.8:1 이상) */
  --muted-soft: #777777;  /* 요청 보조 텍스트색. 큰 글씨·장식에만 사용 */
  --accent: #547aa5;      /* 차분한 블루 (장식·테두리) */
  --accent-ink: #46698f;  /* 버튼 배경·작은 파란 글씨용: 흰 글씨 대비 5.4:1 */
  --accent-soft: #eef2f7;
  --sage: #a8b9a5;
  --sage-ink: #4f6a4b;    /* 세이지 계열 글씨용 */
  --sage-soft: #eef2ec;
  --sand: #f1eae0;
  --line: #eae7e2;
  --line-strong: #d9d3c9;
  --ref-bg: #f3f1ec;      /* 참고 여행지 */
  --warn-bg: #f7efe1;     /* 주의·운항 확인 */
  --warn-text: #74511a;
  --fail-bg: #f7eae7;     /* 조건 불일치 */
  --fail-text: #873a31;

  /* 글꼴: 내려받지 않고 기기에 있는 글꼴 사용 */
  --sans: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;

  /* 모양 */
  --radius: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

p, ul, ol, h1, h2, h3, h4, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  min-height: calc(100vh - 60px);
}

.screen[hidden] { display: none; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 작은 영문 레이블 */
.eyebrow,
.match-label,
.sec-en {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- 버튼 ---------- */
.btn {
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }

.btn:disabled { background: #e4e0d9; color: #8a857c; border-color: #e4e0d9; cursor: not-allowed; }
.btn-ghost:disabled { background: transparent; color: #a19b91; border-color: var(--line); }

.btn:active:not(:disabled) { transform: scale(0.98); }

@media (hover: hover) {
  .btn-accent:not(:disabled):hover { background: #3c5c80; }
  .btn-ghost:not(:disabled):hover { border-color: var(--accent); }
  .option:hover { border-color: var(--accent); }
}

.btn:focus-visible,
.option:focus-visible,
.cost-details summary:focus-visible,
.result-title:focus-visible,
.question:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================
   시작 화면 — 매거진 표지
   ========================================================= */
.screen-start { padding-top: 8px; }

.cover-title {
  margin-top: 14px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cover-lead {
  margin-top: 12px;
  font-size: 17px;
  color: var(--muted);
}

.cover-visual {
  position: relative;
  margin: 28px 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

/* 표지 그림: 해·언덕·바다를 단순한 도형으로 */
.cover-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f7f2ea 0%, var(--sand) 62%);
}

.art-sun {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  right: 14%;
  top: 14%;
  border-radius: 50%;
  background: #efd9bd;
}

.art-hill {
  position: absolute;
  bottom: 26%;
  border-radius: 50% 50% 0 0;
}

.art-hill-1 { left: -12%; width: 70%; height: 34%; background: var(--sage); }
.art-hill-2 { right: -16%; width: 64%; height: 26%; background: #c6d2c3; }

.art-sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background:
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(255, 255, 255, 0.18) 14px 15px),
    var(--accent-ink);
}

.art-issue {
  position: absolute;
  left: 18px;
  bottom: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
}

.cover-meta {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.btn-start {
  width: 100%;
  max-width: 360px;
  margin-top: 16px;
  font-size: 17px;
}

.cover-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
   질문 화면
   ========================================================= */
.screen-quiz { padding-top: 4px; }

.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.progress-text {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.question-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-ink);
}

.progress {
  height: 3px;
  margin: 12px 0 32px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent-ink);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.question {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  outline: none;
}

.hint {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.option {
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16.5px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option:active { background: var(--accent-soft); }

.option-mark {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border: 1.5px solid #cfc9bf;
  border-radius: 50%;
  background: var(--surface);
}

.option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.option.is-selected .option-mark {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
}

/* 선택 표시: 체크 모양 (색만으로 구별하지 않음) */
.option.is-selected .option-mark::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.question-body.is-entering { animation: q-in 0.2s ease-out; }

@keyframes q-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.quiz-nav {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.quiz-nav .btn { width: 100%; }

/* =========================================================
   결과 화면
   ========================================================= */
.result-head { margin-bottom: 24px; }

.result-title {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
  outline: none;
}

.cond-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cond-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 14px;
  color: var(--text);
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- 1위: Featured Destination ---------- */
.card-top { overflow: hidden; overflow: clip; } /* clip: PC에서 표지가 스크롤을 따라오도록(sticky) */

/* 글자 중심 표지 */
.top-head {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--sand);
}


.top-head .name-en {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 10vw, 46px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.top-name {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.top-country {
  font-size: 15px;
  color: var(--muted);
}

.top-intro {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #3a3a3a;
}

.card-body { padding: 4px 24px 24px; }

/* ---------- 섹션 (카드 안 카드 대신 구분선) ---------- */
.sec {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.card-top .sec:first-child { border-top: 0; }

.sec-title {
  margin: 6px 0 12px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.reasons li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.reasons li + li { margin-top: 10px; }

.ico-check {
  flex: none;
  margin-top: 4px;
  color: var(--sage-ink);
}

.season-months {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.season-desc {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.65;
}

.season-caution {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 예상 경비 ---------- */
.cost-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  vertical-align: 2px;
}

.cost-amount {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cost-basis-line {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.cost-days {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

.route {
  margin-top: 16px;
}

.route-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.route-type {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-ink);
  font-size: 13px;
  font-weight: 700;
}

.route-type-soft,
.route-check {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.route-check {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.route-time {
  font-size: 15px;
  font-weight: 600;
}

.route-legs {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.route-note {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cost-details { margin-top: 14px; }

.cost-details summary {
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-right: 6px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}

.cost-details summary::-webkit-details-marker { display: none; }

.cost-details summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border: solid currentColor;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.cost-details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.cost-parts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.cost-parts li span:last-child { font-weight: 600; white-space: nowrap; }

.cost-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.cost-note strong { color: var(--warn-text); font-weight: 600; }

/* ---------- 주의·조건 불일치 ---------- */
.card-note,
.card-fail {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.6;
}

.card-note { background: var(--warn-bg); color: var(--warn-text); }
.card-note li + li { margin-top: 4px; }

.card-fail { margin-bottom: 16px; background: var(--fail-bg); color: var(--fail-text); }
.fail-label { font-weight: 700; margin-bottom: 2px; }
.fail-key { font-weight: 700; }

/* ---------- 2·3위 ---------- */
.runner-up {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-small { padding: 22px 22px 6px; }

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.rank {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
}

.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text);
}

.rank-3 { background: var(--sage-soft); }

.card-title { min-width: 0; }

.card-title .name-en {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-name {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.card-country { font-size: 14.5px; color: var(--muted); }

.card-intro {
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.65;
  color: #3a3a3a;
}

.card-small .sec:first-of-type { margin-top: 14px; }
.card-small .card-note { margin-bottom: 16px; }

/* ---------- 참고 여행지 ---------- */
.alt { margin-top: 12px; }

.nearby-head h3 {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.4;
}

.nearby-head p:last-child {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.alt-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.card-nearby {
  background: var(--ref-bg);
  border: 1px dashed var(--line-strong);
}

.card-nearby .match-label { color: var(--muted); }

.rank-ref {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  background: #e7e3dc;
  color: #5b5750;
}

/* ---------- MY TRAVEL LIST ---------- */
.share {
  margin-top: 32px;
  padding: 26px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.share-title {
  margin-top: 6px;
  font-size: 20px;
}

.share-list { margin-top: 14px; }

.share-list li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.share-num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent-ink);
  min-width: 28px;
}

.share-ref {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #5b5750;
}

.share-country { font-size: 14.5px; color: var(--muted); }
.share-empty { color: var(--muted); font-size: 15px !important; }

.result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.result-actions .btn { width: 100%; }

.copy-status {
  min-height: 1.6em;
  margin-top: 10px;
  font-size: 14px;
  color: var(--sage-ink);
  text-align: center;
}

.copy-status.is-error { color: var(--fail-text); }

.disclaimer {
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.disclaimer p + p { margin-top: 6px; }

/* ---------- 사이트 상단 브랜드 (모야모야) ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 20px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
}

.brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.brand-ko {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-en {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.brand-slogan {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.site-header + .container { padding-top: 18px; }
.site-header.site-header-doc { max-width: 680px; }

.footer-brand { color: var(--text); font-weight: 600; }

.footer {
  padding: 24px 20px 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer p { margin: 6px 0 0; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}

.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* =========================================================
   안내 페이지 (사이트 소개·개인정보처리방침·이용약관·문의·404)
   ========================================================= */
.container.doc { max-width: 680px; }

.doc-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.doc-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.doc h1 {
  margin: 14px 0 6px;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.doc .doc-meta {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.doc h2 {
  margin: 32px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.45;
}

.doc h3 { margin: 18px 0 6px; font-size: 16.5px; }

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}

.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 4px; }

.doc a { color: var(--accent-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }

.doc table {
  width: 100%;
  margin: 4px 0 14px;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.doc th { width: 34%; background: var(--surface); font-weight: 600; }
.doc td { background: var(--surface); }

.doc-box {
  margin: 0 0 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.doc-box p:last-child { margin-bottom: 0; }

.doc .btn { margin-top: 8px; text-decoration: none; }

/* =========================================================
   작은 화면 (360px 안팎)
   ========================================================= */
@media (max-width: 374px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .site-header { padding-left: 16px; padding-right: 16px; }
  .cover-title { font-size: 28px; }
  .question { font-size: 21px; }
  .option { font-size: 16px; padding: 14px 16px; }
  .result-title { font-size: 25px; }
  .top-head { padding: 24px 20px 22px; }
  .card-body { padding: 4px 20px 20px; }
  .card-small { padding: 20px 18px 4px; }
  .cost-amount { font-size: 24px; }
  .rank { width: 56px; height: 56px; }
}

/* =========================================================
   태블릿 (768px~)
   ========================================================= */
@media (min-width: 768px) {
  .container { max-width: 640px; padding-top: 48px; }
  .site-header { max-width: 640px; }
  .site-header + .container { padding-top: 32px; }
  .result-actions { grid-template-columns: 1fr 1fr; }
  .result-actions .btn-accent { grid-column: 1 / -1; }
  .result-actions:has(#btn-share:not([hidden])) .btn-accent { grid-column: auto; }
}

/* =========================================================
   PC (1024px~): 가운데 정렬 매거진 레이아웃
   ========================================================= */
@media (min-width: 1024px) {
  .container { max-width: 1040px; padding: 64px 32px 56px; }
  .site-header { max-width: 1040px; padding: 16px 32px 0; }
  .site-header.site-header-doc { max-width: 680px; }
  .site-header + .container { padding-top: 44px; }

  /* 시작 화면: 왼쪽 글, 오른쪽 표지 그림 */
  .screen-start:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas:
      ".       visual"
      "eyebrow visual"
      "title   visual"
      "lead    visual"
      "meta    visual"
      "button  visual"
      "note    visual"
      ".       visual";
    grid-template-rows: 1fr auto auto auto auto auto auto 1fr;
    column-gap: 56px;
    align-items: start;
  }
  .screen-start .eyebrow { grid-area: eyebrow; }
  .cover-title { grid-area: title; font-size: 44px; }
  .cover-lead { grid-area: lead; font-size: 19px; }
  .cover-visual { grid-area: visual; margin: 0; aspect-ratio: 4 / 5; }
  .cover-meta { grid-area: meta; margin-top: 36px; }
  .btn-start { grid-area: button; }
  .cover-note { grid-area: note; }

  /* 질문 화면은 읽기 편한 폭으로 */
  .screen-quiz { max-width: 640px; margin: 0 auto; }

  /* 결과: 1위는 표지와 본문 2열 */
  .result-head { max-width: 720px; }
  .card-top {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .top-cover { background: var(--sand); }
  .top-head { padding: 40px 36px; position: sticky; top: 24px; }
  .card-body { padding: 8px 36px 32px; }

  /* 2·3위, 참고 여행지는 나란히 */
  .runner-up,
  .alt-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .share,
  .disclaimer { max-width: 720px; margin-left: auto; margin-right: auto; }
}

/* 움직임 줄이기 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   [2026-11 추가] 아래부터는 추가만 했습니다. 위의 기존 규칙은 바꾸지 않았습니다.
   ========================================================= */

/* hidden 속성이 .btn { display: inline-flex } 등에 덮이지 않도록
   (여행지 테스트 '공유하기' 버튼이 미지원 브라우저에서 보이던 문제 수정) */
[hidden] { display: none !important; }

.copy-status.is-muted { color: var(--muted); }

/* ---------- 공용 안내 창 (수동 복사, 공유 범위 안내) ---------- */
.moya-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(36, 36, 36, 0.45);
}

.moya-modal-box {
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.moya-modal-title { font-size: 19px; line-height: 1.4; }

.moya-modal-desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.moya-modal-field {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
}

.moya-modal-close { width: 100%; margin-top: 16px; }

@media (min-width: 768px) {
  .moya-modal { align-items: center; }
}

/* ---------- 메인 허브 ---------- */
.hub-hero { padding-top: 8px; }

.hub-title {
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hub-lead {
  margin-top: 12px;
  font-size: 16.5px;
  color: var(--muted);
}

.hub-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.hub-card-travel { background: var(--accent-soft); border-color: #d6e0ec; }
.hub-card-marriage { background: var(--sand); border-color: #e6dccd; }

.hub-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (hover: hover) {
  .hub-card:hover { border-color: var(--accent); }
}

.hub-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.hub-card-marriage .hub-card-label { color: var(--warn-text); }

.hub-card-title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hub-card-desc { font-size: 15.5px; color: #3f3f3f; }
.hub-card-meta { font-size: 14px; color: var(--muted); }

.hub-card-go {
  align-self: flex-start;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.hub-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.hub-note a { color: var(--accent-ink); text-underline-offset: 3px; }

@media (min-width: 1024px) {
  .hub { max-width: 880px; }
  .hub-title { font-size: 48px; }
  .hub-list { grid-template-columns: 1fr 1fr; }
}

/* [2026-11 추가] 허브 세 번째 카드 (여성편) — 추가만, 위 규칙 변경 없음 */
.hub-card-marriage-woman { background: var(--sage-soft); border-color: #d9e2d6; }
.hub-card-marriage-woman .hub-card-label { color: var(--sage-ink); }

@media (min-width: 1024px) {
  .hub { max-width: 1040px; }
  .hub-list { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   [2026-11 구조 개편] 랜딩(/) · 콘텐츠 목록(/content/) · 상단 메뉴 · 클릭금지 문구
   추가만 했습니다. 위의 기존 규칙은 바꾸지 않았습니다.
   ========================================================= */

/* 제목 속 클릭금지 문구: 제목과 같은 글꼴·크기·굵기, 색만 빨간색 */
.title-ban { color: #c62828; }

/* ---------- 상단 메뉴 ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0 18px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-ink);
  box-shadow: inset 0 -2px 0 var(--accent-ink);
  border-radius: 0;
}

.site-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.site-nav .site-nav-wide { display: none; }

@media (hover: hover) {
  .site-nav a:hover { color: var(--accent-ink); }
  .pick-card:hover,
  .content-card:hover { border-color: var(--accent); }
}

/* ---------- 랜딩 (/) ---------- */
.landing-hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.landing-hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-title {
  font-size: 44px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: #4a4a4a;
}

.landing-cta {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  font-size: 17px;
  text-decoration: none;
}

.landing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-points li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
}


.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.section-title { font-size: 21px; font-weight: 800; }

.section-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-ink);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.landing-picks { margin-top: 40px; }

.pick-list {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.pick-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  box-sizing: border-box;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.pick-card:focus-visible,
.content-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.pick-travel { background: var(--accent-soft); border-color: #d6e0ec; }
.pick-marriage { background: var(--sand); border-color: #e6dccd; }
.pick-marriage-woman { background: var(--sage-soft); border-color: #d9e2d6; }

.pick-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pick-travel .pick-label { color: var(--accent-ink); }
.pick-marriage .pick-label { color: var(--warn-text); }
.pick-marriage-woman .pick-label { color: var(--sage-ink); }

.pick-title {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 800;
}

.pick-desc { font-size: 14.5px; line-height: 1.6; color: #4a4a4a; }
.pick-meta { margin-top: auto; font-size: 13px; color: var(--muted); }

.landing-about {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.landing-about-title { font-size: 18px; font-weight: 800; }
.landing-about h3 { font-size: 16px; }
.landing-about p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: #4a4a4a; }

.landing-about a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-ink);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- 콘텐츠 목록 (/content/) ---------- */
.content-head { display: flex; flex-direction: column; gap: 8px; }

.content-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content-count { font-size: 18px; font-weight: 500; color: var(--muted); }

.content-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.content-cover {
  display: flex;
  align-items: flex-end;
  height: 132px;
  box-sizing: border-box;
  padding: 16px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
}

.cover-travel { background: var(--accent-soft); color: var(--accent-ink); }
.cover-marriage { background: var(--sand); color: var(--warn-text); }
.cover-marriage-woman { background: var(--sage-soft); color: var(--sage-ink); }

.content-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 18px 20px 20px;
}

.content-cat { font-size: 12.5px; font-weight: 700; }
.cat-travel { color: var(--accent-ink); }
.cat-marriage { color: var(--warn-text); }
.cat-marriage-woman { color: var(--sage-ink); }

.content-card-title { font-size: 19px; line-height: 1.4; font-weight: 800; }
.content-desc { font-size: 14.5px; line-height: 1.6; color: #4a4a4a; }
.content-meta { margin-top: auto; font-size: 13px; color: var(--muted); }

@media (max-width: 374px) {
  .landing-title { font-size: 38px; }
  .pick-title, .content-card-title { font-size: 18px; }
}

@media (min-width: 768px) {
  .site-nav .site-nav-wide { display: inline-flex; }
  .pick-list,
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .landing-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: center;
  }
  .landing-title { font-size: 68px; }
  .landing-lead { font-size: 19px; }
  .landing-cta { width: auto; align-self: flex-start; padding: 0 30px; }
  .landing-picks { margin-top: 56px; }
  .section-title { font-size: 26px; }
  .pick-list,
  .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pick-card { padding: 26px 24px; min-height: 250px; }
  .pick-title { font-size: 22px; }
  .landing-about { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding: 32px 36px; }
  .content-title { font-size: 44px; }
  .content-count { font-size: 22px; }
  .content-grid { gap: 24px; margin-top: 28px; }
  .content-cover { height: 168px; font-size: 30px; }
  .content-card-title { font-size: 20px; }
}

/* ---------- 2026-11 아재력 테스트 추가 (끝에 추가만, 위 규칙은 그대로) ---------- */
:root {
  --plum-ink: #5e4b73;   /* 연한 플럼 바탕 위 글씨 대비 6.9:1 */
  --plum-soft: #f1edf4;
  --plum-line: #e1d9e8;
}

.pick-ajae { background: var(--plum-soft); border-color: var(--plum-line); }
.pick-ajae .pick-label { color: var(--plum-ink); }
.cover-ajae { background: var(--plum-soft); color: var(--plum-ink); }
.cat-ajae { color: var(--plum-ink); }

@media (min-width: 1024px) {
  /* 추천 콘텐츠: v4.1은 4개를 2×2로 배치. v4.2에서 5개가 되어 아래 '영크크 테스트 추가' 블록에서 3열(3+2)로 덮어씀 */
  .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-card { min-height: 200px; }
}

/* ---------- 2026-11 랜딩 히어로 개편 + 결혼 테스트 카드 제목 두 줄 ----------
   'Now on MOYAMOYA' 목록 박스를 없애고(HTML·CSS 모두 삭제) 제목 영역을 전체 폭으로 씀.
   위의 .landing-hero 그리드(2열) 규칙은 여기서 한 단 구성으로 덮어씀. */
.landing-hero-wide { gap: 14px; }

.landing-hero-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 결혼 테스트 카드: 경고 문구(빨강·작게)와 제목(검정·크게)을 두 요소로 분리 */
.title-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.title-warn {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}

.title-main { color: var(--text); }

@media (min-width: 768px) {
  .landing-title { font-size: 64px; line-height: 1.1; }
  .landing-br { display: none; }   /* 넓은 화면에서는 한 줄 */
}

@media (min-width: 1024px) {
  .landing-hero-wide {
    display: flex;
    flex-direction: column;
    align-items: stretch;   /* 위 2열 규칙의 가운데 정렬 해제 */
    gap: 0;
    padding-top: 24px;
  }
  .landing-hero-wide .eyebrow { margin-bottom: 18px; }
  .landing-hero-wide .landing-title {
    font-size: clamp(88px, 8vw, 112px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }
  /* 설명·약속 칩은 왼쪽, CTA는 오른쪽: 넓어진 폭을 빈 공간 없이 채움 */
  .landing-hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "lead cta" "points cta";
    column-gap: 48px;
    row-gap: 16px;
    align-items: center;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--line-strong);
  }
  .landing-hero-body .landing-lead { grid-area: lead; max-width: 640px; font-size: 21px; color: #3f3f3f; }
  .landing-hero-body .landing-points { grid-area: points; }
  .landing-hero-body .landing-cta {
    grid-area: cta;
    width: auto;
    min-height: 60px;
    margin-top: 0;
    padding: 0 36px;
    font-size: 18px;
  }
  .title-warn { font-size: 15px; }
}

/* ---------- 2026-11 영크크·늙크크 테스트 추가 (v4.2, 끝에 추가만) ---------- */
:root {
  --coral-ink: #9a4527;   /* 흰 바탕 대비 6.5:1, 연한 코랄 바탕 대비 5.7:1 */
  --coral-soft: #fbefe8;
  --coral-line: #f0d9cc;
}

.pick-neulkekeu { background: var(--coral-soft); border-color: var(--coral-line); }
.pick-neulkekeu .pick-label { color: var(--coral-ink); }
.cover-neulkekeu { background: var(--coral-soft); color: var(--coral-ink); }
.cat-neulkekeu { color: var(--coral-ink); }

@media (min-width: 1024px) {
  /* 추천 콘텐츠 5개: PC에서 3열 (윗줄 3개 + 아랫줄 2개). 태블릿 2열·모바일 1열은 그대로 */
  .pick-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick-card { min-height: 220px; }
}

/* ===== 2026-11 콘텐츠 카드 일러스트 (홈 추천 카드 + /content/ 카드 공통) =====
   위: 일러스트(약 40%) · 아래: 카테고리·제목·설명·문항 수(약 60%)
   영어 장식 문구와 색상 배경 영역은 없애고 흰 카드 위에 그림만 둠 (그림 배경도 흰색이라 이음매 없음) */
.card-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 126px;
  box-sizing: border-box;
  padding: 12px 12px 0;
  background: var(--surface);
}
.card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* 얼굴·귀·발이 잘리지 않게 */
}

/* 홈 추천 카드를 /content/ 카드와 같은 모양으로 (클래스명 pick-card는 유지) */
.pick-card,
.pick-travel, .pick-marriage, .pick-marriage-woman, .pick-ajae, .pick-neulkekeu {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border-color: var(--line);
}
.pick-card .pick-title { font-size: 19px; line-height: 1.4; font-weight: 800; }
.content-body { padding: 14px 20px 20px; }

/* 모바일: 2열 (카드가 좁아지므로 글자·여백 조정). 카드는 그리드 자동 배치라 콘텐츠가 늘면 다음 칸부터 채워짐 */
@media (max-width: 767px) {
  .pick-list,
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-art { height: 118px; padding: 10px 8px 0; }
  .content-body { gap: 6px; padding: 10px 12px 14px; }
  .content-cat { font-size: 11.5px; }
  .content-card-title,
  .pick-card .pick-title { font-size: 16px; line-height: 1.38; letter-spacing: -0.01em; }
  .title-split { gap: 6px; }
  .title-warn { font-size: 12px; }
  .content-desc,
  .pick-desc { font-size: 13px; line-height: 1.5; }
  .content-meta,
  .pick-meta { font-size: 12px; }
}
@media (max-width: 359px) {
  .content-card-title,
  .pick-card .pick-title { font-size: 15px; }
}

/* PC: 3열 유지, 그림 영역은 기존 색상 영역(168px)과 비슷하게 */
@media (min-width: 1024px) {
  .card-art { height: 134px; padding: 12px 16px 0; }
  .pick-card { min-height: 0; }
  .content-body { padding: 16px 22px 22px; }
  .content-card-title,
  .pick-card .pick-title { font-size: 20px; }
}

/* ===== 2026-11 돼지 일러스트: 홈 메인·시작·결과·공유받은 결과 (images-v1, 끝에 추가만) =====
   테두리·그림자 없음. 그림의 흰 배경(#FEFEFE)이 아이보리 배경(#faf9f6) 위에서 사각형으로 보이지 않도록
   mix-blend-mode: multiply로 흰 부분을 배경색에 녹임 (그림 색 변화는 평균 ΔE 1.7로 눈에 띄지 않는 수준).
   width/height 속성(800×600)으로 자리를 미리 잡아 로딩 중 화면 흔들림 없음, contain이라 잘리지 않음. */
.moya-illust {
  width: 100%;
  margin: 0 auto;
}
.moya-illust img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.moya-illust-hero   { max-width: 260px; margin: 6px auto 2px; }
.moya-illust-start  { max-width: 240px; margin: 14px auto 12px; }
.moya-illust-result { max-width: 240px; margin: 4px auto 6px; }

/* 여행지 시작 화면: 기존 표지 그림 자리(cover-visual)를 그대로 쓰고 배경색만 없앰 */
.cover-visual.moya-illust-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 240px;
  margin: 20px auto 18px;
  background: transparent;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .moya-illust-hero   { max-width: 400px; }
  .moya-illust-start  { max-width: 320px; }
  .moya-illust-result { max-width: 280px; }
}
@media (min-width: 1024px) {
  .moya-illust-hero   { max-width: 480px; margin: 18px auto 0; }
  .moya-illust-start  { max-width: 360px; }
  .moya-illust-result { max-width: 320px; }
  .cover-visual.moya-illust-cover { max-width: 360px; width: 100%; margin: 0 auto; align-self: center; aspect-ratio: 4 / 3; }
}

/* ===== 2026-11-03 공유 버튼 통일: 결과 공유하기(강조, 한 줄 전체) · 링크 복사 · 다시 테스트하기 ===== */
@media (min-width: 768px) {
  .result-actions:has(#btn-share:not([hidden])) .btn-accent { grid-column: 1 / -1; }
}

/* ===== 2026-11-03 방문 통계(GA4) 사전 동의 창 · 설정 (js/analytics.js가 필요할 때만 만듦) =====
   대한민국 밖에서 접속하고 아직 선택하지 않았을 때만 화면 아래에 뜸. 거부·동의 버튼은 같은 모양(어느 쪽도 강조하지 않음).
   떠 있는 동안 body 아래 여백을 창 높이만큼 늘려 테스트 버튼을 가리지 않음 */
.moya-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
}
.moya-consent-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
}
.moya-consent-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.moya-consent-text a { color: var(--accent-ink); }
.moya-consent-en { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.moya-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.moya-consent-btn { min-height: 44px; padding: 0 12px; font-size: 15px; }
.moya-consent-settings .moya-consent-actions { max-width: 420px; margin: 4px 0 14px; }
.moya-consent-settings [data-consent-choice][aria-pressed="true"] { border-color: var(--accent-ink); color: var(--accent-ink); }
@media (min-width: 768px) {
  .moya-consent-inner { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; }
  .moya-consent-en { grid-column: 1; }
  .moya-consent-actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; min-width: 260px; }
}

/* =========================================================
   2026-11-03 '다른 테스트 둘러보기' 공용 목록
   (목록이 없던 여행지·결혼 테스트와 새 소개팅 테스트에 사용.
    아재력·늙크크 테스트는 기존 aj-more·nk-more 디자인을 그대로 씀)
   ========================================================= */
.moya-more { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.moya-more-title { font-size: 17px; font-weight: 800; }
.moya-more-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  word-break: keep-all;
}
.moya-more-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.moya-more-blinddate { background: #f7ecee; }
.moya-more-all { background: var(--surface); border: 1px solid var(--line); }
@media (hover: hover) {
  .moya-more-link:hover { text-decoration: underline; }
}

/* ---------- 2026-11-03 소개팅 호감 신호 테스트 추가 (끝에 추가만) ----------
   카드 모양은 위 '콘텐츠 카드 일러스트' 공통 규칙을 그대로 씀. 6개가 되어 PC 3열에서 3+3으로 채워짐 */
.cat-blinddate { color: #9b3550; }   /* 흰 바탕 대비 약 7:1 */

/* ---------- 2026-11-03 효도 스타일 테스트 추가 (끝에 추가만) ----------
   카드가 7개가 되어 마지막 줄에 1개만 남을 때, 같은 크기를 유지한 채 가운데 정렬
   (화면 전체 너비로 늘리지 않음. 앞의 6개 카드 크기·순서는 그대로) */
.cat-filial { color: #4f6b45; }   /* 흰 바탕 대비 약 5.9:1 */
.moya-more-filial { background: #eef2ec; }

/* 2열(모바일·태블릿): 홀수 번째 마지막 카드 → 두 칸을 차지하는 자리 가운데에 한 칸 너비로 */
@media (max-width: 767px) {
  .pick-list > li:last-child:nth-child(odd),
  .content-grid > li:last-child:nth-child(odd) {
    grid-column: 1 / -1; justify-self: center; width: calc((100% - 12px) / 2);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pick-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 14px) / 2); }
  .content-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 16px) / 2); }
}
/* 3열(PC): 마지막 줄에 1개만 남으면 가운데 칸으로 */
@media (min-width: 1024px) {
  .pick-list > li:last-child:nth-child(3n+1),
  .content-grid > li:last-child:nth-child(3n+1) { grid-column: 2; }
}

/* Common explicit share chooser, used by every quiz. */
.moya-share-dialog .moya-modal-box{max-height:85vh;overflow-y:auto;overscroll-behavior:contain}
.moya-share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.moya-share-options .btn{width:100%;min-width:0;min-height:48px;text-align:center;white-space:normal;overflow-wrap:anywhere}
.moya-share-options .btn:disabled{opacity:.55;cursor:not-allowed}
.moya-share-dialog :focus-visible{outline:3px solid #416782;outline-offset:3px}
@media(max-width:360px){.moya-share-options{grid-template-columns:1fr}}
