/* 피클 실습 노트 — 모바일 우선(360px 기준). 색: 연한 파랑·하늘색 (2026-12-01 대표 요청) */
:root {
  --paper: #f4f8fd;        /* 바탕: 아주 옅은 하늘빛 */
  --ink: #13263b;          /* 본문: 짙은 남색 */
  --ink-2: #33495f;
  --muted: #5b6f84;
  --line: #d6e3f0;
  --line-strong: #b3c9de;
  --card: #ffffff;
  --brand: #1f6fd0;        /* 주 버튼·번호·강조 (흰 글자 대비 4.8:1) */
  --brand-2: #17589f;      /* 눌림·선택 상태 */
  --hero-bg: #dcecfb;      /* 대표 실습 영역: 하늘색 */
  --hero-line: #bcd8f3;
  --sky: #cfe5fa;          /* 복사 완료 등 보조 강조 */
  --sky-ink: #0f3f74;
  --tint: #eaf3fd;         /* 문장 상자·문의 영역 */
  --receipt: #ffffff;
  --focus: #e0700b;        /* 파란 화면에서도 잘 보이는 주황 포커스 */
  --kakao: #fee500;
  --kakao-ink: #191600;
  /* 실습 결과 상태: 글자가 주, 색은 보조 */
  --ok-bg: #e3f3d4; --ok-ink: #24561b;
  --part-bg: #fff1d6; --part-ink: #7a4a00;
  --block-bg: #eceeec; --block-ink: #3c4842;
  --conf-bg: #f3e6f7; --conf-ink: #6a2c7d;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1030px;
  --narrow: 720px;
  --pad: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
main:focus { outline: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  padding: 10px 14px; background: var(--brand); color: #fff; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: var(--narrow); }

/* ---------- 머리글 ---------- */
.preview-banner {
  padding: 8px var(--pad); background: var(--part-bg); color: var(--part-ink);
  font-size: 13px; line-height: 1.5; text-align: center;
}
.preview-banner strong { margin-right: 6px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.brand-sub { font-size: 13px; color: var(--muted); }

/* ---------- 공용 ---------- */
.section-title { font-size: 21px; line-height: 1.35; font-weight: 800; letter-spacing: -0.04em; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--brand-2); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--card); color: var(--ink);
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.button:hover { background: var(--tint); }
.button-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.button-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.button-dark { background: var(--brand); color: #fff; border-color: var(--brand); }
.button-dark:hover { background: var(--brand-2); border-color: var(--brand-2); }
.button-ghost { background: var(--card); }
.button-kakao { background: var(--kakao); color: var(--kakao-ink); border-color: var(--kakao); }
.button-kakao:hover { background: #f5dc00; border-color: #f5dc00; }

.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px;
  font-size: 12px; font-weight: 700; line-height: 1;
}
.badge-ok { background: #e6effc; color: #1b4fb8; }
.badge-warn { background: var(--part-bg); color: var(--part-ink); }

.status {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.status-success { background: var(--ok-bg); color: var(--ok-ink); }
.status-partial { background: var(--part-bg); color: var(--part-ink); }
.status-blocked { background: var(--block-bg); color: var(--block-ink); }
.status-conflict { background: var(--conf-bg); color: var(--conf-ink); }
.status-none { background: var(--block-bg); color: var(--block-ink); }

/* ---------- 홈: 대표 실습 ---------- */
.hero { padding: 18px 0 8px; }
.feature {
  display: grid; gap: 18px; padding: 22px 20px 20px;
  border-radius: 20px; background: var(--hero-bg); color: var(--ink); border: 1px solid var(--hero-line);
}
.feature-eyebrow { font-size: 13px; font-weight: 700; color: var(--brand-2); }
.feature-title { margin: 10px 0 12px; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.06em; }
.feature-lead { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.feature .button-primary { margin-top: 18px; }

.receipt {
  padding: 16px 18px; border-radius: 12px;
  background: var(--receipt); color: var(--ink); box-shadow: 0 6px 0 var(--hero-line);
}
.receipt-title { font-size: 14px; font-weight: 800; }
.receipt-list { margin-top: 6px; }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; }
.receipt-row dt { color: var(--ink-2); }
.receipt-row dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt-total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.receipt-total dt { font-weight: 700; color: var(--ink); }
.receipt-total dd { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.receipt-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.alt-card {
  position: relative; display: grid; gap: 2px; margin-top: 12px; padding: 16px 44px 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none;
}
.alt-card:hover { border-color: var(--line-strong); }
.alt-label { font-size: 12.5px; font-weight: 700; color: var(--brand-2); }
.alt-title { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.alt-text { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.alt-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--brand-2); }

.hero-title { padding-top: 14px; font-size: 28px; line-height: 1.3; font-weight: 800; letter-spacing: -0.05em; }
.hero-lead { margin-top: 10px; color: var(--ink-2); }

/* ---------- 홈: 목록 ---------- */
.catalog { padding: 28px 0 44px; }
.search { position: relative; margin-top: 14px; }
.search-icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 14px 0 42px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--card);
  font-size: 16px; /* iOS 확대 방지 */
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: #8698ab; }
.search input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 13px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--card);
  font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.chip:hover { background: var(--tint); }
.chip[aria-pressed="true"] { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.chip-count { font-size: 12px; opacity: .72; font-weight: 500; }
.cat-select select {
  height: 38px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6f64' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 14px; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.result-count { margin-top: 16px; font-size: 14px; color: var(--muted); }

.tip-list { display: grid; gap: 10px; margin-top: 8px; }
.tip-link {
  display: grid; align-content: start; gap: 8px; height: 100%; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.tip-link:hover { border-color: var(--line-strong); box-shadow: 0 3px 0 var(--line); }
.tip-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tip-cat { font-size: 12.5px; color: var(--muted); }
.tip-title { font-size: 16.5px; font-weight: 800; line-height: 1.42; letter-spacing: -0.03em; }
.tip-summary { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

.empty { margin-top: 12px; padding: 30px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--card); text-align: center; }
.empty-title { font-weight: 800; }
.empty-text { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }

.candidates { margin-top: 20px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.candidates summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 52px; padding: 14px 0; font-weight: 800; cursor: pointer; }
.candidates-note { font-size: 12.5px; font-weight: 600; color: var(--part-ink); }
.candidates p { color: var(--muted); font-size: 14px; }
.candidates ol { list-style: decimal; padding: 8px 0 18px 22px; display: grid; gap: 4px; font-size: 14.5px; }

.cta {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  margin: 4px 0 40px; padding: 20px; border-radius: var(--radius); background: var(--tint);
}
.cta-text { font-weight: 700; }

/* ---------- 준비 중·404 ---------- */
.ready { padding: 72px 0 96px; }
.ready-title { margin-top: 8px; font-size: 27px; line-height: 1.32; font-weight: 800; letter-spacing: -0.05em; }
.ready-text { margin: 12px 0 28px; color: var(--ink-2); max-width: 32em; }
.ready .cta { margin-bottom: 0; }

/* ---------- 상세 ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.back-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--card);
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.back-link:hover { background: var(--tint); }
.tip-head { padding: 18px 0 22px; }
.tip-h1 { margin-top: 12px; font-size: 26px; line-height: 1.34; font-weight: 800; letter-spacing: -0.05em; }
.tip-result { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }

.facts { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fact { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 13px 16px; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.fact dd { font-size: 15px; line-height: 1.6; }

.block { margin-top: 38px; }
.block-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 19px; line-height: 1.4; font-weight: 800; letter-spacing: -0.04em; }
.block p { color: var(--ink-2); }

.steps { counter-reset: step; display: grid; gap: 4px; }
.steps li { counter-increment: step; position: relative; min-height: 48px; padding: 10px 0 10px 44px; line-height: 1.6; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 9px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 43px; bottom: -9px; width: 1px; background: var(--line-strong); }

.prompt { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.prompt-text {
  margin: 12px 12px 0; padding: 16px; border-radius: var(--radius-sm); background: var(--tint);
  font-size: 15.5px; line-height: 1.75; color: var(--ink) !important;
  white-space: pre-wrap; user-select: all; -webkit-user-select: all;
}
.prompt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; }
.copy-button { min-width: 112px; }
.copy-button[data-state="done"] { background: var(--sky); border-color: var(--sky); color: var(--sky-ink); }
.copy-status { flex: 1 1 200px; font-size: 14px; color: var(--muted) !important; line-height: 1.5; }
.copy-status[data-state="error"] { color: var(--part-ink) !important; font-weight: 600; }

.outcome { display: grid; gap: 10px; }
.outcome-item { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.outcome-item h3 { margin-bottom: 4px; font-size: 13.5px; font-weight: 800; }
.outcome-done { border-left: 4px solid var(--ok-ink); }
.outcome-done h3 { color: var(--ok-ink); }
.outcome-left { border-left: 4px solid var(--part-ink); }
.outcome-left h3 { color: var(--part-ink); }
.outcome-item p { color: var(--ink) !important; }
.howto { margin-top: 12px; font-size: 14.5px; }
.howto strong { display: block; font-size: 13px; color: var(--muted); }

.block-help { padding: 18px; border-radius: var(--radius); background: var(--part-bg); }
.block-help .block-title { margin-bottom: 4px; font-size: 16px; color: var(--part-ink); }
.block-help p { color: var(--ink); }

.expert { margin-top: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.expert summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 0 18px; font-weight: 800; cursor: pointer; list-style: none;
}
.expert summary::-webkit-details-marker { display: none; }
.expert summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.expert[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.expert summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.expert-body { padding: 0 18px 18px; color: var(--ink-2); }
.expert-facts { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.expert-facts div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.expert-facts dt { color: var(--muted); }

.evidence { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.evidence .block-title { font-size: 16px; }
.evidence-list { display: grid; gap: 14px; font-size: 14px; }
.evidence-list > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.evidence-list dt { color: var(--muted); font-weight: 700; }
.sources { display: grid; gap: 10px; }
.sources a { display: grid; gap: 2px; text-decoration: none; }
.source-host { font-weight: 700; color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.source-url { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
.grade { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 5px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }

.tip + .cta { margin-top: 38px; margin-bottom: 0; }
.pager { display: grid; gap: 10px; margin: 38px 0 56px; }
.pager-link { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; }
.pager-link:hover { border-color: var(--line-strong); }
.pager-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.pager-title { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.pager > span:empty { display: none; }

/* ---------- 2026-12-01 추가: 안내·우회법·고급 아이템·프롬프트 공식 ---------- */
.status-conditional { background: #e2edfb; color: #1a4f8f; }
.status-idea { background: #eef0f4; color: #4a5566; border: 1px dashed #b9c2cf; }
.badge-access { background: var(--tint); color: var(--brand-2); }

.notice-box {
  display: grid; gap: 4px; margin-bottom: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
}
.notice-title { font-size: 14px; font-weight: 800; color: var(--brand-2); }
.notice-lead { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.notice-list { display: grid; gap: 2px; padding-left: 16px; list-style: disc; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.notice-foot { font-size: 12px; color: var(--muted); }

.tip-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.tip-workaround {
  justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px;
  padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--sky-ink);
  font-size: 12.5px; font-weight: 800;
}
.tip-static { cursor: default; }
.tip-static:hover { border-color: var(--line); box-shadow: none; }
.tip-card-idea .tip-link { background: #fbfdff; border-style: dashed; border-color: var(--line-strong); }
.tip-needs { font-size: 13px; color: var(--ink-2); }
.tip-needs strong { margin-right: 4px; color: var(--muted); font-weight: 700; }
.idea-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.status-note { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--tint); font-size: 14.5px; color: var(--ink-2); }
.status-note strong { margin-right: 6px; color: var(--ink); }

.workaround {
  margin-top: 20px; padding: 18px; border-radius: var(--radius);
  background: var(--sky); border: 2px solid var(--brand);
}
.workaround-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 18px; font-weight: 800; color: var(--sky-ink); letter-spacing: -0.03em; }
.workaround-tag { padding: 3px 8px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 12px; letter-spacing: 0; }
.workaround p { color: var(--ink); }
.workaround .workaround-foot { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

.evidence-text { margin-bottom: 6px; }

.formulas { padding: 8px 0 48px; }
.section-lead { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.formula-list { display: grid; gap: 12px; margin-top: 16px; }
.formula {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.formula-num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 800;
}
.formula-name { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.formula-when { font-size: 13px; color: var(--muted); }
.formula .prompt-text { margin: 4px 0 0; padding: 12px 14px; font-size: 14.5px; }
.formula .prompt-actions { padding: 4px 0 0; }

@media (min-width: 720px) {
  .notice-box { grid-template-columns: auto 1fr; column-gap: 20px; padding: 16px 20px; margin-bottom: 18px; }
  .notice-title { grid-row: span 3; }
  .formula-list { grid-template-columns: 1fr 1fr; }
  .workaround { padding: 22px 24px; }
}

/* ---------- 2026-12-01 v4: 19개 실습 카드 ---------- */
.catalog .chips { margin-top: 12px; }
.group { margin-top: 26px; }
.group-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 17px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em;
}
.group-step {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--sky); color: var(--sky-ink); font-size: 13px; font-weight: 800;
}
.item-list { display: grid; gap: 12px; }
.item { scroll-margin-top: 16px; }
.item-card {
  display: grid; align-content: start; gap: 10px; height: 100%; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}
.item:target .item-card { border-color: var(--brand); box-shadow: 0 0 0 3px var(--sky); }
.item-no { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.item-title { font-size: 17px; line-height: 1.42; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.item-desc { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.item-meta { display: grid; gap: 8px; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; }
.item-meta > div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; }
.item-meta dt { font-weight: 700; color: var(--muted); }
.item-meta dd { color: var(--ink-2); line-height: 1.55; }
.item-card { display: flex; flex-direction: column; }
.item-prompt {
  display: grid; gap: 8px; margin-top: auto; padding: 14px;
  border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--hero-line);
}
.item-prompt-title { font-size: 13.5px; font-weight: 800; color: var(--brand-2); }
.item-prompt .prompt-text {
  margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--card);
  font-size: 14px; line-height: 1.7;
}
.item-prompt-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.item-prompt .prompt-actions { padding: 0; gap: 10px; }
.item-prompt .copy-button { min-height: 42px; }
.item-prompt .copy-status { flex-basis: 160px; font-size: 13px; }
.slot { padding: 0 2px; border-radius: 4px; background: #fff3c4; color: #6b4a00; font-weight: 700; }
.needs { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--brand-2); font-weight: 700; }
.needs-none { background: var(--ok-bg); color: var(--ok-ink); }

@media (min-width: 720px) {
  .group { margin-top: 36px; }
  .group-title { font-size: 19px; }
  .item-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* 홀수 개 분야의 마지막 카드는 한 줄을 다 쓴다 (빈칸 없이) */
  .item-list > .item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .item-card { padding: 20px 22px; }
}

/* ---------- 한 장짜리 검토본 (스크립트가 꺼져 있으면 상세가 아래로 이어진다) ---------- */
.share-tip { scroll-margin-top: 8px; }
.share-tip + .share-tip { border-top: 10px solid var(--line); }

/* ---------- 바닥글 ---------- */
.site-footer { padding: 24px 0 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- 태블릿·데스크톱 ---------- */
@media (min-width: 720px) {
  :root { --pad: 24px; }
  .header-inner { height: 66px; }
  .brand { font-size: 21px; }
  .hero { padding: 32px 0 8px; }
  .feature { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; padding: 44px; border-radius: 22px; }
  .feature-title { font-size: clamp(36px, 5vw, 52px); line-height: 1.17; margin: 14px 0 18px; }
  .feature-lead { font-size: 17px; }
  .receipt { padding: 24px; box-shadow: 0 8px 0 var(--hero-line); }
  .receipt-row { padding: 7px 0; }
  .alt-card { grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; padding: 18px 52px 18px 22px; }
  .alt-label { grid-row: span 2; }
  .hero-title { font-size: 40px; line-height: 1.22; padding-top: 32px; }
  .catalog { padding-top: 44px; }
  .section-title { font-size: 24px; }
  .search { max-width: 620px; }
  .search input { height: 54px; }
  .tip-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tip-link { padding: 18px; }
  .outcome { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 24px; }
  .crumbs { padding-top: 28px; }
  .tip-head { padding: 22px 0 30px; }
  .tip-h1 { font-size: 34px; line-height: 1.28; }
  .tip-result { font-size: 18px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .fact { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .fact + .fact { border-top: 0; border-left: 1px solid var(--line); }
  .block, .expert, .evidence { margin-top: 48px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-next { grid-column: 2; text-align: right; }
  .ready { padding: 120px 0 140px; }
  .ready-title { font-size: 36px; }
}
@media (min-width: 1000px) {
  .tip-list { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
