/* 경력 재진입 코치 — 기능 흐름 에뮬레이터
   색상: 화면명세서 v0.4 · 0.1 한화 CI
   서체: 한화고딕 — 본문 Light, 강조 Regular
   조작: 화면명세서 v0.4 · 0.4 (탭 전용) */

/* 한화고딕 — 굵기는 두 단계만 씁니다.
   본문 Light(300) / 강조 Regular(400). 그 사이가 없어야 강조가 강조로 읽힙니다.

   TTF 원본 6.81MB 를 woff2 로 줄였습니다 → 0.92MB (86% 줄임, 2026.09.09).
   처음 여시는 분이 그만큼 덜 받습니다. 밖에서 데이터로 여시는 분이 많습니다.

   **한글은 한 자도 빼지 않았습니다** (11,172자 그대로).
   이 앱은 이용자가 직접 친 글과 채용공고를 보여주므로, 지금 쓰는 글자만
   남기면 실제 내용이 깨집니다. 뺀 것은 사용자 영역(PUA) 1,238자와
   일본어 가나 169자뿐입니다 — 어느 글에도 나오지 않습니다.

   원본 TTF 는 fonts/ 에 그대로 두었습니다. 다시 만들려면
   scratchpad 의 font.py 를 쓰십시오. */
@font-face { font-family:"HanwhaGothic"; font-weight:300;
             src:url("fonts/HanwhaGothic-Light.woff2")   format("woff2"); font-display:swap; }
@font-face { font-family:"HanwhaGothic"; font-weight:400;
             src:url("fonts/HanwhaGothic-Regular.woff2") format("woff2"); font-display:swap; }
/* 강조는 여기서 나온다. 이 얼굴이 없으면 브라우저가 Regular 를 억지로 굵혀
   획이 뭉개진다 — 한글은 그 티가 특히 크게 난다 */
@font-face { font-family:"HanwhaGothic"; font-weight:700;
             src:url("fonts/HanwhaGothic-Bold.woff2")    format("woff2"); font-display:swap; }

:root {
  /* 0.1 한화 CI */
  --bg: #FFFFFF;
  --ink: #000000;
  --orange: #F37321;        /* 100% — 주 버튼 면. 한 화면에 하나만 */
  --orange-50: #FBB584;     /* 50%  — CI 값. 면으로는 쓰지 않는다 (아래 참고) */
  --orange-70: #F89B6C;     /* 70%  — CI 값. 면으로는 쓰지 않는다 */

  /* 선택된 면은 아주 옅게 칠한다.
     CI 50%(#FBB584) 를 면으로 쓰면 살구색 위에 검은 글자가 얹혀 탁해 보인다.
     같은 오렌지를 옅게 깐 것이므로 CI 계열에서 벗어나지 않는다.
     강조는 '면'이 아니라 '테두리'가 맡는다 — 면은 자리만 알려주면 된다 */
  /* 흰 글자를 얹는 면에만 쓰는 오렌지.
     CI 오렌지(#F37321)에 흰 글자를 얹으면 명암비가 2.88:1 이라
     WCAG 큰 글자 기준 3:1 에 못 미친다 (실측 2026.09.08).
     노안과 함께 대비 감도도 떨어지므로 50~60대에게는 이 0.12 차이가 실제로 보인다.

     #EE6C18 은 3.09:1 로 겨우 넘긴다. 나란히 놓고 봐도 구분이 안 갈 만큼만
     내렸다 — CI 를 바꾸는 것이 아니라 **글자가 얹히는 면만** 내린다.
     아이콘·테두리·진행바 등 글자를 얹지 않는 곳은 --orange 그대로다.
     흰 글자를 오렌지 면에 얹는 곳은 앱 전체에서 .btn.primary 하나뿐이다 */
  --orange-ink: #EE6C18;    /* 흰 글자를 얹는 면 — 명암비 3.09:1 */

  --orange-tint: #FFF3EA;   /* 선택된 항목의 면 */
  --orange-soft: #FDE7D8;   /* 눌렀을 때 잠깐 */

  /* 무채색 — 선택되지 않은 것들이 오렌지와 경쟁하지 않도록 */
  --hair: #E3E3E5;          /* 선택 전 보기의 테두리 */
  --hair-soft: #EFEFF1;
  --muted: #5F5F63;         /* 보조 텍스트 */
  --disabled-bg: #F2F2F3;
  --disabled-ink: #9A9A9E;

  /* 간격 — 4의 배수로 통일 */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px;

  /* 글자 크기 배율. 글자만 바뀐다 — 여백·단추·그림은 그대로다.
     zoom 을 쓰면 화면 전체가 커지고 작아진다. 그건 글꼴 크기가 아니라 디스플레이 크기다 */
  --fs: 1;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* ── 줄바꿈: 한국어는 어절 단위로 끊고, 어떤 경우에도 잘리지 않게 ── */
html, body, h1, h2, h3, p, li, button, textarea, input, div, span {
  word-break: keep-all;       /* 단어 중간에서 끊지 않음 */
  overflow-wrap: break-word;  /* 다만 넘칠 만큼 긴 덩어리는 줄바꿈 허용 */
  line-break: strict;
  hyphens: none;
  text-overflow: clip;        /* … 로 잘라내지 않음 */
}

html, body {
  margin: 0;
  padding: 0;
  background: #F1F1F3;
  color: var(--ink);
  font-family: "HanwhaGothic", "Malgun Gothic", "맑은 고딕",
               -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 300;             /* 본문 = 한화고딕 Light */
  font-size: calc(20px * var(--fs));              /* 0.3 기본 글자 크기 20px 이상 */
  line-height: 1.74;            /* 한글 본문은 넉넉해야 읽힌다 (v0.8: 1.62 → 1.74) */
  letter-spacing: -0.003em;     /* Light 획에 음수 자간이 겹치면 글자가 붙어 보인다 */
  /* 0.4 좌우 스크롤 금지.
     hidden 을 쓰면 body 가 스크롤 상자가 되어 머리줄의 position: sticky 가 풀린다.
     clip 은 스크롤 상자를 만들지 않으면서 좌우로 넘치는 것만 잘라낸다 */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ── 기기 프레임 (에뮬레이터 껍데기) ─────────────────── */
.device {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 48px rgba(0,0,0,.10);
}

.screen {
  flex: 1;
  padding: var(--s6) var(--s5) var(--s5);
  display: flex;
  flex-direction: column;
}

/* 주 버튼은 스크롤 없이 보이는 위치에 (0.4) */
.sticky-bottom {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0, #FFF 14px, #FFF 100%);
  padding: var(--s5) 0 var(--s1);
  margin-top: auto;
}

/* ── 활자 ─────────────────────────────────────────── */
h1 {
  font-size: calc(30px * var(--fs));              /* 0.2 화면 제목 = Bold */
  font-weight: 700;
  line-height: 1.44;
  letter-spacing: -0.016em;
  margin: var(--s2) 0 var(--s5);
  text-wrap: balance;           /* 마지막 줄에 한 어절만 남는 것 방지 */
}

h2 {
  font-size: calc(25px * var(--fs));              /* 0.2 질문 지문 = Bold */
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.014em;
  margin: var(--s1) 0 var(--s6);
  text-wrap: balance;
}

p { margin: 0 0 var(--s4); }

.lead { font-size: calc(20px * var(--fs)); color: #26262A; margin-bottom: var(--s6); }
.note { font-size: calc(17px * var(--fs)); color: var(--muted); font-weight: 300; line-height: 1.66; }
.spacer { flex: 1; min-height: var(--s4); }

ul.plain { list-style: none; padding: 0; margin: 0 0 var(--s6); }
ul.plain li {
  position: relative;
  padding-left: 18px;
  margin-bottom: var(--s3);
  color: #26262A;
}
ul.plain li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);    /* 아이콘·강조에만 오렌지 (0.1) */
}

.section-title {
  font-size: calc(21px * var(--fs));
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s4);
}

/* ── 버튼 ─────────────────────────────────────────── */
button {
  font-family: inherit;
  font-weight: inherit;
  font-size: calc(20px * var(--fs));
  cursor: pointer;
  white-space: normal;          /* 한 줄로 강제하지 않음 → 잘림 방지 */
}

.btn {
  display: block;
  width: 100%;
  min-height: 64px;             /* 0.3 버튼 최소 높이. height 고정 금지 */
  height: auto;
  padding: 16px 18px;
  margin-bottom: var(--s3);
  border-radius: var(--r-md);
  border: 1.5px solid var(--hair);   /* 선택 전에는 무채색 */
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  line-height: 1.56;
  transition: border-color .12s, background-color .12s, box-shadow .12s;
}

.btn:hover { border-color: #CFCFD3; }

/* 한 화면에 오렌지 100% 면은 하나뿐 (0.1) */
.btn.primary {
  background: var(--orange-ink);
  border-color: var(--orange);
  color: #FFFFFF;               /* 요청으로 흰 글자. 대비 2.88:1 (AA 4.5:1 미달) */
  font-weight: 700;
  text-align: center;
  border-radius: var(--r-lg);
  box-shadow: 0 2px 0 rgba(0,0,0,.10);
  margin-bottom: var(--s3);
}
.btn.primary:hover { background: #E9691A; border-color: #E9691A; }
.btn.primary:active { box-shadow: none; transform: translateY(1px); }

/* 주 버튼과 짝을 이루는 두 번째 '행동' 단추.
   .btn 의 왼쪽 정렬은 보기(선택지)를 위한 것이라, 행동에 쓰면 목록처럼 읽힌다 */
.btn.action {
  text-align: center;
  border-radius: var(--r-lg);
}

/* 선택 상태는 오렌지 50% 면 — 무채색 보기들 사이에서 확실히 읽힘 */
.btn.selected {
  background: var(--orange-tint);
  border-color: var(--orange);
  font-weight: 400;
}

.btn.quiet {
  border-color: var(--hair);
  color: var(--muted);
  font-weight: 400;
  font-size: calc(17px * var(--fs));
  min-height: 52px;
  padding: 12px 14px;
  text-align: center;
}
.btn.quiet:hover { color: var(--ink); }

.btn:disabled,
.btn.primary:disabled {
  background: var(--disabled-bg);   /* 비활성은 회색. 연한 오렌지 금지 (0.1) */
  border-color: var(--hair);
  color: var(--disabled-ink);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.btn-row { display: flex; gap: var(--s3); }
.btn-row .btn { margin-bottom: var(--s3); }

.btn.small {
  min-height: 56px;
  font-size: calc(18px * var(--fs));
  padding: 12px 14px;
  text-align: center;
  margin-bottom: 0;
}

button:focus-visible,
.check:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* 이전 — 아이콘만 쓰지 않음 (0.4) */
/* 피츠 — 누르는 것은 44px 아래로 내려가지 않는다. 손끝 지문이 그만하다 */
/* 되돌아가는 세모. 목록을 펴는 세모(.acc-mark)와 같은 모양을 왼쪽으로 돌린 것이다 */
.back-mark {
  flex: none;
  width: 0; height: 0;
  border-right: 7px solid var(--muted);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-right: var(--s2);
}
.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: none;
  padding: var(--s2) var(--s3);
  margin: 0 0 var(--s2) -12px;
  font-size: calc(18px * var(--fs));
  font-weight: 400;
  color: var(--muted);
  align-self: flex-start;
}
.back:hover { color: var(--ink); }

.linkish {
  background: none;
  border: none;
  padding: var(--s3) 0;
  font-size: calc(18px * var(--fs));
  font-weight: 400;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: block;
  text-align: left;
}
.linkish:hover { color: var(--ink); }

/* ── 입력 ─────────────────────────────────────────── */
.answer-box {
  display: block;
  width: 100%;
  min-height: 132px;
  font-family: inherit;
  font-weight: 400;
  font-size: calc(20px * var(--fs));
  line-height: 1.66;
  padding: 16px;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  resize: vertical;
  margin-bottom: var(--s3);
  background: var(--bg);
  color: var(--ink);
}
.answer-box:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243,115,33,.16);
}
.answer-box.one-line { min-height: auto; resize: none; }
.answer-box::placeholder { color: #A6A6AB; font-weight: 300; }

.mic {
  display: flex;
  align-items: center;
  gap: var(--s3);
  width: 100%;
  min-height: 60px;
  /* 점선 + 옅은 회색 + 회색 점이었다. 나란히 놓인 '건너뛰기' 는 실선이라,
     눈으로는 이쪽이 **꺼진 단추**로 읽혔다. 점선은 화면에서 대개
     '아직 없는 것' 이나 '못 누르는 것' 을 뜻한다.

     첫 화면에서 '말씀으로 답하셔도 됩니다' 라고 약속해 놓고 그것을 해주는
     단추가 꺼져 보이면, 손으로 치기 힘드신 분일수록 안 누르신다.

     실선으로 바꾸고 테두리에 오렌지를 옅게 섞었다. 주 단추(꽉 찬 오렌지)와는
     여전히 다르다 — 이건 골라서 쓰시는 것이지 다음으로 가는 길이 아니다 */
  border: 1.5px solid var(--orange-50);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 16px;
  margin-bottom: var(--s3);
  font-size: calc(17px * var(--fs));
  font-weight: 400;
  line-height: 1.52;
}
.mic .dot {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  /* 회색 점은 '꺼짐' 으로 읽힌다. 누를 수 있는 것이므로 오렌지로 둔다 */
  background: var(--orange);
}

/* 듣는 중. 점이 뛰어야 지금 받아쓰고 있다는 것이 보인다 —
   말씀하시는 분은 화면을 안 보고 계실 수도 있으므로 크게 표시한다 */
.mic.on {
  border-style: solid;
  border-color: var(--orange);
  background: var(--orange-tint);
  color: var(--ink);
  font-weight: 700;
}
.mic.on .dot { background: var(--orange); animation: mic-beat 1.1s ease-in-out infinite; }

@keyframes mic-beat {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.7); opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .mic.on .dot { animation: none; }
}

.mic-msg {
  font-size: calc(16px * var(--fs));
  color: var(--muted);
  margin: calc(var(--s3) * -1) 0 var(--s4);
}

.hint {
  font-size: calc(17px * var(--fs));
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 var(--s4);
  min-height: 26px;
}

/* ── 결과 항목 ────────────────────────────────────── */
.item {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: var(--s5);
  margin-bottom: var(--s4);
  background: var(--bg);
}
.item h3 {
  font-size: calc(21px * var(--fs));
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s3);
  line-height: 1.52;
}
.item h3 .dur { font-weight: 400; color: var(--muted); font-size: calc(18px * var(--fs)); }
.item .line {
  position: relative;
  padding-left: 17px;
  font-size: calc(18px * var(--fs));
  margin-bottom: var(--s3);
  line-height: 1.66;
}
.item .line::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #C9C9CE;
}
.item .line b { font-weight: 400; color: var(--muted); }
.item .confirm { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--hair-soft); }
.item .confirm p { font-size: calc(18px * var(--fs)); margin-bottom: var(--s3); }
.item .status { font-size: calc(16px * var(--fs)); color: var(--muted); font-weight: 400; margin-top: var(--s3); }

/* 정지로 비어 있는 항목 — 테두리로 구별하지 않는다(이용자에게 결함으로 보임) */
.item .fill-ask {
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--hair-soft);
}
.item .fill-ask p { font-size: calc(18px * var(--fs)); color: #303035; margin-bottom: var(--s3); }
.item .fill-form label {
  display: block;
  font-size: calc(17px * var(--fs));
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 var(--s2);
}
.item .fill-form .opts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.item .fill-form .opt {
  border: 1.5px solid var(--hair);
  background: var(--bg);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: calc(17px * var(--fs));
  min-height: 48px;
}
.item .fill-form .opt.on { background: var(--orange-tint); border-color: var(--orange); font-weight: 400; }

/* ── 카드 ─────────────────────────────────────────── */
.card {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: var(--s5);
  margin-bottom: var(--s3);
  background: var(--bg);
}
.card h3 {
  font-size: calc(21px * var(--fs));
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s2);
  line-height: 1.52;
}
.card .reason { font-size: calc(17px * var(--fs)); color: var(--muted); font-weight: 300; margin: 0; line-height: 1.66; }

/* 체크박스는 줄 전체를 누르는 큰 카드로 (0.4) */
.check {
  display: flex;
  align-items: center;
  gap: var(--s3);
  width: 100%;
  min-height: 64px;
  height: auto;
  padding: 16px 18px;
  margin-bottom: var(--s3);
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--bg);
  text-align: left;
  font-size: calc(19px * var(--fs));
  line-height: 1.56;
  transition: border-color .12s, background-color .12s;
}
.check:hover { border-color: #CFCFD3; }
.check.on { background: var(--orange-tint); border-color: var(--orange); font-weight: 400; }
.check .mark {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border: 2px solid #C2C2C7;
  border-radius: 6px;
  display: inline-block;
}
.check.on .mark { background: var(--orange); border-color: var(--orange); }

/* 밀러 — 목록이 일곱을 넘으면 덩어리로 나눠야 눈에 들어온다.
   고르는 항목과, 거기서 빠져나가는 항목 사이를 갈라 둔다 */
/* 진행 표시 — 어디쯤 왔는지만 알린다. 숫자도 칭찬도 없다.
   지나온 걸음은 CI 70%(#F89B6C) 로 둔다. 100% 는 지금 눌러야 할 단추 몫이라 비워 놓는다 */
/* 진행 막대. 토막 넷이 아니라 이어진 하나다 — 길이로 읽으신다.
   4px 은 장식처럼 보여 6px 로 올렸다. 색도 70%(#F89B6C)에서 100% 로 —
   여기는 '지금 어디쯤' 을 말하는 자리라 흐리면 안 읽힌다 */
.pg { height: 6px; border-radius: 3px; background: var(--hair);
      margin: var(--s4) var(--s5) 0; }
.pg-fill {
  display: block; height: 100%; border-radius: 3px;
  background: var(--orange);
  /* 이름을 주면 화면이 바뀔 때 브라우저가 옛 너비에서 새 너비로 늘려 준다.
     화면 전환(.22s)과 같은 박자로 움직여 따로 짤 것이 없다 */
  view-transition-name: pgfill;
}
@media (prefers-reduced-motion: reduce) { .pg-fill { view-transition-name: none; } }

.check-gap {
  height: 1px;
  background: var(--hair);
  margin: var(--s5) var(--s6) calc(var(--s5) + var(--s3));
}

/* 도허티 임계 — 0.4초 안에 못 끝내는 일은 살아 있다는 표시라도 해야 한다.
   크기는 건드리지 않고 진하기만 바꾼다. 움직임을 줄여 두신 분에게도 어지럽지 않다 */
.wait-mark { display: flex; justify-content: center; margin: var(--s8) 0 var(--s7); }
.wait-ico { width: 76px; height: 76px; animation: wait-breathe 1.6s ease-in-out infinite; }
@keyframes wait-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
/* '여기 없는 게 있어요' 에 딸린 적는 칸.
   위 항목과 붙여 두어, 별개의 질문이 아니라 그 항목의 속이라는 것이 보이게 한다 */
.t2-other {
  min-height: 88px;
  margin-top: calc(var(--s3) * -1 + 2px);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-color: var(--orange);
}

hr.rule { border: none; border-top: 1px solid var(--hair); margin: var(--s7) 0 var(--s5); }

/* ── 여는 화면 (확인용) ───────────────────────────
   앱 껍데기의 activity_main.xml 과 같은 배치다. 브라우저에서 ?splash=1 일 때만 뜬다 */
.splash {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  max-width: 430px;             /* .device 와 같은 너비. 휴대전화 화면처럼 보여야 한다 */
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 48px rgba(0,0,0,.10);
  z-index: 80;                  /* 디버그 패널(50) 보다 위, 오류 상자(9999) 보다 아래 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  cursor: pointer;
}
/* 흰 바탕은 처음부터 그대로 두고 이 안쪽만 서서히 떠오른다.
   바탕까지 함께 흐리면 뒤에 있는 화면이 비쳐 보인다 */
.splash-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 꽃이 먼저 떠오르고, 꽃말이 그 아래에서 뒤따라 올라온다.
   한꺼번에 나오면 읽기 전에 다 보여 눈이 갈 데를 잃는다 */
@keyframes splash-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes splash-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* prefers-reduced-motion 으로 끄지 않는다.
   그 설정이 막으려는 것은 화면을 가로지르는 큰 움직임이다.
   여기서 올라오는 거리는 18px, 한 줄 높이도 안 된다 — 어지럼을 만들지 않는다.
   끄면 이 화면이 통째로 튀어나오는 것처럼 보여 오히려 거칠다 */

.splash-ico { width: 132px; height: 132px; animation: splash-in .42s ease-out both; }
.splash-tagline {
  animation: splash-rise .42s .15s ease-out both;   /* 앱과 같은 값 — MainActivity 의 TAGLINE_* */
  margin-top: 28px;
  padding: 0 var(--s6);          /* 글자를 키우셨을 때 가장자리에 닿지 않게 */
  font-size: calc(20px * var(--fs));
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
}
.splash-note {
  position: absolute;
  left: 0; right: 0; bottom: var(--s6);
  margin: 0;
  padding: 0 var(--s6);
  text-align: center;
  font-size: calc(14px * var(--fs));
  font-weight: 300;
  line-height: 1.66;
  color: var(--disabled-ink);
}

/* ── 디버그 패널 (내부용) ─────────────────────────── */
#debug {
  position: fixed;
  right: 14px;
  /* 접혀 있을 때는 아래 고정 단추를 덮지 않게 위로 띄운다 (피츠) */
  bottom: 96px;
  z-index: 50;
  font-size: 13px;
  line-height: 1.66;
  font-family: Consolas, "Courier New", monospace;
}
#debug:has(.panel) { bottom: 14px; }

#debug .panel {
  width: 340px;
  max-width: calc(100vw - 28px);   /* 휴대전화에서 화면 밖으로 나가지 않게 */
  max-height: 72vh;
  overflow-y: auto;
  background: #17171A;
  color: #E9E9EC;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
#debug h4 { margin: 0 0 var(--s2); font-size: 12px; letter-spacing: .06em; color: #FFB27A; text-transform: uppercase; }
#debug .kv { display: flex; justify-content: space-between; gap: var(--s2); padding: 2px 0; }
#debug .kv span:last-child { text-align: right; color: #92E29A; }
#debug .warn span:last-child { color: #FF8F80; }
#debug .grp { border-top: 1px solid #2E2E33; margin-top: var(--s2); padding-top: var(--s2); }
#debug button {
  font-size: 12px;
  font-family: inherit;
  background: #2A2A2F;
  color: #E9E9EC;
  border: 1px solid #3D3D44;
  border-radius: 6px;
  padding: 7px 9px;
  margin: 0 4px 4px 0;
  min-height: 0;
}
#debug button:hover { background: #35353B; }
/* 접힌 단추는 내부용이다. 화면 위에 떠 있으므로 연하게 두어 내용을 덜 가린다 */
#debug .toggle { opacity: .5; padding: 8px 12px; }
#debug .toggle:hover { opacity: 1; }
#debug button.on { background: var(--orange); color: #000; border-color: var(--orange); font-weight: 400; }
#debug .toggle {
  background: #17171A;
  color: #FFB27A;
  border: 1px solid #FFB27A;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 13px;
}
#debug .log { max-height: 132px; overflow-y: auto; color: #ADADB4; }
#debug .log div { padding: 1px 0; }
#debug .drop { color: #FFC48A; }

/* ══ 로그인 이후 영역 ══════════════════════════════════ */

/* 탭 — 오렌지는 밑줄 하나로만. 면으로 칠하지 않는다 (0.1) */
/* 탭은 아래에 둔다. 한 손으로 쥐었을 때 엄지가 닿는 곳이다 */
.tabbar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: none;
  margin: 0;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--bg);
  z-index: 5;
}
.tabbar .tab {
  flex: 1;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 4px 9px;
  background: none;
  border: none;
  border-top: 3px solid transparent;
  margin-top: -1px;
  font-family: inherit;
  font-size: calc(14px * var(--fs));
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  word-break: keep-all;
  white-space: nowrap;
  transition: color .12s ease;
}
.tabbar .tab-ico {
  width: 23px;
  height: 23px;
  flex: none;
  transition: transform .12s ease;
}
.tabbar .tab.on {
  color: var(--ink);
  font-weight: 400;
  border-top-color: var(--orange);
}
/* 선택된 탭은 아이콘만 오렌지. 글자는 검정이라 대비를 잃지 않는다 */
.tabbar .tab.on .tab-ico { color: var(--orange); transform: translateY(-1px); }
.tabbar .tab:hover { color: var(--ink); }
.tabbar .tab:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

/* 아래 탭에 가리지 않도록 바닥을 비워 둔다 */
.screen.has-tabs { padding-bottom: 96px; }
.panel { padding-top: var(--s2); }

/* 이야기 나눔 — 게시판 설명 한 줄 */
.board-hint {
  margin: calc(var(--s2) * -1) 0 var(--s4);
  padding: var(--s3);
  border-left: 3px solid var(--orange);
  background: #FAFAFB;
  border-radius: 0 8px 8px 0;
  font-size: calc(16px * var(--fs));
  line-height: 1.66;
  color: var(--muted);
  word-break: keep-all;
}

/* S5 — 읽어주기 / 저도 그래요 */
.card .btn.small {
  margin-top: var(--s3);
  width: auto;
  min-height: 44px;
  padding: 10px var(--s3);
  font-size: calc(15px * var(--fs));
}
/* ── 절 안쪽 위계 ────────────────────────────────────
   이 화면의 목적은 '옮겨 적기' 다. 그러니 복사가 읽어주기보다 앞선다.
   예전에는 거꾸로였다 — 읽어주기가 140px, 복사가 110px 로 더 넓었다.

   복사는 오렌지 테두리·글씨로 올리되 **채우지는 않는다.**
   오렌지로 채운 면은 이 화면에 하나뿐이어야 하고(0.1),
   그 하나는 맨 아래 '종이로 받아두기' 가 가져간다. */
.card .btn.copy {
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 700;
  min-height: 48px;
  padding: 10px var(--s4);
}
.card .btn.copy:hover { background: var(--orange-soft); }

/* 읽어주기는 눈이 어두우신 분을 위한 보조 장치다.
   필요한 분께는 보이되, 복사보다 먼저 눈에 들어오지 않게 둔다 */
.card .btn.speak {
  color: var(--muted);
  font-weight: 400;
  min-height: 44px;
  font-size: calc(14px * var(--fs));
}
.card .btn.speak:hover { color: var(--ink); }

.card .btn.speak.on,
.card .btn.same.on {
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 400;
}
.card.marked { border-color: var(--orange); }

/* 바깥으로 나가는 링크 — 버튼이 아니라 링크로 보이게 둔다 */
a.linkish.as-link {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* S4' — 다음에 가져올 것. 고르는 게 아니라 보여주기만 한다 */
.bring {
  list-style: none;
  margin: 0 0 var(--s5);
  padding: 0;
}
.bring li {
  position: relative;
  padding: var(--s2) 0 var(--s2) var(--s5);
  font-size: calc(18px * var(--fs));
  line-height: 1.66;
  color: var(--ink);
  word-break: keep-all;
}
.bring li + li { border-top: 1px solid var(--hair); }
.bring li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(var(--s2) + 0.62em);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* 게시판 고르기 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: var(--s4) 0 var(--s5);
}
.chip {
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: calc(16px * var(--fs));
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  word-break: keep-all;
}
.chip.on {
  background: var(--orange-tint);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 400;
}
.chip:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* 글 목록 — 한 줄 전체가 누르는 자리 */
.post {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--s5) 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hair);
  font-family: inherit;
  cursor: pointer;
}
.post:hover .post-title { text-decoration: underline; text-underline-offset: 3px; }
.post:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.post-title {
  font-size: calc(18px * var(--fs));
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 6px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* 하는 일 그림 — 제목 앞에 한 칸.
   너비를 고정해 두면 그림이 있든 없든 제목 첫 글자가 같은 자리에서 시작한다.
   줄이 어긋나면 훑는 눈이 매번 제자리를 다시 찾아야 한다 */
.jico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--orange);
}

/* 그림과 제목을 나란히. 제목이 두 줄이 되어도 둘째 줄이 그림 아래로
   파고들지 않는다 — 목록을 훑는 눈이 매번 제자리를 다시 찾지 않아도 된다 */
.post.job .post-title { display: flex; align-items: flex-start; gap: 10px; }
.post.job .jtxt { min-width: 0; }

/* 공고 곁줄 — 한 줄. 왼쪽에 지역·회사, 오른쪽 끝에 마감.
   마감 자리가 고정되어야 목록을 훑을 때 눈이 위아래로 안 흔들린다.
   자리가 모자라면 회사 이름 뒤가 잘린다 — 회사는 제목에 이미 들어 있는
   경우가 많고, 지역과 마감은 제목에 없다 */
.post.job .job-meta {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  margin-top: 5px;
  padding-left: 32px;              /* 그림 너비만큼 — 제목 첫 글자와 맞춘다 */
  font-size: calc(15px * var(--fs));
  color: var(--muted);
}
.job-where {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 학력 제한 — 스물한 건 중에만 나온다. 나올 때는 눈에 띄어야 한다 */
.job-sch {
  margin-left: var(--s2);
  padding: 1px 7px;
  border-radius: 999px;
  background: #F2EFE9;
  color: var(--ink);
  font-size: calc(13px * var(--fs));
  font-weight: 400;
}
.job-due { flex: 0 0 auto; }

.post-meta {
  font-size: calc(15px * var(--fs));
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}
.post-head { margin-bottom: var(--s4); }
.post-head h2 { margin-bottom: 6px; }

/* 프리지아 — 이야기 나눔 위에 조용히. 숫자도 칭찬도 없다.
   그림이 자란 것 자체가 표시다 */
.bloom {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s3) 0 var(--s5);
}
.bloom-ico { width: 46px; height: 63px; flex: none; }
.bloom-ico.big { width: 92px; height: 126px; }
.bloom-say { min-width: 0; }
.bloom-now { font-size: calc(18px * var(--fs)); font-weight: 400; color: var(--ink); }
.bloom-next { font-size: calc(16px * var(--fs)); font-weight: 300; color: var(--muted); line-height: 1.5; }

/* 한 단계 올라간 순간에만 한 번. 축하하지 않는다 */
.bloom-grew {
  text-align: center;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  padding: var(--s5) var(--s4) var(--s4);
  margin-bottom: var(--s5);
}
.bloom-grew .bloom-now { font-size: calc(21px * var(--fs)); margin-top: var(--s3); }
.bloom-grew .note { margin: var(--s2) 0 var(--s4); }

/* 지역 — 열일곱 개라 줄바꿈이 필요하다 */
.region-chips { flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }

/* ── 꽃 키우기 ─────────────────────────────────────
   단계와 아무 상관 없는 자리다. 물을 줘도 자라지 않는다.
   하늘은 고르신 시·도의 오늘 날씨다. 위치는 받지 않는다 */
.garden { padding-top: var(--s4); }
.garden .sky {
  position: relative;
  height: 340px;
  margin: var(--s4) 0 var(--s6);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #F4F5F6;
}
/* 하늘빛은 아주 옅게만. 진하면 꽃이 죽는다 */
.garden.sun   .sky { background: #FFF6EC; }
.garden.cloud .sky { background: #F1F3F5; }
.garden.rain  .sky { background: #EAEFF3; }
.garden.snow  .sky { background: #F3F6F8; }

/* 때가 날씨보다 뒤에 온다 — 저녁이면 무슨 날씨든 저녁빛이다 */
.garden.dawn  .sky { background: #FBE9E0; }
.garden.dusk  .sky { background: #F6DFCD; }
.garden.night .sky { background: #2E3547; }
/* 밤에는 해를 달로 바꾼다 — 도형은 그대로 두고 색과 그림자만 바꾼다 */
.garden.night .sun-core { background: #E8E4D6; box-shadow: 0 0 0 12px rgba(232,228,214,.16); }
.garden.night .puff { background: #47506690; }
/* 밤하늘의 별. 계절 얹는 자리를 빌려 쓰지 않고 따로 둔다 */
.garden.night .sky::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 22%, #FFF, transparent),
    radial-gradient(1.4px 1.4px at 34% 12%, #FFF, transparent),
    radial-gradient(1.8px 1.8px at 62% 18%, #FFF, transparent),
    radial-gradient(1.3px 1.3px at 78% 30%, #FFF, transparent),
    radial-gradient(1.5px 1.5px at 88% 12%, #FFF, transparent),
    radial-gradient(1.4px 1.4px at 46% 34%, #FFF, transparent);
  animation: twinkle 4.2s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .85; } 50% { opacity: .45; } }

/* 여름은 얹는 것 없이 잎만 짙어진다 */
.garden.summer .garden-ico { filter: saturate(1.14); }

/* 봄 꽃잎 · 가을 낙엽 — 같은 조각을 색과 속도만 달리해 쓴다 */
.season-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.season-art .petal {
  position: absolute; top: -12px;
  width: 9px; height: 7px; border-radius: 60% 40% 55% 45%;
  animation: sway-fall 7s linear infinite;
}
.season-art.spring .petal { background: #F8C9C0; }
.season-art.autumn .petal { background: #D89652; animation-duration: 5.6s; }
@keyframes sway-fall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .95; }
  50%  { transform: translate(-26px, 170px) rotate(180deg); }
  100% { transform: translate(14px, 350px) rotate(360deg); opacity: 0; }
}
/* 겨울 — 흙 위에 서리 한 겹 */
.season-art.winter .frost {
  position: absolute; left: 12%; right: 12%; bottom: 22px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255,255,255,.86), rgba(255,255,255,0));
}

.garden-ico { width: 190px; height: 261px; position: relative; z-index: 2; margin-bottom: -6px; }
/* 물을 주면 잎이 살짝 흔들린다. 각도는 2도 — 화면이 흔들리는 느낌이 나면 안 된다 */
.garden-ico.sway { animation: sway 1.4s 1.05s ease-in-out both; transform-origin: 50% 92%; }
@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  22% { transform: rotate(-2deg); }
  55% { transform: rotate(1.6deg); }
  80% { transform: rotate(-0.8deg); }
}

.sky-art { position: absolute; inset: 0; pointer-events: none; }

/* 해 — 천천히 숨쉰다. 돌리지 않는다. 도는 해는 눈이 따라가느라 피곤하다 */
.sky-art.sun .sun-core {
  /* 왼쪽에 둔다. 오른쪽은 물뿌리개 자리다 */
  position: absolute; top: 26px; left: 34px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #FFD9A8;
  box-shadow: 0 0 0 14px rgba(255, 217, 168, .38), 0 0 0 28px rgba(255, 217, 168, .18);
  animation: sun-breathe 3.6s ease-in-out infinite;
}
@keyframes sun-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* 구름 — 가로로 천천히 지나간다 */
.sky-art.cloud .puff {
  position: absolute; border-radius: 999px; background: #FFFFFF;
  box-shadow: 0 2px 0 rgba(0,0,0,.03);
}
.sky-art.cloud .puff.a { top: 30px; width: 108px; height: 34px; animation: drift 26s linear infinite; }
.sky-art.cloud .puff.b { top: 74px; width:  76px; height: 26px; animation: drift 34s linear infinite; animation-delay: -12s; }
.sky-art.cloud .puff.c { top: 16px; width:  60px; height: 22px; animation: drift 44s linear infinite; animation-delay: -30s; }
@keyframes drift { from { left: -120px; } to { left: 100%; } }

/* 비·눈 — 같은 알갱이를 굵기와 속도만 달리해 쓴다 */
.sky-art .drop { position: absolute; top: -14px; }
.sky-art.rain .drop {
  width: 2px; height: 14px; border-radius: 2px; background: #A8BECD;
  animation: fall 1.1s linear infinite;
}
.sky-art.snow .drop {
  width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0,0,0,.03);
  animation: fall 4.2s linear infinite;
}
@keyframes fall { from { transform: translateY(0); opacity: .9; } to { transform: translateY(360px); opacity: .2; } }

/* 물 주기 — 물뿌리개가 옆에서 들어와 기울고, 주둥이에서 물이 떨어진다.
   아무것도 세지 않고 아무 데도 남기지 않는다. 그냥 보는 것이다 */
/* 감싸는 칸은 손을 안 받는다. 물뿌리개만 잡힌다 */
.can-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.can-wrap .can { pointer-events: auto; }
.can {
  /* 늘 놓여 있다. 손가락으로 끌면 따라오고, 놓으면 제자리로 돌아간다 */
  position: absolute; top: 10px; right: 14px;
  width: 104px; height: 67px;
  transform-origin: 80% 62%;   /* 손잡이 쪽을 잡고 기울인다 */
  touch-action: none;          /* 끄는 동안 화면이 함께 밀리지 않게 */
  cursor: grab;
  transition: transform .28s ease-out;
}
/* 잡고 있는 동안에는 손가락을 그대로 따라야 한다 — 되돌아가는 시간을 끊는다 */
.can.held { transition: none; cursor: grabbing; }
/* 단추로 부을 때 — 제자리에서 꽃 위로 옮겨 가 기울었다가 돌아온다 */
.garden.pouring .can { animation: can-pour 2.3s ease-in-out both; transition: none; }
@keyframes can-pour {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-74px, 28px) rotate(0deg); }
  32%  { transform: translate(-74px, 28px) rotate(-34deg); }
  72%  { transform: translate(-74px, 28px) rotate(-34deg); }
  86%  { transform: translate(-74px, 28px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* 물방울 — 단추로 붓든 끌어서 붓든 같은 것을 쓴다.
   물뿌리개의 '지금' 자리를 그때그때 읽어 그 밑에 떨군다.
   자리를 CSS 에 박아두면 물뿌리개가 움직일 때마다 어긋난다 */
.water { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.water .drip {
  position: absolute;
  width: 8px; height: 11px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: #9CC7E0;
  animation: drip-fall .9s ease-in forwards;
}
@keyframes drip-fall {
  0%   { transform: translateY(0)     scale(1);        opacity: 0; }
  12%  { opacity: 1; }
  80%  { transform: translateY(196px) scale(1);        opacity: 1; }
  100% { transform: translateY(212px) scale(1.7, .28); opacity: 0; }
}

/* 꽃 만지기 — 누른 자리가 살짝 흔들린다 */
.garden-ico { cursor: pointer; }
.garden-ico.nudge { animation: nudge .7s ease-in-out; transform-origin: 50% 92%; }
@keyframes nudge {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-1.6deg); }
  65% { transform: rotate(1.2deg); }
}
/* 물이 닿는 동안에는 계속 살랑인다 */
.garden-ico.sway-soft { animation: nudge 1.6s ease-in-out infinite; transform-origin: 50% 92%; }

/* 처음 오신 분께만 — 아주 느리게 한 번씩 흔들린다.
   글보다 움직임이 먼저 눈에 들어온다. 그 눈길이 아래 한 줄로 이어지면 된다.
   물 줄 때의 살랑임(sway-soft)보다 훨씬 느리고 작게 둔다.
   빠르면 재촉하는 것처럼 보이고, 이 화면은 재촉하는 곳이 아니다.
   물이 닿는 동안에는 그쪽 흔들림에 자리를 내준다 */
.garden-ico.askme { animation: askme 4.5s ease-in-out 1.2s infinite; transform-origin: 50% 92%; }
.garden-ico.askme.sway, .garden-ico.askme.sway-soft { animation: none; }
@keyframes askme {
  0%, 86%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(-1.1deg); }
  95% { transform: rotate(0.8deg); }
}
/* 흔들림을 꺼두신 분께는 글만 남는다 */
@media (prefers-reduced-motion: reduce) {
  .garden-ico.askme { animation: none; }
}

.touch-hint { text-align: center; margin: var(--s3) 0 0; }

/* 화분 고르기 */
.pot-row { margin-top: var(--s5); }
.pot-title { font-size: calc(15px * var(--fs)); color: var(--muted); margin-bottom: var(--s2); }
.pot-row .chips { flex-wrap: wrap; gap: var(--s2); }
.pour-hint { text-align: center; margin: var(--s2) 0 0; }

.garden-say { text-align: center; }
.garden-say .bloom-now { font-size: calc(22px * var(--fs)); }
.garden-say .bloom-next { font-size: calc(17px * var(--fs)); margin-top: var(--s1); }
.garden-sky { text-align: center; margin-top: var(--s4); }

/* 이야기 탭의 띠는 누를 수 있다 — 단추 기본 모양을 지운다 */
.bloom { width: 100%; background: none; border: none; font-family: inherit; text-align: left; cursor: pointer; }

/* 알림 — 읽지 않은 것이 있을 때만 나온다.
   늘 자리를 차지하면 게시판이 아래로 밀린다 */
.notices {
  border: 1.5px solid var(--orange-70);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4) var(--s2);
  margin-bottom: var(--s5);
}
.notice {
  display: block;
  width: 100%;
  min-height: 44px;              /* 피츠 */
  padding: var(--s2) 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hair-soft);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.notice:last-of-type { border-bottom: none; }
.notice-what { display: block; font-size: calc(17px * var(--fs)); font-weight: 400; color: var(--ink); }
/* 어느 글인지. 글 내용이 아니라 제목만 옮긴다 */
.notice-where { display: block; font-size: calc(15px * var(--fs)); font-weight: 300; color: var(--muted); }

/* 탭 위의 점. 숫자를 적지 않는다 — 몇 개 남았는지는 재촉이 된다 */
.tab-ico-wrap { position: relative; display: inline-flex; }
.tab-dot {
  position: absolute;
  top: -1px; right: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* '글쓴이에게 도움이 된 답' — 조용한 한 줄.
   숫자도 순위도 없다. 개수를 보이면 인기 경쟁이 된다 */
.helpful-mark {
  display: inline-block;
  margin-top: var(--s2);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: #A8541A;                /* 옅은 면 위에서 읽히도록 오렌지를 어둡게 */
  font-size: calc(15px * var(--fs));
  font-weight: 400;
}
/* 표시를 거두는 길. 잘못 눌렀을 때 되돌릴 데가 없으면 안 된다 */
.quiet-link { color: var(--disabled-ink); font-size: calc(15px * var(--fs)); }

/* ── 직업 카드 도감 ──────────────────────────────────
   격자에는 그림과 이름만. 누르면 그 장이 화면 가득 열린다.

   전에는 카드 안에서 뒤집어 설명까지 넣었다. 180px 칸에 다 넣느라
   글씨가 13px 이 됐다 — 이 앱을 쓰시는 분들께 내놓을 크기가 아니다.
   작은 칸에 맞추려 글을 줄이는 것은 순서가 거꾸로다.
   읽을 수 있는 크기를 먼저 정하고, 자리를 그만큼 준다 */
.fc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
/* 카드 — 세로로 긴 액자 비율(120:160). 타로 카드의 문법이다.
   액자와 프리지아는 그림 안(SVG)에 함께 그려 넣는다. 이름만 글자로 얹는다 —
   글자는 '글자 크기' 설정을 따라야 하므로 그림에 넣으면 안 된다 */
.fcard {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 120 / 160;
  padding: 0;
  border: none;
  border-radius: var(--r-md);
  background: none;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fcard:active { opacity: .82; }
.fc-art { display: block; width: 100%; height: 100%; }
/* 액자 아래쪽 구분선(y=124/160) 밑에 앉힌다 */
/* 카드 이름만 따로 묶는다.
   액자 안 고정된 자리(74%~95%)에 얹혀 있어서, 글자가 커지면 액자를 넘는다.
   실측으로 1.4배부터 넘쳤다 (2026.09.08 · 11장 중 5장).

   격자는 **훑어보는 곳**이고 읽는 곳은 펼친 카드다. 펼치면 글자 크기를
   끝까지 따라간다. 이름은 화면낭독기용 aria-label 에도 들어 있다.
   그래서 이 한 곳만 1.3 에서 멈춘다 — 액자가 깨지는 것보다 낫다 */
.fc-name {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 74%;
  bottom: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(15px * min(var(--fs), 1.3));
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
  color: var(--ink);
}

/* ── 펼친 카드 ───────────────────────────────────────
   화면을 덮는다. 뒤에 격자가 비쳐 보이면 어느 것을 읽는 중인지 흐려진다.
   돌면서 커진다 — 카드를 뒤집어 보는 느낌은 남긴다 */
.fc-open {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  background: rgba(24, 22, 20, .45);
  perspective: 1200px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.fo-card {
  width: 100%;
  max-width: 30rem;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--bg);
  overflow: hidden;
  animation: fo-pop .34s cubic-bezier(.22,.61,.36,1) both;
  box-shadow: 0 10px 40px rgba(0,0,0,.24);
}
@keyframes fo-pop {
  from { transform: rotateY(-58deg) scale(.86); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
/* 펼친 화면에서는 카드를 통째로 위에 두고 설명은 그 아래로 간다.
   폭을 꽉 채우면 카드 하나가 화면을 다 먹어 설명을 보려면 스크롤부터 해야 한다.
   높이를 화면의 40%로 묶고 가운데 세운다 — 카드가 카드처럼 보인다 */
.fo-art {
  display: block;
  flex: 0 0 auto;
  height: min(40vh, 320px);
  width: auto;
  max-width: 100%;
  margin: var(--s4) auto 0;
}
/* 안쪽만 굴러가게 한다. 카드 전체가 굴러가면 그림이 먼저 사라진다 */
.fo-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: var(--s5); }
.fo-name { margin: 0 0 var(--s4); }
.fo-line { margin-bottom: var(--s4); }
.fo-line b {
  display: block;
  font-weight: 400;
  font-size: calc(15px * var(--fs));
  color: var(--muted);
  margin-bottom: 2px;
}
.fo-line span {
  font-size: calc(18px * var(--fs));
  line-height: 1.65;
  word-break: keep-all;
}
/* 어려운 점 — 모든 장에 있다. 세로 선으로 붙잡아 둔다 */
.fo-hard {
  padding: var(--s2) 0 var(--s2) var(--s4);
  border-left: 3px solid var(--orange);
}
.fo-hard b { color: var(--orange); }
/* 어느 회사가 내놓은 장인지. 조용하지만 반드시 보이게 */
.fo-by {
  margin: var(--s4) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--hair);
  font-size: calc(14px * var(--fs));
  color: var(--muted);
  text-align: right;
}
.fo-body .btn { margin-top: var(--s5); margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .fo-card { animation: none; }
}

/* 도감으로 가는 줄 — 공고 상세, 이력서 방향 줄, 어디서든 같은 모양.
   생김새가 같아야 '아까 그것' 인 줄 아신다 */
.at-go {
  display: flex;
  align-items: center;
  gap: var(--s3);
  width: 100%;
  min-height: 60px;
  padding: var(--s3) 0;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.at-go-ico { flex: 0 0 auto; width: 24px; height: 24px; color: var(--orange); }
.at-go-t {
  flex: 1;
  min-width: 0;
  font-size: calc(17px * var(--fs));
  color: var(--ink);
  line-height: 1.5;
  word-break: keep-all;
}

/* 일자리 탭 아래 미리 깔아 두는 세 장 */
.fc-grid.at-peek { grid-template-columns: repeat(3, 1fr); margin-bottom: var(--s4); }
.at-peek .fc-name { font-size: calc(12px * var(--fs)); }

/* 방향 줄 — 세모만으로는 눌리는 줄인 줄 모르셨다 */
.dir-more {
  flex: 0 0 auto;
  align-self: center;
  font-size: calc(14px * var(--fs));
  color: var(--muted);
}

/* 방향 줄이 눌리는 줄이 되었다 */
.dir-row.as-open {
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--hair-soft, var(--hair));
}
.dir-go {
  flex: 0 0 auto;
  align-self: center;
  width: 0; height: 0;
  border-left: 7px solid var(--muted);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ── 글 찾기 ─────────────────────────────────────────
   칸과 단추를 한 줄에. 세로로 쌓으면 목록이 두 줄 밀린다.
   '찾기' 단추를 굳이 두는 이유 — 자판의 확인 키로만 되게 해두면
   그 키가 어디 있는지부터 찾으셔야 한다 */
.find { display: flex; gap: var(--s2); margin-bottom: var(--s4); }
.find-hint { margin: -8px 0 var(--s4); color: var(--orange); }
.find-in {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 10px var(--s4);
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: calc(17px * var(--fs));
}
.find-in::placeholder { color: var(--muted); }
.find-in:focus { outline: none; border-color: var(--orange); }
.btn.find-go {
  flex: 0 0 auto;
  width: auto;
  min-height: 52px;
  margin: 0;
  padding: 0 var(--s5);
  font-size: calc(17px * var(--fs));
}

/* 무엇으로 몇 개를 찾았는지, 그리고 되돌아가는 길 */
.find-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s2) 0 var(--s3);
  border-bottom: 1px solid var(--hair);
  margin-bottom: var(--s2);
  font-size: calc(16px * var(--fs));
  color: var(--muted);
}
.find-bar .cm-act { min-height: 44px; padding: 0; flex: 0 0 auto; }

/* 어디서 걸렸는지 — 댓글에서만 걸린 글은 제목이 딴소리로 보인다.
   왜 나왔는지 보여드리지 않으면 잘못 찾은 것처럼 읽힌다 */
.find-hit {
  margin: 4px 0 6px;
  font-size: calc(15px * var(--fs));
  color: var(--muted);
  line-height: 1.55;
  word-break: keep-all;
}
.find-hit b {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: #A8541A;
  font-size: calc(13px * var(--fs));
  font-weight: 400;
}

.comment {
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--hair);
  font-size: calc(17px * var(--fs));
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.comment .post-meta { margin-bottom: 4px; }
/* 답글 — 들여쓰기만 한다. 테두리나 배경을 더하지 않는다 */
.comment.reply { padding-left: var(--s5); }
.comment .writer { font-weight: 400; }

/* 댓글 밑에 붙는 단추 — 한 줄에 나란히.
   밑줄을 걷었다. 댓글마다 밑줄 친 줄이 둘씩 서면 그것이 글보다 먼저 보인다.
   한 줄에 모아두면 자리가 곧 '여기가 누를 곳' 이라는 표시가 된다.
   높이를 44px 로 잡은 것은 손가락이 닿을 최소 크기이기 때문이다.
   전에는 22px 이라 눌러도 잘 안 눌렸다 */
.cm-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--s7);   /* 붙여두면 두 단추가 한 문장처럼 읽힌다 */
  margin-top: 2px;
}
.cm-act {
  background: none;
  border: 0;
  padding: 11px 0;
  min-height: 44px;
  font-family: inherit;
  font-size: calc(16px * var(--fs));
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
/* 거두는 것은 되돌리는 일이라 먼저 눈에 띌 이유가 없다 */
.cm-act.quiet { color: var(--muted); font-weight: 400; }
.cm-act:active { color: var(--orange); }

/* 지키는 것 */
ul.guide {
  margin: 0 0 var(--s4);
  padding-left: 1.1em;
  color: var(--muted);
  font-size: calc(16px * var(--fs));
  line-height: 1.7;
}
ul.guide li { margin-bottom: 6px; word-break: keep-all; overflow-wrap: break-word; }

/* 설정의 문서 줄 */
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: var(--s3) 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hair);
  font-family: inherit;
  font-size: calc(17px * var(--fs));
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  word-break: keep-all;
}
.row-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* 제목 한 줄 입력 */
.answer-box.one-line {
  min-height: 56px;
  height: 56px;
  resize: none;
}

/* ── 구인 정보 ─────────────────────────────────────── */

.chip.off, .chip:disabled { opacity: .45; cursor: default; }

select.pick {
  flex: 1;
  min-height: 52px;
  padding: 0 var(--s4);
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  background: #FFFFFF;
  font-family: inherit;
  font-size: calc(17px * var(--fs));
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
}
select.pick:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.post.job .post-meta + .post-meta { margin-top: 2px; }


/* 바깥으로 나가는 버튼 — 링크지만 버튼처럼 */
a.btn.as-link {
  display: block;
  text-decoration: none;
  line-height: 52px;
}

/* 지원 자격 원문 — 줄바꿈 살리되 가로로 넘치지 않게 */
p.lead.pre {
  white-space: pre-wrap;
  font-size: calc(16px * var(--fs));
  color: var(--muted);
  background: #FAFAFB;
  border-radius: var(--r-md);
  padding: var(--s4);
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ── 옮겨 적은 것 ────────────────────────────────────
   사진 대신 글로 받는 자리. 본문과 확실히 갈라 보여야
   "이건 이분 말이 아니라 옮겨 적은 것" 이라고 읽힌다.
   왼쪽 선 하나로 가른다. 상자를 또 치면 본문 상자와 겹쳐 답답해진다 */
.quoted {
  margin: var(--s4) 0 0;
  padding: 0 0 0 var(--s4);
  border-left: 3px solid var(--hair);
}
.quoted figcaption {
  font-size: calc(14px * var(--fs));
  color: var(--muted);
  margin-bottom: var(--s2);
}
.quoted p.pre {
  white-space: pre-wrap;
  margin: 0;
  font-size: calc(16px * var(--fs));
  line-height: 1.7;
  color: var(--muted);      /* 본문보다 앞서 보이면 안 된다. 이건 이분 말이 아니다 */
  word-break: keep-all;
  overflow-wrap: break-word;
  max-height: 320px;
  overflow-y: auto;
}

/* 쓰는 칸 — 본문보다 낮게 시작한다. 안 쓰셔도 되는 칸이 본문만큼
   크면 "여기도 채워야 하나" 싶어진다 */
.answer-box.quote-in { min-height: 92px; }

/* 절 이름 옆에 붙는 '안 쓰셔도 됩니다' */
.section-title .opt {
  font-size: calc(15px * var(--fs));
  font-weight: 400;
  color: var(--muted);
  margin-left: var(--s2);
}

/* 신고 결과 안내 — 조용히, 그러나 놓치지 않게 */
p.lead.said {
  border-left: 3px solid var(--orange);
  padding-left: var(--s3);
  font-size: calc(17px * var(--fs));
}

/* 좁은 화면 — 디버그는 접힌 상태가 기본이고, 펼쳐도 아래쪽에만 */
@media (max-width: 720px) {
  #debug { left: 14px; right: 14px; }
  #debug .panel { width: auto; max-height: 60vh; }
  #debug .toggle { float: right; }
}


/* ── 앱 머리줄 (v0.8) ───────────────────────────────
   왼쪽에 이름, 오른쪽에 글자 크기. 탭은 아래로 내렸다 */
.appbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}
/* ── 지금 보시는 곳 ──────────────────────────────────
   이력서 탭은 네 화면이 넘는다. 스크롤하다 보면 무엇을 읽는지 잃는다.
   머리 바로 밑에 붙어 절 이름을 계속 보여준다.

   누를 것이 아니라 읽을 것이다. 그래서 단추처럼 보이지 않게,
   그러나 본문에 묻히지도 않게 둔다. */
.secnow {
  position: sticky;
  top: var(--appbar-h, 56px);
  z-index: 5;
  margin: 0 calc(-1 * var(--s5)) var(--s4);
  padding: 10px var(--s5);
  background: var(--orange-tint);
  border-bottom: 1px solid var(--hair-soft);
  color: var(--muted);
  font-size: calc(15px * var(--fs));
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 제목이 아직 눈앞에 있을 때는 글자만 감춘다. 높이는 그대로 두어
   나타날 때 아래 글이 밀리지 않게 한다 */
.secnow.idle { opacity: 0; }

.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* 상표(프리지아)는 제 색을 가지고 있다. currentColor 를 따라가지 않는다 */
.brand-ico { width: 28px; height: 28px; flex: none; }

/* 글자 크기 단추 — 작은 가, 큰 가. 글자 자체가 설명이 된다 */
.fontbtn {
  display: flex;
  align-items: center;      /* baseline 이면 작은 '가'가 위로 붙어 보인다 */
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 10px;
  background: none;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}
.fontbtn .fa-s { font-size: calc(14px * var(--fs)); line-height: 1; }
.fontbtn .fa-l { font-size: calc(21px * var(--fs)); line-height: 1; }
.fontbtn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.fontrow {
  position: sticky;
  top: 57px;
  z-index: 6;
  display: flex;
  gap: var(--s2);
  padding: var(--s3) var(--s5);
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}
.fontpick {
  flex: 1;
  min-height: 52px;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: calc(17px * var(--fs));
  cursor: pointer;
}
.fontpick.on { background: var(--orange-tint); border-color: var(--orange); }

/* ── 말투 고르기 (④ 면접) ────────────────────────────
   세 가지를 다 펼쳐 두지 않고 하나만 보여드린다.
   고르는 자리를 눈에 보이게 두어야 '고르라는 것' 임을 안다.
   글자가 길어 한 줄에 셋이 안 들어가면 다음 줄로 넘어간다 — 줄이지 않는다. */
.pickrow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s3);
}
.pick {
  flex: 1 1 auto;
  min-height: 52px;
  padding: 10px var(--s4);
  border: 1.5px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--muted);
  font-family: inherit;
  font-size: calc(16px * var(--fs));
  cursor: pointer;
}
.pick.on {
  background: var(--orange-tint);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

/* ── 이력서 탭 — 접었다 폈다 (v0.8) ─────────────────
   기본은 전부 접힘. 제목과 기간만 보이므로 한 화면에 다 들어온다 */
.acc { border-top: 1px solid var(--hair); }
.acc-item { border-bottom: 1px solid var(--hair); }
.acc-head {
  display: flex;
  align-items: center;
  gap: var(--s4);
  width: 100%;
  min-height: 72px;
  padding: var(--s4) 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}
/* 펼침 표시는 삼각형 하나로. 아이콘을 더 늘리지 않는다 */
.acc-mark {
  flex: none;
  width: 0; height: 0;
  border-left: 7px solid var(--muted);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: transform .12s ease;
}
.acc-item.on .acc-mark { transform: rotate(90deg); border-left-color: var(--orange); }
.acc-title { flex: 1; font-size: calc(20px * var(--fs)); line-height: 1.5; word-break: keep-all; }
.acc-dur { flex: none; font-size: calc(17px * var(--fs)); color: var(--muted); }
.acc-body { padding: var(--s1) 0 var(--s5) 22px; }

/* ── 옮겨 적을 문장 — 접어 둔 다섯 절 (v1.2) ────────
   전부 펴 두었더니 이 탭이 3.7 화면이었다. 그런데 그 글은 대부분
   본인이 하신 말에서 나온 것이라 지울 수가 없다. 접는다.

   접은 줄에는 첫 마디를 붙여 둔다. 그것이 이 방식의 전부다 —
   붙이지 않으면 '아무것도 없는 목록' 이고, 붙이면 '목차' 가 된다.
   아래 세모(.acc-mark)와 여는 방식은 '하신 일' 목록과 같은 것을 쓴다.
   같은 앱 안에서 여는 방법이 두 가지면 하나는 못 찾으신다 */
.wg-acc { border-top: 1px solid var(--hair); }
.wg-sec { border-bottom: 1px solid var(--hair); }
.wg-head {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  width: 100%;
  min-height: 64px;
  padding: var(--s4) 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}
.wg-head .acc-mark { margin-top: 9px; }
/* 절 그림 — 탭 아이콘과 같은 선, 같은 오렌지 */
.wg-ico { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }

.wg-sec.on .acc-mark { transform: rotate(90deg); border-left-color: var(--orange); }
.wg-t {
  flex: 1;
  min-width: 0;
  font-size: calc(19px * var(--fs));
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}
/* 첫 마디 — 제목보다 확실히 낮춘다. 같은 무게면 두 줄짜리 제목으로 읽힌다 */
.wg-peek {
  display: block;
  margin-top: 3px;
  font-size: calc(15px * var(--fs));
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wg-body { padding: 0 0 var(--s5) 22px; }
.wg-body > .card:first-child { margin-top: 0; }

/* 관련 직무 — 쉼표로 늘어놓지 않고 알약으로 (v0.8) */
.tagchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
/* 항목 내용과 그 항목을 손보는 단추를 떼어 놓는다.
   붙어 있으면 키워드 줄의 연장으로 보여서, 누를 것과 읽을 것이 섞인다 */
.acc-body .btn-row { margin-top: var(--s6); }
.tagchip {
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: calc(16px * var(--fs));
  color: var(--ink);
  background: #FAFAFB;
  word-break: keep-all;
}

/* ── 어울려 보이는 쪽 (v0.8, F-21) ───────────────── */
/* 바깥 테두리를 걷었다. 안에 카드가 셋 들어 있어 테두리가 겹쳐 답답했고,
   좌우 여백까지 먹어 글이 좁아졌다. 한 묶음이라는 것은 제목과 아래 안내가
   이미 말해 준다 */
.dir {
  margin-bottom: var(--s6);
}
/* v1.0 — 이 탭의 첫 물음이 되었으므로 제목 무게로 올린다 */
.dir-h { font-size: calc(23px * var(--fs)); font-weight: 700; line-height: 1.45; margin: 0 0 var(--s5); word-break: keep-all; }

/* v1.3 — 방향 하나 = 카드 하나. 도감 카드를 그대로 쓴다.

   줄로 눕혔던 것을 다시 세운다. 다만 처음의 그 카드가 아니다 —
   테두리와 여백만 있던 상자가 아니라, 그림이 든 도감 카드다.
   여기서 누르면 열리는 그 카드가 여기 이미 놓여 있으니 두 화면이 이어진다.

   가로로 늘어놓는다. 셋이 화면 폭을 살짝 넘어 세 번째가 잘려 보이는데,
   그 잘림이 '옆으로 더 있다' 는 표시가 된다. 화살표를 따로 두지 않아도 된다.

   근거(.dir-why)는 카드 밑에 그대로 남긴다. 이 절의 핵심은 그림이 아니라
   '이 방향은 당신이 말한 이것에서 나왔다' 이다 */
.dir-cards {
  display: flex;
  gap: var(--s3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: var(--s2);
  margin-bottom: var(--s3);
}
.dir-cards::-webkit-scrollbar { display: none; }
.dir-card2 {
  flex: 0 0 auto;
  /* 카드 안을 **위에서부터** 쌓는다.
     .dir-cards 가 flex(stretch) 라 카드 높이는 가장 긴 것에 맞춰 다 같아지는데,
     button 은 내용을 세로 가운데에 놓는 성질이 있다. 그래서 근거가 한 줄 짧은
     카드는 남는 높이가 위아래로 나뉘어 **그림이 11px 내려앉았다** (2026.09.10 실측).
     세 장을 나란히 놓는 화면에서 한 장만 어긋나면 바로 눈에 띈다 */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  /* 두 장이 다 들어오고 세 번째가 살짝 걸치는 폭.
     그 걸침이 '옆으로 더 있다' 는 표시가 된다 */
  width: calc(172px * var(--fs));
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dir-card2:active { opacity: .82; }

/* 카드 아래 한 줄 — 눌렀을 때 어디로 가는지 미리 알린다.
   세모 하나만 두었더니 눌리는 줄 모르셨다. 말로 적는다 */
.dir-card2 .dir-go2 {
  display: block;
  margin-top: var(--s1);
  padding: 0 4px;
  font-size: calc(14px * var(--fs));
  font-weight: 400;
  color: var(--orange);
  text-align: center;
}

/* 도감에 없는 방향 — 액자를 옅게 해서 **설명 카드가 아님**을 미리 알린다.
   셋이 똑같이 생겼는데 하나만 다른 데로 가면 속은 기분이 든다.
   누를 수 없다는 뜻이 아니다 — 눌리되 가는 데가 다르다는 뜻이다 */
.dir-card2.no-card .dir-card2-art { opacity: .55; }
.dir-card2.no-card .dir-card2-name { color: var(--muted); }
.dir-card2.no-card .dir-go2 { color: var(--muted); }
.dir-card2-in { position: relative; display: block; }
.dir-card2-art { display: block; width: 100%; height: auto; }
/* 이름은 액자 아래쪽 구분선 밑에 앉힌다 (도감 카드와 같은 자리) */
.dir-card2-name {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 74%;
  bottom: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(15px * var(--fs));
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
  color: var(--ink);
}
.dir-card2 .dir-why {
  display: block;
  margin-top: var(--s2);
  padding: 0 4px;
  font-size: calc(15px * var(--fs));
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
}

/* 방향 하나 = 카드 하나. 근거를 접지 않는다 */
.dir-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: var(--bg);
  padding: var(--s4);
  margin-bottom: var(--s3);
}
.dir-top { display: flex; align-items: center; gap: var(--s3); }
.dir-name { font-size: calc(19px * var(--fs)); font-weight: 700; word-break: keep-all; }
.dir-card .dir-ico { flex: 0 0 auto; width: 26px; height: 26px; color: var(--orange); }

/* 어느 일에서 나왔는지 — 세로 선으로 잇는다.
   글로만 적으면 '왜 이 쪽인지' 가 남의 판단으로 읽힌다.
   선으로 이으면 내가 한 일에서 나온 것이 눈에 보인다 */
.dir-from {
  margin-top: var(--s3);
  padding-left: var(--s4);
  border-left: 2px solid var(--orange-tint);
}
.dir-from-h {
  display: block;
  font-size: calc(14px * var(--fs));
  color: var(--muted);
  margin-bottom: var(--s1);
}
.dir-from-item {
  font-size: calc(16px * var(--fs));
  line-height: 1.55;
  word-break: keep-all;
  margin-bottom: var(--s1);
}
.dir-from-dur { color: var(--muted); font-size: calc(14px * var(--fs)); margin-left: var(--s2); }
.dir-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s4); }
.dir-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 17px 0 14px;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: calc(18px * var(--fs));
  cursor: pointer;
  word-break: keep-all;
}
.dir-pill.on { border-color: var(--orange); background: var(--orange-tint); }
/* 이제 .dir-from 안에 들어가므로 세로선과 들여쓰기는 그쪽이 맡는다.
   예전에는 여기서 3px 진한 주황 선을 따로 그어, 근거가 약한 카드가
   오히려 더 크게 소리쳤다 */
.dir-why {
  font-size: calc(16px * var(--fs));
  color: var(--muted);
  line-height: 1.66;
  margin: 0;
  word-break: keep-all;
}
.dir-ico { width: 26px; height: 26px; flex: none; color: var(--orange); margin-top: 2px; }
.dir-note { font-size: calc(15px * var(--fs)); color: var(--muted); margin: var(--s3) 0; }

/* ── 일자리 필터 — 가로 한 줄 (v0.8) ────────────────
   세로로 쌓으면 필터가 첫 화면을 다 먹고 공고가 한 건도 안 보인다 */
.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: var(--s2);
  margin-bottom: var(--s4);
  -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar select {
  flex: 0 1 auto;
  width: auto;
  max-width: 46%;
  min-height: 48px;
  padding: 0 30px 0 13px;
  text-overflow: ellipsis;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  background: var(--bg) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236B6B72' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: calc(16px * var(--fs));
  color: var(--ink);
  white-space: nowrap;
}
.filter-bar select.set { border-color: var(--orange); background-color: var(--orange-tint); }

/* 마감이 임박한 것은 눈에 띄어야 한다. 지나면 지원할 수 없다 */
.due-soon { color: var(--orange); }

/* 둘러보기에서 보여드리는 예시 — 실제 내용과 헷갈리면 안 된다 */
.sample { position: relative; border: 1.5px dashed var(--hair); border-radius: var(--r-lg); padding: var(--s5) var(--s4) var(--s3); }
.sample-tag {
  position: absolute; top: -11px; left: var(--s4);
  padding: 1px 9px;
  background: var(--bg);
  color: var(--muted);
  font-size: calc(14px * var(--fs));
}
.sample .acc { border-top: none; }
.sample .acc-item { border-bottom: none; }

/* 게시판·설정 미리보기 줄 */
.board-card { padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
.board-card b { display: block; font-size: calc(19px * var(--fs)); font-weight: 400; }
.board-card span { display: block; font-size: calc(16px * var(--fs)); color: var(--muted); line-height: 1.6; margin-top: 3px; word-break: keep-all; }
/* 칸이나 목록 바로 아래 붙는 안내는 떼어 놓는다.
   선·테두리는 위 덩어리의 끝을 긋는 것이지 안내까지 묶는 것이 아니다 */
.board-card + .note,
.board-card + .note + .note,
.sample + .note,
.card + .note,
.item + .note { margin-top: var(--s6); }

/* ── 새일센터 교육과정 ────────────────────────────────
   구인 목록 아래에 붙는다. 자리만 보여드리면 '자격이 없어 못 간다'로
   끝나므로, 배울 곳을 같은 화면에 둔다 */
.train {
  margin-top: var(--s7);
  padding-top: var(--s6);
  border-top: 1px solid var(--hair);
}
.train h3 {
  font-size: calc(19px * var(--fs));
  margin: 0 0 var(--s3);
}
.train-item {
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--hair-soft);
}
.train-item:last-of-type { border-bottom: 0; }
.train-name {
  font-weight: 700;            /* 한화고딕 Bold */
  font-size: calc(17px * var(--fs));
  line-height: 1.45;
}

/* 꽃을 만졌을 때 잠깐 떠올랐다 사라지는 말.
   하늘 안에 얹으므로 위치는 절대값이다. 눌리는 자리를 가리지 않게
   꽃보다 위, 물뿌리개보다 위에 둔다 */
.touch-say {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  margin: 0;
  max-width: 78%;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font-size: calc(16px * var(--fs));
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;          /* 말이 꽃을 가려 못 누르게 되면 안 된다 */
  animation: touch-say 2.6s ease-out forwards;
}
/* 떠올랐다 머물렀다 사라진다. 갑자기 사라지면 읽다 만 느낌이 든다 */
@keyframes touch-say {
  0%   { opacity: 0; transform: translate(-50%, 8px); }
  14%  { opacity: 1; transform: translate(-50%, 0); }
  72%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -6px); }
}
/* 밤에는 흰 판이 너무 밝다 */
.garden.night .touch-say { background: rgba(28, 30, 34, .78); color: #F2F2F3; }

/* ── 인쇄(PDF) ────────────────────────────────────────
   양식 값은 questions.json 의 resumeDoc 에서 옵니다.
   여기서는 그 값을 담을 그릇만 만듭니다 — 크기를 코드에 박지 않습니다 */
#doc { display: none; }

@media print {
  /* 화면용은 전부 숨기고 문서만 낸다 */
  #app, #debug, #boom { display: none !important; }
  #doc {
    display: block;
    margin: 0;
    padding: var(--doc-margin, 18mm);
    font-family: "HanwhaGothic", system-ui, sans-serif;
    font-weight: 300;
    font-size: var(--doc-body, 12pt);
    line-height: var(--doc-lh, 1.7);
    color: #000;
    background: #fff;
  }
  body { background: #fff; }

  .doc-head { margin-bottom: 10mm; }
  .doc-head h1 {
    font-size: var(--doc-title, 24pt);
    font-weight: 700;              /* 한화고딕 Bold */
    margin: 0 0 2mm;
    letter-spacing: -.01em;
  }
  .doc-sub  { margin: 0 0 4mm; color: #444; }
  .doc-who  { margin: 0; font-weight: 400; }
  .doc-date { margin: 0; color: #444; }
  .doc-note { margin: 4mm 0 0; color: #444; }

  .doc-sec {
    font-size: calc(var(--doc-body, 12pt) * 1.15);
    font-weight: 700;
    margin: 8mm 0 3mm;
    padding-bottom: 1.5mm;
    border-bottom: .4mm solid #000;
  }
  /* 항목이 쪽 경계에서 잘리지 않게 한다.
     기간과 수행 내용이 다른 쪽으로 넘어가면 읽는 사람이 이어 붙여야 한다 */
  .doc-item { break-inside: avoid; page-break-inside: avoid; margin-bottom: 6mm; }
  .doc-item h2 { font-size: calc(var(--doc-body, 12pt) * 1.2); font-weight: 700; margin: 0 0 1.5mm; }
  .doc-item h3 { font-size: var(--doc-body, 12pt); font-weight: 700; margin: 0 0 1.5mm; }
  .doc-line { margin: 0 0 1mm; }
  .doc-line b { font-weight: 400; }

  .doc-stopped { color: #333; }
  .doc-gap { break-inside: avoid; page-break-inside: avoid; }
  .doc-gap p { margin: 0; }

  .doc-foot {
    margin-top: 10mm;
    padding-top: 3mm;
    border-top: .3mm solid #999;
    font-size: calc(var(--doc-body, 12pt) * .85);
    color: #555;
  }

  @page { margin: 0; }
}

/* ── 보내기 미리보기 (F-38) ──────────────────────────
   무엇이 나가는지 보지 않고 보내게 하지 않습니다 */
.send-box {
  margin-top: var(--s5);
  padding: var(--s5);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: #FCFCFD;
}
.send-box h3 {
  font-size: calc(19px * var(--fs));
  font-weight: 700;            /* 한화고딕 Bold */
  margin: 0 0 var(--s2);
}
/* 실제로 나갈 글자 그대로. 요약하지 않습니다 */
.send-view {
  margin: var(--s4) 0;
  padding: var(--s4);
  max-height: 40vh;
  overflow-y: auto;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: calc(16px * var(--fs));
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: keep-all;
}
/* 되돌릴 수 없다는 말은 작게 쓰지 않습니다 */
.send-warn { font-weight: 400; color: var(--ink); }

/* ── 옮겨 적을 문장 ─────────────────────────────────
   지원서 경력 칸은 [기간 / 기관·활동 / 담당 업무] 세 줄이다.
   기관 칸은 우리가 모르므로 빈칸으로 두고 이용자가 채운다 */
.apply-row {
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: var(--s4);
  margin-bottom: var(--s4);
  background: #fff;
}
.apply-cell { display: flex; gap: var(--s3); padding: calc(var(--s2) + 1px) 0; }
.apply-cell + .apply-cell { border-top: 1px dashed var(--hair); }
.apply-cell b {
  flex: 0 0 5.2em;
  font-weight: 700;
  font-size: calc(15px * var(--fs));
  color: var(--muted);
}
.apply-cell span { flex: 1; font-size: calc(16px * var(--fs)); line-height: 1.6; }
.apply-cell .apply-blank {
  color: var(--muted);
  border-bottom: 1px dashed var(--orange);
  padding-bottom: 2px;
}

/* 자기소개서 문단 — 그대로 옮겨 적는 글이므로 읽기 좋게 띄운다 */
.para {
  font-size: calc(16px * var(--fs));
  line-height: 1.85;
  margin: 0 0 var(--s4);
  white-space: pre-wrap;
}
.btn.copy.on { background: var(--orange-tint); border-color: var(--orange); color: var(--orange); }

/* 종이에서도 문장이 먼저 나온다 */
#doc .doc-sub2 {
  font-weight: 700;
  font-size: calc(var(--doc-body) + 1pt);
  margin: 0.9em 0 0.2em;
}

/* ── 화면 전환 ────────────────────────────────────────
   앞으로 갈 때는 새 화면이 오른쪽에서 들어오고 옛 화면이 왼쪽으로 조금 빠진다.
   뒤로 올 때는 반대다. 손가락이 민 방향과 화면이 움직이는 방향이 같아야
   '내가 움직였다' 로 읽힌다.

   옛 화면은 30%만 움직인다 — 새 화면보다 느리게 빠져야 층이 생긴다.
   둘 다 같은 속도로 지나가면 그냥 스쳐 지나간 것처럼 보인다.

   .22s — 토스를 비롯한 앱들이 대체로 0.2~0.3s 를 쓴다. 그보다 길면 굼뜨고,
   짧으면 움직인 줄 모른다. 주 이용자가 50~60대라 짧은 쪽으로 몰지 않았다. */
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .22s; animation-timing-function: cubic-bezier(.22,.61,.36,1); }

@keyframes vt-in-right  { from { transform: translateX(28%);  opacity: .4; } }
@keyframes vt-out-left  { to   { transform: translateX(-8%);  opacity: 0;  } }
@keyframes vt-in-left   { from { transform: translateX(-28%); opacity: .4; } }
@keyframes vt-out-right { to   { transform: translateX(8%);   opacity: 0;  } }

html[data-nav="fwd"]::view-transition-new(root)  { animation-name: vt-in-right; }
html[data-nav="fwd"]::view-transition-old(root)  { animation-name: vt-out-left; }
html[data-nav="back"]::view-transition-new(root) { animation-name: vt-in-left; }
html[data-nav="back"]::view-transition-old(root) { animation-name: vt-out-right; }

/* 머리(상표·글자 크기)와 아래 탭은 제자리에 두고 가운데만 넘긴다.
   틀이 같이 미끄러지면 화면 전체가 흔들려 멀미가 난다.

   none 으로는 안 빠진다. 화면 전체가 root 라는 이름 하나로 찍히기 때문에
   그 안에 있는 한 같이 끌려간다. **이름을 따로 줘야** 따로 찍혀서
   제 자리에 머문다 — 움직이지 않는 것끼리 겹치니 가만히 있는 것처럼 보인다 */
.appbar { view-transition-name: appbar; }
.tabbar { view-transition-name: tabbar; }

/* 움직임을 줄여 달라고 하신 기기에서는 아예 걸지 않는다.
   app.js 에서도 막지만, 여기서 한 번 더 막아 둔다 */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ── 누르면 눌린다 ────────────────────────────────────
   화면이 큰 기기에서는 손가락이 단추를 가려서, 눌렀는지 아닌지를
   **화면이 대신 말해줘야** 한다. 안 그러면 두 번 누르시게 된다.

   0.97 — 눈에 겨우 보이는 정도다. 이보다 크게 줄이면 장난스러워지고,
   작으면 눌린 줄 모른다. 손을 떼면 .16s 로 천천히 돌아온다 —
   누를 때는 즉각(.06s), 놓을 때는 여유롭게. 실제 물건이 그렇다.

   :active 를 이미 따로 정한 것들(.btn.primary 등)은 아래에서 덮지 않는다 */
button:not(:disabled), .as-link, [role="button"] {
  transition: transform .16s cubic-bezier(.22,.61,.36,1), opacity .16s;
}
button:not(:disabled):active, .as-link:active, [role="button"]:active {
  transform: scale(.97);
  transition-duration: .06s;
}

/* 큰 면을 가진 것은 덜 줄인다. 넓은 면이 0.97 만큼 줄면 실제 이동 거리가
   커서 화면이 출렁이는 것처럼 보인다 */
.btn:not(:disabled):active, .post:active, .fcard:active, .dir-card2:active {
  transform: scale(.985);
}

/* 이미 자기 방식이 있는 것들은 그대로 두되 크기 변화만 얹는다 */
.btn.primary:active { box-shadow: none; transform: scale(.985) translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  button, .as-link, [role="button"], .btn, .post, .fcard, .dir-card2 {
    transition: none !important;
  }
  button:active, .as-link:active, [role="button"]:active,
  .btn:active, .post:active, .fcard:active, .dir-card2:active { transform: none !important; }
}

/* ── 화면 움직임 끄기 (설정 탭) ────────────────────────
   prefers-reduced-motion 이 이 WebView 에 오지 않아서 앱 안에 자리를 두었다.
   app.js 가 html[data-motion="off"] 를 붙인다.

   OS 가 알려주는 경우도 여전히 함께 막는다 — 둘 중 하나만 켜져 있어도 멈춘다 */
html[data-motion="off"] ::view-transition-old(root),
html[data-motion="off"] ::view-transition-new(root) { animation: none; }
html[data-motion="off"] .pg-fill { view-transition-name: none; }

html[data-motion="off"] * {
  animation: none !important;
  transition: none !important;
}
/* 누르는 느낌까지 없애면 눌렀는지 알 수 없다. 크기 대신 색으로 알려드린다 */
html[data-motion="off"] button:active,
html[data-motion="off"] .btn:active,
html[data-motion="off"] .post:active,
html[data-motion="off"] .fcard:active,
html[data-motion="off"] .dir-card2:active { transform: none !important; opacity: .7; }
