/* ==========================================================
   윤이세 — 회원 · 초대 사다리 · 2027 케미 (/calendar/member/)
   라이브 /calendar/와 같은 1안 색감: 화이트 · 딥네이비 · 에메랄드 · 코랄 · 모바일 390 우선.
   ========================================================== */

:root {
  --bg: #FAF4E9;
  --bg-2: #FBF7EF;
  --paper: #FFFFFF;
  --ink: #1A1712;
  --ink-2: #3B352C;
  --mute: #6E665A;
  --hair: rgba(28, 24, 19, .10);
  --hair-soft: #E8E0D2;

  /* 1안 상태 컬러 */
  --navy: #1B2940;
  --navy-deep: #1A1712;
  --good-bg: #E8F8F2;
  --good-ink: #067F5B;
  --warn-bg: #FFF1F4;
  --warn-ink: #C21F46;
  --mid-bg: #FDF3DD;
  --mid-ink: #A5650F;

  --gold: #A5650F;
  --gold-deep: #A5650F;
  --gold-soft: #FDF3DD;
  --sage: #067F5B;
  --coral: #C21F46;
  --blue: #1B2940;

  --dot-gold: #A5650F;
  --dot-red: #C21F46;
  --dot-blue: #067F5B;
  --dot-gray: #A5650F;
  --dot-sage: #067F5B;

  --serif: "Nanum Myeongjo", "NanumMyeongjo", "Noto Serif KR", "Noto Serif CJK KR", "AppleMyungjo", "SamsungMyeongjo", "Batang", serif;
  --sans: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --shadow: 0 2px 10px rgba(28, 24, 19, 0.04);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; }
.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;
}

/* ── 히어로 ────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(120% 70% at 88% -6%, rgba(28, 24, 19, .12), transparent 62%),
    radial-gradient(90% 60% at -10% 0%, rgba(6, 127, 91, .10), transparent 55%);
  padding: 46px 22px 20px;
}
.hero__inner { max-width: 520px; margin: 0 auto; }
.hero__eyebrow {
  font-size: 9.5px; letter-spacing: .26em; font-weight: 600;
  text-transform: uppercase; color: var(--mute);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(31px, 8.2vw, 40px);
  line-height: 1.28;
  font-weight: 500;
  margin-top: 14px;
}
.hero__title em {
  font-style: normal;
  background-image: linear-gradient(transparent 90%, rgba(30, 41, 59, .22) 90%);
}
.hero__sub {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ── 친구 사다리 3단계 — 제목 바로 아래 3줄 요약 (팝업 대신 · 390px 콤팩트) ── */
.howstep {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E8E0D2;
  box-shadow: 0 2px 10px rgba(28, 24, 19, .04);
  display: flex; flex-direction: column; gap: 6px;
}
.howstep__i {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 13px; line-height: 1.45; color: var(--ink);
  letter-spacing: -.02em; word-break: keep-all;
}
.howstep__n { flex: 0 0 auto; font-size: 12px; line-height: 1.5; }
.howstep__t { min-width: 0; }
.howstep__t b { color: #1B2940; font-weight: 800; }
@media (max-width: 374px) {
  .howstep { padding: 11px 12px; gap: 5px; }
  .howstep__i { font-size: 12.4px; }
}

/* ── 본문 ──────────────────────────────────────────── */
.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 4px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  border: 1px solid var(--hair-soft);
}
.card__eyebrow {
  font-size: 9.5px; letter-spacing: .22em; font-weight: 700;
  color: #6E665A; text-transform: uppercase;
}
.card__title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.42;
  font-weight: 600;
  margin-top: 8px;
}
.card__title b { color: var(--gold-deep); font-weight: 700; }
.card__sub {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-2);
}
.fine {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mute);
}

/* ── 초대받고 들어온 사람 ─────────────────────────── */
.banner {
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #F6F1E7, #FBF7EF);
  border: 1px solid #CFC6B7;
  display: flex; flex-direction: column; gap: 3px;
}
.banner b { font-size: 14px; color: var(--gold-deep); }
.banner span { font-size: 12.5px; color: var(--ink-2); }

/* ✅ 초대 연결 완료 — 카카오 연결을 마치고 돌아온 손님에게 결과보다 먼저 보여 준다 (2026-11-22) */
.banner--done {
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ECFDF5, #F0FDF4);
  border: 1px solid rgba(5, 150, 105, .32);
}
.banner--done b { color: #067F5B; }
.banner__go {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 9px; padding: 11px 13px; border-radius: 12px;
  background: #1B2940; color: #FFFFFF; text-decoration: none;
  font-size: 12.5px; font-weight: 800; letter-spacing: -.03em;
  box-shadow: 0 10px 20px -14px rgba(28, 24, 19, .9);
}
.banner__go:active { transform: translateY(1px); filter: brightness(1.05); }

/* 사다리 기준 한 줄 — '카카오 3초 연결까지 마쳐야 1명' (2026-11-22) */
.ladder-how {
  margin-top: 12px; padding: 10px 12px;
  border-radius: 11px;
  background: #FFFCF2;
  border: 1px solid rgba(165, 101, 15, .28);
  font-size: 12px; line-height: 1.55; letter-spacing: -.02em;
  color: #7C2D12; word-break: keep-all;
}
.ladder-how b { color: #A5650F; font-weight: 800; }

/* ── 버튼 ──────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: scale(.985); }
.btn--kakao {
  background: linear-gradient(180deg, #1B2940, #1B2940);
  color: #FBF7EF;
  box-shadow: 0 10px 22px -14px rgba(28, 24, 19, .9);
}
.btn--ghost {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--hair);
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
}
.btn--gold {
  background: var(--gold-soft);
  color: var(--gold-deep);
  border: 1px solid rgba(28, 24, 19, .34);
  min-height: 50px;
  font-size: 14.5px;
  font-weight: 700;
}
.btn__ic { font-size: 16px; line-height: 1; }
.btn.is-busy { opacity: .6; pointer-events: none; }

.btn-row { display: flex; gap: 8px; margin-top: 14px; }
.btn-row .btn { flex: 1; }
.btn-row .btn--wide { flex: 1.35; }

/* ── 로그인 상태 ──────────────────────────────────── */
.who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.who__av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  background-size: cover; background-position: center;
  flex: 0 0 auto; overflow: hidden;
}
.who__b { display: flex; flex-direction: column; min-width: 0; }
.who__name { font-size: 15px; font-weight: 700; }
.who__mail {
  font-size: 12px; color: var(--mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.who__out {
  margin-left: auto; font-size: 12px; color: var(--mute);
  text-decoration: underline; text-underline-offset: 3px; padding: 6px;
  flex: 0 0 auto;
}

/* ── 카톡 채널 추가 (로그인 직후 · 2026-11-22) ───────── */
.chadd {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 12px 13px; border-radius: 14px;
  background: #FDF3DD; border: 1px solid rgba(199, 154, 78, .5);
  text-decoration: none; color: var(--ink);
  transition: transform .16s ease;
}
.chadd:active { transform: translateY(1px); }
.chadd__ic { flex: none; font-size: 18px; line-height: 1; }
.chadd__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.chadd__b b { font-size: 13px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.chadd__b span { font-size: 11px; color: #8A6A34; line-height: 1.4; }
.chadd__go {
  flex: none; font-size: 11px; font-weight: 700; color: #8F5B12;
  white-space: nowrap;
}

/* ── 사다리 ───────────────────────────────────────── */
.count {
  display: flex; align-items: baseline; gap: 6px; margin-top: 16px;
}
.count__n {
  font-family: var(--serif); font-size: 44px; font-weight: 700;
  line-height: 1; color: #1B2940;
}
.count__u { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.count__next { margin-left: auto; font-size: 12.5px; color: var(--mute); text-align: right; }

.rail { margin: 18px 2px 6px; }
.rail__track {
  position: relative; height: 6px; border-radius: 99px;
  background: var(--hair-soft);
  overflow: hidden;
}
.rail__fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, #6E665A, #1B2940);
  border-radius: 99px;
  transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.rail__marks { position: relative; height: 18px; margin-top: 7px; }
.rail__mark {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; color: var(--mute);
  letter-spacing: .02em;
}
.rail__mark.is-on { color: var(--gold-deep); }
.rail__mark::before {
  content: ""; position: absolute; left: 50%; top: -11px;
  width: 2px; height: 6px; border-radius: 2px;
  background: var(--hair); transform: translateX(-50%);
}
.rail__mark.is-on::before { background: var(--gold); }

.rungs { position: relative; margin-top: 12px; }
.rungs::before {
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 26px;
  width: 1px; background: linear-gradient(180deg, rgba(28, 24, 19,.42), rgba(28, 24, 19,.1));
}
.rung {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
}
.rung__no {
  width: 35px; height: 35px; border-radius: 50%;
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0;
  background: var(--bg); color: var(--mute);
  border: 1px solid var(--hair);
  position: relative; z-index: 1;
}
.rung.is-done .rung__no {
  background: linear-gradient(180deg, #3B352C, #1B2940); color: #FBF7EF;
  border-color: transparent;
  box-shadow: 0 6px 14px -10px rgba(28, 24, 19, .9);
}
.rung.is-target .rung__no {
  background: #FFF; color: var(--gold-deep);
  border: 1.5px dashed rgba(28, 24, 19, .65);
}
.rung__body { min-width: 0; flex: 1; }
.rung__title { display: block; font-size: 14px; font-weight: 700; line-height: 1.4; }
.rung.is-locked .rung__title { color: var(--ink-2); }
.rung__sub { display: block; font-size: 11.5px; color: var(--mute); margin-top: 1px; }
.rung__state {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 700;
  padding: 4px 8px; border-radius: 99px;
  background: var(--bg); color: var(--mute);
  white-space: nowrap;
}
.rung.is-done .rung__state { background: var(--gold-soft); color: var(--gold-deep); }
.rung.is-target .rung__state { background: #FDF3DD; color: #A5650F; }

.preview { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--hair); }
.preview__lb { font-size: 11px; color: var(--mute); margin-bottom: 8px; }
.preview__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pchip {
  font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 99px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--hair);
}
.pchip.is-on { background: var(--ink); color: #FBF7EF; border-color: var(--ink); }

/* ── 사다리 하단 한 줄 안내 — 결제자에게는 상담 할인이 실제 혜택 ── */
.ladder-note {
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--bg-2);
  border: 1px dashed rgba(28, 24, 19, .30);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.ladder-note b { color: var(--gold-deep); font-weight: 700; }

/* 결제자용 사다리 표시 — 두 사다리를 동시에 띄우지 않는다 (2026-11-22) */
.ladder-tier {
  display: inline-block; margin-top: 10px; padding: 6px 11px;
  border-radius: 999px;
  background: #FFFCF2;
  border: 1px solid rgba(165, 101, 15, .30);
  font-size: 11px; line-height: 1.55; letter-spacing: -.02em;
  color: #8A4E0B; word-break: keep-all;
}
.ladder-tier b { font-weight: 800; color: #78350F; }

/* ── 초대 링크 ────────────────────────────────────── */
.linkbox {
  margin-top: 14px;
  background: var(--bg-2);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.02em;
}
.code {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--gold-deep);
}
.code b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; letter-spacing: .12em; color: var(--ink);
  background: var(--gold-soft); padding: 3px 9px; border-radius: 8px;
}
.gift {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 14px; padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FBF7EF, #FFFFFF);
  border: 1px solid rgba(28, 24, 19, .2);
}
.gift__ic { font-size: 17px; line-height: 1.2; flex: 0 0 auto; }
.gift__b { font-size: 12.5px; line-height: 1.58; color: var(--ink-2); }
.gift__b b { color: var(--gold-deep); }

/* ── 케미 입력 ────────────────────────────────────── */
.person {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--hair);
}
.person:first-of-type { border-top: 0; }
.person__hd { display: flex; align-items: center; gap: 8px; }
.person__tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 99px;
  background: var(--ink); color: #FBF7EF;
}
.person--you .person__tag { background: var(--gold); }
.person__nm { font-size: 14px; font-weight: 700; }
.person__nm span { font-weight: 500; color: var(--mute); font-size: 12px; }

.field { margin-top: 12px; }
.label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink-2);
  margin-bottom: 6px;
}
.label .opt { font-weight: 500; color: var(--mute); font-size: 11px; }
.input {
  width: 100%; min-height: 48px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: var(--bg-2);
  font-family: inherit; font-size: 15px; color: var(--ink);
  letter-spacing: -.01em;
}
.input:focus { outline: 2px solid rgba(28, 24, 19, .45); outline-offset: 1px; }
.input::placeholder { color: #CFC6B7; }

/* ── 사주 입력 · 라이브 /calendar/ 와 같은 방식(양력·음력·윤달 + 년/월/일 + 12지시 + 몰라요) ── */
.req { color: var(--coral); font-weight: 700; margin-left: 2px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.label-row .label { margin-bottom: 0; }
.select {
  width: 100%; min-height: 48px;
  padding: 11px 32px 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background-color: var(--bg-2);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3E%3Cpath d='M1 1.2 5.5 5.8 10 1.2' stroke='%238F887B' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  letter-spacing: -.01em;
}
.select:focus { outline: 2px solid rgba(28, 24, 19, .45); outline-offset: 1px; }
.select--time {
  width: auto; min-width: 74px;
  padding: 11px 26px 11px 12px; background-position: right 9px center;
}
.segmented { display: inline-flex; padding: 3px; gap: 3px; background: #F6F1E7; border-radius: 999px; }
.seg {
  border: 0; background: transparent; color: var(--mute);
  font-size: 13px; font-weight: 600; padding: 8px 22px; border-radius: 999px;
  transition: background .18s, color .18s;
}
.seg.is-on, .seg[aria-pressed="true"] {
  background: var(--paper); color: var(--ink); font-weight: 700;
  box-shadow: 0 1px 3px rgba(28, 24, 19, .08);
}
.check {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: var(--ink-2); margin-top: 10px; cursor: pointer;
}
.check input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--sage); }
.jisi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.jisi__btn {
  border: 1px solid var(--hair); background: var(--bg-2); color: var(--ink-2);
  border-radius: 10px; padding: 8px 0 7px; font-size: 13px; line-height: 1.15;
  transition: background .16s, color .16s, border-color .16s;
}
.jisi__btn small { display: block; font-size: 8.5px; color: var(--mute); letter-spacing: -.02em; white-space: nowrap; margin-top: 1px; }
.jisi__btn.is-on { background: var(--ink); border-color: var(--ink); color: #FAF4E9; }
.jisi__btn.is-on small { color: rgba(250, 251, 253, .55); }
.time-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 10px; }
.time-inputs { display: inline-flex; align-items: center; gap: 5px; }
.colon { color: var(--mute); font-size: 14px; }
.hint { font-size: 11px; color: var(--ink-2); background: #F6F1E7; border-radius: 999px; padding: 5px 10px; }
.hint:empty { display: none; }
.field-note { font-size: 11px; color: var(--mute); margin-top: 8px; line-height: 1.6; }
.field-note b { color: var(--ink-2); font-weight: 600; }

.date-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 7px; }

.chips { display: flex; gap: 8px; }
.chip {
  flex: 1; min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: var(--bg-2);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s;
}
.chip[aria-pressed="true"] {
  background: var(--ink); color: #FBF7EF; border-color: var(--ink);
}
.chip:disabled { opacity: .45; }

.switchline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 10px;
}
.switchline__lb { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  width: 44px; height: 26px; border-radius: 99px;
  background: rgba(28, 24, 19, .14); display: block; transition: background .18s;
}
.switch__knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #FFF; transition: transform .18s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.switch input:checked + .switch__track { background: var(--gold); }
.switch input:checked + .switch__track .switch__knob { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid rgba(28, 24, 19, .5); outline-offset: 2px; }

.formmsg {
  margin-top: 12px; font-size: 12.5px; line-height: 1.6;
  color: #C21F46; background: #FFF1F4; border-radius: 10px; padding: 10px 12px;
}
.loading {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; font-size: 13px; color: var(--mute);
}
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(28, 24, 19, .25); border-top-color: var(--gold);
  animation: spin .9s linear infinite; flex: 0 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 케미 결과 ────────────────────────────────────── */
.pair {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px;
  align-items: end; margin-top: 14px;
}
.pair__c { text-align: center; }
.pair__nm {
  display: block;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pair__gz {
  display: block;
  font-family: var(--serif); font-size: 25px; font-weight: 700;
  color: var(--ink); line-height: 1.25; margin-top: 2px;
}
.pair__el { font-size: 11px; color: var(--mute); }
/* 오행 이름 글자색 = 정통 오방색 */
.elc--목 { color: #15803D; font-weight: 700; }
.elc--화 { color: #B91C1C; font-weight: 700; }
.elc--토 { color: #A16207; font-weight: 700; }
.elc--금 { color: #4B4438; font-weight: 700; }
.elc--수 { color: #111827; font-weight: 700; }
.pair__mid { font-size: 18px; color: var(--gold); padding-bottom: 16px; }

/* 오행 막대 — 오행은 정통 오방색(목 초록 · 화 빨강 · 토 노랑 · 금 흰색 · 수 검정),
   사람 구분은 색이 아니라 '채움(나) / 빗금(너)' 으로만 한다. */
.els { display: flex; gap: 5px; align-items: flex-end; height: 58px; margin-top: 10px; }
.el { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.el__pair { display: flex; gap: 2px; align-items: flex-end; justify-content: center; height: 44px; width: 100%; }
.el__bar {
  width: 9px; border-radius: 4px 4px 2px 2px; min-height: 4px;
  box-shadow: inset 0 0 0 1px var(--el-line);
}
.el__bar--me { background: var(--elc); }
.el__bar--you { background: repeating-linear-gradient(135deg, var(--elc) 0 2.5px, #FFFFFF 2.5px 5px); }

/* 오행 토큰 — 이 블록만 고치면 막대·라벨이 같이 움직인다 */
.el--목 { --elc: #16A34A; --el-line: #15803D; --el-ink: #15803D; }
.el--화 { --elc: #EF4444; --el-line: #DC2626; --el-ink: #B91C1C; }
.el--토 { --elc: #FACC15; --el-line: #CA8A04; --el-ink: #A16207; }
.el--금 { --elc: #FFFFFF; --el-line: #9A9084; --el-ink: #4B4438; }
.el--수 { --elc: #111827; --el-line: #111827; --el-ink: #111827; }

/* 금(흰색)은 바탕과 구분되도록 은회색 바탕 + 테두리로 형태를 잡는다 */
.el--금 .el__bar--me { background: #E8E0D2; }
.el--금 .el__bar--you { background: repeating-linear-gradient(135deg, #9A9084 0 2.5px, #FFFFFF 2.5px 5px); }

.el__lb { font-size: 9.5px; font-weight: 700; color: var(--el-ink, var(--mute)); }

/* 막대 읽는 법 — 나 = 채운 막대 · 너 = 빗금 막대 */
.els__lg {
  display: flex; align-items: center; flex-wrap: wrap; gap: 5px;
  margin: 7px 0 0; font-size: 9.5px; line-height: 1.5; color: var(--mute);
  letter-spacing: -0.01em;
}
.els__lg-i {
  display: inline-block; width: 7px; height: 9px; border-radius: 2px;
  box-shadow: inset 0 0 0 1px #1B2940;
}
.els__lg-i.is-me { background: #1B2940; }
.els__lg-i.is-you { background: repeating-linear-gradient(135deg, #1B2940 0 2px, #FFFFFF 2px 4px); }
.els__lg-i + .els__lg-i { margin-left: 2px; }

.sect-h {
  margin-top: 22px;
  font-size: 11px; letter-spacing: .16em; font-weight: 800;
  text-transform: uppercase; color: #6E665A;
}
.sect-t {
  font-family: var(--serif); font-size: 17px; font-weight: 700; margin-top: 6px;
  line-height: 1.45;
}
.lead {
  margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2);
}
.lead b { color: var(--ink); font-weight: 700; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px;
  background: var(--gold-soft); color: var(--gold-deep);
}
.tag--sage { background: #ECFDF5; color: #067F5B; }
.tag--line { background: transparent; border: 1px solid var(--hair); color: var(--mute); }

.empty {
  margin-top: 10px; padding: 14px;
  border-radius: 14px; background: var(--bg-2);
  font-size: 12.5px; line-height: 1.65; color: var(--ink-2);
  border: 1px dashed var(--hair);
}

.note {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--hair);
  font-size: 11.5px; line-height: 1.62; color: var(--mute);
}

/* ── 브랜드 마크 (캡처·공유 카드마다) ─────────────── */
.brandmark {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px; padding-top: 13px;
  border-top: 1px solid var(--hair-soft);
  font-size: 11px; color: var(--mute);
}
.brandmark--card { margin-top: 20px; }
.brandmark__ic { font-size: 12px; line-height: 1; }
.brandmark__t {
  font-family: var(--serif); font-size: 12.5px; font-weight: 700;
  color: var(--ink-2); letter-spacing: -.01em;
}
.brandmark__b { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.brandmark__sep { color: var(--mute); font-size: 11px; }
.brandmark__h {
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
  color: var(--gold-deep);
}

/* ── 케미 결과 (2026-11-21 전면 개편 · 1초 스캔) ─────── */
.relchips { display: flex; gap: 8px; margin: 16px 0 18px; }
.relchip {
  flex: 1; padding: 13px 8px 12px; border-radius: 16px;
  border: 1px solid var(--hair-soft); background: #FFFFFF;
  font-size: 13.5px; font-weight: 800; letter-spacing: -.02em; color: var(--mute);
  text-align: center;
  transition: border-color .18s, background .18s, color .18s, transform .18s;
}
.relchip small { display: block; margin-top: 3px; font-size: 10px; font-weight: 600; color: #9A9084; letter-spacing: -.01em; }
.relchip__em { display: block; font-size: 19px; line-height: 1; margin-bottom: 5px; }
.relchip.is-on {
  border-color: #1A1712;
  background: linear-gradient(180deg, #1B2940 0%, #1A1712 100%);
  color: #FFF7E9;
  box-shadow: 0 12px 24px -16px rgba(28, 24, 19, .9);
}
.relchip.is-on small { color: rgba(255, 247, 233, .62); }
.relchip:active { transform: scale(.985); }

.chemi__hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.chemi__badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px 6px; border-radius: 99px;
  background: #F6F1E7; color: #3B352C;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.01em;
}
.chemi__year { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #A5650F; line-height: 1; }
.chemi__names { margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--mute); }
.chemi__names i { font-style: normal; color: #CFC6B7; margin: 0 3px; }

/* ── 2027 케미 점수 — 결과 맨 위 숫자 하나 (2026-11-22) ────────
   케미테스트를 누른 이유의 답이라, 훅 제목보다 위에 두되 크기는
   제목(26px)보다 작게 잡아 시선이 제목으로 내려가게 한다. */
.chemi__score {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  column-gap: 10px; margin-top: 13px; padding: 11px 14px 10px;
  border-radius: 15px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FEF8EA 100%);
  border: 1px solid rgba(165, 101, 15, .16);
}
.chemi__score-lb {
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  color: #A16207; line-height: 1.3;
}
.chemi__score-n {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; color: var(--gold-deep);
  white-space: nowrap;
}
.chemi__score-n i {
  font-family: var(--sans); font-style: normal;
  font-size: 12px; font-weight: 800; margin-left: 2px; color: #A16207;
}
.chemi__score-bar {
  grid-column: 1 / -1; display: block; height: 4px; margin-top: 9px;
  border-radius: 99px; background: rgba(165, 101, 15, .12); overflow: hidden;
}
.chemi__score-bar i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #F5C24B 0%, #A5650F 100%);
}
.chemi__hook {
  margin-top: 4px; font-family: var(--serif);
  font-size: 26px; line-height: 1.44; font-weight: 700;
  letter-spacing: -.035em; color: var(--ink); word-break: keep-all;
}
.chemi__yr {
  display: block; margin-bottom: 2px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; color: #A5650F;
}
.chemi__role { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.chemi__role b { color: var(--ink); font-weight: 700; }

/* ── 결과 아래 두 갈래 — 채널 추가 · 친구 초대 (2026-11-22) ─────────
   케미 링크 보내기 바로 밑, 카드 안에서 한눈에 보이게 세로 두 줄. */
/* ── 결과 바로 아래 '더 열기' — 친구 초대 1/3/5/7 · 인스타 올리기 (2026-11-23 6차) ──
   케미 결과를 다 본 자리에서 한 장씩, 조용히. 가격표·배너 없이 달력이 넓어지는 길만. */
.grow { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.grow__card {
  padding: 15px 15px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 62%);
  border: 1px solid rgba(165, 101, 15, .20);
  box-shadow: 0 2px 10px rgba(28, 24, 19, .04);
}
.grow__card--insta { border-color: rgba(194, 31, 70, .16); background: linear-gradient(180deg, #FFF7F8 0%, #FFFFFF 62%); }
.grow__lb {
  display: inline-block; margin: 0 0 7px; padding: 3px 9px; border-radius: 999px;
  background: #FDF4E1; color: #8F5B12;
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
}
.grow__card--insta .grow__lb { background: #FCE8EC; color: #9B2340; }
.grow__t { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink); letter-spacing: -.02em; }
.grow__t b { color: var(--gold-deep); }
.grow__d { margin: 7px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.grow__d b { color: var(--ink); }
.grow__ladder { list-style: none; margin: 10px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.grow__ladder li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
}
.grow__ladder b {
  flex: 0 0 34px; text-align: center;
  padding: 2px 0; border-radius: 7px;
  background: #F6EFE1; color: #8F5B12;
  font-size: 11px; font-weight: 800;
}
/* 내 추천 현황 — 로그인했으면 '현재 N명 달성 · 다음 칸까지 N명' 한 줄 (2026-11-23 7차) */
.grow__stat {
  margin: 8px 0 4px; padding: 8px 11px; border-radius: 11px;
  background: #FDF6E7; border: 1px solid rgba(165, 101, 15, .18);
  font-size: 12.5px; line-height: 1.5; color: #7C2D12; letter-spacing: -.02em;
}
.grow__stat b { color: var(--gold-deep); font-weight: 800; }
.grow__card .btn--gold { margin-top: 0; }
.grow .btn { min-height: 46px; font-size: 13.5px; font-weight: 700; }
.grow .btn-row { margin-top: 10px; }
.grow .btn-row .btn { font-size: 12.5px; }
/* 인스타 카드 — 버튼 하나(태그 복사 + 인스타 열기) + 안내 한 줄 */
.grow__card--insta .btn { margin-top: 12px; }
.grow__card--insta .grow__d { margin-top: 9px; font-size: 11.5px; color: var(--mute); }

.chemi__more { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.chemi__more .btn { min-height: 48px; font-size: 14px; font-weight: 700; }
.chemi__more .btn--gold { border-color: rgba(165, 101, 15, .38); }
.chemi__more .btn--ghost { background: #FFF; }

/* 초대 사다리로 올라간 직후 — 어디로 왔는지 한 번만 은은하게 (2026-11-22) */
.card.is-jump { animation: cardJump 1.6s ease-out both; }
@keyframes cardJump {
  0% { box-shadow: 0 0 0 2px rgba(165, 101, 15, .45), 0 10px 26px -18px rgba(165, 101, 15, .5); }
  100% { box-shadow: 0 0 0 0 rgba(165, 101, 15, 0), var(--shadow); }
}

/* 작은 오행 요약 바 */
.els--mini { height: 42px; margin-top: 16px; gap: 10px; }
.els--mini .el__pair {
  height: 30px; gap: 4px;
  border-bottom: 1px solid rgba(28, 24, 19, .07);
  padding-bottom: 3px;
}
.els--mini .el__bar { width: 6px; border-radius: 3px 3px 1px 1px; }
.els--mini .el__lb { font-size: 9px; letter-spacing: .02em; opacity: .8; }

.csect { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--hair-soft); }
.csect__lb {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #4B4438;
}
.csect__lb i {
  font-style: normal; width: 17px; height: 17px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1A1712; color: #FFF7E9; font-size: 9.5px; font-weight: 800; letter-spacing: 0;
}
.csect__ul { margin-top: 9px; display: flex; flex-direction: column; gap: 7px; }
.csect__ul li {
  position: relative; padding-left: 13px;
  font-size: 13.5px; line-height: 1.68; color: var(--ink-2); word-break: keep-all;
}
.csect__ul li::before {
  content: ""; position: absolute; left: 1px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: #CFC6B7;
}
.csect__ul--do li::before { background: #A5650F; }
.csect__ul b { color: var(--ink); font-weight: 700; }

.cmonths { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cm { padding: 12px 12px 13px; border-radius: 14px; border: 1px solid var(--hair-soft); background: #FFFFFF; }
.cm span { display: block; font-size: 10.5px; font-weight: 700; color: var(--mute); letter-spacing: -.01em; }
.cm b { display: block; margin-top: 5px; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.cm--good { background: linear-gradient(180deg, #FFFFFF, #F1FBF6); border-color: rgba(6, 127, 91, .18); }
.cm--good b { color: #067F5B; }
.cm--warn { background: linear-gradient(180deg, #FFFFFF, #FFF5F6); border-color: rgba(194, 31, 70, .16); }
.cm--warn b { color: #C21F46; }
.cm em {
  display: block; margin-top: 6px; font-style: normal;
  font-size: 11.5px; line-height: 1.5; color: var(--ink-2); word-break: keep-all;
}

/* 부적 카드 (9:16 · Canvas 로 그린 그림) */
.amulbox {
  margin: 14px auto 0; width: 100%; max-width: 342px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 22px 44px -26px rgba(9, 15, 30, .8), 0 0 0 1px rgba(28, 24, 19, .06);
}
.amulimg { display: block; width: 100%; height: auto; }
.story__cap { text-align: center; font-size: 11.5px; line-height: 1.6; color: var(--mute); margin-top: 10px; }
/* [친구에게 보내기] 아래 — 로그인 전 한 줄 (2026-11-23 / #17252). 보내기는 막지 않고 안내만. */
.share-note { text-align: center; font-size: 12px; line-height: 1.58; color: var(--ink-2); margin: 8px 4px 0; }
.share-note b { color: var(--gold); font-weight: 700; }

/* ── 부적 아래 조용한 상담 한 줄 — 낮은 조합(60~77점)에만 (2026-11-22) ──
   결제 유도가 아니라 '딱 한 가지만 짚어 볼까' 하는 제안이라
   상자·가격표·배너 없이 본문과 같은 회색 한 줄로 눕힌다. */
.chemi__consult {
  margin-top: 12px; text-align: center;
  font-size: 11.5px; line-height: 1.66; color: var(--mute);
}
.chemi__consult a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(165, 101, 15, .22);
  padding-bottom: 1px;
}
.chemi__consult a b { font-weight: 800; color: #8F5B12; }

/* 결과 맨 끝 — '다른 사람과 케미 다시 보기' 작은 글자 링크 하나 (2026-11-23 7차) */
.chemi__again { margin-top: 16px; text-align: center; }
.chemi__again button {
  background: none; border: 0; padding: 8px 6px; margin: 0;
  font: inherit; font-size: 12px; font-weight: 600; color: var(--mute);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.chemi__again button:active { opacity: .6; }

/* 7차 — 결과 아래 중복 카드(STEP 1 로그인 · STEP 2 내 사다리 · STEP 3 초대 링크)는
   코드는 남기고 화면에서만 감춘다. 되살릴 때는 이 클래스만 떼면 된다. */
.v2-parked { display: none !important; }

/* ── 스토리 이벤트 안내 ─────────────────────────────── */
.sub-h {
  margin-top: 18px;
  font-size: 10.5px; letter-spacing: .14em; font-weight: 800;
  text-transform: uppercase; color: #6E665A;
}
.checks { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.checks i {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep);
  font-style: normal; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.checks b { color: var(--ink); font-weight: 700; }

/* ── 스토리 / 피드 두 갈래 보상 ─────────────────────── */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.track {
  border-radius: 16px; padding: 13px 12px;
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid rgba(28, 24, 19, .22);
  background: linear-gradient(180deg, #FFFFFF, #FBF7EF);
}
.track--feed { border-color: rgba(6, 127, 91, .3); background: linear-gradient(180deg, #FBF7EF, #ECFDF5); }
.track__tag {
  align-self: flex-start;
  font-size: 9.5px; letter-spacing: .1em; font-weight: 800;
  padding: 3px 8px; border-radius: 99px;
  background: var(--gold-soft); color: var(--gold-deep);
}
.track--feed .track__tag { background: #ECFDF5; color: #067F5B; }
.track__gift { font-size: 13.5px; font-weight: 700; line-height: 1.42; color: var(--ink); margin-top: 2px; }
.track__why { font-size: 10.5px; line-height: 1.5; color: var(--mute); }

/* ── 인스타 보상 두 갈래 — 한 줄에 하나씩 ─────────────── */
.rewards { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.rewards li {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(180deg, #FFFFFF, #FBF7EF);
  border: 1px solid rgba(28, 24, 19, .2);
}
.rewards li + li {
  background: linear-gradient(180deg, #FBF7EF, #ECFDF5);
  border-color: rgba(6, 127, 91, .28);
}
.rewards__tag {
  flex: 0 0 auto;
  font-size: 9.5px; letter-spacing: .08em; font-weight: 800;
  padding: 3px 8px; border-radius: 99px;
  background: var(--gold-soft); color: var(--gold-deep);
}
.rewards__tag--feed { background: #ECFDF5; color: #067F5B; }
.rewards__b { display: flex; flex-direction: column; min-width: 0; }
.rewards__b b { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.rewards__b small { font-size: 10.5px; color: var(--mute); }
.fine--tight { margin-top: 8px; }

/* ── 복사용 문구 상자 (계정 태그 + 해시태그 한 번에) ──── */
.capbox {
  margin-top: 12px; padding: 13px 13px 12px; border-radius: 14px;
  background: #FBF7EF; border: 1px dashed rgba(28, 24, 19, .4);
}
.capbox__lb {
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-deep);
}
.capbox__lb span { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mute); margin-left: 4px; }
.capbox__text {
  margin-top: 7px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2);
  word-break: keep-all; overflow-wrap: break-word;
}
.capbox__text b { display: block; font-size: 13px; color: var(--ink); }
.capbox__text i { font-style: normal; display: inline-block; white-space: nowrap; margin: 2px 4px 0 0; }
.capbox .btn-row { margin-top: 10px; }
.steps--easy { gap: 12px; }
.steps--easy span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.steps--easy b { width: 24px; height: 24px; font-size: 12px; background: var(--ink); color: #FBF7EF; }

.sub-h__opt { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mute); font-size: 10.5px; margin-left: 4px; }
.hashtags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.hashtags span {
  font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 99px;
  background: var(--bg-2); border: 1px solid var(--hair); color: var(--ink-2);
  letter-spacing: -.01em;
}

/* ── 스토리 인증 3단계 ─────────────────────────────── */
.steps { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; gap: 11px; align-items: flex-start; }
.steps b {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  background: var(--gold-soft); color: var(--gold-deep);
  margin-top: 2px;
}
.steps span { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.steps strong { color: var(--ink); font-weight: 700; }

/* ── 토스트 ────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 14px);
  background: rgba(28, 24, 19, .94); color: #FBF7EF;
  font-size: 13px; font-weight: 600;
  padding: 12px 18px; border-radius: 99px;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100% - 40px); text-align: center; z-index: 50;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 푸터 ──────────────────────────────────────────── */
.foot {
  max-width: 520px; margin: 0 auto; padding: 8px 22px 46px;
  font-size: 11px; line-height: 1.7; color: var(--mute); text-align: center;
}
.foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ── 좁은 화면 보정 ───────────────────────────────── */
@media (max-width: 374px) {
  .chemi__hook { font-size: 24px; }
  .cm b { font-size: 18px; }
  .relchip { font-size: 12.5px; padding: 12px 6px 11px; }
}
@media (max-width: 360px) {
  .hero { padding: 40px 18px 16px; }
  .wrap { padding: 4px 12px 34px; }
  .card { padding: 20px 16px; }
  .count__n { font-size: 38px; }
  .pair__gz { font-size: 22px; }
  .chemi__hook { font-size: 22px; }
}
@media (min-width: 620px) {
  .wrap, .foot { max-width: 620px; }
  .hero__inner { max-width: 620px; }
  .date-row { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   케미 결과 카카오 로그인 잠금 (2026-11-21 김나영 님 승인)
   · 사주 입력까지는 로그인 없이 가능
   · '2027년 케미 보기' 결과 직전에만 로그인을 확인한다
   ========================================================== */
.btn--navy {
  background: #1B2940;
  color: #FFFFFF;
  border: 1px solid #1B2940;
  box-shadow: 0 10px 22px -16px rgba(28, 24, 19, .9);
  margin-top: 16px;
}
.btn--navy:hover,
.btn--navy:focus-visible { background: #1A1712; border-color: #1A1712; }

.gate {
  margin-top: 14px;
  padding: 16px 15px 15px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFFFF, #FBF7EF);
  border: 1px solid #E8E0D2;
}
.gate__lock {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  background: #F6F1E7; color: #1B2940;
  font-size: 10.5px; font-weight: 800; letter-spacing: -.01em;
}
.gate__lead {
  margin-top: 10px;
  font-size: 14px; line-height: 1.55; font-weight: 700;
  color: var(--ink); letter-spacing: -.02em; word-break: keep-all;
}
.gate__lead b { color: #1B2940; }
.gate__list { margin-top: 11px; display: flex; flex-direction: column; gap: 6px; }
.gate__list li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
  word-break: keep-all;
}
.gate__list li span { min-width: 0; flex: 1; }
.gate__list b { color: var(--ink); font-weight: 800; }
.gate__list i {
  flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%;
  background: var(--good-bg); color: var(--good-ink);
  font-style: normal; font-size: 9.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.gate .btn { margin-top: 14px; }
.gate__note {
  margin-top: 9px; font-size: 11px; line-height: 1.6; color: var(--mute);
  text-align: center; word-break: keep-all;
}
