/* ==========================================================
   윤이세 — 내 인생 타이밍 캘린더
   1안 · 화이트 + 딥네이비 · 에메랄드 · 코랄 (2026-11-21 김나영 님 최종 승인)
   ========================================================== */

: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-soft: #FDF3DD;
  --sage: #067F5B;
  --coral: #C21F46;
  --blue: #1B2940;

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

  /* ── 정통 오방색 (2026-11-21 김나영 님 지적 반영) ──────────────────
     목 = 초록 · 화 = 빨강 · 토 = 노랑 · 금 = 흰색(은회색 테두리) · 수 = 검정
     사주 원국표·오행 칩처럼 '오행을 색으로 보여 주는 곳'은 전부 이 토큰만 쓴다.
     (부적 패·캐릭터·액운 태우기 의식 화면은 그림이라 예외 — §59 참고) */
  --ob-wood-bg: #DCFCE7;
  --ob-wood-ink: #15803D;
  --ob-wood-solid: #16A34A;
  --ob-wood-line: #4ADE80;

  --ob-fire-bg: #FEE2E2;
  --ob-fire-ink: #DC2626;
  --ob-fire-solid: #EF4444;
  --ob-fire-line: #F87171;

  --ob-earth-bg: #FEF08A;
  --ob-earth-ink: #854D0E;
  --ob-earth-solid: #FACC15;
  --ob-earth-line: #CA8A04;

  --ob-metal-bg: #FFFFFF;
  --ob-metal-ink: #3B352C;
  --ob-metal-solid: #F6F1E7;
  --ob-metal-line: #CFC6B7;

  --ob-water-bg: #111827;
  --ob-water-ink: #FFFFFF;
  --ob-water-solid: #111827;
  --ob-water-line: #111827;

  --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: 24px;
  --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.75;
  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; }
a { color: inherit; }

/* ── 히어로 ────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(120% 70% at 88% -6%, rgba(165, 101, 15, .055), transparent 62%),
    radial-gradient(90% 60% at -10% 0%, rgba(199, 154, 78, .075), transparent 55%);
  padding: 58px 22px 26px;
}
.hero__inner { max-width: 560px; 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(33px, 8.6vw, 42px);
  line-height: 1.3;
  font-weight: 500;
  margin-top: 16px;
}
.hero__title em {
  font-style: normal;
  background-image: linear-gradient(transparent 91%, rgba(30, 41, 59, .22) 91%);
}
/* 첫 화면 후킹 카드 — 작은 회색 글씨로는 눈에 안 들어와서, 짙은 네이비 판 위에
   흰 글씨 + 골드 강조로 올렸다(2026-11-23 김나영 님 #16752). 결과 화면에서는 숨김. */
.hero__hook {
  margin-top: 20px;
  padding: 17px 18px 16px;
  border: 1px solid rgba(247, 202, 121, .16);
  border-radius: 16px;
  background: linear-gradient(158deg, #212B3F 0%, #181F2E 52%, #141A26 100%);
  box-shadow: 0 12px 26px -14px rgba(28, 24, 19, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  font-size: 15px; line-height: 1.72; letter-spacing: -0.012em;
  color: #F5F7FC;
  word-break: keep-all;
}
.hero__hook .hl { color: #F7CA79; font-weight: 700; }
@media (max-width: 359px) {
  .hero__hook { font-size: 14.5px; padding: 16px 16px 15px; }
}
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 22px;
  font-size: 11px; color: var(--mute);
}
.hero__facts li + li::before { content: "·"; margin: 0 9px; color: #CFC6B7; }

/* ── 레이아웃 ──────────────────────────────────────── */
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 64px; }

.card {
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-top: 14px;
  box-shadow: var(--shadow);
}
.card--form { margin-top: -6px; }
.card__title { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.card__sub { font-size: 12.5px; color: var(--mute); margin-top: 7px; line-height: 1.75; }

.sec__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.sec__title { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.sec__meta { font-size: 10.5px; letter-spacing: .06em; color: var(--mute); }
.micro { font-size: 10.5px; color: var(--mute); line-height: 1.7; margin-top: 12px; }
.micro--center { text-align: center; }

/* ── 폼 ───────────────────────────────────────────── */
form { margin-top: 22px; }
.field { margin-bottom: 22px; }
.field--tight { margin-bottom: 12px; }
.label {
  display: block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink-2); margin-bottom: 9px;
}
.opt {
  font-weight: 400; font-size: 10px; color: var(--mute);
  border: 1px solid var(--hair); border-radius: 999px; padding: 1px 7px; margin-left: 4px;
  vertical-align: 1.5px; letter-spacing: 0;
}
.req { color: var(--coral); font-weight: 700; margin-left: 2px; }
.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;
}
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.label-row .label { margin-bottom: 0; }

.input, .select {
  width: 100%;
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 13px 14px;
  appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #CFC6B7; }
.input:focus, .select:focus {
  outline: none; background: #fff;
  border-color: rgba(28, 24, 19, .55);
  box-shadow: 0 0 0 3px rgba(28, 24, 19, .10);
}
.select {
  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 14px center;
  padding-right: 34px;
}
.select--wide { max-width: 100%; }
.select--time { width: auto; min-width: 76px; }

.date-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 7px; }
.time-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.time-inputs { display: inline-flex; align-items: center; gap: 6px; }
.colon { color: var(--mute); font-size: 14px; }
.hint {
  font-size: 11px; color: var(--ink-2);
  background: #F6F1E7; border-radius: 999px; padding: 5px 11px;
}
.field-note { font-size: 11.5px; color: var(--mute); margin-top: 9px; line-height: 1.65; }
.field-note b { color: var(--ink-2); font-weight: 600; }
.field-error {
  font-size: 11.5px; color: #C21F46; font-weight: 600;
  background: #FFF1F4; border: 1px solid #FFF1F4; border-radius: 12px;
  padding: 9px 12px; margin-top: 8px;
}
.is-error .chip { border-color: #FDA4AF; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 13px; color: var(--ink-2);
  background: var(--bg-2); border: 1px solid var(--hair);
  border-radius: 999px; padding: 9px 17px;
  transition: all .18s ease;
}
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #FAF4E9; }

.segmented {
  display: inline-flex; padding: 3px; gap: 3px;
  background: #F6F1E7; border-radius: 999px;
}
.seg {
  border: 0; background: transparent; color: var(--mute);
  font-size: 13px; padding: 8px 20px; border-radius: 999px;
  transition: all .18s ease;
}
.seg.is-on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(28, 24, 19, .08); }

.check {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; color: var(--ink-2); margin-top: 12px; cursor: pointer;
}
.check input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: #067F5B; }

.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { width: 38px; height: 22px; border-radius: 999px; background: #E8E0D2; position: relative; transition: background .2s; }
.switch__knob {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  transition: transform .2s;
}
.switch input:checked + .switch__track { background: var(--sage); }
.switch input:checked + .switch__track .switch__knob { transform: translateX(16px); }
.switch__text { font-size: 12px; color: var(--mute); }

.jisi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.jisi__btn {
  border: 1px solid var(--hair); background: var(--bg-2); color: var(--ink-2);
  border-radius: 12px; padding: 9px 0 8px; font-size: 12.5px; line-height: 1.2;
  transition: all .16s ease;
}
.jisi__btn small { display: block; font-size: 8.5px; color: var(--mute); letter-spacing: -0.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); }

.advanced { border-top: 1px solid var(--hair-soft); padding-top: 16px; margin-bottom: 20px; }
.advanced summary {
  list-style: none; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: center; gap: 7px;
}
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary::before { content: "+"; font-size: 14px; color: var(--gold); font-weight: 400; }
.advanced[open] summary::before { content: "−"; }
.advanced summary span { font-weight: 400; color: var(--mute); font-size: 10.5px; }
.advanced__body { padding-top: 16px; }

.submit {
  width: 100%; border: 0; border-radius: 16px;
  background: var(--ink); color: #FAF4E9;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 17px 20px;
  transition: transform .16s ease, opacity .2s;
}
.submit:active { transform: translateY(1px) scale(.997); }
.submit.is-loading { opacity: .75; pointer-events: none; }
.form-note { font-size: 10.5px; color: var(--mute); text-align: center; margin-top: 13px; line-height: 1.7; }
.form-note b { color: var(--ink-2); font-weight: 600; }
.form-alert {
  font-size: 12px; color: #C21F46; background: #FFF1F4;
  border: 1px solid #FFF1F4; border-radius: 12px; padding: 10px 13px; margin-bottom: 12px;
}

/* ── 저장 바 ───────────────────────────────────────── */
.savedbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 4px 2px;
}
.savedbar__name { font-size: 13px; font-weight: 600; }
.savedbar__meta { display: block; font-size: 10.5px; color: var(--mute); margin-top: 3px; }
.savedbar__btn {
  font-size: 11px; color: var(--mute); background: none;
  border: 1px solid var(--hair); border-radius: 999px; padding: 6px 13px;
}

/* ── 코드로 열린 사주 고정 배지 · 수정 잠금 (#9247) ──────── */
.savedbar__lock {
  display: inline-block; margin-top: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: -0.01em;
  color: #4B4438; background: rgba(28, 24, 19, .13);
  border: 1px solid rgba(28, 24, 19, .3); border-radius: 999px;
  padding: 3px 9px; line-height: 1.45;
}
.savedbar__btn.is-locked {
  color: #4B4438; border-color: rgba(28, 24, 19, .38);
  background: rgba(28, 24, 19, .09); cursor: default;
}
.savedbar__btn.is-refuse { animation: lockShake .34s cubic-bezier(.36, .07, .19, .97) both; }

/* 코드 주인과 다른 사주일 때 · 전용으로 열렸을 때 안내 */
.codetie {
  margin: 10px 0 0; padding: 9px 12px;
  font-size: 10.5px; line-height: 1.65; color: #4B4438;
  background: rgba(28, 24, 19, .075);
  border: 1px dashed rgba(28, 24, 19, .33); border-radius: 12px;
  word-break: keep-all;
}
.codetie b { color: #4B4438; font-weight: 700; }

/* ── 원국 (정통 4칸 표) ────────────────────────── */
.natal {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 16px; row-gap: 7px;
  padding: 13px 0 10px;
  border-top: 1px solid var(--hair-soft);
  border-bottom: 1px solid var(--hair-soft);
}
.natal > span { border-left: 1px solid var(--hair-soft); }
.natal > span:nth-child(4n + 1) { border-left: 0; }
.natal__pos {
  text-align: center; padding-bottom: 1px;
  font-size: 9.5px; letter-spacing: .14em; color: var(--mute);
}
.natal__pos.is-me { color: var(--gold); font-weight: 600; }
.natal__ten {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  min-height: 15px; text-align: center;
  font-size: 10.5px; color: var(--ink-2); letter-spacing: -0.01em;
}
.natal__ten--gan { color: var(--ink); }
.natal__ten--zhi { color: #6E665A; }
.natal__ten--mute { font-size: 9px; color: #CFC6B7; letter-spacing: 0; }
.natal__ten small {
  font-size: 8px; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(28, 24, 19, .35); border-radius: 999px; padding: 0 4px;
  line-height: 1.5; letter-spacing: 0;
}
.natal__ten.is-me { color: var(--gold); font-weight: 600; }
.natal__tile {
  justify-self: center;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-family: var(--serif); font-size: 21px; line-height: 1; letter-spacing: 0;
}
/* 8글자 칸 — 정통 오방색: 목 초록 · 화 빨강 · 토 노랑 · 금 흰색(은회색 테두리) · 수 검정 */
.natal__tile--목 { background: var(--ob-wood-bg); color: var(--ob-wood-ink); }
.natal__tile--화 { background: var(--ob-fire-bg); color: var(--ob-fire-ink); }
.natal__tile--토 { background: var(--ob-earth-bg); color: var(--ob-earth-ink); }
.natal__tile--금 { background: var(--ob-metal-bg); color: var(--ob-metal-ink); border: 2px solid var(--ob-metal-line); }
.natal__tile--수 { background: var(--ob-water-bg); color: var(--ob-water-ink); }
.natal__tile--none { background: #FBF7EF; color: #CFC6B7; }
.natal__tile.is-me { box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .45); }

/* ── 캘린더 ───────────────────────────────────────── */
.card--cal { padding: 22px 14px 18px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.navbtn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--hair); background: transparent; color: var(--ink-2);
  font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.navbtn:disabled { opacity: .22; cursor: default; }
.cal__year { font-size: 9.5px; letter-spacing: .22em; color: var(--mute); text-align: center; }
.cal__title { font-family: var(--serif); font-size: 23px; font-weight: 600; text-align: center; margin-top: 1px; }
.cal__summary { font-size: 11px; color: var(--mute); text-align: center; margin-top: 8px; }
/* ── 2027 한눈에 — 조심할 달 · 좋은 달 ─────────────── */
.card--year { padding: 22px 18px 18px; }
.year__lead { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.year__lead b { font-weight: 700; }
.year__lead .y-bad { color: #C21F46; }
.year__lead .y-good { color: #4B4438; }
.year__group { margin-top: 17px; }
.year__label {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-2);
}
.year__label span { font-size: 12px; }
.year__chips { margin-top: 9px; display: flex; flex-direction: column; gap: 7px; }
.ychip {
  width: 100%; text-align: left; border: 1px solid transparent;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 14px; background: #FBF7EF;
}
.ychip--warn { background: #FFF1F4; border-color: rgba(194, 31, 70, .26); }
.ychip--good { background: #ECFDF5; border-color: rgba(6, 127, 91, .26); }
.ychip__no {
  flex: none; width: 38px; text-align: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em;
}
.ychip--warn .ychip__no { color: #C21F46; }
.ychip--good .ychip__no { color: #067F5B; }
.ychip__body { flex: 1; min-width: 0; }
.ychip__title { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.ychip__why { display: block; font-size: 11px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.year__none { font-size: 11.5px; color: var(--mute); line-height: 1.6; }
.year__lead-lock { display: inline-block; margin-left: 4px; color: #4B4438; font-weight: 700; }

/* 무료 체험 중 '몇 월' 잠금 — 내용은 블러, 가운데 잠금 버튼(#9098) */
.ychip--locked { position: relative; overflow: hidden; }
.ychip--locked .ychip__inner {
  display: flex; align-items: center; gap: 11px; width: 100%; min-width: 0;
  filter: blur(6px); -webkit-filter: blur(6px);
  user-select: none; -webkit-user-select: none; pointer-events: none;
}
.ychip__lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% - 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 6px 11px; border-radius: 999px; cursor: pointer;
  background: #FFFFFF; border: 1px solid rgba(28, 24, 19, .55);
  font: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: -0.01em; color: #4B4438;
  box-shadow: 0 2px 9px rgba(31, 27, 22, .10);
}
.ychip__lock:hover { background: #FFFCF2; }
.ychip__lock:focus-visible { outline: 2px solid rgba(28, 24, 19, .55); outline-offset: 2px; }

/* 맛보기 칸 — 3순위 조심할 달 한 달만 블러 없이 열어 둔다(#9172) */
.ychip--teaser { position: relative; padding-top: 20px; border-style: dashed; }
.ychip--teaser.ychip--warn { background: #FFF7F8; }
.ychip--teaser.ychip--good { background: #F2FDF8; }
.ychip__preview {
  position: absolute; right: 10px; top: 8px;
  padding: 2px 8px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid rgba(28, 24, 19, .45);
  font-size: 9.5px; font-weight: 700; letter-spacing: -0.01em; color: #4B4438; line-height: 1.6;
}
.year__note { margin-top: 14px; font-size: 10px; color: var(--mute); line-height: 1.5; }

/* ── 모아보기 필터 ─────────────────────────────────── */
.calfilter {
  display: flex; gap: 4px; margin: 14px 4px 4px; padding: 3px;
  background: #F6F1E7; border-radius: 999px;
}
.calfilter__btn {
  flex: 1; appearance: none; border: 0; background: transparent; border-radius: 999px;
  padding: 7px 4px; font-size: 11px; font-weight: 600; color: var(--mute);
  white-space: nowrap; letter-spacing: -0.02em;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.calfilter__btn.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(28, 24, 19, .10); }
.calfilter__btn[data-filter="bad"].is-on { color: #C21F46; }
.calfilter__btn[data-filter="good"].is-on { color: #067F5B; }

/* 무료 3일을 다 쓴 기기 — 달력 바로 위 잠금 안내 한 줄 (누르면 코드 입력) */
.cal__trialover {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; margin: 12px 0 2px; padding: 9px 12px 10px;
  appearance: none; border: 1px solid rgba(28, 24, 19, .42); border-radius: 13px;
  background: linear-gradient(180deg, #FBF7EF 0%, #FDF3DD 100%);
  text-align: center; cursor: pointer;
}
.cal__trialover[hidden] { display: none; }
.cal__trialover-t {
  font-size: 12.5px; font-weight: 800; letter-spacing: -.03em; color: #1B2940; line-height: 1.35;
}
.cal__trialover-s {
  font-size: 10px; font-weight: 600; letter-spacing: -.02em; color: #6E665A; line-height: 1.4;
  word-break: keep-all;
}
.cal__trialover-s b { color: #C21F46; font-weight: 800; }
.cal__trialover:active { transform: scale(.995); }

/* 모아보기 중 — 해당 날만 또렷하게, 나머지는 물러나게 */
.cal .day.day--dim { opacity: .3; }
.cal .day.day--dim:hover { background-image: none; }
.cal .day.day--pick { box-shadow: inset 0 0 0 1.4px rgba(28, 24, 19, .14); }
.cal .day.day--pick--red { background: rgba(194, 31, 70, .16); }
.cal .day.day--pick--gray { background: rgba(165, 101, 15, .15); }
.cal .day.day--pick--gold { background: rgba(165, 101, 15, .20); }
.cal .day.day--pick--blue { background: rgba(6, 127, 91, .17); }

/* 달력 아래 — 이 달 조심할 날 · 좋은 날 목록 */
.calfocus {
  margin-top: 14px; padding: 13px 12px 11px;
  background: #FBF7EF; border: 1px solid var(--hair-soft); border-radius: 14px;
}
.calfocus__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.calfocus__title { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); }
.calfocus__list { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.fday {
  appearance: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 9px 6px 10px; border-radius: 10px;
  border: 1px solid var(--hair-soft); background: var(--paper);
  font-size: 11px; color: var(--ink); transition: transform .14s ease, box-shadow .16s ease;
}
.fday:active { transform: scale(.97); }
.fday__date { font-weight: 600; font-variant-numeric: tabular-nums; }
.fday__date em { font-style: normal; font-weight: 500; font-size: 10px; color: var(--mute); margin-left: 1px; }
.fday .badge { font-size: 9px; padding: 3px 5px; }
.fday.is-today { box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .32); }
.calfocus__hint { margin-top: 9px; font-size: 10px; color: var(--mute); line-height: 1.5; }
.calfocus__empty { font-size: 11px; color: var(--mute); line-height: 1.6; }

/* 요약 카드의 달 칩은 눌러도 달력이 움직이지 않는다 — 관련 점프 애니메이션은 뺐다 (2026-11-20) */

/* ── 세운 줄 — 입춘에서 해가 바뀐다 */
.cal__saeun {
  margin: 10px auto 0; width: fit-content; max-width: 100%;
  font-size: 10px; line-height: 1.5; letter-spacing: .01em; text-align: center;
  color: #6E665A; background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .22);
  border-radius: 999px; padding: 4px 11px;
}
.cal__saeun b { color: #4B4438; font-weight: 600; }
.cal__saeun.is-shift { background: #FDF3DD; border-color: rgba(28, 24, 19, .42); color: #4B4438; }

/* ── 이 캘린더 보는 법 ─────────────────────────────── */
.howto {
  margin: 13px 0 3px; padding: 12px 13px 11px;
  background: #FBF7EF; border: 1px solid var(--hair-soft); border-radius: 14px;
}
.howto__title {
  font-size: 9px; font-weight: 600; letter-spacing: .2em;
  color: var(--mute); text-transform: uppercase;
}
.howto__list { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; }
.howto__list li { display: flex; align-items: center; gap: 7px; }
.howto__txt { font-size: 10.5px; line-height: 1.55; color: var(--ink-2); }
.howto .badge { min-width: 34px; flex: none; }
.howto__free {
  margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--hair);
  font-size: 10.5px; color: #6E665A; line-height: 1.5;
}
.howto__free b { color: #4B4438; font-weight: 700; }
.howto__free + .howto__free { margin-top: 6px; padding-top: 0; border-top: 0; }
.howto__free--ritual { color: var(--mute); }
.howto__free--ritual b { color: var(--ink-2); }

/* 배지 (셀·안내 공통) */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 600; line-height: 1;
  padding: 4px 7px; border-radius: 999px;
  letter-spacing: -0.01em; white-space: nowrap;
}
/* 1안 상태 컬러 — 소통 · 리셋(균형·기회) / 결정 · 머니(좋은 날) / 입단속(주의할 날) */
.badge--gold { background: var(--mid-bg); color: var(--mid-ink); }      /* 소통 */
.badge--red { background: var(--warn-bg); color: var(--warn-ink); }    /* 입단속 */
.badge--blue { background: var(--good-bg); color: var(--good-ink); }   /* 결정 · 머니 */
.badge--gray { background: var(--mid-bg); color: var(--mid-ink); }     /* 리셋 */
.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex: none; }
.dot--gold { background: var(--dot-gold); }
.dot--red { background: var(--dot-red); }
.dot--blue { background: var(--dot-blue); }
.dot--gray { background: var(--dot-gray); }

.cal__dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding-bottom: 8px; border-bottom: 1px solid var(--hair-soft);
}
.cal__dow span { text-align: center; font-size: 9.5px; letter-spacing: .08em; color: var(--mute); }
.cal__dow span:first-child { color: #C21F46; }
.cal__dow span:last-child { color: #6E665A; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); padding-top: 8px; row-gap: 3px; column-gap: 1px; }
.day {
  appearance: none; border: 0; background: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 4px 0 6px; border-radius: 12px; min-height: 52px;
  transition: background .18s ease;
}
.day:hover { background-image: linear-gradient(rgba(28, 24, 19, .045), rgba(28, 24, 19, .045)); }
.day__num {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 12.5px; color: var(--ink-2);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
  transition: background .18s ease, color .18s ease;
}
.day--sun .day__num { color: #C21F46; }
.day--sat .day__num { color: #6E665A; }

/* 무료 구간(오늘~D+2)은 은은한 테두리로 */
.day--free { box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .22); }
/* 중요한 날의 파스텔 틴트 — 입단속은 코랄, 소통은 골드 */
.day--t-red { background: rgba(194, 31, 70, .085); }
.day--t-gold { background: rgba(165, 101, 15, .12); }

.day--past { opacity: .3; background: none; box-shadow: none; }
.day--past .day__badges { visibility: hidden; }

/* 평범한 날(기운 배지 없음) — 누를 수 없는 정적인 칸, 커서·호버 효과 없음 */
.day--static { cursor: default; }
.day--static:hover { background-image: none; }

/* 무료 체험 스위치(calendar/assets/calendar.js 의 FREE_TRIAL_ENABLED)
   끄면 data-trial="off" — js-trial 문구 숨김 + 지난 날도 눌러 볼 수 있게 흐림 해제 */
body[data-trial="off"] .js-trial { display: none !important; }
body[data-trial="on"] .js-open { display: none !important; }
/* 무료 3일을 다 쓴 기기(data-trial="over") — 첫 방문 안내 대신 종료 안내를 보인다 */
body[data-trial="over"] .js-trial { display: none !important; }
body[data-trial="over"] .js-open { display: none !important; }
body[data-trial="on"] .js-trial-over, body[data-trial="off"] .js-trial-over { display: none !important; }
/* 체험 종료 — 오늘 날짜까지 전부 잠겨 눌러도 결제 안내만 나온다. 달력을 한 톤 가라앉혀 잠금을 보인다 */
body[data-trial="over"] .day--locked { opacity: .88; }
body[data-trial="over"] .day--locked:hover { background-image: none; }
body[data-trial="off"] .day--past { opacity: 1; }
body[data-trial="off"] .day--past .day__badges { visibility: visible; }
.day.is-today .day__num { box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .4); }
.day.is-sel .day__num { background: var(--ink); color: #FBF7EF; box-shadow: none; }
.day.is-sel.day--sun .day__num, .day.is-sel.day--sat .day__num { color: #FBF7EF; }

.day__badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.5px; padding: 0 1px; min-height: 17px;
}
.day__badge {
  font-size: 10px; line-height: 1; padding: 3.5px 5px;
  border-radius: 5px; letter-spacing: -0.03em;
  background: #FFFFFF;
}
/* 셀 안의 배지는 흰 바탕 + 얇은 링으로 — 틴트 위에서도 또렷하게 */
.day__badge.badge--red { background: #FFFFFF; color: #C21F46; box-shadow: inset 0 0 0 1px rgba(194, 31, 70, .32); }
.day__badge.badge--gold { background: #FFFFFF; color: #4B4438; box-shadow: inset 0 0 0 1px rgba(165, 101, 15, .36); }
.day__badge.badge--blue { background: #FFFFFF; color: #1B2940; box-shadow: inset 0 0 0 1px rgba(6, 127, 91, .32); }
.day__badge.badge--gray { background: #FFFFFF; color: #6E665A; box-shadow: inset 0 0 0 1px rgba(165, 101, 15, .38); }

.cal__note {
  margin-top: 14px; padding: 11px 13px;
  background: #FBF7EF; border-radius: 12px;
  font-size: 10.5px; color: #6E665A; line-height: 1.65;
}

/* ── 데일리 브리핑 ────────────────────────────────── */
.brief {
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  margin-top: 14px;
  box-shadow: var(--shadow);
}
.brief__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.brief__date { font-family: var(--serif); font-size: 27px; letter-spacing: -0.02em; line-height: 1.15; }
.brief__date small { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--mute); margin-left: 8px; vertical-align: 3px; }
.brief__lunar { font-size: 10.5px; color: var(--mute); text-align: right; line-height: 1.6; }
.brief__headline { font-family: var(--serif); font-size: 19px; line-height: 1.55; margin-top: 14px; font-weight: 600; }
.brief__saeun { margin-top: 7px; font-size: 10.5px; color: #6E665A; letter-spacing: .02em; line-height: 1.6; }
.brief__saeun b { color: #4B4438; font-weight: 600; }
.brief__rule { height: 1px; background: var(--hair-soft); margin: 18px 0 16px; }

.brief__gz { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brief__gz-hanja { font-family: var(--serif); font-size: 19px; letter-spacing: .1em; }
.brief__gz-ko { font-size: 11px; color: var(--mute); }
.pill {
  font-size: 10px; padding: 3px 9px; border-radius: 999px;
  background: #FBF7EF; color: var(--ink-2); letter-spacing: .01em;
}
.pill--목 { background: var(--ob-wood-bg); color: var(--ob-wood-ink); }
.pill--화 { background: var(--ob-fire-bg); color: var(--ob-fire-ink); }
.pill--토 { background: var(--ob-earth-bg); color: var(--ob-earth-ink); }
.pill--금 { background: var(--ob-metal-bg); color: var(--ob-metal-ink); border: 1px solid var(--ob-metal-line); }
.pill--수 { background: var(--ob-water-bg); color: var(--ob-water-ink); }

.marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mark {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; padding: 4px 10px; border-radius: 999px;
  background: #FBF7EF; color: var(--ink-2);
}
.mark--red { background: rgba(194, 31, 70, .10); color: #C21F46; }
.mark--gold { background: rgba(165, 101, 15, .13); color: #4B4438; }
.mark--blue { background: rgba(6, 127, 91, .12); color: #3B352C; }
.mark--gray { background: #F6F1E7; color: #6E665A; }
.mark__dot { width: 4.5px; height: 4.5px; border-radius: 50%; }

.brief__why { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.brief__why li { font-size: 11.5px; color: var(--mute); line-height: 1.6; padding-left: 10px; position: relative; }
.brief__why li::before { content: ""; position: absolute; left: 0; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: #CFC6B7; }

.rx { margin-top: 18px; border-left: 1px solid var(--hair); padding-left: 16px; }
.rx__label { font-size: 9.5px; letter-spacing: .18em; color: var(--mute); margin-bottom: 10px; }
.rx__item { display: flex; gap: 9px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.rx__item + .rx__item { margin-top: 7px; }
.rx__n { font-family: var(--serif); font-size: 10.5px; color: var(--gold); line-height: 1.9; flex: none; }

.brief__term {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--hair);
  font-size: 10.5px; color: var(--mute); line-height: 1.65;
}
.brief__term b { color: var(--ink-2); font-weight: 600; }

/* ── 잠금 카드 ────────────────────────────────────── */
.lock {
  position: relative; overflow: hidden;
  background: #1B2940; color: #F6F1E7;
  border-radius: var(--radius); padding: 28px 22px 24px; margin-top: 14px;
}
.lock::after {
  content: "2027"; position: absolute; right: -8px; bottom: -26px;
  font-family: var(--serif); font-size: 92px; line-height: 1; color: rgba(241, 245, 249, .045);
  letter-spacing: .02em; pointer-events: none;
}
.lock__eyebrow { font-size: 9.5px; letter-spacing: .2em; color: rgba(241, 245, 249, .5); }
.lock__date { font-family: var(--serif); font-size: 20px; margin-top: 12px; letter-spacing: -0.01em; }
.lock__date span { font-family: var(--sans); font-size: 11px; color: rgba(241, 245, 249, .5); margin-left: 7px; letter-spacing: .04em; }
.lock__term { font-size: 10.5px; color: rgba(241, 245, 249, .45); margin-top: 6px; letter-spacing: .02em; }
.lock__title { font-family: var(--serif); font-size: 18px; line-height: 1.55; margin-top: 16px; color: #FAF4E9; position: relative; z-index: 1; }
.lock__sub { font-size: 11px; color: rgba(241, 245, 249, .52); margin-top: 6px; }
.lock__early {
  display: inline-block; margin-top: 11px; padding: 5px 11px; border-radius: 999px;
  font-size: 10px; letter-spacing: .02em; line-height: 1.4;
  color: #FBE4B2; background: rgba(165, 101, 15, .14); border: 1px solid rgba(165, 101, 15, .36);
}
.lock__marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.lock .mark { background: rgba(241, 245, 249, .08); color: rgba(241, 245, 249, .8); }
.lock .mark__dot { opacity: .9; }
/* 잠금 팝업의 3색 힌트 — 달력·날짜 팝업과 같은 말(⚠️ 조심 / ⚡ 기운 UP / 🌿 실속·정리)만
   어두운 카드 위에 올린다. 옛 5색 딱지(● 머니 등)는 2026-11-23 정리 (#17156) */
.lock__tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: -.01em;
  background: rgba(241, 245, 249, .10); color: rgba(241, 245, 249, .92);
  box-shadow: inset 0 0 0 1px rgba(241, 245, 249, .14);
}
.lock__tag--warn { background: rgba(194, 31, 70, .22); color: #FECDD3; box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .30); }
.lock__tag--up { background: rgba(217, 155, 43, .20); color: #FBE4B2; box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .26); }
.lock__tag--real { background: rgba(16, 185, 129, .18); color: #A7F3D0; box-shadow: inset 0 0 0 1px rgba(167, 243, 208, .24); }
.lock__hint { font-size: 11.5px; color: rgba(241, 245, 249, .62); line-height: 1.75; margin-top: 16px; }
.lock__actions { position: relative; z-index: 1; margin-top: 20px; }

/* ── 버튼 ─────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border-radius: 15px; padding: 15px 18px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .16s ease, opacity .2s;
}
.btn + .btn { margin-top: 8px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #FAF4E9; }
.btn--primary:disabled { opacity: .35; cursor: default; }
.btn--cream { background: #FBF7EF; color: #1B2940; }
.btn--ghost { background: transparent; border-color: var(--hair); color: var(--ink-2); }
.btn--ghost-light { background: transparent; border-color: rgba(241, 245, 249, .24); color: rgba(241, 245, 249, .88); }
.btn__sub {
  font-size: 9.5px; letter-spacing: .12em; font-weight: 500;
  padding: 2px 7px; border-radius: 999px; background: rgba(250, 251, 253, .14);
}

/* ── CTA ─────────────────────────────────────────── */
.cta {
  background: #1B2940; color: #F6F1E7;
  border-radius: var(--radius); padding: 30px 22px 24px; margin-top: 14px;
  position: relative; overflow: hidden;
}
.cta::after {
  content: "丁未"; position: absolute; right: -6px; top: -14px;
  font-family: var(--serif); font-size: 88px; color: rgba(241, 245, 249, .04);
  line-height: 1; pointer-events: none;
}
.cta__eyebrow { font-size: 9.5px; letter-spacing: .2em; color: rgba(241, 245, 249, .5); }
.cta__title { font-family: var(--serif); font-size: 22px; line-height: 1.5; margin-top: 14px; font-weight: 500; }
.cta__sub { font-size: 12px; line-height: 1.85; color: rgba(241, 245, 249, .66); margin-top: 12px; }
.cta .btn { margin-top: 18px; }
.cta .btn + .btn { margin-top: 8px; }

/* ── 푸터 ─────────────────────────────────────────── */
.foot { padding: 26px 8px 8px; text-align: center; }
/* 사업자 정보 · 환불 규정 · 개인정보 안내 — story/ · apply/ 하단과 같은 표기 (2026-11-24) */
.foot--legal { padding: 22px 8px 30px; margin-top: 18px; border-top: 1px solid var(--hair-soft); }
.foot__biz {
  max-width: 340px; margin: 0 auto;
  font-size: 10px; line-height: 1.85; color: var(--mute); word-break: keep-all;
}
.foot__biz b { font-weight: 700; color: var(--ink-2); }
.foot__legal {
  max-width: 340px; margin: 12px auto 0; text-align: left;
  font-size: 9.5px; line-height: 1.72; color: var(--mute); word-break: keep-all;
}
.foot__legal b { margin-right: 4px; font-weight: 700; color: var(--ink-2); }
.ghost-link {
  background: none; border: 0; padding: 6px 10px;
  font-size: 11px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px;
}

/* 무료 체험 중 결제 경로 — 달력 위 큰 버튼을 내리고 문구만 여기 한 줄로 (2026-11-23 김나영 님 #16839)
   체험 손님 화면에서 눈에 걸리지 않게, 금액만 골드로 조용히 표시한다. */
.passfoot {
  display: block; margin: 4px auto 0;
  font-size: 11.5px; font-weight: 600; color: var(--gold);
}

/* 🏷️ 구매 유도 버튼 아래 한 줄 — ① 특별 선물 기간(72시간)에만 (2026-11-24 #18672)
   버튼을 키우지 않고, 가격과 증정 조건만 차분하게 읽히게 둔다. */
.cta-guide {
  display: block; max-width: 330px; margin: 8px auto 0;
  font-size: 11px; line-height: 1.62; color: var(--ink-2);
  text-align: center; word-break: keep-all;
}
.cta-guide[hidden] { display: none !important; }
.foot .cta-guide { margin-top: 6px; }

/* ── 2027 1년 대표 수호 부적 — 대문 히어로 ────────────────
   2026-11-22 개편 · 부적이 배너 정가운데 크게 서고, 글은 위아래로만.
   오행마다 깊은 먹빛 배경과 오라가 다르다:
   목 = 숲녹 먹빛 + 옥빛 / 화 = 단청 적갈 + 주홍·금빛 / 토 = 황토 먹 + 호박빛
   금 = 흑요석 차콜 + 백금빛 / 수 = 심해 먹남색 + 달빛 청옥 */
.talis-banner {
  --tb-1: #2A0F14; --tb-2: #130609;
  --tb-aura: rgba(214, 72, 58, .30);
  --tb-aura2: rgba(232, 168, 84, .15);
  --tb-gold: #EBC48C; --tb-cream: #F7F1E4; --tb-sub: rgba(245, 236, 220, .60);
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 14px; padding: 16px 16px 15px;
  text-align: center;
  background:
    radial-gradient(74% 46% at 50% 32%, var(--tb-aura), transparent 74%),
    radial-gradient(126% 78% at 50% 112%, var(--tb-aura2), transparent 64%),
    linear-gradient(174deg, var(--tb-1) 0%, var(--tb-2) 82%);
  border: 1px solid rgba(226, 196, 140, .24);
  border-radius: var(--radius);
  box-shadow: 0 22px 46px -26px rgba(6, 10, 18, .85), inset 0 1px 0 rgba(255, 240, 214, .07);
}
/* 오행별 신비 색감 — 배경·오라·금빛 (확대 팝업 배경도 같은 값을 쓴다) */
.talis-banner.talis-banner--목, .talis-showcase.talis-showcase--목 {
  --tb-1: #0B261C; --tb-2: #050F0B;
  --tb-aura: rgba(96, 220, 168, .22); --tb-aura2: rgba(143, 196, 112, .14);
  --tb-gold: #C9DBB4; --tb-cream: #F2F6EA; --tb-sub: rgba(228, 240, 222, .58);
}
.talis-banner.talis-banner--화, .talis-showcase.talis-showcase--화 {
  --tb-1: #2A0F14; --tb-2: #130609;
  --tb-aura: rgba(222, 74, 58, .30); --tb-aura2: rgba(236, 172, 88, .16);
  --tb-gold: #EBC48C; --tb-cream: #FBF0E4; --tb-sub: rgba(250, 230, 212, .60);
}
.talis-banner.talis-banner--토, .talis-showcase.talis-showcase--토 {
  --tb-1: #231A0E; --tb-2: #100B06;
  --tb-aura: rgba(232, 168, 66, .26); --tb-aura2: rgba(212, 156, 70, .15);
  --tb-gold: #E8CE96; --tb-cream: #FAF1DE; --tb-sub: rgba(246, 232, 206, .58);
}
.talis-banner.talis-banner--금, .talis-showcase.talis-showcase--금 {
  --tb-1: #161920; --tb-2: #090B0F;
  --tb-aura: rgba(206, 222, 240, .19); --tb-aura2: rgba(150, 172, 198, .13);
  --tb-gold: #DCE5F0; --tb-cream: #F4F7FB; --tb-sub: rgba(226, 236, 246, .58);
}
.talis-banner.talis-banner--수, .talis-showcase.talis-showcase--수 {
  --tb-1: #0A1628; --tb-2: #040A14;
  --tb-aura: rgba(120, 198, 226, .22); --tb-aura2: rgba(110, 170, 210, .14);
  --tb-gold: #CFE3EE; --tb-cream: #EFF6FA; --tb-sub: rgba(220, 236, 246, .58);
}
/* 별가루 — 배경에 아주 옅게 깔리는 신비한 입자 */
.talis-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 246, 224, .55) .5px, transparent 1.1px),
    radial-gradient(circle, rgba(255, 246, 224, .32) .5px, transparent 1.1px),
    radial-gradient(circle, rgba(255, 246, 224, .22) .6px, transparent 1.2px);
  background-size: 47px 53px, 67px 73px, 91px 87px;
  background-position: 5px 9px, 23px 31px, 11px 59px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(80% 68% at 50% 48%, #000 38%, transparent 100%);
  mask-image: radial-gradient(80% 68% at 50% 48%, #000 38%, transparent 100%);
}
.talis-banner > * { position: relative; z-index: 1; }

/* 히어로 — 제목 · 부적 한가운데 · 이름 · 힌트 (세로 한 줄) */
.talis-hero { display: flex; flex-direction: column; align-items: center; }
.talis-banner__eyebrow {
  font-size: 7.6px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--tb-gold); opacity: .62;
}
.talis-banner__title {
  font-family: var(--serif); font-size: 15px; line-height: 1.42;
  margin-top: 7px; letter-spacing: -.01em; color: var(--tb-cream);
  text-wrap: balance; text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}
.talis-banner__stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin: 2px 0 0; padding: 2px 0 0;
}
.talis-banner__halo {
  position: absolute; left: 50%; top: 52%;
  width: 17em; height: 17em; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--tb-aura) 0%, transparent 68%);
  filter: blur(4px);
  animation: talisHaloBreath 7.4s ease-in-out infinite;
}
@keyframes talisHaloBreath {
  0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
.talis-banner__stage .talis-plaque { font-size: 15px; z-index: 2; }
.talis-banner__name {
  margin-top: 10px; font-family: var(--serif);
  font-size: 14px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3;
  color: var(--tb-gold); text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.talis-banner__name span { font-size: 12.5px; margin-right: 2px; }
/* 부적 이름 바로 아래 두 줄 글귀 — 확대 팝업과 같은 문장을 대문에서도 은은하게 (2026-11-22) */
.talis-banner__verse {
  margin: 5px auto 0; max-width: 30em;
  font-family: var(--serif); font-size: 12px; line-height: 1.6;
  letter-spacing: -.012em; color: var(--tb-cream); opacity: .84;
  word-break: keep-all; text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.talis-banner__hint {
  margin-top: 6px; font-size: 10.5px; letter-spacing: -.01em;
  color: var(--tb-sub);
}
.talis-banner__more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px; padding: 4px 11px;
  border-radius: 999px; border: 1px solid rgba(226, 196, 140, .32);
  background: rgba(255, 246, 224, .07);
  font-family: inherit; font-size: 9.5px; font-weight: 600; letter-spacing: -.01em;
  color: var(--tb-gold);
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease, background .2s ease, border-color .2s ease;
}
.talis-banner__more.is-on { opacity: 1; visibility: visible; }
.talis-banner__more[hidden] { display: none; }
.talis-banner__more span { font-size: 11px; opacity: .8; }
.talis-banner__more:active { background: rgba(255, 246, 224, .15); }

/* ── 부적 패(牌) — 금색 매듭 고리 · 금박 이중 테두리 ·
      구름문/별자리/태극 워터마크 · 오행 인장 · 주홍 낙관 ──── */
.talis-plaque {
  --tp-a: #3A1418; --tp-b: #1A0709; --tp-gold: #CE9F62; --tp-halo: #F0845C;
  --tp-aura: rgba(240, 132, 92, .19); --tp-aura-line: rgba(246, 198, 162, .28);
  position: relative; display: block; flex: none;
  width: 9em; font-size: 10px;
  margin: 0; padding: 2.4em 0 0; border: 0; background: none;
  font-family: var(--serif); color: #F3E7CD; letter-spacing: 0;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  filter: drop-shadow(0 16px 22px rgba(38, 28, 18, .22));
  transition: transform .38s cubic-bezier(.2, .9, .3, 1), filter .38s ease;
}
.talis-plaque--목 { --tp-a: #143026; --tp-b: #08180F; --tp-gold: #C9A968; --tp-halo: #8FD9B4;
  --tp-aura: rgba(143, 217, 180, .20); --tp-aura-line: rgba(201, 232, 208, .30); }
.talis-plaque--화 { --tp-a: #3A1418; --tp-b: #1A0709; --tp-gold: #CE9F62; --tp-halo: #F0845C;
  --tp-aura: rgba(240, 132, 92, .19); --tp-aura-line: rgba(246, 198, 162, .28); }
.talis-plaque--토 { --tp-a: #35270F; --tp-b: #171006; --tp-gold: #D5B06C; --tp-halo: #E2B45E;
  --tp-aura: rgba(226, 180, 94, .20); --tp-aura-line: rgba(240, 214, 160, .30); }
.talis-plaque--금 { --tp-a: #232830; --tp-b: #0D1015; --tp-gold: #D2C8A8; --tp-halo: #C3D2E0;
  --tp-aura: rgba(195, 210, 224, .18); --tp-aura-line: rgba(226, 232, 240, .28); }
.talis-plaque--수 { --tp-a: #122438; --tp-b: #060E1B; --tp-gold: #C3C8C8; --tp-halo: #6FC0DA;
  --tp-aura: rgba(111, 192, 218, .20); --tp-aura-line: rgba(178, 224, 240, .28); }
button.talis-plaque { cursor: pointer; }
button.talis-plaque:active { transform: scale(.972); }
.talis-plaque:focus-visible { outline: none; }
.talis-plaque:focus-visible .talis-plaque__sheet {
  box-shadow: 0 0 0 2px rgba(174, 138, 80, .8), 0 0 0 7px rgba(174, 138, 80, .16);
}

.talis-plaque__loop {
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: 2.7em; height: 3em;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(60, 44, 22, .3));
}
.talis-plaque__loop svg { display: block; width: 100%; height: 100%; overflow: visible; }

.talis-plaque__sheet {
  position: relative; display: block; width: 100%;
  aspect-ratio: 100 / 140;
  border-radius: .34em; overflow: hidden; isolation: isolate;
  background: linear-gradient(168deg, var(--tp-a) 0%, var(--tp-b) 68%);
  animation: talisBreath 5.6s ease-in-out infinite;
}
.talis-plaque__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.talis-plaque__glyph {
  position: absolute; top: .58em; left: 50%; transform: translateX(-50%);
  width: 2em; height: 2em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1em; line-height: 1; color: #F1E0BC;
  border: .09em solid rgba(240, 222, 180, .5);
  background: radial-gradient(circle at 50% 32%, rgba(255, 241, 212, .16), rgba(0, 0, 0, .34) 72%);
  box-shadow: 0 0 0 .15em rgba(201, 162, 101, .12), inset 0 0 8px rgba(0, 0, 0, .45);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.talis-plaque__char {
  position: absolute; top: 3.15em; left: 50%;
  width: 4.7em; height: 4.7em;
  transform: translateX(calc(-50% - .6em));
  filter: drop-shadow(0 .45em .9em rgba(0, 0, 0, .45));
  animation: talisFloat 6.6s ease-in-out infinite;
}
/* 캐릭터 뒤 신비한 빛무리 — 오행 오라 색으로 은은하게 (2026-11-22) */
.talis-plaque__char::before {
  content: ""; position: absolute; left: 50%; top: 54%; z-index: -1;
  width: 7.4em; height: 7.4em; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--tp-halo) 0%, rgba(255, 246, 220, .10) 46%, transparent 70%);
  opacity: .34; filter: blur(.55em);
}
.talis-plaque__char .ch { width: 100%; height: 100%; }

.talis-plaque__vname {
  position: absolute; top: 3.1em; right: .95em;
  writing-mode: vertical-rl; text-orientation: upright;
  max-height: 6.4em; padding-left: .2em;
  border-left: .07em solid rgba(240, 222, 180, .22);
}
.talis-plaque__vname span {
  font-size: .7em; line-height: 1.06; letter-spacing: .08em;
  color: rgba(246, 234, 210, .94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.talis-plaque__seal {
  position: absolute; right: .64em; bottom: .78em;
  width: 1.88em; height: 1.88em; border-radius: .1em;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1em; line-height: 1; color: #FBEFDC;
  background: #AF382B;
  transform: rotate(-2.6deg); opacity: .95;
  box-shadow: inset 0 0 0 .07em rgba(255, 238, 220, .32), 0 1px 3px rgba(0, 0, 0, .35);
}
.talis-plaque__seal i { font-style: normal; font-size: .72em; }

.talis-plaque__year {
  position: absolute; left: 2.15em; bottom: 1.02em;
}
.talis-plaque__year i {
  font-style: normal; font-size: .42em; letter-spacing: .14em;
  color: rgba(240, 224, 190, .62);
}
/* 기운 표기(주문) — 부적 아래쪽 가운데, 50종마다 다른 네 자 */
.talis-plaque__mantra {
  position: absolute; left: 50%; bottom: 2.35em;
  transform: translateX(-50%);
  padding: .14em .5em;
  border-top: .06em solid rgba(240, 222, 180, .18);
  border-bottom: .06em solid rgba(240, 222, 180, .18);
  white-space: nowrap;
}
.talis-plaque__mantra i {
  font-style: normal; font-size: .44em; letter-spacing: .2em;
  color: rgba(246, 234, 208, .58);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.talis-plaque__shine {
  position: absolute; inset: -12%; pointer-events: none;
  background: linear-gradient(104deg,
    transparent 38%, rgba(255, 243, 214, .08) 46%,
    rgba(255, 248, 228, .32) 50%, rgba(255, 243, 214, .08) 54%, transparent 62%);
  transform: translateX(-140%); mix-blend-mode: screen;
  animation: talisShine 7.8s cubic-bezier(.45, 0, .2, 1) infinite;
}

@keyframes talisShine {
  0%, 58% { transform: translateX(-140%); }
  86%, 100% { transform: translateX(140%); }
}
@keyframes talisBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 101, 0), inset 0 0 0 1px rgba(255, 255, 255, .04); }
  50% { box-shadow: 0 0 16px -2px rgba(201, 162, 101, .38), inset 0 0 0 1px rgba(255, 255, 255, .09); }
}
@keyframes talisFloat {
  0%, 100% { transform: translateX(calc(-50% - .6em)) translateY(0); }
  50% { transform: translateX(calc(-50% - .6em)) translateY(-.28em); }
}

/* (이전 가로 배치용 430px 보정은 히어로 개편으로 삭제 — 부적 크기만 조정) */
@media (max-width: 430px) {
  .talis-banner { padding: 18px 16px 18px; }
  .talis-banner__stage .talis-plaque { font-size: 18px; }
  .talis-banner__title { font-size: 14.5px; }
}

/* ── 톡·톡·톡 리추얼 — 노프레임(배경·테두리 없이 캐릭터만 공중에) ── */
.ritual {
  --accent: #AE8A50;
  --deep: #8A6B2C;
  --soft: transparent;
  --line: transparent;
  margin-top: 12px; padding: 2px 2px 6px;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 0;
  transition: background .3s ease, border-color .3s ease;
}
.ritual--목 { --accent: #65824F; --deep: #4C6F3A; --soft: #F3F7EF; --line: rgba(110, 139, 94, .30); --el: #6FAE5B; --el-1: rgba(111, 174, 91, .34); --el-2: rgba(111, 174, 91, .13); }
.ritual--화 { --accent: #B65D46; --deep: #A0442E; --soft: #FCF1ED; --line: rgba(196, 102, 79, .28); --el: #F0714E; --el-1: rgba(240, 113, 78, .34); --el-2: rgba(240, 113, 78, .13); }
.ritual--토 { --accent: #9A8354; --deep: #806627; --soft: #FAF5EA; --line: rgba(154, 131, 84, .30); --el: #D9A83C; --el-1: rgba(217, 168, 60, .36); --el-2: rgba(217, 168, 60, .14); }
.ritual--금 { --accent: #8A7F5E; --deep: #55697C; --soft: #F6F4EE; --line: rgba(138, 127, 94, .30); --el: #9FB0C0; --el-1: rgba(159, 176, 192, .40); --el-2: rgba(159, 176, 192, .16); }
.ritual--수 { --accent: #4F739A; --deep: #2A6683; --soft: #EFF4F9; --line: rgba(90, 124, 153, .28); --el: #54A8C6; --el-1: rgba(84, 168, 198, .34); --el-2: rgba(84, 168, 198, .13); }

/* 무슨 부적인지 한눈에 — 캐릭터 위 굵은 이름표 */
.ritual__name {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 9px auto 0; padding: 8px 17px 9px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.15;
  color: #FFF9EC;
  background: linear-gradient(180deg, var(--accent) 0%, var(--deep) 100%);
  box-shadow: 0 10px 20px -12px var(--deep), inset 0 1px 0 rgba(255, 255, 255, .24);
  transform: rotate(-1.2deg);
  animation: namePop .52s cubic-bezier(.2, 1.6, .4, 1) both;
}
.modal .ritual__name { font-size: 17px; padding: 9px 20px 10px; margin-top: 12px; }
.ritual__name-icon { font-size: 1.05em; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.ritual[data-stage="3"] .ritual__name {
  box-shadow: 0 0 0 2px rgba(255, 249, 236, .55), 0 12px 24px -10px var(--deep);
}
@keyframes namePop {
  0% { transform: rotate(-1.2deg) scale(.82); opacity: 0; }
  58% { transform: rotate(1deg) scale(1.06); opacity: 1; }
  100% { transform: rotate(-1.2deg) scale(1); opacity: 1; }
}

.ritual__eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  color: var(--accent); opacity: .85;
}
.ritual__tap {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 158px; height: 158px;
  margin: 2px auto 0; padding: 0; border: 0; background: none;
  border-radius: 26px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-user-drag: none;
}
.ritual__tap:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 8px; }
.ritual.is-open .ritual__tap { cursor: default; }

/* ── 부적 의식 (2026-11-22) — 1.5초 금빛 링 ─────────────────────────
   누르고 있는 동안 한 바퀴 차오르고, 중간에 손을 떼면 부드럽게 원위치.
   pathLength=100 · dasharray=100 이라 dashoffset 100→0 이 곧 '한 바퀴'다. */
.ritual__hold {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 176px; height: 176px; margin: -88px 0 0 -88px;
  pointer-events: none; overflow: visible;
  transform: rotate(-90deg);            /* 12시에서 시작해 시계 방향으로 */
  --hold-w: .8;                          /* 반지름 47 → 둘레 295.31, 굵기는 크기마다 1.4px 되게 */
}
.ritual__hold-track {
  fill: none; stroke: rgba(174, 138, 80, .20); stroke-width: calc(var(--hold-w) * .78);
}
.ritual__hold-bar {
  fill: none; stroke: #BE8F42; stroke-width: var(--hold-w); stroke-linecap: round;
  stroke-dasharray: 295.31; stroke-dashoffset: 295.31;   /* 한 바퀴 = 둘레 그대로 */
  filter: drop-shadow(0 0 3px rgba(214, 175, 104, .55));
  transition: stroke-dashoffset .42s cubic-bezier(.3, .9, .4, 1), opacity .5s ease;
}
.ritual.is-holding .ritual__hold-bar {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s linear;   /* 1.5초 — 손가락 아래에서 한 바퀴 */
}
.ritual.is-open .ritual__hold-bar { stroke-dashoffset: 0; opacity: .68; }
.ritual.is-open .ritual__hold-track { opacity: 0; }

/* 안내 한 줄 — 부적 패 안, 캐릭터 아래 */
.ritual__holdhint {
  position: relative; z-index: 2;
  margin: 8px 0 0; padding: 0 8px;
  font-size: 11px; line-height: 1.55; letter-spacing: -0.01em; color: var(--mute);
  text-align: center; word-break: keep-all;
}
.ritual.is-open .ritual__holdhint { display: none; }

/* ── 열린 기운 — 그날의 부적 문장 · 한 줄 처방 · 직접 붙이기 ──
   연타·폭죽 없이 아래에서 조용히 떠오른다. */
.ritual__open { margin-top: 15px; padding: 0 2px; }
.ritual__verse {
  margin: 0; font-family: var(--serif);
  font-size: 15px; line-height: 1.62; font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink-2); text-align: center; word-break: keep-all;
}
.ritual__rx {
  margin: 7px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--mute);
  text-align: center; word-break: keep-all;
}
/* ── ② 한지 인주 패드 위의 붉은 낙관 도장(吉) — 2026-11-22
   네모 버튼 대신, 아이보리 인주 패드 위에 놓인 전통 낙관 도장.
   기본 경험은 '도장을 끌어다 부적 위에 찍기' — 잡으면 들려 손가락을 따라가고,
   부적 위에서 놓으면 '탁' 찍힌다. 보조로 0.7초 지긋이 누르기·Enter 도 남긴다. */
.seal-pad {
  position: relative; display: block;
  width: 100%; max-width: 262px; margin: 16px auto 0;
  padding: 13px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(174, 138, 80, .34);
  background: radial-gradient(125% 95% at 50% -12%, #FFFDF8 0%, #FBF4E4 54%, #F2E5CC 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 9px rgba(140, 108, 62, .11),
    0 10px 24px -18px rgba(90, 66, 34, .6);
  text-align: center;
}
.seal-pad__surface { position: absolute; inset: 5px; border-radius: 10px; overflow: hidden; pointer-events: none; }
.seal-pad__surface::before {              /* 한지 결 */
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(96deg, rgba(150, 118, 70, .05) 0 1px, transparent 1px 5px);
}
.seal-pad__smudge {                       /* 손때 묻은 인주 자국 — 도장이 놓인 자리 */
  position: absolute; left: 50%; top: 54px; width: 112px; height: 112px;
  margin: -56px 0 0 -56px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(176, 52, 41, .13) 0%, rgba(176, 52, 41, .06) 44%, rgba(176, 52, 41, 0) 72%);
  opacity: .8; transition: opacity .3s ease, transform .3s ease;
}
.seal-pad.is-pressing .seal-pad__smudge,
.seal-pad.is-pressing .seal-pad__bloom { transform: scale(1.06); opacity: 1; }
.seal-pad__bloom {                        /* 찍힌 순간 번지는 인주 */
  position: absolute; left: 50%; top: 54px; width: 128px; height: 128px;
  margin: -64px 0 0 -64px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(190, 62, 48, .26) 0%, rgba(190, 62, 48, .10) 40%, rgba(190, 62, 48, 0) 70%);
}
.seal-pad.is-stamped .seal-pad__bloom { animation: inkBloom .95s ease-out both; }
@keyframes inkBloom {
  0% { opacity: 0; transform: scale(.55); }
  26% { opacity: 1; }
  100% { opacity: .55; transform: scale(1.14); }
}

/* 도장 본체 */
.seal {
  position: relative; display: block;
  width: 76px; height: 76px; margin: 4px auto 0; padding: 0;
  border: 0; background: none; border-radius: 12px;
  cursor: grab; -webkit-tap-highlight-color: transparent; touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-user-drag: none;
}
.seal:focus-visible { outline: 1.5px solid #B3312A; outline-offset: 8px; }
.seal__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: radial-gradient(circle at 32% 24%, #C9473A 0%, #B3362A 44%, #9B2A20 78%, #8B241B 100%);
  box-shadow: 0 3px 0 #8A2118,
    0 6px 12px -4px rgba(110, 26, 18, .5), 0 13px 22px -13px rgba(110, 26, 18, .7),
    inset 0 1px 0 rgba(255, 214, 198, .3), inset 0 -2px 6px rgba(90, 18, 12, .45);
  transform: rotate(-3.5deg);
  transition: transform .18s cubic-bezier(.2, .8, .3, 1), box-shadow .22s ease, opacity .16s ease;
}
.seal__frame {
  position: absolute; inset: 7px; border-radius: 3px;
  border: 1.5px solid rgba(255, 234, 218, .6);
  box-shadow: inset 0 0 6px rgba(96, 20, 14, .35);
}
.seal__char {
  position: relative; z-index: 1;
  font-family: var(--serif); font-size: 38px; font-weight: 700; line-height: 1;
  color: #FFEFE0;
  text-shadow: 0 1px 0 rgba(120, 30, 22, .55), 0 -1px 1px rgba(255, 240, 225, .25);
  transform: translateY(-1px);
}
.seal__check {
  position: absolute; right: -7px; bottom: -7px; z-index: 3; display: none;
  width: 22px; height: 22px; border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; line-height: 1; color: #FFFBF0;
  background: linear-gradient(180deg, #C9A25C 0%, #A9832F 100%);
  box-shadow: 0 2px 5px -1px rgba(120, 86, 36, .6), inset 0 1px 0 rgba(255, 249, 232, .5);
}
.seal.is-stamped .seal__check { display: flex; animation: sealCheck .42s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes sealCheck { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }

/* 잡는 동안 · 끄는 동안 */
.seal.is-holding .seal__body { transform: rotate(-3.5deg) translateY(-2px) scale(1.03); box-shadow: 0 4px 0 #8A2118, 0 10px 16px -6px rgba(110, 26, 18, .5), 0 16px 26px -14px rgba(110, 26, 18, .7), inset 0 1px 0 rgba(255, 214, 198, .3), inset 0 -2px 6px rgba(90, 18, 12, .45); }
.seal.is-dragged .seal__body, .seal.is-dragged .seal__ring { opacity: 0; }
html.is-seal-drag { cursor: grabbing; -webkit-user-select: none; user-select: none; }

/* 인주 링 — 누르는 동안 둘레로 붉은 인주가 차오른다 (보조 경로 시각 신호) */
.seal__ring {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 106px; height: 106px; margin: -53px 0 0 -53px;
  pointer-events: none; overflow: visible;
  transform: rotate(-90deg);
  transition: opacity .3s ease;
}
.seal__ring-track { fill: none; stroke: rgba(176, 52, 41, .16); stroke-width: 1.6; opacity: 0; transition: opacity .25s ease; }
.seal.is-holding .seal__ring-track { opacity: 1; }
.seal__ring-bar {
  fill: none; stroke: #C0392B; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 289.03; stroke-dashoffset: 289.03;
  filter: drop-shadow(0 0 4px rgba(196, 74, 59, .42));
  transition: stroke-dashoffset .3s cubic-bezier(.3, .9, .4, 1), opacity .4s ease;
}
.seal.is-holding .seal__ring-bar { stroke-dashoffset: 0; transition: stroke-dashoffset .7s linear; }

/* 끌고 다니는 복제 도장 — position:fixed 라 팝업 스크롤 컨테이너에 잘리지 않는다 */
.seal--ghost {
  position: fixed; z-index: 9999; margin: 0; pointer-events: none;
  transition: none;
  filter: drop-shadow(0 20px 22px rgba(96, 28, 20, .42));
  will-change: transform;
}
.seal--ghost .seal__body { transform: rotate(-3.5deg) scale(1.07); }
.seal--ghost.is-over .seal__body {
  transform: rotate(-3.5deg) scale(1.12);
  box-shadow: 0 3px 0 #8A2118, 0 10px 18px -6px rgba(110, 26, 18, .55), 0 0 0 3px rgba(226, 180, 94, .28), 0 0 26px rgba(196, 74, 59, .5);
}
.seal--ghost.is-dropping { filter: drop-shadow(0 6px 8px rgba(96, 28, 20, .3)); }
.seal--ghost .seal__check, .seal--ghost .seal__ring { display: none; }

/* 찍힌 뒤 — 눌린 자리에 붉은 인주와 ✓ 가 남는다 */
.seal.is-stamped { cursor: default; }
.seal.is-stamped .seal__ring { opacity: 0; }
.seal.is-stamped .seal__body {
  background: radial-gradient(circle at 34% 26%, #C24A3C 0%, #AE3327 58%, #97281D 100%);
  transform: rotate(-6deg); filter: saturate(.95);
  box-shadow: 0 2px 0 #8A2118, 0 5px 10px -4px rgba(110, 26, 18, .42),
    inset 0 1px 0 rgba(255, 214, 198, .24), inset 0 -2px 5px rgba(90, 18, 12, .4);
}
.seal-pad__hint {
  position: relative; z-index: 2;
  margin: 16px 0 0; padding: 0 6px;
  font-size: 11.5px; line-height: 1.5; letter-spacing: -.01em;
  color: #8C7A5C; word-break: keep-all;
}
.seal-pad__hint.is-done { color: #A0442E; font-weight: 700; }

/* 찍힐 자리 표시 — 끄는 동안 부적 모서리 낙관 자리에 켜진다 */
.talis-pad__target {
  position: absolute; right: 14px; bottom: 14px; z-index: 6;
  width: 34px; height: 34px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1;
  color: rgba(174, 51, 39, .5);
  border: 1.5px dashed rgba(174, 51, 39, .42);
  background: radial-gradient(circle at 50% 50%, rgba(196, 74, 59, .12), rgba(196, 74, 59, 0) 72%);
  opacity: 0; transform: scale(.86) rotate(-7deg);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
  pointer-events: none;
}
.ritual.is-stamping .talis-pad__target { opacity: .55; transform: scale(1) rotate(-7deg); }
/* 그냥 톡 눌렀다 뗐을 때 — 어디로 끌어야 하는지 잠깐 비춰 준다 */
.ritual.is-nudge .talis-pad__target { animation: targetPulse 1.1s ease-in-out 2 both; opacity: .85; transform: scale(1) rotate(-7deg); }
.seal.is-nudged .seal__body { animation: sealNudge .46s ease; }
@keyframes sealNudge {
  0%, 100% { transform: rotate(-3.5deg) translateX(0); }
  28% { transform: rotate(-3.5deg) translateX(-2.5px) scale(1.02); }
  62% { transform: rotate(-3.5deg) translateX(2.5px) scale(1.02); }
}
.ritual.is-over-target .talis-pad__target {
  opacity: 1; border-color: rgba(180, 51, 39, .9);
  animation: targetPulse 1.05s ease-in-out infinite;
}
.ritual.is-over-target .talis-pad__sheet {
  box-shadow: 0 0 0 1.5px rgba(214, 175, 104, .78), 0 0 28px -4px rgba(196, 90, 60, .5),
    0 14px 30px -22px rgba(60, 44, 22, .55);
}
.ritual.is-done .talis-pad__target { display: none; }
@keyframes targetPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(226, 180, 94, .14), 0 0 12px rgba(196, 74, 59, .26); }
  50% { box-shadow: 0 0 0 5px rgba(226, 180, 94, .26), 0 0 20px rgba(196, 74, 59, .46); }
}
.ritual__open.is-on .ritual__verse { animation: verseRise 1s cubic-bezier(.22, .7, .28, 1) both; }
.ritual__open.is-on .ritual__rx { animation: verseRise 1s cubic-bezier(.22, .7, .28, 1) .34s both; }
.ritual__open.is-on .seal-pad { animation: verseRise 1s cubic-bezier(.22, .7, .28, 1) .66s both; }
@keyframes verseRise {
  0% { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.ritual[data-stage="1"] .ch { filter: drop-shadow(0 10px 18px var(--el-2)); }
.ritual[data-stage="3"] .ch,
.ritual.is-done .ch { filter: drop-shadow(0 14px 26px var(--el-1)); }

/* 달력 칸 — 그날의 미니 오행 캐릭터 스티커 (착!) */
.day { position: relative; }
.day__top { display: flex; align-items: center; justify-content: center; }
.day__sticker {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 23px; height: 23px;
  margin: -7px 0 0 -4px;                 /* 날짜 숫자 옆에 살짝 겹쳐 '착' 붙은 느낌 */
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #fff 0%, #FFFDF8 68%, #F7F2E6 100%);
  box-shadow: 0 1px 2px rgba(28, 27, 25, .2), 0 0 0 .5px rgba(28, 27, 25, .08);
  transform: rotate(-8deg);
  pointer-events: none;
}
.day__sticker .ch {
  width: 92%; height: 92%; overflow: hidden;   /* 캐릭터만 잘라 쓰는 미니 스티커 */
}
.day__sticker.is-new { animation: sealIn .9s cubic-bezier(.22, .7, .28, 1) both; }
/* 달력에 새겨지는 순간 — 팡 튀지 않고, 금빛 인장이 눌린 듯 조용히 맺힌다 (2026-11-22) */
@keyframes sealIn {
  0% {
    opacity: 0; transform: rotate(-8deg) scale(1.3); filter: blur(2.2px);
    box-shadow: 0 0 0 12px rgba(226, 180, 94, 0), 0 1px 2px rgba(28, 27, 25, .2), 0 0 0 .5px rgba(28, 27, 25, .08);
  }
  46% {
    opacity: 1; transform: rotate(-8deg) scale(.98); filter: blur(0);
    box-shadow: 0 0 0 2px rgba(226, 180, 94, .55), 0 1px 2px rgba(28, 27, 25, .2), 0 0 0 .5px rgba(28, 27, 25, .08);
  }
  72% {
    box-shadow: 0 0 0 5px rgba(226, 180, 94, .16), 0 1px 2px rgba(28, 27, 25, .2), 0 0 0 .5px rgba(28, 27, 25, .08);
  }
  100% {
    opacity: 1; transform: rotate(-8deg) scale(1); filter: blur(0);
    box-shadow: 0 1px 2px rgba(28, 27, 25, .2), 0 0 0 .5px rgba(28, 27, 25, .08);
  }
}
/* 팝업 안 완료 문구 옆 미니 스티커 */
.sticker-mini {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 6px; vertical-align: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #fff 0%, #FFFDF8 68%, #F7F2E6 100%);
  box-shadow: 0 1px 2px rgba(28, 27, 25, .18), 0 0 0 .5px rgba(28, 27, 25, .08);
}
.sticker-mini .ch { width: 92%; height: 92%; overflow: hidden; }

/* ── 좁은 화면 보정 ───────────────────────────────── */
@media (max-width: 360px) {
  .card { padding: 20px 16px; }
  .card--cal { padding: 20px 10px 16px; }
  .day { min-height: 50px; }
  .day__num { width: 23px; height: 23px; font-size: 11.5px; }
  .day__badge { font-size: 9px; padding: 3px 4px; }
  .natal__tile { width: 36px; height: 36px; font-size: 19px; }
  .talis-banner { padding: 16px 13px 17px; }
  .talis-banner__stage .talis-plaque { font-size: 16.5px; }
  .talis-banner__title { font-size: 13.5px; }
  .talis-banner__name { font-size: 12.5px; }
  .ritual__tap { width: 134px; height: 134px; }
  .ritual__hold { width: 152px; height: 152px; margin: -76px 0 0 -76px; --hold-w: .92; }
}
@media (min-width: 420px) {
  /* 칸이 넉넉해지면 숫자를 가리지 않고 옆에 나란히 붙인다 */
  .day__sticker { margin-left: 1px; }
}
@media (min-width: 520px) {
  .day__num { width: 28px; height: 28px; font-size: 13.5px; }
  .day { min-height: 58px; }
  .day__badge { font-size: 10.5px; padding: 4px 6px; }
  .cal__title { font-size: 26px; }
  .natal__tile { width: 46px; height: 46px; font-size: 24px; }
  .ritual__tap { width: 176px; height: 176px; }
  .ritual__hold { width: 194px; height: 194px; margin: -97px 0 0 -97px; --hold-w: .72; }
  .day__sticker { width: 33px; height: 33px; margin-left: 1px; }
}

/* ── 날짜 팝업 모달 ───────────────────────────────── */
body.is-modal-open { overflow: hidden; }

.modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(24, 22, 19, .58);
  -webkit-backdrop-filter: blur(3px) saturate(.92);
  backdrop-filter: blur(3px) saturate(.92);
  animation: backdropIn .22s ease-out both;
}
.modal__dialog {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%; max-width: 420px;
  max-height: 92vh; max-height: calc(100dvh - 28px);
  background: var(--paper);
  border-radius: 26px;
  box-shadow: 0 30px 70px -28px rgba(28, 24, 19, .6), 0 2px 8px rgba(28, 24, 19, .1);
  animation: modalIn .34s cubic-bezier(.22, 1.2, .48, 1) both;
  outline: none;
  overflow: hidden;
}
.modal__content {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 18px calc(20px + env(safe-area-inset-bottom, 0px));
}
.modal__content::-webkit-scrollbar { width: 0; height: 0; }

@keyframes modalIn {
  0% { opacity: 0; transform: translateY(26px) scale(.84); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.modal.is-closing .modal__dialog { animation: modalOut .18s ease-in both; }
.modal.is-closing .modal__backdrop { animation: backdropOut .18s ease-in both; }
@keyframes modalOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes backdropOut { to { opacity: 0; } }

.modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hair); background: rgba(255, 255, 255, .82);
  color: var(--ink-2); font-size: 13px; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .18s ease, transform .16s ease;
}
.modal__close:active { transform: scale(.94); }

/* 팝업 머리 */
.modal__eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: #6E665A;
  padding-right: 44px; line-height: 1.5;
}
.modal__date {
  font-family: var(--serif); font-size: 25px; line-height: 1.2;
  margin-top: 5px; padding-right: 40px; letter-spacing: -0.02em;
}
.modal__date span {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .02em;
  color: var(--mute); margin-left: 7px; vertical-align: 3px;
}
.modal__sub {
  font-size: 10.5px; color: var(--mute); line-height: 1.6;
  margin-top: 5px; padding-right: 34px;
}
.modal__headline {
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
  font-weight: 600; margin-top: 12px; letter-spacing: -0.02em;
}

/* 팝업 안 부적 — 캐릭터를 주인공으로 크게 */
.modal .ritual { margin-top: 10px; padding: 0; border-radius: 0; }
.modal .ritual__eyebrow { font-size: 9.5px; }
.modal .ritual__tap { margin-top: 4px; }

.modal__stamp-note {
  margin-top: 10px; text-align: center;
  font-size: 11px; font-weight: 600; color: #4B4438; letter-spacing: -0.01em;
  animation: noteIn .32s ease-out both;
}
@keyframes noteIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 팝업 안 일진·작용·처방 */
.modal .modal__gz {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--hair-soft);
}
.modal .marks { margin-top: 10px; }
.modal .brief__why { margin-top: 12px; }
.modal .rx { margin-top: 16px; }
.modal .brief__term { margin-top: 16px; }

.modal__done-btn { margin-top: 20px; }
.modal__done-btn--dark {
  background: transparent;
  border-color: rgba(241, 245, 249, .24);
  color: rgba(241, 245, 249, .88);
}

/* ── 대표 부적 확대 팝업 ───────────────────────────── */
.modal__dialog--talis { max-width: 388px; }
.modal--talis .modal__content { padding-top: 26px; }
.talis-showcase {
  --tb-1: #2A0F14; --tb-2: #130609;
  --tb-aura: rgba(214, 72, 58, .28); --tb-aura2: rgba(232, 168, 84, .14);
  --tb-gold: #EBC48C;
  position: relative; display: flex; justify-content: center;
  margin: 12px 0 0; padding: 12px 0 10px;
  border-radius: 20px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(74% 52% at 50% 34%, var(--tb-aura), transparent 74%),
    radial-gradient(120% 70% at 50% 112%, var(--tb-aura2), transparent 64%),
    linear-gradient(174deg, var(--tb-1) 0%, var(--tb-2) 84%);
  border: 1px solid rgba(226, 196, 140, .20);
  box-shadow: inset 0 1px 0 rgba(255, 240, 214, .06);
}
.talis-showcase__obj { position: relative; display: inline-block; }
.talis-showcase .talis-plaque { font-size: 21px; position: relative; z-index: 1; }
/* 확대 팝업에서는 부적이 크니 오라도 조금만 번지게 — 화면을 덮지 않게 (2026-11-22) */
/* 확대 팝업에서도 배너와 같은 결 — 뭉툭한 블러 대신 소프트 마스크 라디알 글로우 (2026-11-22) */
.talis-showcase .talis-plaque__aura { opacity: .72; }
.talis-showcase .talis-plaque__sheet { animation: talisBreathLg 6s ease-in-out infinite; }
/* 확대 팝업은 부적이 커서 링이 패널 밖으로 잘리지 않게 살짝 작게 (2026-11-22) */
.talis-showcase .talis-plaque__rings { transform: translateX(-50%) scale(.88); }
.talis-showcase__waves {
  position: absolute; left: 0; right: 0; top: 2.4em; bottom: 0;
  pointer-events: none;
}
/* 0.5~1px 헤어라인 두 겹 — 바깥 금빛 · 안쪽 오행빛, 부적 쪽으로 모여든다 */
.talis-showcase__waves i {
  position: absolute; inset: 0;
  border-radius: .52em; border: 1px solid rgba(255, 240, 212, .42);
  box-shadow: 0 0 .9em rgba(238, 208, 156, .10);
  opacity: 0;
}
.talis-showcase__waves i:last-child {
  inset: .7em; border: .5px solid rgba(255, 240, 212, .26); box-shadow: none;
}
.talis-showcase.is-blessed .talis-showcase__waves i:first-child { animation: talisShowGather 2.15s cubic-bezier(.32, .04, .26, 1) forwards; }
.talis-showcase.is-blessed .talis-showcase__waves i:last-child { animation: talisShowGather 2.4s cubic-bezier(.32, .04, .26, 1) .16s forwards; }
.talis-showcase.is-blessed .talis-plaque { animation: talisLift 2.2s cubic-bezier(.26, .8, .3, 1); }
.talis-showcase::before {
  content: ""; position: absolute; left: 50%; top: 46%; z-index: 0;
  width: 100%; height: 90%; transform: translate(-50%, -50%) scale(1.12);
  background: radial-gradient(circle, rgba(232, 200, 140, .42), transparent 66%);
  opacity: 0; pointer-events: none;
}
/* 바깥으로 퍼지는 섬광 대신, 중심으로 모여드는 따뜻한 코어 발광 */
.talis-showcase.is-blessed::before { animation: talisCoreConverge 2.5s cubic-bezier(.3, .05, .3, 1); }
@keyframes talisShowGather {
  0% { opacity: 0; transform: scale(1.45); }
  16% { opacity: .5; }
  62% { opacity: .3; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(.96); }
}
@keyframes talisLift {
  0% { transform: scale(1); }
  34% { transform: scale(1.022); }
  68% { transform: scale(1.006); }
  100% { transform: scale(1); }
}
@keyframes talisCoreConverge {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.16); }
  44% { opacity: .82; transform: translate(-50%, -50%) scale(.98); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
}
@keyframes talisBreathLg {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 101, 0), inset 0 0 0 1px rgba(255, 255, 255, .04); }
  50% { box-shadow: 0 0 26px -2px rgba(201, 162, 101, .45), inset 0 0 0 1px rgba(255, 255, 255, .1); }
}

.talis-modal__name {
  margin-top: 14px; text-align: center;
  font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.3;
  letter-spacing: -0.03em; color: #2A2620;
}
.talis-modal__name span { font-size: .9em; margin-right: 5px; }
/* 부적 안에 새긴 한자와 기운 표기 — 50종마다 다르다 */
.talis-modal__mantra {
  margin-top: 7px; text-align: center;
  font-size: 10.5px; letter-spacing: .12em; color: #9A8256;
}
.talis-modal__mantra b { font-weight: 700; color: #7A5F2A; letter-spacing: .2em; }
.talis-modal__why {
  margin: 9px auto 0; max-width: 300px; text-align: center;
  font-size: 11.5px; line-height: 1.8; color: var(--ink-2);
}
/* 두 줄 문장 — 오행 해설 대신 마음에 남는 문장만 (2026-11-22) */
.talis-modal__why--verse {
  margin-top: 12px; max-width: 312px;
  font-family: var(--serif);
  font-size: 14.5px; line-height: 1.85; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink-2); word-break: keep-all;
}
.talis-modal__why small {
  display: block; margin-top: 6px;
  font-size: 10.5px; line-height: 1.7; color: var(--mute);
}
.talis-bless-btn {
  display: block; width: 100%; margin-top: 15px;
  background: linear-gradient(180deg, #A5650F 0%, #A5650F 100%);
  color: #FFFCF2; border: 0;
  box-shadow: 0 12px 22px -14px rgba(117, 86, 36, .9), inset 0 1px 0 rgba(255, 255, 255, .28);
  letter-spacing: -0.01em;
}
.talis-bless-btn:active { transform: scale(.99); }
.modal__dialog--talis .modal__done-btn { margin-top: 14px; }
.talis-bless__note {
  margin-top: 9px; text-align: center;
  font-size: 10.5px; line-height: 1.6; color: var(--mute);
  min-height: 17px; transition: color .3s ease;
}
.talis-bless__note.is-on {
  color: #4B4438; font-weight: 700; font-size: 11.5px;
  animation: noteIn .34s ease-out both;
}

/* 잠금 안내 — 어두운 팝업 */
.modal__dialog--lock { background: #1B2940; color: #F6F1E7; }
.modal__dialog--lock .modal__eyebrow { color: rgba(241, 245, 249, .5); }
.modal__dialog--lock .modal__date { color: #FAF4E9; }
.modal__dialog--lock .modal__date span { color: rgba(241, 245, 249, .5); }
.modal__dialog--lock .modal__close {
  background: rgba(241, 245, 249, .10);
  border-color: rgba(241, 245, 249, .22);
  color: rgba(241, 245, 249, .82);
}
.modal__dialog--lock .mark {
  background: rgba(241, 245, 249, .08);
  color: rgba(241, 245, 249, .8);
}
.modal__dialog--lock .lock__title { margin-top: 16px; }

@media (max-height: 660px) {
  .modal .ritual__tap { width: 200px; height: 200px; }
  .modal .ritual__stage { min-height: 208px; }
  .modal__date { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop, .modal__dialog, .modal__stamp-note {
    animation-duration: .01ms !important;
  }
  .modal.is-closing .modal__dialog, .modal.is-closing .modal__backdrop {
    animation-duration: .01ms !important;
  }
  .modal .ritual__char { transition: none; }
  .talis-plaque__sheet, .talis-showcase .talis-plaque__sheet,
  .talis-plaque__char, .talis-plaque__shine { animation: none !important; }
  .talis-showcase.is-blessed .talis-showcase__waves i,
  .talis-showcase.is-blessed::before, .talis-showcase.is-blessed .talis-plaque { animation: none !important; }
}

/* ── 소리 토글 ────────────────────────────────────── */
.cal__tools { display: flex; justify-content: flex-end; margin: 8px 4px 0; }
.soundbtn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: -0.01em;
  color: #6E665A; background: #FBF7EF;
  border: 1px solid rgba(28, 24, 19, .28); border-radius: 999px;
  padding: 5px 11px; line-height: 1.2;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.soundbtn.is-off { color: var(--mute); background: #FBF7EF; border-color: var(--hair); }
.modal__sound {
  position: absolute; top: 12px; right: 50px; z-index: 3;
  height: 32px; min-width: 32px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 10.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink-2); background: rgba(255, 255, 255, .84);
  border: 1px solid var(--hair); border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color .2s ease, background .2s ease;
}
.modal__sound.is-off { color: var(--mute); }
.modal__dialog--lock .modal__sound {
  background: rgba(241, 245, 249, .10);
  border-color: rgba(241, 245, 249, .22);
  color: rgba(241, 245, 249, .82);
}
.modal__eyebrow { padding-right: 108px; }
.modal__date { padding-right: 100px; }

/* 달력 스티커 — 모바일에서도 한눈에 붙은 게 보이도록 */
@media (max-width: 360px) {
  .day__sticker { width: 21px; height: 21px; margin-left: -3px; }
}

/* ==========================================================
   v4 — 손맛 강화: 단계별 캐릭터 표정·기운 + 젤리 바운스 + 파동 + 파티클
   ========================================================== */

/* ── 캐릭터 무대 ─────────────────────────────────── */
.ritual__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 0 0; min-height: 168px;
}
.ritual__tap { position: relative; z-index: 2; }
.ritual__char {
  position: relative; display: block; width: 100%; height: 100%;
  animation: charIn 1s cubic-bezier(.22, .7, .28, 1) both,
             floaty 6s ease-in-out 1s infinite;
  will-change: transform;
}
.ritual__char .ch { width: 100%; height: 100%; }

/* 부적 등장 — 팡 튀지 않고 아래에서 조용히 떠오른다 (2026-11-22) */
@keyframes charIn {
  0% { transform: translateY(12px) scale(.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-.3deg) scale(1); }
  50% { transform: translateY(-4px) rotate(.3deg) scale(1.008); }
}

/* ── 기운 오라 ────────────────────────────────────── */
.ritual__aura {
  position: absolute; left: 50%; top: 50%;
  width: 154px; height: 154px; margin: -77px 0 0 -77px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--el-1) 0%, var(--el-2) 46%, rgba(255, 255, 255, 0) 70%);
  opacity: .55; transform: scale(.82);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, 1.4, .4, 1);
  animation: auraGlow 3.2s ease-in-out infinite;
  z-index: 0;
}
.ritual[data-stage="1"] .ritual__aura { opacity: .9; transform: scale(1.06); }
.ritual[data-stage="2"] .ritual__aura { opacity: 1; transform: scale(1.26); animation-duration: 1.5s; }
.ritual[data-stage="3"] .ritual__aura { opacity: 1; transform: scale(1.4); animation-duration: 2.1s; }
@keyframes auraGlow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.22) saturate(1.15); }
}

/* ── 모달이 뿅 — 더 크게 튀어나오게 ──────────────── */
@keyframes modalIn {
  0% { opacity: 0; transform: translateY(34px) scale(.62); }
  52% { opacity: 1; transform: translateY(-8px) scale(1.06); }
  72% { transform: translateY(3px) scale(.975); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── 맨 아래 카드 — 1·2·3 결제 동선 ──────────────── */
.cta__steps { margin-top: 18px; }
.cta__steps .btn:first-child { margin-top: 0; }
.cta__steps .btn + .btn { margin-top: 8px; }
.shop-btn { justify-content: flex-start; align-items: flex-start; gap: 10px; padding: 14px 16px; }
.shop-btn__no {
  flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: rgba(28, 24, 19, .12); color: inherit;
}
.btn--cream .shop-btn__no { background: rgba(28, 24, 19, .14); }
.btn--ghost-light .shop-btn__no { background: rgba(241, 245, 249, .2); }
.shop-btn__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; text-align: left; }
.shop-btn__label { text-align: left; line-height: 1.35; }
.shop-btn__label b { font-weight: 700; }
.btn--cream .shop-btn__label b { color: #C21F46; }
.btn--ghost-light .shop-btn__label b { color: #FBE4B2; }
.shop-btn__tag {
  display: inline-block; margin-left: 4px; padding: 1px 6px;
  border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: 0;
  background: #C21F46; color: #FFFCF2; vertical-align: 2px;
}
.shop-btn__desc {
  font-size: 10.5px; font-weight: 400; line-height: 1.55;
  letter-spacing: -0.01em; opacity: .72;
}
/* 결제가 끝난 상품은 '적용 중'으로 낮추고, 업그레이드만 앞세운다 (2026-11-21 QA M2) */
.shop-btn--owned { opacity: .58; cursor: default; }
.btn--cream.shop-btn--owned { background: rgba(241, 245, 249, .12); color: #F6F1E7; border-color: rgba(241, 245, 249, .28); }
.btn--cream.shop-btn--owned .shop-btn__no { background: rgba(241, 245, 249, .26); }
.shop-btn--owned .shop-btn__no { background: rgba(241, 245, 249, .32); }
.shop-btn--owned .shop-btn__label { font-weight: 600; }
.shop-btn--up .shop-btn__no { background: rgba(165, 101, 15, .3); color: #FDF3DD; }
.shop-btn--up .shop-btn__label b { color: #FBE4B2; }
.btn--cream.shop-btn--up .shop-btn__label b { color: #C21F46; }
.cta__consult {
  margin-top: 14px; padding-top: 13px; font-size: 10.5px; line-height: 1.6;
  color: rgba(241, 245, 249, .58); border-top: 1px solid rgba(241, 245, 249, .12);
}
.cta__consult b { color: rgba(241, 245, 249, .9); font-weight: 600; }
.cta__consult-btn {
  display: inline; padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; color: rgba(241, 245, 249, .78); text-align: left;
  text-decoration: underline; text-underline-offset: 3px;
}
.cta__consult-btn b { color: #F6F1E7; }

/* ── 구입 안내 팝업 ──────────────────────────────── */
.shop__title {
  font-family: var(--serif); font-size: 23px; line-height: 1.35;
  margin-top: 6px; letter-spacing: -0.02em; padding-right: 40px;
}
.shop__sub { font-size: 12px; line-height: 1.75; color: var(--ink-2); margin-top: 9px; }
.shop__sub b { color: #C21F46; }

/* ── 결제 팝업 맨 위 3단 상품 비교·전환 (1년 패스 · 올인원 · 성찰 에디션) ──
  390px에서 세 칸이 한 줄에 들어가고, 누르는 칸이 금테로 바뀐다. */
.tiersw {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px; margin-top: 12px;
}
.tiersw__b {
  position: relative; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 4px 10px;
  background: #FFFFFF; color: var(--ink-2);
  border: 1px solid rgba(28, 24, 19, .13); border-radius: 13px;
  font: inherit; text-align: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}
.tiersw__b:active { transform: translateY(1px); }
.tiersw__b:focus-visible { outline: 2px solid #A5650F; outline-offset: 2px; }
.tiersw__ic { font-size: 11px; line-height: 1; vertical-align: -1px; }
.tiersw__nm {
  display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 11px; font-weight: 600; letter-spacing: -.04em; line-height: 1.3; color: var(--ink);
}
.tiersw__pr {
  display: inline-block; margin-top: 1px; padding: 1px 6px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: #C21F46;
}
.tiersw__df {
  display: block; margin-top: 2px;
  font-size: 8.5px; line-height: 1.45; letter-spacing: -.02em;
  color: var(--mute); word-break: keep-all;
}
.tiersw__tag {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  padding: 1px 6px; border-radius: 999px;
  font-size: 8px; font-weight: 700; letter-spacing: 0; line-height: 1.5;
  background: #C21F46; color: #FFFCF2; white-space: nowrap;
}
/* 지금 보고 있는 구성 — 금테 + 진한 가격 알약 */
.tiersw__b.is-on {
  background: #FBF7EF; border-color: #A5650F;
  box-shadow: 0 0 0 1px rgba(28, 24, 19, .55) inset, 0 3px 10px rgba(28, 24, 19, .16);
}
.tiersw__b.is-on .tiersw__nm { color: #4B4438; font-weight: 700; }
.tiersw__b.is-on .tiersw__pr { background: #1B2940; color: #FDF3DD; }
.tiersw__b.is-on .tiersw__df { color: #4B4438; }
.tiersw__b.is-on .tiersw__tag { background: #A5650F; color: #FFFCF2; }
.tiersw__hint {
  margin-top: 7px; text-align: center;
  font-size: 9px; line-height: 1.6; letter-spacing: -.02em; color: var(--mute);
}
@media (max-width: 356px) {
  .tiersw { gap: 4px; }
  .tiersw__b { padding: 8px 3px 9px; }
  .tiersw__nm { font-size: 10.5px; }
}
/* 1:1 상담 — 두 상품(원포인트·시그니처)만 놓는 두 칸 판 (2026-11-22)
   390px에서 이름이 잘리지 않게 글자를 조금 키우고 줄바꿈을 통째로 막지 않는다. */
.tiersw--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.tiersw--2 .tiersw__b { padding: 11px 6px 12px; border-radius: 15px; }
.tiersw--2 .tiersw__nm { font-size: 12.5px; font-weight: 700; white-space: normal; word-break: keep-all; }
.tiersw--2 .tiersw__pr { margin-top: 3px; padding: 2px 8px; font-size: 11.5px; }
.tiersw--2 .tiersw__df { margin-top: 3px; font-size: 9.5px; }

/* 1:1 상담 팝업의 단계 표시 — ① 상품 고르고 결제 → ② 신청서 적고 카톸 접수 */
.shop__step {
  display: flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 11px; line-height: 1.4; color: var(--ink-2);
}
.shop__step--sep {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px dashed rgba(28, 24, 19, .18);
}
.shop__step i {
  flex: none; display: grid; place-items: center;
  width: 17px; height: 17px; border-radius: 50%;
  background: #1B2940; color: #FBE4B2;
  font-style: normal; font-size: 9px; font-weight: 800;
}
.shop__step b { font-size: 12px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.shop__step span { font-size: 9.5px; font-weight: 400; color: var(--mute); letter-spacing: -.01em; }
/* 1:1 상담 — 결제가 첫 화면 안에 들어오도록 상품 설명 목록만 담담하게 */

/* 결제 팝업 상단 '먼저 3일 무료' 안내 */
.shop__trial {
  margin-top: 10px; padding: 6px 11px;
  font-size: 10px; line-height: 1.5; color: #4B4438;
  background: rgba(28, 24, 19, .1);
  border: 1px solid rgba(28, 24, 19, .26); border-radius: 11px;
  word-break: keep-all;
}
.shop__trial b { color: #4B4438; }
.shop__list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.shop__list li {
  padding: 11px 13px; border-radius: 14px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .06);
}
.shop__list b { display: block; font-size: 12.5px; color: var(--ink); letter-spacing: -0.02em; }
.shop__list span { display: block; font-size: 10.5px; color: var(--mute); line-height: 1.65; margin-top: 3px; }
/* 1:1 상담 — 결제가 첫 화면 안에 들어오도록 상품 설명 목록만 담담하게 */
.shop__list.shop__list--tight { margin-top: 11px; gap: 6px; }
/* 단일 패스 결제 창 — 390×844 에서 결제 버튼이 첫 화면에 가깝게 오도록 목록을 아슬하게 줄인다 (2026-11-24) */
.shop__list.shop__list--pass { margin-top: 8px; gap: 4px; }
.shop__price--pass { margin-top: 10px; padding: 8px 13px; }
.shop__list.shop__list--pass li { padding: 6px 11px; border-radius: 11px; }
.shop__list.shop__list--pass b { font-size: 11.5px; line-height: 1.35; }
.shop__list.shop__list--pass span { margin-top: 1px; font-size: 9.5px; line-height: 1.5; }
.shop__list.shop__list--tight li { padding: 9px 12px; }
.shop__list.shop__list--tight b { font-size: 12px; }
.shop__list.shop__list--tight span { margin-top: 2px; font-size: 10px; line-height: 1.55; }
.shop__talis {
  display: flex; gap: 12px; align-items: center;
  margin-top: 14px; padding: 12px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .2); border-radius: 16px;
}
.shop__talis > .ch { width: 66px; height: 66px; flex: none; }
.shop__talis b { display: block; font-size: 12px; color: #4B4438; }
.shop__talis span { display: block; font-size: 10.5px; color: var(--mute); line-height: 1.65; margin-top: 3px; }
.shop__price {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding: 13px 15px; border-radius: 14px;
  background: #1B2940; color: #F6F1E7;
}
.shop__price span { font-size: 10.5px; letter-spacing: .04em; color: rgba(241, 245, 249, .58); }
.shop__price b { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
/* ── 단일 패스 가격 한 줄 (2026-11-23) — 정가 29,000원 취소선 → 14,900원 → '하루 40원' ── */
.shop__price--pass { flex-wrap: wrap; align-items: baseline; gap: 2px 9px; }
.shop__price--pass > span:first-child { width: 100%; }
.shop__price--pass .shop__was { font-size: 11px; letter-spacing: 0; text-decoration: line-through; color: rgba(241, 245, 249, .46); }
.shop__price--pass b { font-size: 18px; color: #FBE4B2; }
.shop__price--pass em.shop__perday {
  font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0;
  padding: 2px 7px; border-radius: 999px; background: #C21F46; color: #FFFCF2;
  white-space: nowrap;
}
.shop-btn__desc--price { opacity: .95 !important; font-size: 11.5px; letter-spacing: 0; }
.shop-btn__desc--price b { color: #FBE4B2; font-weight: 700; }
.shop-btn__was { color: rgba(241, 245, 249, .55); text-decoration: line-through; }
.shop-btn__perday {
  display: inline-block; margin-left: 2px; padding: 1px 6px; border-radius: 999px;
  background: #C21F46; color: #FFFCF2; font-size: 9px; font-weight: 700; letter-spacing: 0;
  vertical-align: 1px;
}
.shop__cta { margin-top: 12px; }
.shop__note { font-size: 10px; color: var(--mute); line-height: 1.7; margin-top: 10px; text-align: center; }
/* ── 결제 두 버튼 — 💳 카드결제 (페이앱) · 🏦 계좌이체 ─────────────── */
/* ── 결제 버튼 위 번호 한 칸 — 적으면 페이앱 '연락처 입력' 화면을 건너뛰고 결제수단으로 직행 (2026-11-21)
      폰트는 16px 고정 — iOS 사파리가 입력칸 포커스 때 화면을 확대하지 않게 */
.payphone {
  display: block; margin-top: 10px; padding: 10px 13px 9px; border-radius: 13px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .14);
}
.payphone__lb { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.payphone__lb b { font-size: 11.5px; font-weight: 700; color: #1B2940; letter-spacing: -0.02em; }
.payphone__lb span { font-size: 9.5px; color: #6E665A; flex: none; }
.payphone__inp {
  display: block; width: 100%; margin-top: 6px; padding: 10px 13px; border-radius: 11px;
  border: 1px solid rgba(28, 24, 19, .22); background: #fff;
  font-family: inherit; font-size: 16px; letter-spacing: .02em; color: #1A1712;
}
.payphone__inp::placeholder { color: #9A9084; letter-spacing: .05em; }
.payphone__inp:focus { outline: none; border-color: #1B2940; box-shadow: 0 0 0 3px rgba(30, 41, 59, .10); }
.payphone__hint { display: block; margin-top: 6px; font-size: 9.5px; line-height: 1.55; color: #6E665A; }
.payphone__inp.is-shake { animation: cformShake .3s cubic-bezier(.36, .07, .19, .97) both; }
/* ── 결제하고 돌아온 손님 안내 — 결과 맨 위 한 줄 (2026-11-21) */
.payback {
  margin: 0 0 12px; padding: 12px 14px; border-radius: 16px;
  background: #FDF3DD; border: 1px solid rgba(28, 24, 19, .22);
}
.payback__t { display: flex; flex-direction: column; gap: 3px; }
.payback__t b { font-size: 12.5px; font-weight: 800; color: #1B2940; letter-spacing: -0.02em; }
.payback__t span { font-size: 10.5px; line-height: 1.55; color: #4B4438; }
.payback__row { display: flex; gap: 6px; margin-top: 9px; }
.payback__go {
  flex: 1 1 auto; padding: 10px 12px; border-radius: 11px; border: 1px solid #1B2940;
  background: #1B2940; color: #FBF7EF; font-family: inherit;
  font-size: 11.5px; font-weight: 700; letter-spacing: -0.02em;
}
.payback__x {
  flex: 0 0 auto; padding: 10px 12px; border-radius: 11px; border: 1px solid rgba(28, 24, 19, .22);
  background: #FFFFFF; color: #4B4438; font-family: inherit; font-size: 10.5px;
}
.payback__go:active, .payback__x:active { transform: translateY(1px); }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pay__btn {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 12px 11px; border-radius: 15px; text-align: left;
  background: #1B2940; border: 1px solid #1B2940; color: #F6F1E7;
  transition: transform .16s ease;
}
.pay__btn--bank { background: #FBF7EF; border-color: rgba(28, 24, 19, .38); color: #1B2940; }
a.pay__btn { text-decoration: none; box-sizing: border-box; }
.pay__btn:active { transform: translateY(1px); }
.pay__ico { flex: none; font-size: 15px; line-height: 1; }
.pay__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay__label b { font-size: 11.5px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.pay__label span { font-size: 9.5px; line-height: 1.4; opacity: .62; letter-spacing: -0.01em; }
.pay__note {
  margin-top: 9px; padding: 10px 13px; border-radius: 13px;
  font-size: 10.5px; line-height: 1.7; color: var(--ink-2);
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .07);
}
.pay__note b { color: #C21F46; }
/* ── 단일 패스 결제 — 주 버튼 하나 + 작은 계좌이체 링크 (2026-11-23) ── */
.pay__btn--pass {
  display: flex; width: 100%; justify-content: center; gap: 7px;
  margin-top: 12px; padding: 15px 14px; border-radius: 15px;
}
.pay__btn--pass .pay__label { flex-direction: row; align-items: baseline; justify-content: center; }
.pay__btn--pass .pay__label b { font-size: 13px; white-space: normal; }
.pay__btn--pass .pay__amt { font-size: 14px; font-weight: 800; color: #FBE4B2; letter-spacing: -0.01em; }
.shop__mini {
  display: block; width: auto; margin: 10px auto 0; padding: 6px 8px;
  background: none; border: 0; font-family: inherit; font-size: 10.5px;
  color: var(--mute); text-decoration: underline; text-underline-offset: 3px;
}
.shop__mini:active { transform: translateY(1px); }
/* ── 달력 위 '1년 전체 열기 · 14,900원' 막대 (체험 중·체험 끝 모두) ── */
.passbar {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin: 10px 0 2px; padding: 11px 14px; border-radius: 13px;
  background: #FFFCF2; border: 1px solid rgba(165, 101, 15, .30);
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: -.02em;
  color: #8A4E0B; cursor: pointer;
}
.passbar b { font-weight: 800; }
.passbar__ar { font-weight: 800; }
.passbar:active { transform: translateY(1px); }
.passbar[hidden] { display: none; }
.pay__kakao {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 9px; padding: 10px 12px; border-radius: 11px;
  font-size: 11px; font-weight: 700; color: #4B4438; text-decoration: none;
  background: #FDF3DD; border: 1px solid rgba(28, 24, 19, .42);
  transition: transform .16s ease;
}
.pay__kakao:active { transform: translateY(1px); }
.pay__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pay__pick-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px; border-radius: 12px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .09); color: var(--ink-2);
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.pay__pick-btn b { font-size: 11.5px; font-weight: 700; letter-spacing: -0.02em; }
.pay__pick-btn span { font-size: 10px; color: var(--mute); }
.pay__pick-btn.is-on { background: #1B2940; border-color: #1B2940; color: #F6F1E7; }
.pay__pick-btn.is-on span { color: rgba(241, 245, 249, .66); }
/* 소액(1만 원 미만) 계좌이체 전용 — 버튼 하나만 */
.pay--single { grid-template-columns: 1fr; }
.pay__guide {
  margin-top: 12px; padding: 9px 12px; border-radius: 12px;
  font-size: 10px; line-height: 1.65; color: #6E665A;
  background: #FBF7EF; border: 1px dashed rgba(28, 24, 19, .42);
}
.pay__guide b { color: #4B4438; font-weight: 700; }
/* 개운템 4가지 선택 칩 — 이름·가격 두 줄 */
.pay__pick--4 .pay__pick-btn { flex-direction: column; gap: 3px; padding: 11px 8px; }
/* 부족한 오행별 추천 자연·장소 배지 */
.care__place {
  margin-top: 12px; padding: 11px 13px; border-radius: 14px;
  font-size: 10.5px; line-height: 1.65; color: var(--ink-2);
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .26);
}
.care__place b { color: #C21F46; font-weight: 700; }
.shop__save {
  margin-top: 12px; padding: 11px 14px; border-radius: 14px;
  background: #FBF7EF; border: 1px dashed rgba(28, 24, 19, .45);
  text-align: center;
}
.shop__save b { display: block; font-size: 12px; color: #4B4438; letter-spacing: -0.01em; }
.shop__save span { display: block; font-size: 10px; color: var(--mute); margin-top: 3px; }
.shop__consult {
  margin-top: 14px; padding: 13px 15px; border-radius: 14px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .07);
}
.shop__consult b { display: block; font-size: 12px; color: var(--ink); letter-spacing: -0.01em; }
.shop__consult span { display: block; font-size: 10px; color: var(--mute); line-height: 1.6; margin-top: 4px; }
.shop__consult a, .shop__consult-btn { display: inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 700; color: #C21F46; text-decoration: underline; text-underline-offset: 3px; }
.shop__consult-btn { padding: 0; background: none; border: 0; cursor: pointer; }

/* ── 긴급 개운템 3종 (팝업 안에서 그대로 체험) ─────── */
.care {
  margin-top: 14px; padding: 14px 14px 16px; border-radius: 18px;
  background: #FAF7F0; border: 1px solid rgba(29, 28, 25, .07);
}
.care__no { font-size: 8.5px; font-weight: 700; letter-spacing: .2em; color: #B08A4E; }
.care__title { font-family: var(--serif); font-size: 15px; margin-top: 3px; letter-spacing: -0.02em; }
.care__desc { font-size: 10.5px; line-height: 1.65; color: var(--mute); margin-top: 5px; }
.care__desc b { color: var(--ink-2); }
.care__hint { font-size: 9.5px; color: var(--mute); text-align: center; margin-top: 7px; min-height: 13px; }

/* ① 대나무 산가지 — 부채꼴 6개 중 '딱 1개'만 뽑는 의식 */
.care__hint b { color: var(--ink-2); }
/* 하루 1회 고정 — 뽑은 뒤 안내는 한 줄로 또렷하게 (2026-11-23) */
.care__hint.is-once {
  margin-top: 9px; font-size: 10.5px; font-weight: 700;
  color: #8E6B2C; letter-spacing: -0.01em;
}

/* ── 개운템 1회 무료 체험 (2026-11-22) ─────────────────────────────
   제목 옆 작은 배지 + 1회를 다 쓴 항목을 또 누를 때 결제 영역으로 데려가는 안내 */
.care__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.care__head .care__title { flex: 1 1 auto; min-width: 0; }
.care__trial {
  flex: none; padding: 3px 9px; border-radius: 999px;
  font-size: 8.5px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
  color: #8F5B12; background: #FDF0D6; border: 1px solid rgba(199, 154, 78, .5);
}
.care__trial.is-done { color: #7C7A74; background: #EFEDE8; border-color: rgba(29, 28, 25, .14); }
.care.is-locked .bamboo__stick:not(.is-chosen) { opacity: .8; }
.care.is-locked .care-obj { filter: saturate(.72); }
.care__lock {
  margin: 0 0 2px; padding: 12px 14px; border-radius: 14px; text-align: center;
  color: #7A4A16; background: #FFF4E4; border: 1px solid rgba(199, 154, 78, .55);
  font-size: 11.5px; font-weight: 700; line-height: 1.55; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
}
.care__lock.is-show { opacity: 1; transform: none; }
.care__lock span { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; color: #96683A; }
.care__pay { position: relative; }
/* 320px대 작은 화면 — 상품명과 가격이 한 줄에 눌려 두 줄로 깨지지 않게 위아래로 나눈다 */
@media (max-width: 340px) {
  .care__pay .shop__price { flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 13px; }
  .care__pay .shop__price span { font-size: 10px; }
  .care__pay .shop__price b { font-size: 12.5px; }
}
.care__pay.is-flash {
  border-radius: 18px;
  animation: carePayPulse 1.25s ease-in-out 2;
}
@keyframes carePayPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199, 154, 78, 0); background: transparent; }
  45% { box-shadow: 0 0 0 3px rgba(199, 154, 78, .55); background: rgba(255, 246, 226, .85); }
}
@media (prefers-reduced-motion: reduce) {
  .care__pay.is-flash { animation: none; box-shadow: 0 0 0 2px rgba(199, 154, 78, .55); background: rgba(255, 246, 226, .85); }
}
.care__reset {
  display: inline; margin: 0 0 0 2px; padding: 0; background: none; border: 0;
  font-size: 9.5px; color: #9E4A2E; text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; font-family: inherit;
}
.care--obj .care__reset, .care--bowl .care__reset { display: block; margin-top: 2px; }
.bamboo {
  position: relative; height: 186px; margin-top: 10px;
  display: flex; align-items: flex-end; justify-content: center;
}
.bamboo__tray {
  position: absolute; left: 50%; bottom: 4px; width: 212px; height: 30px; margin-left: -106px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgba(160, 124, 68, .26), rgba(160, 124, 68, 0) 72%);
}
.bamboo__fan { position: relative; width: 100%; height: 100%; }
.bamboo__burst {
  position: absolute; left: 50%; bottom: 54px; width: 230px; height: 230px; margin-left: -115px;
  border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.35);
  background: radial-gradient(circle, rgba(255, 244, 208, .95) 0%, rgba(232, 186, 96, .4) 40%, rgba(232, 186, 96, 0) 70%);
}
.bamboo.is-picked .bamboo__burst { animation: bambooBurst .95s ease-out both; }
@keyframes bambooBurst {
  0% { opacity: 0; transform: scale(.35); }
  20% { opacity: .95; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.28); }
}
.bamboo__stick {
  position: absolute; bottom: 8px;
  width: 22px; height: 140px; margin-left: -11px; padding: 0;
  background: none; border: 0; cursor: pointer;
  transform-origin: 50% 100%;
  transform: rotate(var(--rot)) translateY(0) scale(1);
  transition: transform .62s cubic-bezier(.2, 1.25, .35, 1), opacity .5s ease, filter .5s ease;
  transition-delay: calc(var(--i) * 18ms);
  filter: drop-shadow(0 7px 7px rgba(70, 48, 20, .2));
  -webkit-tap-highlight-color: transparent;
}
.bamboo__stick:active .bamboo__shaft { filter: brightness(1.08); }
.bamboo__shaft {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 5px 5px 3px 3px; overflow: hidden;
  border: 1px solid rgba(146, 108, 48, .34);
  background: linear-gradient(90deg, #DDBE74 0%, #F2DEAC 26%, #E4C98A 62%, #C9A45C 100%);
  box-shadow: inset -3px 0 5px rgba(120, 90, 40, .3), inset 3px 0 4px rgba(255, 249, 224, .7),
    0 1px 2px rgba(80, 50, 20, .22);
}
.bamboo__cap {
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(180deg, #FFFAE4, #E7CF96);
  border-bottom: 1px solid rgba(150, 112, 50, .3);
}
.bamboo__glyph {
  position: absolute; top: 13px; left: 0; right: 0; text-align: center;
  font-family: var(--serif); font-size: 11.5px; color: #8A6428; letter-spacing: 0;
}
.bamboo__node {
  position: absolute; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(180deg, rgba(150, 112, 50, .55), rgba(255, 250, 228, .75));
  box-shadow: 0 1px 0 rgba(255, 252, 236, .45);
}
.bamboo__node:nth-of-type(3) { top: 38%; }
.bamboo__node:nth-of-type(4) { top: 66%; }
.bamboo__band {
  position: absolute; left: 0; right: 0; bottom: 11px; height: 6px;
  background: linear-gradient(180deg, #D2553C, #A03224);
  box-shadow: 0 1px 2px rgba(90, 30, 20, .35);
}
.bamboo.is-picked .bamboo__stick.is-chosen {
  z-index: 6; opacity: 1;
  transform: translateX(var(--shift, 0px)) translateY(-6px) rotate(0deg) scale(1.22);
  filter: drop-shadow(0 0 16px rgba(235, 190, 100, .95)) drop-shadow(0 10px 12px rgba(80, 50, 20, .3));
  pointer-events: none;
}
.bamboo.is-picked .bamboo__stick.is-chosen .bamboo__shaft {
  background: linear-gradient(90deg, #D2AC60 0%, #EFD69C 26%, #DCBB78 62%, #BC944C 100%);
  border-color: rgba(146, 108, 48, .52);
  animation: chosenGlow 2.6s ease-in-out infinite;
}
@keyframes chosenGlow {
  0%, 100% { box-shadow: inset -4px 0 6px rgba(120, 90, 40, .26), inset 4px 0 5px rgba(255, 249, 224, .68), 0 0 0 rgba(255, 240, 190, 0); }
  50% { box-shadow: inset -4px 0 6px rgba(120, 90, 40, .2), inset 4px 0 5px rgba(255, 255, 244, .9), 0 0 22px rgba(255, 238, 186, .95); }
}
.bamboo__stick.is-away {
  opacity: .2; pointer-events: none; filter: grayscale(.55) blur(.3px);
  transform: translateY(12px) rotate(calc(var(--rot) * 1.25)) scale(.9);
}
.bamboo__result {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 4px; padding: 16px 16px 15px; border-radius: 18px; text-align: center;
  background: #FFFDF8; border: 1px solid rgba(174, 138, 80, .32);
  box-shadow: 0 12px 28px -20px rgba(120, 90, 40, .6), inset 0 0 0 3px #FFF;
}
.bamboo__result[hidden] { display: none; }
.bamboo__result.is-show { animation: bambooResultIn .54s cubic-bezier(.2, 1.2, .4, 1) both; }
@keyframes bambooResultIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.bamboo__drawn-no {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 13px; color: #FFF6E2;
  background: radial-gradient(circle at 35% 30%, #D9563E, #A83524);
  box-shadow: 0 4px 10px -4px rgba(150, 50, 30, .75);
}
.bamboo__tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 9px; font-weight: 700; letter-spacing: .08em; color: #8E6B2C;
  background: rgba(196, 154, 80, .18);
}
.bamboo__text {
  font-family: var(--serif); font-size: 13.5px; font-weight: 600; line-height: 1.55;
  letter-spacing: -0.02em; color: var(--ink);
}

/* ② 디지털 개운 오브제 — 손가락으로 문지르면 차오른다 */
.care-obj {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%; margin-top: 8px; padding: 4px 0 0;
  background: none; border: 0; cursor: grab;
  touch-action: none; -ms-touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.care-obj:focus-visible { outline: 2px solid rgba(174, 138, 80, .6); outline-offset: 4px; border-radius: 18px; }
.care-obj.is-rub { cursor: grabbing; }
.care-obj__stage {
  position: relative; display: block; width: 150px; height: 150px;
}
.care-obj__glow {
  position: absolute; inset: 12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--obj-glow, #E4AE55) 0%, rgba(255, 255, 255, 0) 66%);
  opacity: calc(var(--charge, 0) * 0.007);
  filter: blur(7px);
  transition: opacity .25s ease;
}
.care-obj__beam {
  position: absolute; left: 50%; bottom: 24%; width: 62px; height: 148px; margin-left: -31px;
  pointer-events: none; opacity: 0; transform: scaleY(.35); transform-origin: 50% 100%;
  border-radius: 46% 46% 0 0 / 32% 32% 0 0;
  background: linear-gradient(to top, rgba(255, 246, 214, 0) 0%, var(--obj-glow, #E4AE55) 46%, rgba(255, 255, 255, .92) 80%, rgba(255, 255, 255, 0) 100%);
  filter: blur(3.5px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, 1.2, .4, 1);
}
.care-obj.is-awake .care-obj__beam { opacity: .8; transform: scaleY(1); animation: beamPulse 2.8s ease-in-out infinite; }
@keyframes beamPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: .92; }
}
.care-obj__ring {
  position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; margin: -54px 0 0 -54px;
  border-radius: 50%; border: 2px solid var(--obj-glow, #E4AE55); opacity: 0; pointer-events: none;
}
.care-obj.is-awake .care-obj__ring { animation: objRingOut 2.1s ease-out infinite; }
.care-obj.is-awake .care-obj__ring.is-r2 { animation-delay: 1.05s; }
@keyframes objRingOut {
  0% { opacity: .85; transform: scale(.62); }
  70% { opacity: .22; }
  100% { opacity: 0; transform: scale(1.72); }
}
.care-obj__art {
  position: relative; z-index: 2; display: block; width: 112px; height: 112px;
  margin: 19px 0 0 19px;
  transition: filter .3s ease;
  will-change: transform;
  filter: drop-shadow(0 0 calc(2px + var(--charge, 0) * 0.09px) var(--obj-glow, #E4AE55));
}
.care-obj__art .obj { width: 100%; height: 100%; display: block; }
.care-obj.is-awake .care-obj__art {
  filter: drop-shadow(0 0 16px var(--obj-glow, #E4AE55)) drop-shadow(0 0 30px rgba(255, 246, 214, .8)) brightness(1.08) saturate(1.15);
  animation: objAwake 2.6s ease-in-out infinite;
}
@keyframes objAwake {
  0%, 100% { transform: translateY(0) scale(1.14); }
  50% { transform: translateY(-5px) scale(1.19); }
}
.care-obj__dust { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.care-obj__dust i {
  position: absolute; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--p, #E8BA60); box-shadow: 0 0 8px var(--p, #E8BA60);
  opacity: 0; animation-name: dustFly; animation-timing-function: ease-out; animation-fill-mode: forwards;
}
@keyframes dustFly {
  0% { opacity: .95; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx, 0), var(--dy, -20px)) scale(.18); }
}
.care-obj__pct {
  position: absolute; z-index: 4; right: 2px; bottom: 6px;
  font-size: 9.5px; font-weight: 700; color: #8E6B2C; letter-spacing: .02em;
  background: rgba(255, 253, 248, .8); padding: 1px 6px; border-radius: 999px;
}
.care-obj.is-awake .care-obj__pct { color: #A83524; }
.care-obj__bar { display: block; width: 176px; height: 7px; border-radius: 999px; background: rgba(29, 28, 25, .09); overflow: hidden; }
.care-obj__bar i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #E9C878, #C79A4E 60%, #E6BE6A);
  transition: width .12s linear;
}
.care-obj__label { font-size: 10.5px; color: var(--mute); letter-spacing: -0.01em; min-height: 14px; text-align: center; }
.care-obj.is-awake .care-obj__label { color: #8E6B2C; font-weight: 700; }

/* ③ 1분 오행 싱잉볼 — 60초 지속 공명 */
.bowl { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; }
.bowl__art {
  position: relative; display: block; width: 138px; height: 138px; padding: 0;
  background: none; border: 0; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.bowl__halo {
  position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 186, 96, .42) 0%, rgba(232, 186, 96, .13) 52%, rgba(232, 186, 96, 0) 100%);
  opacity: .3; transform: scale(var(--bs, 1));
  transition: transform .26s linear, opacity .4s ease;
}
.bowl.is-on .bowl__halo { opacity: .85; }
.bowl.is-hold .bowl__halo { opacity: 1; }
.bowl__svg {
  position: relative; z-index: 2; width: 100%; height: 100%; display: block;
  transform: scale(var(--bs, 1));
  transition: transform .26s linear, filter .4s ease;
  filter: drop-shadow(0 8px 12px rgba(80, 60, 30, .2));
}
.bowl.is-on .bowl__svg { filter: drop-shadow(0 8px 12px rgba(80, 60, 30, .2)) drop-shadow(0 0 10px rgba(235, 196, 118, .65)); }
.bowl__ring {
  position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; margin: -54px 0 0 -54px;
  border-radius: 50%; border: 1.5px solid rgba(199, 154, 78, .9); opacity: 0; pointer-events: none; z-index: 1;
}
.bowl__ring.is-hit { animation: bowlRingOut 1.9s cubic-bezier(.12, .62, .3, 1) both; }
@keyframes bowlRingOut {
  0% { opacity: .85; transform: scale(.66); }
  65% { opacity: .22; }
  100% { opacity: 0; transform: scale(1.8); }
}
.bowl__phase { font-size: 11px; color: var(--mute); letter-spacing: -0.01em; min-height: 15px; text-align: center; }
.bowl.is-on .bowl__phase { color: #8E6B2C; font-weight: 700; }
.bowl__bar { width: 176px; height: 6px; border-radius: 999px; background: rgba(29, 28, 25, .09); overflow: hidden; }
.bowl__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #E9C878, #C79A4E); transition: width .2s linear; }
.bowl__time { font-size: 9.5px; color: #A99C87; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bowl__spark { opacity: 0; }
.bowl.is-on .bowl__spark { animation: sparkTwinkle 2.2s ease-in-out infinite; }
.bowl__ctrl { display: flex; gap: 8px; width: 100%; margin-top: 10px; }
.bowl__btn {
  flex: 1; padding: 11px 14px; border-radius: 13px; cursor: pointer;
  font-family: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: -0.01em;
  border: 1px solid rgba(174, 138, 80, .42); background: #FFFDF8; color: #8E6B2C;
}
.bowl__btn--go { background: linear-gradient(180deg, #F8E9C6, #EBD49B); color: #5C4420; border-color: rgba(174, 138, 80, .55); }
.bowl__btn--stop { flex: 0 0 78px; background: #FFF; color: #8A8073; }
.bowl__btn[hidden] { display: none; }

@keyframes sparkTwinkle { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ritual__char, .ritual__aura,
  .ritual__open.is-on .ritual__verse, .ritual__open.is-on .ritual__rx,
  .ritual__open.is-on .seal-pad,
  .ritual.is-sealing .talis-pad__sheet::before,
  .ritual.is-sealing .seal__body, .seal-pad.is-stamped .seal-pad__bloom,
  .seal.is-stamped .seal__check, .ritual.is-over-target .talis-pad__target,
  .bamboo.is-picked .bamboo__stick.is-chosen .bamboo__shaft,
  .care-obj.is-awake .care-obj__art, .care-obj.is-awake .care-obj__ring,
  .care-obj.is-awake .care-obj__beam, .bowl.is-on .bowl__spark {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================
   v4-b — 팝업은 '읽는 글'이 아니라 '기운 받는 화면'
   ========================================================== */
/* 캐릭터를 팝업의 주인공으로 크게 */
.modal .ritual { margin-top: 12px; padding: 0; }
.modal .ritual__stage { min-height: 288px; padding: 2px 0 0; margin-top: -20px; }
.modal .ritual__tap { width: 276px; height: 276px; }
.modal .ritual__aura { width: 330px; height: 330px; margin: -165px 0 0 -165px; }
/* 금빛 링은 부적(276px)을 살짝 감싸는 크기 — 1.5초에 한 바퀴 */
.modal .ritual__hold { width: 294px; height: 294px; margin: -147px 0 0 -147px; --hold-w: .48; }
.modal .ritual__holdhint { margin-top: 10px; font-size: 11.5px; }
.modal .ritual__verse { font-size: 16.5px; }
.modal .ritual__rx { font-size: 12px; margin-top: 8px; }
.modal .seal-pad { margin-top: 17px; max-width: 270px; }
.modal .seal-pad__hint { font-size: 12px; }

@media (max-height: 700px) {
  .modal .ritual__stage { min-height: 240px; }
  .modal .ritual__tap { width: 228px; height: 228px; }
  .modal .ritual__aura { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  .modal .ritual__hold { width: 246px; height: 246px; margin: -123px 0 0 -123px; --hold-w: .57; }
}

/* ==========================================================
   v5 — 사각틀 없는 SVG 오행 캐릭터 · 부적 이름표 · 잔잔한 날
   ========================================================== */
.ch { display: block; width: 100%; height: 100%; overflow: visible; }

/* 표정 4단 — data-stage 에 따라 눈·입이 실제로 바뀐다 */
.ch-face { opacity: 0; transition: opacity .2s ease; }
.ch[data-stage="0"] .ch-face--0,
.ch[data-stage="1"] .ch-face--1,
.ch[data-stage="2"] .ch-face--2,
.ch[data-stage="3"] .ch-face--3 { opacity: 1; }

/* 0타 — 둥실 숨 쉬며 눈 깜빡 */
.ch-eye { transform-box: fill-box; transform-origin: center; animation: chBlink 5.2s ease-in-out infinite; }
.ch-eye--r { animation-delay: .07s; }
@keyframes chBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.07); }
  98% { transform: scaleY(1); }
}

/* 볼터치 — 2타에 발그레, 완료엔 은은하게 */
.ch-blush { opacity: 0; transition: opacity .45s ease; }
.ch[data-stage="2"] .ch-blush { opacity: .8; }
.ch[data-stage="3"] .ch-blush { opacity: .5; }

/* 팔 — 1타 놀라서 벌리고, 2타 오므리고, 3타 활짝 */
.ch-arm { transform-box: fill-box; transition: transform .34s cubic-bezier(.2, 1.4, .4, 1); }
.ch-arm--l { transform-origin: 100% 0%; }
.ch-arm--r { transform-origin: 0% 0%; }
.ch[data-stage="1"] .ch-arm--l { transform: rotate(-26deg) translate(-1px, -3px); }
.ch[data-stage="1"] .ch-arm--r { transform: rotate(26deg) translate(1px, -3px); }
.ch[data-stage="2"] .ch-arm--l { transform: rotate(12deg) scaleY(.82); }
.ch[data-stage="2"] .ch-arm--r { transform: rotate(-12deg) scaleY(.82); }
.ch[data-stage="3"] .ch-arm--l { transform: rotate(-46deg) translate(-2px, -7px); }
.ch[data-stage="3"] .ch-arm--r { transform: rotate(46deg) translate(2px, -7px); }

/* 오라 — 단계마다 진해지고 커진다 */
.ch-glow {
  transform-box: fill-box; transform-origin: center;
  opacity: .45; transition: opacity .5s ease, transform .6s cubic-bezier(.2, 1.4, .4, 1);
}
.ch[data-stage="1"] .ch-glow { opacity: .68; transform: scale(1.06); }
.ch[data-stage="2"] .ch-glow { opacity: .86; transform: scale(1.16); }
.ch[data-stage="3"] .ch-glow { opacity: 1; transform: scale(1.26); }

.ch-shadow { transform-box: fill-box; transform-origin: center; animation: chShadow 3.8s ease-in-out infinite; }
@keyframes chShadow { 0%, 100% { transform: scale(1); opacity: .10; } 50% { transform: scale(.9); opacity: .06; } }

/* 반짝이 */
.ch-tw, .ch-spark { transform-box: fill-box; transform-origin: center; animation: chTwinkle 3.2s ease-in-out infinite; }
.ch-tw--b, .ch-spark--b { animation-delay: -1.6s; }
.ch-spark--happy { animation-duration: 1.9s; }
@keyframes chTwinkle {
  0%, 100% { opacity: .3; transform: scale(.82) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(24deg); }
}

/* 3타 완료 — 오행 오라 파동 */
.ch-aura-wave { transform-box: fill-box; transform-origin: center; }
.ch[data-stage="3"] .ch-aura-wave { animation: chWave 1.2s ease-out both; }
@keyframes chWave {
  0% { opacity: .8; transform: scale(.6); }
  60% { opacity: .28; }
  100% { opacity: 0; transform: scale(1.55); }
}

/* 배너·아이템 팝업 속 캐릭터는 은은하게 떠 있기 */
.talis-banner__char .ch,
.shop__talis > .ch { animation: chFloat 4.2s ease-in-out infinite; }
@keyframes chFloat {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50% { transform: translateY(-5px) rotate(1.4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ch-eye, .ch-shadow, .ch-tw, .ch-spark, .talis-banner__char .ch,
  .shop__talis > .ch, .ritual__name, .ch[data-stage="3"] .ch-aura-wave {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .ch-arm, .ch-face, .ch-blush, .ch-glow { transition: none; }
}

/* ==========================================================
   2026-11-20 (w) — 날짜 팝업 '부적 패' 프레임 · 카톡 신청 버튼 · 입장 코드
   ========================================================== */

/* ── 날짜 팝업: 부적 패(牌) 프레임 ───────────────────────────
   한지 바탕 · 금박 이중 테두리 · 구름문은 padFrameArt() 가 그린 SVG 가 맡고,
   여기서는 패의 여백 · 노리개 · 이름표 · 주홍 낙관 · 완료 금빛을 맡는다. */
.talis-pad { position: relative; margin: 38px auto 0; max-width: 340px; --tp-a: #FBF5E7; }
.talis-pad__norigae {
  position: absolute; top: -40px; left: 50%; z-index: 4;
  width: 38px; height: 52px; transform: translateX(-50%);
  pointer-events: none; filter: drop-shadow(0 3px 4px rgba(80, 60, 30, .22));
}
.talis-pad__norigae svg { display: block; width: 100%; height: 100%; overflow: visible; }
.talis-pad__sheet {
  position: relative; display: block; overflow: hidden;
  padding: 34px 12px 34px; border-radius: 14px;
  background: #FBF4E4;
  box-shadow: 0 14px 30px -22px rgba(60, 44, 22, .55), 0 1px 2px rgba(60, 44, 22, .10);
  transition: box-shadow .5s ease;
}
.talis-pad__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.talis-pad__namewrap { position: relative; z-index: 2; display: flex; justify-content: center; }
.talis-pad .ritual__name {
  margin-top: 0; font-size: 16px; padding: 8px 18px 9px;
  box-shadow: 0 8px 18px -12px var(--deep), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.modal .talis-pad .ritual__name { font-size: 17.5px; padding: 9px 21px 10px; }
.talis-pad .ritual__stage { position: relative; z-index: 2; margin-top: 0; padding-top: 2px; }
.talis-pad .ritual__holdhint { position: relative; z-index: 2; }

/* 완료 3타 — 패 위를 지나가는 금빛 한 줄기 */
.talis-pad__shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(104deg,
    transparent 40%, rgba(255, 246, 214, 0) 44%,
    rgba(255, 248, 224, .55) 50%, rgba(255, 246, 214, 0) 56%, transparent 60%);
}
.ritual.is-done .talis-pad__shine { animation: padShine 3.4s ease-out .4s 1 both; }
@keyframes padShine {
  0% { opacity: 0; transform: translateX(-55%); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateX(55%); }
}

/* 새김의 순간 — 금빛 인장이 눌린 듯 패 위로 빛이 조용히 번진다 (폭죽 대신, 2026-11-22) */
.talis-pad__sheet::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 47%,
    rgba(255, 247, 219, .95) 0%, rgba(226, 180, 94, .38) 36%, rgba(226, 180, 94, 0) 70%);
}
.ritual.is-sealing .talis-pad__sheet::before { animation: sealBloom .95s ease-out both; }
@keyframes sealBloom {
  0% { opacity: 0; transform: scale(.55); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.16); }
}

/* 새김 — 테두리가 은은한 금빛으로 빛난다 */
.talis-pad__sheet::after {
  content: ""; position: absolute; inset: 2px; border-radius: 12px;
  pointer-events: none; z-index: 5;
  box-shadow: inset 0 0 0 1.5px rgba(214, 175, 104, 0), inset 0 0 22px rgba(226, 180, 94, 0);
  transition: box-shadow .55s ease;
}
.ritual.is-done .talis-pad__sheet { animation: padGlow 3.2s ease-in-out infinite; }
.ritual.is-done .talis-pad__sheet::after {
  box-shadow: inset 0 0 0 1.5px rgba(232, 196, 132, .8), inset 0 0 22px rgba(226, 180, 94, .18);
}
@keyframes padGlow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(199, 154, 78, .34), 0 0 16px -6px rgba(211, 170, 103, .45),
      0 14px 30px -22px rgba(60, 44, 22, .5);
  }
  50% {
    box-shadow: 0 0 0 1.5px rgba(216, 178, 108, .9), 0 0 30px -2px rgba(214, 175, 104, .62),
      0 14px 30px -22px rgba(60, 44, 22, .45);
  }
}

/* 완료 3타 — 우측 하단에 주홍 낙관이 '쾅' */
.talis-pad__seal {
  position: absolute; right: 14px; bottom: 14px; z-index: 6;
  width: 34px; height: 34px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1;
  color: #FBEFDC; letter-spacing: 0;
  background: radial-gradient(circle at 34% 26%, #C34A3B 0%, #AE3327 62%, #95261C 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 238, 220, .40), inset 0 0 10px rgba(96, 22, 14, .38),
    0 2px 4px rgba(120, 40, 30, .28);
  opacity: 0; transform: rotate(-7deg) scale(.4);
  pointer-events: none;
}
.ritual.is-done .talis-pad__seal { animation: sealStamp .62s cubic-bezier(.2, 1.5, .35, 1) .1s both; }
.ritual.is-done .talis-pad__seal::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(175, 51, 39, .45);
  animation: sealRing .72s ease-out .14s both;
}
@keyframes sealStamp {
  0% { opacity: 0; transform: rotate(-16deg) scale(2.05); filter: blur(2.5px); }
  52% { opacity: .96; transform: rotate(-5deg) scale(.9); filter: blur(0); }
  74% { transform: rotate(-8deg) scale(1.06); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}
@keyframes sealRing {
  0% { opacity: .8; transform: scale(.45); }
  100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 380px) {
  .talis-pad { max-width: 100%; margin-top: 34px; }
  .talis-pad__sheet { padding: 30px 9px 30px; border-radius: 12px; }
  .talis-pad__seal { width: 30px; height: 30px; font-size: 18px; right: 11px; bottom: 11px; }
  .talis-pad__target { width: 30px; height: 30px; font-size: 17px; right: 11px; bottom: 11px; }
  .seal-pad { max-width: 100%; }
  .seal { width: 70px; height: 70px; }
  .seal__char { font-size: 35px; }
  .seal__ring { width: 98px; height: 98px; margin: -49px 0 0 -49px; }
  .modal .talis-pad .ritual__name { font-size: 15.5px; padding: 8px 16px 9px; }
}

/* ── 결제 완료 → 노란 카톡 버튼 ─────────────────────────────
   결제 카드·계좌이체 바로 아래, 한눈에 보이는 카카오 노랑(#FEE500). */
.kakaobar { margin-top: 12px; }
.kakaobar__btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 100%; padding: 13px 14px; border-radius: 15px;
  background: #FEE500; border: 1px solid rgba(0, 0, 0, .07); color: #1B2940;
  box-shadow: 0 8px 18px -12px rgba(150, 120, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .16s ease, box-shadow .2s ease;
  font-family: inherit; text-align: center;
}
.kakaobar__btn:active { transform: translateY(1px) scale(.995); }
.kakaobar__btn b { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.kakaobar__btn span { font-size: 10px; line-height: 1.4; color: rgba(25, 22, 0, .62); letter-spacing: -0.01em; }
.kakaobar__btn:focus-visible { outline: 2px solid #A5650F; outline-offset: 2px; }

/* ── 1:1 원포인트 리딩 신청 양식 ───────────────────────────
   결제 버튼 위에 놀는 네 칸 — 채우면 노란 버튼 한 번으로 신청 메시지가 된다. */
.cform {
  margin-top: 14px; padding: 13px 13px 12px; border-radius: 16px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .26);
}
.cform__head {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 11.5px; font-weight: 700; color: #4B4438; letter-spacing: -0.01em;
}
.cform__head span { font-size: 9.5px; font-weight: 400; color: var(--mute); letter-spacing: 0; line-height: 1.5; }
.cform__row { display: block; margin-top: 11px; }
.cform__row:first-of-type { margin-top: 10px; }
.cform__row--chips { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.cform__row--chips .cform__lb { margin-bottom: 0; }
.cform__lb {
  display: block; font-size: 10px; font-weight: 700; color: var(--ink-2);
  letter-spacing: 0.01em; margin-bottom: 5px;
}
.cform__lb i { font-style: normal; font-weight: 400; color: var(--mute); }
.cform__input {
  width: 100%; padding: 9px 11px; border-radius: 11px;
  border: 1px solid rgba(28, 24, 19, .14); background: #FFF;
  font-family: inherit; font-size: 12.5px; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cform__input::placeholder { color: #CFC6B7; font-size: 11.5px; }
.cform__input:focus {
  outline: none; border-color: rgba(28, 24, 19, .6);
  box-shadow: 0 0 0 3px rgba(28, 24, 19, .12);
}
.cform__row.is-error .cform__input { border-color: #FDA4AF; background: #FBF7EF; }
.cform__row--chips .chip { font-size: 11.5px; padding: 7px 15px; }
.cform__input.is-shake { animation: cformShake .3s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes cformShake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-4px); }
  46% { transform: translateX(3px); }
  70% { transform: translateX(-2px); }
}
.cform__msg {
  margin: 10px 0 0; padding: 8px 11px; border-radius: 10px;
  font-size: 10px; font-weight: 600; line-height: 1.55; color: #C21F46;
  background: #FFF1F4; border: 1px solid #FFF1F4;
}

/* ── 입장 코드 ──────────────────────────────────────────── */
.cal__tools { gap: 6px; align-items: center; flex-wrap: wrap; }
.lockbtn.is-on { color: #4B4438; background: #FDF3DD; border-color: rgba(28, 24, 19, .5); }
.lockpanel {
  margin: 10px 4px 0; padding: 13px 14px; border-radius: 15px;
  background: #FBF7EF; border: 1px solid rgba(28, 24, 19, .3);
  animation: lockIn .24s ease-out both;
}
@keyframes lockIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lockpanel.is-shake { animation: lockShake .34s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes lockShake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-5px); }
  46% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}
.lockpanel__label { display: block; font-size: 10.5px; font-weight: 700; color: #4B4438; letter-spacing: -0.01em; }
.lockpanel__row { display: flex; gap: 7px; margin-top: 8px; }
.lockpanel__input {
  flex: 1 1 auto; min-width: 0; padding: 10px 12px; border-radius: 11px;
  border: 1px solid rgba(28, 24, 19, .14); background: #FFF;
  font-family: inherit; font-size: 13px; letter-spacing: .06em; color: var(--ink);
}
.lockpanel__input:focus {
  outline: none; border-color: #1B2940;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, .12);
}
.lockpanel__go {
  flex: 0 0 auto; padding: 10px 18px; border-radius: 11px;
  background: #1B2940; border: 1px solid #1B2940; color: #F6F1E7;
  font-family: inherit; font-size: 12px; font-weight: 700;
}
.lockpanel__go:active { transform: translateY(1px); }
.lockpanel__msg { margin-top: 8px; font-size: 10.5px; line-height: 1.6; color: #C21F46; }
.lockpanel__msg.is-ok { color: #067F5B; }
.lockpanel__reset {
  margin-top: 6px; padding: 4px 0; background: none; border: 0;
  font-family: inherit; font-size: 10px; color: var(--mute);
  text-decoration: underline; text-underline-offset: 3px;
}
/* 잠금 카드 안 — 입장 코드가 있는 사람 */
.lock__code {
  display: block; margin: 8px auto 0; padding: 7px 12px;
  background: none; border: 0; font-family: inherit;
  font-size: 10.5px; color: rgba(241, 245, 249, .62);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ── 토스트 ──────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  z-index: 400; max-width: min(88vw, 360px);
  padding: 11px 16px; border-radius: 14px;
  background: rgba(28, 24, 19, .94); color: #F6F1E7;
  font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em;
  text-align: center; pointer-events: none;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-50%, 14px);
  transition: opacity .24s ease, transform .28s cubic-bezier(.2, 1.2, .4, 1);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 친구 초대 적용 안내 ──────────────────────────────
   사주가 이미 저장된 기존 방문자가 ?ref= 초대 링크로 처음 들어왔을 때
   달력이 열리자마자 화면 위에서 내려오는 한 줄 (2026-11-22).
   · 누르지 않아도 소리는 없다. ✕ 로 닫거나 9초 뒤 알아서 사라진다. */
.invitenotice {
  position: fixed; left: 50%; top: calc(10px + env(safe-area-inset-top, 0px));
  z-index: 110; box-sizing: border-box; width: min(92vw, 380px);
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 10px 11px 14px; border-radius: 16px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FDF3DD 100%);
  border: 1px solid rgba(165, 101, 15, .26);
  box-shadow: 0 18px 38px -22px rgba(28, 24, 19, .55);
  opacity: 0; transform: translate(-50%, -14px); pointer-events: none;
  transition: opacity .26s ease, transform .3s cubic-bezier(.2, 1.2, .4, 1);
}
.invitenotice[hidden] { display: none; }
.invitenotice.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.invitenotice__body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.invitenotice__t {
  font-size: 12.5px; font-weight: 800; letter-spacing: -.03em; color: #1B2940;
  line-height: 1.45; word-break: keep-all;
}
.invitenotice__t b { color: #A5650F; font-weight: 800; }
.invitenotice__s {
  font-size: 10.5px; font-weight: 600; letter-spacing: -.02em; color: #7C2D12;
  line-height: 1.5; word-break: keep-all;
}
.invitenotice__x {
  flex: 0 0 auto; appearance: none; border: 0; cursor: pointer;
  width: 26px; height: 26px; padding: 0; border-radius: 999px;
  background: rgba(28, 24, 19, .06); color: #4B4438;
  font-size: 11px; line-height: 26px;
}
/* 원터치 카카오 연결 — 초대받은 친구가 여기서 한 번만 누르면 끝난다 (2026-11-22)
   · 연결 전일 때만 보인다(calendar.js). 누르면 소리 없이 member 화면으로 넘어간다. */
.invitenotice__go {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 7px; padding: 9px 12px; border-radius: 11px;
  background: linear-gradient(180deg, #FEE500 0%, #F5D400 100%);
  color: #3C1E1E; text-decoration: none;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.03em;
  box-shadow: 0 8px 16px -12px rgba(180, 130, 0, .95);
  -webkit-tap-highlight-color: transparent;
}
.invitenotice__go[hidden] { display: none; }
.invitenotice__go:active { transform: translateY(1px); filter: brightness(.97); }

/* ── 🎁 초대받은 친구 — 달력 맨 위 연결 줄 ───────────────
   안내 배너가 13초 뒤 사라져도 여기서 다시 누를 수 있다. 연결 전에만 뜬다. */
.invitebar {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 14px; padding: 11px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FDF3DD 100%);
  border: 1px solid rgba(165, 101, 15, .26);
  box-shadow: 0 12px 26px -22px rgba(28, 24, 19, .5);
}
.invitebar[hidden] { display: none; }
.invitebar__ic { flex: 0 0 auto; font-size: 16px; line-height: 1; }
.invitebar__b { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.invitebar__t {
  font-size: 12px; font-weight: 800; letter-spacing: -.03em; color: #1B2940;
  line-height: 1.4; word-break: keep-all;
}
.invitebar__s {
  font-size: 10px; font-weight: 600; letter-spacing: -.02em; color: #7C2D12;
  line-height: 1.45; word-break: keep-all;
}
.invitebar__go {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 11px; border-radius: 11px;
  background: linear-gradient(180deg, #FEE500 0%, #F5D400 100%);
  color: #3C1E1E; text-decoration: none; white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: -.03em;
  box-shadow: 0 8px 16px -12px rgba(180, 130, 0, .95);
  -webkit-tap-highlight-color: transparent;
}
.invitebar__go:active { transform: translateY(1px); filter: brightness(.97); }
@media (max-width: 359px) {
  .invitebar { flex-wrap: wrap; }
  .invitebar__go { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ritual.is-done .talis-pad__sheet,
  .ritual.is-done .talis-pad__shine,
  .ritual.is-done .talis-pad__seal,
  .ritual.is-done .talis-pad__seal::after,
  .talis-pad__norigae svg,
  .lockpanel, .lockpanel.is-shake {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================
   v5 ① 팝업 상단 컨트롤 분리 — 모바일에서 제목·부제가 잘리거나
         🔊 소리 / ✕ 버튼과 겹치던 문제 수정
   ========================================================== */
.modal__topbar {
  position: relative; z-index: 4; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 6px;
  padding: 10px 12px 0;
}
.modal__topbar .modal__close,
.modal__topbar .modal__sound { position: static; top: auto; right: auto; }
.modal__topbar + .modal__content { padding-top: 10px; }
/* 내용이 길어도 팝업이 화면 밖으로 커지지 않고, 내용만 안에서 스크롤된다 */
.modal__content { min-height: 0; }
.modal__dialog { max-height: 92vh; max-height: calc(100dvh - 24px); }
.modal .modal__eyebrow,
.modal .modal__date,
.modal .modal__sub { padding-right: 0; }
@media (max-width: 430px) {
  .modal { padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .modal__dialog { border-radius: 22px; max-height: calc(100dvh - 20px); }
  .modal__content { padding: 12px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .modal__topbar + .modal__content { padding-top: 8px; }
  .modal__topbar { padding: 8px 10px 0; }
  .modal__close { width: 32px; height: 32px; }
  .modal__sound { height: 30px; font-size: 10px; }
}

/* ==========================================================
   v5 ② 🔥 오늘 액운 태우기 — 달력 위 카드
   ========================================================== */
.card--burn {
  position: relative; overflow: hidden;
  border-color: rgba(174, 138, 80, .22);
  background:
    radial-gradient(120% 90% at 92% -10%, rgba(196, 92, 44, .14), transparent 58%),
    radial-gradient(90% 80% at -6% 108%, rgba(174, 138, 80, .12), transparent 62%),
    var(--paper);
}
.card--burn::after {
  content: "火"; position: absolute; right: -8px; bottom: -28px;
  font-family: var(--serif); font-size: 108px; line-height: 1; color: rgba(196, 92, 44, .055);
  pointer-events: none;
}
.burn__top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.burn__eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .22em; color: #A9754A; }
/* 2026-11-24aa #19144 — 360·390·430px 모두 제목 한 줄 · 불꽃과 제목 같은 줄
   · 제목은 nowrap 으로 두고, 좁은 화면에서는 글자를 조금 줄여 배지·화살표와 함께 한 줄에 앉힌다
   · 배지(남은 무료 N회 / 오늘의 의식 마침)·화살표·BURN & RESET 은 그대로 */
.burn__head { min-width: 0; flex: 0 1 auto; }
.burn__headtitle { display: flex; align-items: center; gap: 5px; white-space: nowrap; letter-spacing: -.02em; }
.burn__ic { flex: none; font-size: 17px; line-height: 1; }
.burn__left {
  flex: 0 0 auto; margin-top: 3px; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 10px; font-weight: 700; letter-spacing: -.01em; color: #A8562E;
  background: rgba(196, 92, 44, .1); border: 1px solid rgba(196, 92, 44, .26);
}
.burn__left.is-unlimited { color: #6B5A2E; background: #FBF1D6; border-color: rgba(174, 138, 80, .45); }
.burn__left.is-out { color: #8A8073; background: #F5F2EA; border-color: var(--hair); }
.burn__left.is-done { color: #6B5A2E; background: #F7F2E6; border-color: rgba(174, 138, 80, .38); }
@media (max-width: 389px) {
  /* 360~389px: 제목이 배지·화살표와 한 줄에 앉도록 글자와 배지 여백만 조금 줄인다
     (배지 문구 '남은 무료 5회 / 오늘의 의식 마침 / 무료 5회 모두 사용 / 매일 1회'와 화살표는 그대로) */
  .burn__headtitle { font-size: 18px; }
  .burn__top { gap: 8px; }
  .burn__left { padding: 3px 7px; font-size: 9.5px; }
}
.card--burn.is-done .burn__cta { background: linear-gradient(135deg, #2C2722 0%, #43392C 58%, #57482F 100%); }
.card--burn.is-done .burn__cta b { color: #EBD9B4; }
.card--burn.is-done .burn__cta span { color: rgba(240, 228, 204, .52); }
.burn__sub { position: relative; z-index: 1; margin-top: 8px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.burn__sub span { color: var(--mute); font-size: 11px; }
.burn__cta {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 100%; margin-top: 14px; padding: 12px 16px 13px; border: 0; border-radius: 15px;
  background: linear-gradient(135deg, #2A1F17 0%, #4A2A18 55%, #6B3A1C 100%);
  color: #F6E3C4; box-shadow: 0 14px 26px -18px rgba(60, 28, 10, .9); font-family: inherit;
}
.burn__cta span { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; color: rgba(246, 227, 196, .62); }
.burn__cta b { font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: #F9D9A2; }
.burn__cta:active { transform: translateY(1px); }

/* ── 액운 태우기 팝업 (큰 의식) ─────────────────── */
.modal__dialog--burn { max-width: 414px; transition: background .5s ease, box-shadow .5s ease; }
.modal__dialog--burn.is-dark {
  background: radial-gradient(130% 90% at 50% -10%, #2C221A 0%, #16120F 52%, #0B0A09 100%);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(214, 168, 106, .16);
}
.modal__dialog--burn.is-dark .modal__eyebrow { color: rgba(230, 196, 138, .75); }
.modal__dialog--burn.is-dark .burn__rite { color: #F4E6CC; }
.modal__dialog--burn.is-dark .burn__hint { color: rgba(240, 230, 212, .62); }
.modal__dialog--burn.is-dark .burn__hint b { color: #EBC77E; }
.modal__dialog--burn.is-dark .burn__foot { color: rgba(240, 230, 212, .45); }
.modal__dialog--burn.is-dark .modal__close {
  background: rgba(255, 244, 226, .12); border-color: rgba(230, 196, 138, .3); color: #F4E6CC;
}
.burn__title { margin-top: 6px; font-family: var(--serif); font-size: 21px; line-height: 1.45; font-weight: 600; letter-spacing: -.02em; }
.burn__guide { margin-top: 10px; font-size: 12px; line-height: 1.85; color: var(--ink-2); }
.burn__count { display: inline-block; margin-top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #A8562E; background: rgba(196, 92, 44, .09); }
.burn__input {
  width: 100%; margin-top: 14px; padding: 13px 14px; border-radius: 14px;
  border: 1px solid rgba(29, 28, 25, .14); background: #FDFBF6;
  font-family: inherit; font-size: 13.5px; color: var(--ink);
}
.burn__input:focus { outline: 2px solid rgba(196, 92, 44, .38); outline-offset: 1px; border-color: rgba(196, 92, 44, .42); }
.burn__input.is-shake { animation: burnShake .32s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes burnShake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-5px); }
  46% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}
.burn__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.burn__chip {
  padding: 7px 12px; border-radius: 999px; font-family: inherit; font-size: 11px; font-weight: 600;
  color: #7A6535; background: #FBF6EC; border: 1px solid rgba(174, 138, 80, .34);
}
.burn__chip:active { transform: scale(.97); }
.burn__go {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 16px; padding: 14px 16px; border: 0; border-radius: 15px;
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: #FCEFD8;
  background: linear-gradient(135deg, #2A1F17, #55301A 60%, #6B3A1C);
  box-shadow: 0 14px 26px -18px rgba(40, 20, 8, .95);
}
.burn__go:active { transform: translateY(1px); }
.burn__go:disabled { opacity: .72; }
.burn__go--squeeze { background: linear-gradient(135deg, #3A2A1E, #6A4426); }
.burn__go--fire { background: linear-gradient(135deg, #8A2F12, #C25417 52%, #D98A2B); color: #FFF4E0; }
.burn__go--fire.is-ready { animation: burnGoGlow 1.9s ease-in-out .18s 2; }
@keyframes burnGoGlow {
  0%, 100% { box-shadow: 0 14px 26px -18px rgba(40, 20, 8, .95); }
  50% { box-shadow: 0 0 0 3px rgba(255, 150, 60, .2), 0 16px 30px -14px rgba(190, 74, 20, .9); }
}
.burn__hint { margin-top: 12px; text-align: center; font-size: 11px; line-height: 1.75; color: var(--mute); }
.burn__hint b { color: #A8562E; }
.burn__foot { margin-top: 10px; text-align: center; font-size: 10.5px; color: var(--mute); }
.burn__rite { margin-top: 10px; font-family: var(--serif); font-size: 18px; line-height: 1.55; letter-spacing: -.02em; color: var(--ink); }
.burn__done-day {
  margin-top: 12px; text-align: center; font-size: 11.5px; line-height: 1.7;
  letter-spacing: -.02em; color: #7A6A52; word-break: keep-all;
}

/* ── 0단계 · 촛불 앞에서 숨 고르기 (2026-11-21h) ──────────────────────
   어두운 제단 위 금빛 촛불. 불꽃만 은은하게 일렁이고, 3·2·1 이 지나면
   '의식 시작하기'가 금빛으로 켜진다. */
.burn__prep-title {
  margin-top: 8px; font-family: var(--serif); font-weight: 600;
  font-size: 18px; line-height: 1.62; letter-spacing: -.025em;
  text-align: center; color: var(--ink); word-break: keep-all;
}
.modal__dialog--burn.is-dark .burn__prep-title { color: #F6E7C8; }
.burn__prep-sub {
  margin-top: 9px; text-align: center; font-size: 12px; line-height: 1.8;
  letter-spacing: -.02em; color: var(--ink-2); word-break: keep-all;
}
.modal__dialog--burn.is-dark .burn__prep-sub { color: rgba(244, 232, 208, .74); }
.burn__altar {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  height: 232px; margin: 12px -4px 0; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(60% 42% at 50% 92%, rgba(255, 176, 74, .14), transparent 74%),
    radial-gradient(120% 100% at 50% 0%, #241D17 0%, #16120F 58%, #0B0A09 100%);
  box-shadow: inset 0 0 58px rgba(0, 0, 0, .88), inset 0 0 0 1px rgba(214, 168, 106, .08);
}
.burn__altar .candle { position: relative; width: 100%; height: 100%; display: block; }
/* 어둑한 한옥 방 — 가장자리는 어둠 속으로 스며들게 */
.burn__altar .candle__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  transform: scale(1.03);
  -webkit-mask-image: radial-gradient(92% 104% at 50% 60%, #000 34%, rgba(0, 0, 0, .74) 70%, transparent 100%);
  mask-image: radial-gradient(92% 104% at 50% 60%, #000 34%, rgba(0, 0, 0, .74) 70%, transparent 100%);
}
/* 촛불 위의 따뜻한 빛 — 아주 천천히 숨 쉬듯 오르내린다 */
.burn__altar .candle::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 44px 16px rgba(8, 6, 4, .76), inset 0 0 0 1px rgba(214, 168, 106, .06);
}
.burn__altar .candle__glow {
  position: absolute; left: 50%; top: 47%; width: 64%; height: 60%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 198, 112, .40), rgba(255, 170, 74, .15) 46%, rgba(255, 150, 50, 0) 78%);
  filter: blur(10px); mix-blend-mode: screen;
  animation: cndBreath 6.8s ease-in-out infinite;
}
.burn__altar .candle__breath {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(54% 42% at 50% 58%, rgba(255, 208, 132, .16), rgba(255, 170, 70, 0) 72%);
  mix-blend-mode: screen; opacity: .5;
  animation: cndWarmth 9.6s ease-in-out infinite;
}
.burn__altar .candle__smoke {
  position: absolute; left: 50%; top: 33%; width: 2px; height: 66px; opacity: 0;
  transform: translateX(-50%); pointer-events: none; filter: blur(1.6px);
  background: linear-gradient(to top, rgba(216, 199, 166, 0), rgba(216, 199, 166, .55), rgba(216, 199, 166, 0));
}
.burn__altar.is-out .candle__photo { filter: brightness(.6) saturate(.78); }
.burn__altar.is-out .candle__glow { opacity: .16; animation: none; }
.burn__altar.is-out .candle__breath { opacity: .12; animation: none; }
.burn__altar.is-out .candle__smoke { animation: cndSmokeLine 6.6s ease-in-out infinite; }
@keyframes cndBreath {
  0%, 100% { opacity: .64; transform: translate(-50%, -50%) scale(.97); }
  50% { opacity: .92; transform: translate(-50%, -50%) scale(1.045); }
}
@keyframes cndWarmth {
  0%, 100% { opacity: .38; }
  50% { opacity: .6; }
}
@keyframes cndSmokeLine {
  0% { opacity: 0; transform: translate(-50%, 8px) scaleY(.7); }
  35% { opacity: .48; }
  100% { opacity: 0; transform: translate(-50%, -28px) scaleY(1.12); }
}
}
.burn__breath {
  min-height: 24px; margin: 13px 0 0; text-align: center;
  font-family: var(--serif); font-size: 17px; letter-spacing: .04em;
  color: #E8C078; transition: color .3s ease;
}
.burn__breath.is-pop { animation: burnBreath 1s ease-out both; }
.burn__breath.is-ready {
  font-family: inherit; font-size: 11.5px; letter-spacing: -.01em;
  color: rgba(243, 234, 216, .8); animation: none;
}
@keyframes burnBreath {
  0% { opacity: .25; transform: scale(.86); }
  32% { opacity: 1; transform: scale(1.06); }
  100% { opacity: .78; transform: scale(1); }
}
.burn__go--start {
  margin-top: 10px; color: #2A1B08;
  background: linear-gradient(135deg, #B98A44 0%, #F0D79B 46%, #C79A4E 100%);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.burn__go--start:disabled { opacity: .34; filter: saturate(.55); box-shadow: none; }
.modal__dialog--burn.is-dark .modal__done-btn {
  color: #F0E2C6; border-color: rgba(230, 196, 138, .36);
  background: rgba(255, 244, 226, .06);
}
.burn__go--start.is-on { opacity: 1; filter: none; animation: burnGoGlow 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .burn__altar .candle__glow,
  .burn__altar .candle__breath,
  .burn__altar.is-out .candle__smoke,
  .burn__breath.is-pop,
  .burn__go--start.is-on { animation: none; }
}

/* 소각대 — 크게, 불이 붙으면 먹빛·금빛으로 */
.burn__stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 292px; margin: 14px -2px 0; padding: 10px 0 14px;
  border-radius: 20px; overflow: hidden; touch-action: none;
  background: radial-gradient(90% 70% at 50% 100%, rgba(174, 138, 80, .1), transparent 62%);
  transition: background .5s ease, box-shadow .5s ease;
}
/* 돌 제단 위에 한지를 올린 느낌 */
.burn__stage::before {
  content: ""; position: absolute; left: 50%; bottom: 44px; width: 76%; height: 34px; margin-left: -38%;
  border-radius: 50%; pointer-events: none; transition: opacity .4s ease;
  background: radial-gradient(closest-side, rgba(28, 27, 25, .16), rgba(28, 27, 25, .05) 62%, transparent 100%);
}
.burn__stage.is-dark::before { opacity: 0; }
.burn__stage.is-dark {
  background:
    radial-gradient(58% 42% at 50% 104%, rgba(255, 150, 52, .32), rgba(255, 110, 30, .09) 46%, transparent 70%),
    radial-gradient(130% 100% at 50% -20%, #2A211A 0%, #12100E 58%, #0A0908 100%);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .85);
}
.burn__pyre { position: absolute; left: 0; right: 0; bottom: -4%; height: 96%; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.burn__pyre.is-lit { opacity: 1; }
.burn__pyre i {
  position: absolute; bottom: 0; width: 30%; height: 78%;
  border-radius: 50% 50% 44% 44% / 72% 72% 28% 28%;
  background: radial-gradient(50% 60% at 50% 84%, #FFF0C0 0%, #FFB450 26%, #EC5A17 54%, rgba(150, 40, 12, .04) 84%);
  filter: blur(6px); transform-origin: 50% 100%; mix-blend-mode: screen;
  animation: burnTongue 3.2s ease-in-out infinite;
}
.burn__pyre i:nth-child(2) { left: 2%; width: 34%; height: 62%; opacity: .82; animation-delay: .12s; }
.burn__pyre i:nth-child(3) { left: 22%; width: 30%; height: 92%; animation-delay: .34s; }
.burn__pyre i:nth-child(4) { left: 41%; width: 28%; height: 74%; animation-delay: .05s; }
.burn__pyre i:nth-child(5) { left: 58%; width: 30%; height: 98%; animation-delay: .26s; }
.burn__pyre i:nth-child(6) { left: 76%; width: 32%; height: 66%; opacity: .85; animation-delay: .18s; }
@keyframes burnTongue {
  0%, 100% { transform: scale(1, 1) translateY(0) rotate(-2deg); opacity: .78; }
  38% { transform: scale(.9, 1.14) translateY(-3%) rotate(2deg); opacity: 1; }
  64% { transform: scale(.84, 1.2) translateY(-5%) rotate(3.4deg); opacity: .96; }
}
.burn__glow {
  position: absolute; left: 50%; bottom: -26%; width: 170%; height: 150%; margin-left: -85%;
  background: radial-gradient(closest-side, rgba(255, 176, 78, .38), rgba(255, 120, 36, .12) 46%, transparent 72%);
  animation: burnGlowPulse 4.4s ease-in-out infinite;
}
@keyframes burnGlowPulse { 0%, 100% { opacity: .76; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }

/* 한지 — 적은 글은 여기에만 있고, 다 타면 사라진다 */
.burn__paper {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  width: 226px; height: 152px; padding: 18px; border-radius: 5px;
  background: linear-gradient(158deg, #FFFDF8, #F7F0E1 66%, #EFE6D2);
  border: 1px solid rgba(174, 138, 80, .38);
  box-shadow: 0 18px 30px -20px rgba(60, 45, 25, .6), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transform: rotate(-1.4deg);
  transition: transform .24s ease, filter .4s ease;
  will-change: transform, opacity, filter;
}
.burn__paper::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(174, 138, 80, .2); border-radius: 3px; pointer-events: none; }
.burn__paper-text {
  font-family: var(--serif); font-size: 15px; line-height: 1.65; letter-spacing: -.01em;
  color: #3B352C; text-align: center; max-height: 106px; overflow: hidden;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.burn__paper.is-pressing { transform: rotate(-1.4deg) scale(.965); filter: brightness(.98); }
/* 구겨진 덩어리 — 각진 클립과 눌린 명암으로 '뭉친 한지'를 만든다 */
.burn__paper.is-crumpled,
.burn__paper.is-burning {
  border-radius: 46%; border-color: transparent;
  clip-path: polygon(40% 2%, 63% 7%, 82% 18%, 95% 38%, 97% 62%, 86% 82%, 66% 95%, 43% 98%, 22% 90%, 7% 72%, 2% 50%, 9% 24%);
  background:
    repeating-linear-gradient(58deg, rgba(110, 88, 52, .12) 0 1px, rgba(255, 255, 255, 0) 1px 9px),
    repeating-linear-gradient(-36deg, rgba(110, 88, 52, .09) 0 1px, rgba(255, 255, 255, 0) 1px 12px),
    radial-gradient(24% 20% at 26% 20%, rgba(255, 250, 230, .95), rgba(255, 250, 230, 0) 70%),
    radial-gradient(24% 20% at 70% 68%, rgba(120, 96, 58, .65), rgba(120, 96, 58, 0) 72%),
    radial-gradient(20% 16% at 44% 80%, rgba(96, 76, 44, .5), rgba(96, 76, 44, 0) 74%),
    radial-gradient(40% 32% at 64% 30%, rgba(255, 246, 220, .7), rgba(255, 246, 220, 0) 72%),
    linear-gradient(150deg, #E5D5B4, #CCB995 56%, #B7A17A);
  box-shadow: inset -8px -10px 18px rgba(110, 86, 50, .38), inset 6px 8px 16px rgba(255, 252, 240, .55);
}
.burn__paper.is-crumpled::before,
.burn__paper.is-burning::before { opacity: 0; }
/* 묵직하게 — 눌리고, 꺾이고, 단단한 덩어리로 뭉친 뒤 그 자리에 머문다 */
.burn__paper.is-crumpled { animation: burnCrumple 1.08s cubic-bezier(.24, .86, .26, 1) both; }
@keyframes burnCrumple {
  0% { transform: rotate(-1.4deg) scale(1); filter: brightness(1); }
  16% { transform: rotate(2deg) scale(.86) skewX(-6deg); filter: brightness(.97); }
  38% { transform: rotate(-8deg) scale(.62) skewY(8deg) scaleY(.9); filter: brightness(.94); }
  58% { transform: rotate(6deg) scale(.54) scaleX(1.08) scaleY(.86); }
  76% { transform: rotate(-6.5deg) scale(.51) scaleY(.94); }
  100% { transform: rotate(-5deg) scale(.5); }
}
.burn__paper.is-crumpled .burn__paper-text { opacity: 0; transition: opacity .3s ease .25s; }
/* 불은 소각대 위에서 크게 숫는다 — 종이에 갇히지 않게 */
.burn__flame {
  position: absolute; left: 50%; bottom: 12%; width: 74%; height: 62%; margin-left: -37%;
  pointer-events: none; opacity: 0; border-radius: 50%; mix-blend-mode: screen; z-index: 3;
  background: radial-gradient(50% 54% at 50% 82%, rgba(255, 234, 178, .95), rgba(252, 140, 48, .92) 32%, rgba(186, 56, 18, .55) 60%, transparent 78%);
  filter: blur(5px);
}
.burn__stage.is-burning .burn__flame { opacity: 1; animation: burnFlameUp 7.8s cubic-bezier(.3, .5, .45, 1) both; }
@keyframes burnFlameUp {
  0% { transform: scale(.3) translateY(14%); opacity: 0; }
  7% { transform: scale(.66) translateY(8%); opacity: .78; }
  17% { transform: scale(1.04) translateY(0); opacity: 1; }
  38% { transform: scale(1.14) translateY(-4%); opacity: 1; }
  56% { transform: scale(1.22) translateY(-8%); opacity: .98; }
  74% { transform: scale(1.3) translateY(-14%); opacity: .82; }
  88% { transform: scale(1.38) translateY(-22%); opacity: .5; }
  100% { transform: scale(1.46) translateY(-30%); opacity: 0; }
}
/* 종이가 위·아래 가장자리부터 검게 타들어간다 — 검은 띠가 안쪽으로 차오른다 */
.burn__paper.is-burning::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background-image:
    linear-gradient(180deg, #120B07 0%, rgba(24, 15, 9, .96) 62%, rgba(24, 15, 9, 0) 100%),
    linear-gradient(0deg, #120B07 0%, rgba(24, 15, 9, .96) 62%, rgba(24, 15, 9, 0) 100%);
  background-repeat: no-repeat;
  background-position: top center, bottom center;
  background-size: 100% 0%, 100% 0%;
  mix-blend-mode: multiply;
  animation: burnCharEdge 7.8s cubic-bezier(.45, 0, .75, 1) both;
}
@keyframes burnCharEdge {
  0% { background-size: 100% 0%, 100% 0%; }
  100% { background-size: 100% 58%, 100% 58%; }
}
.burn__paper.is-burning { animation: burnAway 7.8s cubic-bezier(.34, 0, .6, 1) both; }
@keyframes burnAway {
  0% { transform: rotate(-5deg) scale(.5); opacity: 1; filter: brightness(1); }
  6% { transform: rotate(-4deg) scale(.54) translateY(-2px); filter: brightness(1.36) saturate(1.25); }
  20% { transform: rotate(-3deg) scale(.55) translateY(-4px); opacity: .99; filter: brightness(1.04) saturate(1.1); }
  42% { transform: rotate(0deg) scale(.51) translateY(-9px); opacity: .97; filter: brightness(.9) saturate(1.04); }
  62% { transform: rotate(3deg) scale(.44) translateY(-18px); opacity: .94; filter: brightness(.7); }
  78% { transform: rotate(6deg) scale(.32) translateY(-36px); opacity: .72; filter: brightness(.4); }
  90% { transform: rotate(8deg) scale(.18) translateY(-56px); opacity: .34; filter: brightness(.18); }
  100% { transform: rotate(9deg) scale(.07) translateY(-72px); opacity: 0; filter: brightness(.06); background: #14100C; }
}
/* 손으로 불을 붙이는 의식 — 구겨진 한지 아래 불씨를 끌어 올리거나, 0.8초 꾹 */
/* 모바일 롱프레스의 '복사하기'·텍스트 선택 메뉴를 소각대 안에서는 아예 띄우지 않는다 */
.burn__stage,
.burn__stage * {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-user-drag: none;
}
.burn__stage.is-ready {
  touch-action: none; -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none; user-select: none;
}
.burn__stage.is-ready * { touch-action: none; }
/* 불씨(성냥) — 히트 영역은 72×72로 넉넉하게, 보이는 성냥은 그 안에 가운데 */
.burn__ember {
  position: absolute; left: 50%; bottom: calc(5% - 16px); width: 72px; height: 72px; margin-left: -36px;
  display: none; align-items: center; justify-content: center;
  border-radius: 50%; z-index: 4; cursor: grab; touch-action: none; outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none;
}
.burn__stage.is-ready .burn__ember { display: flex; animation: emberBreath 2.8s ease-in-out infinite; }
.burn__stage.is-ready .burn__ember:focus-visible { box-shadow: 0 0 0 2px rgba(255, 190, 110, .8); }
.burn__ember.is-grab { cursor: grabbing; animation: none !important; transition: none; }
.burn__ember.is-grab .burn__match { transform: rotate(-6deg) scale(1.06); }
/* 성냥 — 나무 개비 + 머리 + 3중 불꽃. 끌어 올린 거리(--fl)만큼 불꽃이 피어오른다 */
.burn__match {
  display: block; width: 52px; height: 82px; overflow: visible;
  filter: drop-shadow(1px 5px 6px rgba(60, 40, 20, .32));
  transform: rotate(-6deg); transition: transform .18s ease;
}
.burn__match .match-flame {
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: scale(calc(.72 + var(--fl, 0) * .66));
  transition: transform .1s linear;
}
.burn__match .match-flick {
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: matchFlicker 1.15s ease-in-out infinite;
}
.burn__match .match-glow { opacity: calc(.2 + var(--fl, 0) * .6); }
@keyframes matchFlicker {
  0%, 100% { transform: scale(1, 1) rotate(-3deg); }
  34% { transform: scale(.93, 1.07) rotate(2.6deg); }
  68% { transform: scale(1.05, .95) rotate(-1.4deg); }
}
/* 히트 영역이 커져도 성냥이 떠 있는 느낌은 그대로 — 숨쉬기는 밝기로만 */
@keyframes emberBreath {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}
/* 불이 옮겨붙으면 성냥은 손끝에 있던 자리에서 사라진다 */
.burn__stage.is-burning .burn__ember { display: flex; opacity: 0; transition: opacity .34s ease-in; pointer-events: none; animation: none; }
/* 불이 옮겨붙는 순간 — 성냥이 닿은 종이 아래끝에서 불혀가 한 번 타올랐다 꺼진다 */
.burn__flash {
  position: absolute; width: 58px; height: 66px; margin-left: -29px; margin-top: -66px;
  pointer-events: none; z-index: 6; transform-origin: 50% 100%;
  border-radius: 50% 50% 42% 42% / 74% 74% 26% 26%;
  background: radial-gradient(50% 58% at 50% 88%, #FFF6D2 0%, #FFCE62 26%, #FF8A1E 54%, rgba(226, 63, 12, .5) 74%, rgba(226, 63, 12, 0) 88%);
  filter: blur(2.4px);
  animation: burnFlash .82s cubic-bezier(.24, .7, .3, 1) both;
}
@keyframes burnFlash {
  0% { transform: scale(.32, .18); opacity: 0; }
  22% { transform: scale(.86, .78); opacity: 1; }
  55% { transform: scale(1.06, 1.06); opacity: .92; }
  100% { transform: scale(1.42, .3); opacity: 0; }
}

/* 1초 꾹 — 차오르는 게이지 */
.burn__gauge {
  position: absolute; left: 50%; bottom: 31%; width: 112px; height: 3.5px; margin-left: -56px;
  border-radius: 999px; background: rgba(255, 255, 255, .13);
  opacity: 0; transition: opacity .18s ease; z-index: 4; overflow: hidden; pointer-events: none;
}
.burn__stage.is-holding .burn__gauge { opacity: 1; }
.burn__gauge i {
  display: block; height: 100%; width: calc(var(--hold, 0) * 100%);
  border-radius: 999px; background: linear-gradient(90deg, #FFC46A, #FF8A33 60%, #F0561A);
  box-shadow: 0 0 10px rgba(255, 140, 50, .72);
}

/* 진짜 재 — 잿빛·검회색으로 탄 종이 조각. 빛나는 불티 없이, 회전하며 바람에 흔들려 사라진다 */
.burn__ash { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.burn__ash i {
  position: absolute; left: var(--x); bottom: 42%;
  width: var(--sz, 5px); height: calc(var(--sz, 5px) * var(--h, .62));
  opacity: 0;
  border-radius: 44% 56% 40% 60% / 54% 46% 58% 42%;
  background: linear-gradient(138deg, #56514B 0%, #3A3631 48%, #211E1B 100%);
  animation: burnAshDrift var(--du, 3s) cubic-bezier(.25, .5, .4, 1) var(--dl, 0s) forwards;
  will-change: transform, opacity;
}
/* 검게 탄 조각 · 잿빛 · 마른 재 — 밝은 금빛 없이 회색 계열만 */
.burn__ash i:nth-child(2n) { background: linear-gradient(138deg, #2E2B28 0%, #1B1917 58%, #100F0E 100%); }
.burn__ash i:nth-child(3n) { background: linear-gradient(122deg, #6E6862 0%, #4A4540 55%, #2C2925 100%); }
.burn__ash i:nth-child(4n) { background: linear-gradient(165deg, #464240 0%, #2A2724 52%, #191716 100%); }
.burn__ash i:nth-child(5n) { animation-name: burnAshFlutter; }
.burn__ash i:nth-child(7n) { border-radius: 62% 38% 55% 45% / 40% 60% 42% 58%; }
/* 찢긴 탄 종이 조각 — 각진 가장자리, 회전하며 뒤집힌다 */
.burn__ash i:nth-child(6n) { clip-path: polygon(6% 0, 100% 12%, 92% 100%, 0 82%); border-radius: 0; }
.burn__ash i:nth-child(8n) { clip-path: polygon(0 18%, 88% 0, 100% 86%, 14% 100%); border-radius: 0; }
.burn__ash i:nth-child(9n) { clip-path: polygon(0 0, 78% 4%, 100% 52%, 72% 100%, 18% 92%, 4% 46%); border-radius: 0; }
@keyframes burnAshDrift {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg) scale(.86); }
  9% { opacity: .88; transform: translate3d(calc(var(--dx, 0) * .18px), -18px, 0) rotate(calc(var(--rot, 120deg) * .16)) scale(1); }
  40% { opacity: .86; transform: translate3d(calc(var(--dx, 0) * .55px + var(--sway, 8px)), -78px, 0) rotate(calc(var(--rot, 120deg) * .5)); }
  70% { opacity: .52; transform: translate3d(calc(var(--dx, 0) * 1.05px - var(--sway, 8px)), -146px, 0) rotate(calc(var(--rot, 120deg) * .82)) scale(.92); }
  100% { opacity: 0; transform: translate3d(calc(var(--dx, 0) * 1.6px + var(--sway, 8px)), -216px, 0) rotate(var(--rot, 120deg)) scale(.7); }
}
@keyframes burnAshFlutter {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg) scale(.8); }
  10% { opacity: .86; transform: translate3d(calc(var(--dx, 0) * .22px - var(--sway, 8px)), -14px, 0) rotate(40deg) scale(1); }
  42% { opacity: .84; transform: translate3d(calc(var(--dx, 0) * .6px + var(--sway, 8px)), -70px, 0) rotate(150deg) scale(.96); }
  72% { opacity: .5; transform: translate3d(calc(var(--dx, 0) * 1.1px - var(--sway, 8px)), -134px, 0) rotate(260deg) scale(.86); }
  100% { opacity: 0; transform: translate3d(calc(var(--dx, 0) * 1.55px + var(--sway, 8px)), -208px, 0) rotate(400deg) scale(.62); }
}

/* 다 탄 뒤 — 내 사주로 빈자리 채우기 */
.burn__done-title { margin-top: 14px; font-family: var(--serif); font-size: 18px; line-height: 1.55; font-weight: 600; text-align: center; letter-spacing: -.02em; }
.burn__done-sub { margin-top: 8px; font-size: 11.5px; line-height: 1.85; color: var(--mute); text-align: center; }
.burn__done-sub b { color: var(--ink-2); font-weight: 700; }
.burn__rx {
  margin-top: 14px; padding: 13px 15px; border-radius: 14px; text-align: left;
  background: #FBF6EC; border: 1px solid rgba(174, 138, 80, .3);
  font-size: 12.5px; line-height: 1.85; color: #6B5A2E;
}
.burn__rx b { display: block; margin-bottom: 5px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #A9754A; }
.burn__purify {
  position: relative; margin-top: 14px; padding: 20px 16px 16px; border-radius: 18px; overflow: hidden;
  text-align: center; border: 1px solid rgba(174, 138, 80, .22);
  background: linear-gradient(180deg, #EAF3FB, #F8FBFE);
  animation: burnPurifyIn .6s ease-out both;
}
@keyframes burnPurifyIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.burn__hanja {
  position: absolute; right: 12px; top: 4px; font-family: var(--serif); font-size: 54px; line-height: 1;
  color: rgba(40, 60, 80, .08); pointer-events: none;
}
.burn__wave {
  position: absolute; left: 50%; top: 52%; width: 240px; height: 240px; margin: -120px 0 0 -120px;
  border-radius: 50%; border: 1px solid rgba(110, 150, 190, .5); pointer-events: none;
  animation: burnWave 3.2s ease-out infinite;
}
@keyframes burnWave {
  0% { opacity: .55; transform: scale(.2); }
  70% { opacity: .12; }
  100% { opacity: 0; transform: scale(1.25); }
}
.burn__sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.burn__sky i {
  position: absolute; left: var(--x); top: -12%; width: var(--sz); height: var(--sz);
  border-radius: 50%; opacity: 0; background: var(--bp-dot, #8FC2E0);
  animation-name: burnFall; animation-duration: var(--du); animation-delay: var(--dl);
  animation-iteration-count: infinite; animation-timing-function: linear;
}
.burn__purify-name { position: relative; z-index: 2; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #29404F; }
.burn__purify-el { position: relative; z-index: 2; margin-top: 4px; font-size: 10.5px; letter-spacing: .04em; color: rgba(41, 64, 79, .62); }
/* 수 — 시원한 소나기 */
.burn__purify--수 { background: linear-gradient(180deg, #E6F2FA, #F7FBFE 62%, #EFF7FC); }
.burn__purify--수 .burn__sky i { background: linear-gradient(180deg, #CFE8F6, #7FB8DA); border-radius: 50% 50% 60% 60%; }
@keyframes burnFall {
  0% { opacity: 0; transform: translate(0, 0); }
  12% { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1px), 250px); }
}
/* 화 — 따뜻한 햇살 */
.burn__purify--화 { background: linear-gradient(180deg, #FFF6E4, #FFFBF3 60%, #FFF3DE); }
.burn__purify--화 .burn__hanja { color: rgba(170, 90, 30, .1); }
.burn__purify--화 .burn__sky i { background: radial-gradient(circle, #FFE2A6, #F6AE55); animation-name: burnRise; }
@keyframes burnRise {
  0% { opacity: 0; transform: translate(0, 40px) scale(.8); }
  20% { opacity: .95; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1px), -190px) scale(1.2); }
}
/* 목 — 새 바람 */
.burn__purify--목 { background: linear-gradient(180deg, #EDF6E8, #F9FCF6 62%, #EEF6E8); }
.burn__purify--목 .burn__hanja { color: rgba(60, 110, 60, .1); }
.burn__purify--목 .burn__sky i { background: linear-gradient(140deg, #BFE0A0, #6FAE5B); border-radius: 60% 10% 60% 10%; animation-name: burnDrift; }
@keyframes burnDrift {
  0% { opacity: 0; transform: translate(0, -20px) rotate(0); }
  18% { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1px + 26px), 220px) rotate(220deg); }
}
/* 금 — 서늘한 크리스탈 */
.burn__purify--금 { background: linear-gradient(180deg, #F2F5F8, #FCFDFE 62%, #EEF3F7); }
.burn__purify--금 .burn__hanja { color: rgba(90, 110, 125, .1); }
.burn__purify--금 .burn__sky i { border-radius: 1px; background: #CBD9E4; animation-name: burnTwinkle; animation-timing-function: ease-in-out; }
@keyframes burnTwinkle {
  0%, 100% { opacity: 0; transform: scale(.6) rotate(0); }
  50% { opacity: 1; transform: scale(1.3) rotate(45deg); }
}
/* 토 — 고른 황금빛 흙 */
.burn__purify--토 { background: linear-gradient(180deg, #FBF3E1, #FEFBF3 62%, #F7EEDC); }
.burn__purify--토 .burn__hanja { color: rgba(140, 105, 30, .1); }
.burn__purify--토 .burn__sky i { background: radial-gradient(circle, #F7DC9E, #C79A4E); animation-name: burnSettle; animation-timing-function: ease-out; }
@keyframes burnSettle {
  0% { opacity: 0; transform: translate(0, -30px) scale(1.1); }
  30% { opacity: .85; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1px), 150px) scale(.7); }
}

/* 긴급 개운템 팝업 안 — 액운 태우기 입구 */
.burn__entry {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  margin-top: 14px; padding: 12px 14px; border-radius: 14px; text-align: left; font-family: inherit;
  border: 1px solid rgba(196, 92, 44, .3);
  background: linear-gradient(135deg, rgba(196, 92, 44, .12), rgba(174, 138, 80, .08));
  color: #A8562E; font-size: 12.5px; font-weight: 700; line-height: 1.4;
}
.burn__entry i { font-style: normal; font-size: 10px; font-weight: 600; color: #A9754A; }
.burn__entry b { font-size: 10.5px; color: #8A6A3E; white-space: nowrap; }
.burn__upgrade { margin-top: 14px; }

/* 입장 코드 패널 — 지금 적용된 티어 */
.lockpanel__tier {
  margin-top: 7px; padding: 7px 10px; border-radius: 10px;
  font-size: 10.5px; line-height: 1.5; color: #6B5A2E;
  background: rgba(174, 138, 80, .12); border: 1px solid rgba(174, 138, 80, .26);
}
.lockpanel__tier b { font-weight: 800; }
.lockpanel__tier.is-allinone { color: #A5650F; background: rgba(196, 92, 44, .1); border-color: rgba(196, 92, 44, .24); }

@media (prefers-reduced-motion: reduce) {
  .burn__pyre i, .burn__glow, .burn__sky i, .burn__wave, .burn__ash i { animation: none !important; }
  .burn__paper.is-crumpled { animation-duration: .01ms !important; }
  .burn__paper.is-burning { animation: none !important; opacity: 0; }
}

/* ══ ✨ 365일 1줄 성찰 다이어리 ══════════════════════════════════ */
/* 달력 칸의 작은 잉크 펜 점 — 내가 기록을 남긴 날 */
.day__pen {
  position: absolute; top: 4px; right: 5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6E665A 0%, #1B2940 70%, #1A1712 100%);
  box-shadow: 0 0 0 1.5px rgba(255, 253, 247, .86);
  pointer-events: none;
}
.day--noted .day__num { color: var(--ink); font-weight: 700; }
@media (max-width: 360px) { .day__pen { width: 4px; height: 4px; top: 3px; right: 4px; } }

/* 날짜 팝업 안 성찰 섹션 */
.modal__calm {
  margin-top: 8px; font-size: 11px; line-height: 1.65; color: var(--mute);
}
.diary {
  margin-top: 16px; padding: 15px 15px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FBF7EF 0%, #FBF7EF 100%);
  border: 1px solid rgba(28, 24, 19, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
/* ✍️ 오늘 1줄 성찰 쓰기 — 부적 패 위 점프 버튼
   (모바일에서 성찰 입력칸이 화면 밖으로 밀려 '어떻게 작성하니' 하던 문제, 2026-11-20 #8519) */
.diaryjump {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 14px; padding: 9px 14px 10px;
  border-radius: 999px; border: 1px solid rgba(28, 24, 19, .40);
  background: linear-gradient(180deg, #FBF7EF 0%, #FBF7EF 100%);
  color: #4B4438; font-family: inherit;
  font-size: 12.5px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 10px 18px -16px rgba(120, 90, 30, .95), inset 0 1px 0 rgba(255, 255, 255, .85);
  -webkit-tap-highlight-color: transparent;
}
.diaryjump__ico { font-size: 14px; line-height: 1; }
.diaryjump__arw { font-size: 10px; line-height: 1; color: #A5650F; animation: jumpNudge 2.1s ease-in-out infinite; }
.diaryjump:active { transform: translateY(1px); }
.diaryjump:focus-visible { outline: 2px solid #C21F46; outline-offset: 3px; }
@keyframes jumpNudge {
  0%, 68%, 100% { transform: translateY(0); }
  80% { transform: translateY(3px); }
  90% { transform: translateY(1px); }
}
/* 점프해서 내려온 성찰 카드 — 잠깐 금빛으로 반짝 */
.diary.is-jump { animation: diaryJumpGlow 1.5s ease-out 1 both; }
@keyframes diaryJumpGlow {
  0% { box-shadow: 0 0 0 0 rgba(165, 101, 15, .55), inset 0 1px 0 rgba(255, 255, 255, .7); }
  35% { box-shadow: 0 0 0 5px rgba(165, 101, 15, .26), inset 0 1px 0 rgba(255, 255, 255, .7); }
  100% { box-shadow: 0 0 0 0 rgba(165, 101, 15, 0), inset 0 1px 0 rgba(255, 255, 255, .7); }
}
@media (prefers-reduced-motion: reduce) {
  .diaryjump__arw { animation: none; }
  .diary.is-jump { animation: none; }
}

/* 모바일 — 부적 패를 살짝 컴팩트하게: 점프 버튼이 들어와도 성찰 카드 윗부분이 첫 화면에 걸리게 */
@media (max-width: 430px) {
  .modal .diaryjump { margin-top: 11px; }
  .modal .talis-pad { margin-top: 34px; }
  .modal .talis-pad__sheet { padding: 26px 12px 26px; }
  .modal .ritual__tap { width: 146px; height: 146px; }
  .modal .ritual__hold { width: 164px; height: 164px; margin: -82px 0 0 -82px; --hold-w: .85; }
  .modal .ritual__stage { min-height: 214px; }
  .modal .ritual__verse { font-size: 16px; }
  .modal .modal__stamp-note { margin-top: 8px; }
}

.diary__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.diary__eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #6E665A;
}
.diary__day { font-size: 9px; letter-spacing: .06em; color: #CFC6B7; }
.diary__meta { display: flex; align-items: center; gap: 6px; margin-top: 11px; }
.diary__meta .badge { font-size: 9.5px; padding: 3px 7px; }
.diary__tag { font-size: 9.5px; color: var(--mute); letter-spacing: -0.01em; }
.diary__q {
  margin-top: 9px; font-family: var(--serif); font-size: 15.5px; line-height: 1.55;
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  word-break: keep-all;
}
.diary__form { margin-top: 12px; }
/* '다른 질문 ↻' — 질문 바로 아래 작은 알약. 물음표가 많아도 누르면 넘어 간다 (2026-11-22) */
.diary__again {
  appearance: none; display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; padding: 5px 10px; border-radius: 999px;
  background: rgba(28, 24, 19, .04); border: 1px solid rgba(28, 24, 19, .12);
  font-family: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.diary__again span { font-size: 11px; opacity: .8; }
.diary__again:active { background: rgba(28, 24, 19, .09); transform: translateY(1px); }
.diary__input {
  width: 100%; min-height: 62px; resize: none;
  padding: 11px 12px; border-radius: 13px;
  font-family: inherit; font-size: 13px; line-height: 1.6; color: var(--ink);
  background: #FFFFFF; border: 1px solid rgba(28, 24, 19, .12);
  outline: none; -webkit-appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.diary__input::placeholder { color: #9A9084; }
.diary__input:focus {
  border-color: rgba(28, 24, 19, .62);
  box-shadow: 0 0 0 3px rgba(28, 24, 19, .13);
}
.diary__input.is-shake { animation: diaryShake .34s ease-in-out; }
@keyframes diaryShake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-4px); }
  55% { transform: translateX(4px); }
  78% { transform: translateX(-2px); }
}
.diary__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.diary__count { font-size: 9.5px; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.diary__save {
  appearance: none; border: 0; border-radius: 11px; padding: 10px 16px;
  background: #1B2940; color: #FBF7EF; font-family: inherit;
  font-size: 12px; font-weight: 700; letter-spacing: -0.02em;
  transition: transform .16s ease, background .16s ease;
}
.diary__save:active { transform: translateY(1px); background: #1B2940; }
.diary__hint { margin-top: 9px; font-size: 9.5px; line-height: 1.6; color: #9A9084; }
.diary__saved {
  margin-top: 12px; padding: 12px 13px; border-radius: 13px;
  background: #FFFFFF; border: 1px solid rgba(28, 24, 19, .22);
  box-shadow: 0 1px 0 rgba(28, 24, 19, .03);
}
.diary__saved-label { font-size: 9.5px; letter-spacing: .04em; color: #6E665A; }
.diary__saved-text {
  margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--ink);
  white-space: pre-wrap; word-break: break-word;
}
.diary__saved-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed rgba(28, 24, 19, .1);
}
.diary__saved-at { font-size: 9.5px; color: var(--mute); }
.diary__saved-btns { display: flex; gap: 4px; }
.diary__mini {
  appearance: none; background: none; border: 1px solid rgba(28, 24, 19, .14);
  border-radius: 8px; padding: 4px 9px; font-family: inherit;
  font-size: 10px; font-weight: 600; color: var(--ink-2);
}
.diary__mini:active { background: rgba(28, 24, 19, .05); }
/* 성찰 섹션이 열리지 않는 티어(pass·allinone) — 부드러운 안내 */
.diary--locked { text-align: center; }
.diary--locked .diary__q { font-size: 14px; margin-top: 8px; }
.diary__unlock {
  appearance: none; margin-top: 12px; padding: 11px 15px; border-radius: 12px;
  border: 1px solid #1B2940; background: #1B2940;
  color: #FFFFFF; font-family: inherit; font-size: 11.5px; font-weight: 700;
}
.diary__unlock:hover { background: #1A1712; border-color: #1A1712; }

/* 달력 아래 📖 내 성찰 기록 보기 */
.diarybook {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 10px; padding: 12px 14px;
  border-radius: 14px; border: 1px solid rgba(28, 24, 19, .3);
  background: linear-gradient(180deg, #FBF7EF, #FBF7EF);
  color: #4B4438; font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: -0.02em; transition: transform .16s ease, background .16s ease;
}
.diarybook:active { transform: translateY(1px); }
.diarybook__ico { font-size: 14px; line-height: 1; }
.diarybook__n {
  margin-left: 2px; padding: 1px 7px; border-radius: 999px;
  background: #1B2940; color: #FBF7EF; font-size: 9.5px; font-weight: 700;
}

/* ── ⚡ 달력 카드 하단 · 긴급 개운템 바로가기 (2026-11-22) ─────────────────
   달력 그리드를 다 본 자리에서 '오늘 유독 막혔다'는 손님을 바로 개운템으로.
   누르면 #careCard 로 부드럽게 이동하고 한 번 반짝인다 — 소리 없이(jumpToSection). */
.carejump {
  display: flex; align-items: center; gap: 9px;
  width: 100%; margin-top: 10px; padding: 11px 13px;
  border: 1px solid rgba(165, 101, 15, .26); border-radius: 14px;
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(165, 101, 15, .12), transparent 64%),
    #FFFBF2;
  color: #7C2D12; font-family: inherit; font-size: 11.5px; font-weight: 700;
  line-height: 1.45; letter-spacing: -.02em; text-align: left; word-break: keep-all;
  box-shadow: 0 8px 18px -14px rgba(146, 64, 14, .85);
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, filter .18s ease;
}
.carejump:active { transform: translateY(1px); filter: brightness(.985); }
.carejump__ic {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: linear-gradient(135deg, #A5650F, #8A4E0B); color: #FFF3CF;
  font-size: 13px; line-height: 1;
  box-shadow: 0 5px 12px -8px rgba(146, 64, 14, .9);
}
.carejump__txt { flex: 1 1 auto; min-width: 0; }
.carejump__txt b { font-weight: 800; color: #8A4E0B; }
.carejump__ar { margin: 0 2px; font-weight: 800; color: #A5650F; }
.carejump__go {
  flex: none; font-size: 12px; font-weight: 800; color: #A5650F;
  animation: carejumpNudge 2.6s ease-in-out infinite;
}
@keyframes carejumpNudge {
  0%, 58%, 100% { transform: translateY(0); opacity: .5; }
  70% { transform: translateY(2px); opacity: 1; }
  82% { transform: translateY(0); opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .carejump__go { animation: none; opacity: .75; }
}

/* 📖 내 성찰 기록 팝업 */
.modal__dialog--dbook { max-width: 420px; }
.dbook__title {
  font-family: var(--serif); font-size: 23px; line-height: 1.35;
  margin-top: 6px; letter-spacing: -0.02em; padding-right: 40px;
}
.dbook__sub { margin-top: 8px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); }
.dbook__sub b { color: #C21F46; }
.dbook__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.dbook__act {
  appearance: none; padding: 10px 8px; border-radius: 12px;
  border: 1px solid rgba(28, 24, 19, .12); background: #FBF7EF;
  color: var(--ink-2); font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: -0.02em; transition: transform .16s ease;
}
.dbook__act--gold { background: #FDF3DD; border-color: rgba(28, 24, 19, .42); color: #4B4438; }
.dbook__act:active { transform: translateY(1px); }
/* + 오늘 성찰 바로 쓰기 — 기록 보기에서도 오늘 성찰칸으로 바로 */
.dbook__today {
  display: block; width: 100%; margin-top: 12px; padding: 10px 14px 11px;
  border-radius: 999px; border: 1px solid rgba(28, 24, 19, .42);
  background: linear-gradient(180deg, #FBF7EF 0%, #FBF7EF 100%);
  color: #4B4438; font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 8px 16px -14px rgba(120, 90, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .8);
  -webkit-tap-highlight-color: transparent;
}
.dbook__today:active { transform: translateY(1px); }
.dbook__today:focus-visible { outline: 2px solid #C21F46; outline-offset: 3px; }
.dbook__list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.dbook__item {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 8px;
  width: 100%; padding: 12px 13px; border-radius: 14px; text-align: left;
  background: #FFFFFF; border: 1px solid rgba(28, 24, 19, .08);
  font-family: inherit; transition: background .16s ease, border-color .16s ease;
}
.dbook__item:active { background: #FBF7EF; }
.dbook__date {
  font-size: 11px; font-weight: 700; color: var(--ink-2);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.dbook__date em { font-style: normal; font-size: 9.5px; color: var(--mute); margin-left: 2px; }
.dbook__item .badge { justify-self: start; font-size: 9.5px; padding: 3px 7px; }
/* 🌙 저녁 1초 체크 + ✍️ 1줄 성찰을 한 날짜 안에 (2026-11-25 #3581) */
.dbook__tags { grid-column: 2; justify-self: start; display: flex; flex-wrap: wrap; gap: 4px; }
.dbook__chip {
  font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px;
  background: #F2EDE3; color: #6E5A2A; letter-spacing: -.01em; white-space: nowrap;
}
.dbook__memo {
  grid-column: 1 / -1; font-size: 11px; line-height: 1.55; color: #6E665A;
  letter-spacing: -.01em; word-break: break-word;
}
.dbook__memo::before { content: "🌙 "; font-size: 10px; }
.dbook__item--night { background: #FFFDF7; }
.dbook__q {
  grid-column: 1 / -1; font-size: 10px; line-height: 1.55; color: #9A9084;
  letter-spacing: -0.01em;
}
.dbook__a {
  grid-column: 1 / -1; font-size: 12.5px; line-height: 1.65; color: var(--ink);
  white-space: pre-wrap; word-break: break-word;
}
.dbook__empty { margin-top: 20px; padding: 22px 18px; border-radius: 16px; text-align: center; background: #FBF7EF; border: 1px dashed rgba(28, 24, 19, .34); }
.dbook__empty-title { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.dbook__empty-sub { margin-top: 7px; font-size: 10.5px; line-height: 1.7; color: var(--mute); }
.dbook__note {
  margin-top: 14px; padding: 11px 13px; border-radius: 12px;
  background: #FBF7EF; border: 1px dashed rgba(28, 24, 19, .4);
  font-size: 10px; line-height: 1.7; color: #6E665A;
}
.dbook__note b { color: #4B4438; }

/* ==========================================================
   🎁 내 사주 타이밍 달력 무료 이용법 (2026-11-25 #3581)
   · `🎁 첫 3일 특별 선물 보기` 바로 아래 띠 + 누르면 열리는 팝업.
   · 띠는 크림색 카드가 쌓인 자리에서 바로 눈에 들어오도록 짙은 남색 + 금색.
     (빨간 경고·깜박임 없이 '고급 웰니스' 톤 유지)
   ========================================================== */
.freebar {
  position: relative; display: flex; align-items: center; gap: 11px;
  width: 100%; margin: 10px 0 2px; padding: 13px 14px;
  border-radius: 16px; border: 1px solid rgba(201, 138, 34, .55);
  background: linear-gradient(135deg, #1B2940 0%, #24334C 55%, #1B2940 100%);
  box-shadow: 0 14px 26px -20px rgba(15, 22, 33, .85);
  font-family: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.freebar:active { transform: translateY(1px); }
.freebar:focus-visible { outline: 2px solid #C21F46; outline-offset: 3px; }
.freebar__ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #FBE4B2 0%, #D9A24A 72%);
  font-size: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16);
}
.freebar__b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.freebar__t { font-size: 13px; font-weight: 800; color: #FFFFFF; letter-spacing: -.02em; word-break: keep-all; }
.freebar__d { font-size: 10.5px; font-weight: 600; color: #E8CE9B; letter-spacing: -.01em; }
.freebar__ar { flex: none; color: #E8CE9B; font-size: 17px; font-weight: 700; line-height: 1; }

/* 팝업 — 혜택 두 가지를 카드 두 장으로만 (글을 늘어놓지 않는다) */
.modal__dialog--free { max-width: 420px; }
.fhow__title {
  font-family: var(--serif); font-size: 22px; line-height: 1.4;
  margin-top: 6px; letter-spacing: -.02em; padding-right: 34px;
}
.fhow__sub { margin-top: 8px; font-size: 11.5px; line-height: 1.6; color: var(--ink-2); }
.fhow__card {
  margin-top: 14px; padding: 15px 15px 14px; border-radius: 18px;
  background: #FFFFFF; border: 1px solid rgba(28, 24, 19, .10);
  box-shadow: 0 10px 24px -22px rgba(28, 24, 19, .85);
}
.fhow__head { display: flex; align-items: center; gap: 8px; margin: 0; }
.fhow__n {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #F3EDE0; color: #8A4E0B; font-size: 11px; font-weight: 800;
}
.fhow__t { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.fhow__d { margin: 8px 0 0; font-size: 11.5px; line-height: 1.72; color: var(--ink-2); word-break: keep-all; }
.fhow__d b { color: #8A4E0B; font-weight: 800; }
.fhow__ladder {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  margin: 12px 0 0; padding: 0; list-style: none;
}
.fhow__ladder li {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 9px 4px 8px; border-radius: 12px; text-align: center;
  background: #FBF7EF; border: 1px solid rgba(165, 101, 15, .16);
}
.fhow__ladder b { font-size: 10px; font-weight: 700; color: var(--mute); letter-spacing: -.01em; }
.fhow__ladder strong { font-size: 14px; font-weight: 800; color: #8A4E0B; letter-spacing: -.03em; }
.fhow__note { margin: 9px 0 0; font-size: 10px; line-height: 1.55; color: var(--mute); }
.fhow__note b { color: #8A4E0B; font-weight: 800; }
.fhow__go {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; margin-top: 12px; padding: 13px 12px; border-radius: 13px;
  background: var(--navy); color: #FFFFFF; text-decoration: none;
  font-size: 12.5px; font-weight: 800; letter-spacing: -.02em;
}
.fhow__go:active { transform: translateY(1px); }
.fhow__go--kakao { background: #FEE500; color: #3C1E1E; border: 1px solid rgba(60, 30, 30, .10); }
.fhow__foot { margin: 16px 0 0; font-size: 10.5px; text-align: center; color: var(--mute); }

/* ==========================================================
   2026-11-20 · 달력 '시원한 여백' 개편 (피드백 #8759 #8764)
   "달력이 포인트인데 너무 갑갑한 느낌" → 달력이 화면의 주인공이 되게
   ① 모바일 풀폭 + 칸 높이·여백 확대
   ② 달력 위에 쌓여 있던 안내를 달력 아래 접이식으로
   ③ 칸 안 글씨는 가볍게, 다섯 기운은 은은한 파스텔 톤으로 구분
   ========================================================== */

/* ── ② 사주를 열면 히어로는 얇은 브랜드 줄로 접힌다 ────────── */
body.is-result .hero { padding: 18px 16px 0; }
body.is-result .hero__eyebrow { font-size: 8.5px; letter-spacing: .24em; }
body.is-result .hero__title {
  font-size: 15.5px; line-height: 1.35; margin-top: 5px;
  font-weight: 600; letter-spacing: -0.02em;
}
body.is-result .hero__title br { display: none; }
body.is-result .hero__title em { white-space: nowrap; }
body.is-result .hero__hook,
body.is-result .hero__facts { display: none; }
body.is-result .savedbar { padding: 14px 4px 0; }

/* ── ③ 칸 — 높이를 키우고, 배지의 흰 알약을 걷어 글자만 남긴다 ── */
.cal { padding-top: 10px; row-gap: 5px; column-gap: 3px; }
.day { min-height: 74px; padding: 8px 0 10px; border-radius: 14px; gap: 4px; }
.day__top { gap: 1px; }
.day__num { width: 26px; height: 26px; font-size: 13.5px; }
.day__badges { width: 100%; gap: 2px; min-height: 15px; padding: 0; }
.day__badge {
  font-size: 9px; line-height: 1; font-weight: 700; letter-spacing: -0.02em;
  padding: 2.5px 4px; border-radius: 4px;
}
/* 1안 — 배지는 1안 상태 컬러의 파스텔 알약으로 또렷하게 (칸 안에서 두 개까지 한 줄에) */
.day__badge.badge--red { background: var(--warn-bg); color: var(--warn-ink); box-shadow: inset 0 0 0 1px rgba(194, 31, 70, .14); }
.day__badge.badge--gold { background: var(--mid-bg); color: var(--mid-ink); box-shadow: inset 0 0 0 1px rgba(165, 101, 15, .14); }
.day__badge.badge--blue { background: var(--good-bg); color: var(--good-ink); box-shadow: inset 0 0 0 1px rgba(6, 127, 91, .14); }
.day__badge.badge--gray { background: var(--mid-bg); color: var(--mid-ink); box-shadow: inset 0 0 0 1px rgba(165, 101, 15, .14); }

/* 다섯 기운 모두 은은한 파스텔 바탕 + 얇은 링으로 구분 */
.day--t-red { background: rgba(194, 31, 70, .055); box-shadow: inset 0 0 0 1px rgba(194, 31, 70, .12); }
.day--t-gold { background: rgba(165, 101, 15, .055); box-shadow: inset 0 0 0 1px rgba(165, 101, 15, .14); }
.day--t-blue { background: rgba(6, 127, 91, .055); box-shadow: inset 0 0 0 1px rgba(6, 127, 91, .12); }
.day--t-gray { background: rgba(165, 101, 15, .07); box-shadow: inset 0 0 0 1px rgba(165, 101, 15, .14); }
.day--t-red:hover, .day--t-gold:hover, .day--t-blue:hover, .day--t-gray:hover { background-image: none; }
.day.is-sel { background: rgba(28, 24, 19, .045); }
/* 지난 날은 바탕을 비우고, 아주 옅은 기운 색만 남긴다 */
.day--past { background: none; box-shadow: none; }
body[data-trial="off"] .day--past.day--t-red { background: rgba(194, 31, 70, .042); }
body[data-trial="off"] .day--past.day--t-gold { background: rgba(165, 101, 15, .055); }
body[data-trial="off"] .day--past.day--t-blue { background: rgba(6, 127, 91, .045); }
body[data-trial="off"] .day--past.day--t-gray { background: rgba(165, 101, 15, .055); }
.day--static:hover { background-image: none; }
/* 모아보기 하이라이트는 링 두 겹으로 — 틴트 위에서도 또렷하게 */
.cal .day.day--pick { box-shadow: inset 0 0 0 2px rgba(28, 24, 19, .18); }
/* 무료 체험 구간(오늘~D+2) 금빛 링은 틴트 위에서도 살아 있게 */
.day--free { box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .22); }

/* 부적 스티커는 날짜 숫자를 가리지 않고 나란히 앉는다 (칸이 넓어진 만큼) */
.day__sticker { width: 21px; height: 21px; margin: -2px 0 0 -1px; }

/* 성찰 펜 점 — 스티커(오른쪽 위)·배지(가운데)와 부딪히지 않게 오른쪽 아래 구석 */
.day__pen { top: auto; bottom: 7px; right: 8px; }

/* ── ② 달력 아래로 내린 안내 — '이 캘린더 보는 법' 접이식 ────── */
.howto { padding: 0; margin-top: 12px; }
.howto__sum {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 14px; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.howto__sum::-webkit-details-marker { display: none; }
.howto__sum:focus-visible { outline: 2px solid rgba(28, 24, 19, .55); outline-offset: 2px; border-radius: 13px; }
.howto__title { font-size: 11px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-2); }
.howto__hint { flex: 1 1 auto; text-align: right; font-size: 9.5px; color: var(--mute); letter-spacing: -0.01em; }
.howto__ic { font-size: 11px; line-height: 1; color: var(--mute); transition: transform .2s ease; }
.howto[open] .howto__ic { transform: rotate(180deg); }
.howto .howto__list { margin: 0; padding: 2px 14px 0; }
.howto .howto__free { margin: 10px 0 0; padding: 10px 14px 0; }
.howto .howto__free + .howto__free { margin-top: 6px; padding-top: 0; border-top: 0; }
.howto[open] { padding-bottom: 14px; }

/* '2027년 한눈에' — 달력 아래 접이식 카드 (요약 줄에 조심할 달·좋은 달을 미리) */
.yearfold { padding: 0; overflow: hidden; }
.yearfold__sum {
  display: flex; align-items: center; gap: 8px;
  padding: 17px 18px; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.yearfold__sum::-webkit-details-marker { display: none; }
.yearfold__sum:focus-visible { outline: 2px solid rgba(28, 24, 19, .55); outline-offset: -4px; border-radius: 16px; }
.yearfold__t { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.yearfold__meta { flex: 1 1 auto; text-align: right; font-size: 10px; color: var(--mute); letter-spacing: -0.01em; }
.yearfold__ic { font-size: 11px; line-height: 1; color: var(--mute); transition: transform .2s ease; }
.yearfold[open] .yearfold__ic { transform: rotate(180deg); }
.yearfold__body { padding: 0 18px 18px; }
.yearfold[open] .yearfold__sum { padding-bottom: 6px; }

/* 달력 카드 안 — 달력과 안내 사이에 숨통 */
.cal__dow { padding-bottom: 9px; }
.cal__dow span { font-size: 10px; }
.card--cal .calfilter { margin: 12px 2px 2px; }
.cal__note { margin-top: 14px; }
/* 달력 위로 올라간 안내 (2026-11-23 5차) — 요약 줄과 붙어 서고, 필터·그리드와는 살짝 띄운다 */
.card--cal .cal__note--top { margin-top: 8px; }
.card--cal .cal__note--top + .calfilter { margin-top: 8px; }

/* ── ① 모바일: 달력이 화면 가로를 다 쓰고, 칸이 넉넉해진다 ──── */
@media (max-width: 640px) {
  .card--cal {
    margin-left: -16px; margin-right: -16px;
    padding: 16px 8px 16px;
    border-left: 0; border-right: 0; border-radius: 0;
  }
  .cal__head { padding: 0 10px; }
  .cal__title { font-size: 25px; }
  .cal__title-wrap { padding: 0 2px; }
  .navbtn { width: 38px; height: 38px; font-size: 17px; }
  .cal__saeun { margin-top: 8px; font-size: 9.5px; padding: 4px 12px; }
  .cal__summary { margin-top: 7px; font-size: 10.5px; }

  .cal { padding-top: 9px; row-gap: 5px; column-gap: 2px; }
  .day { min-height: 74px; padding: 8px 0 10px; border-radius: 13px; }
  .day__num { width: 27px; height: 27px; font-size: 14px; }
  .day__badge { font-size: 9.2px; letter-spacing: -0.03em; }

  .cal__tools { margin: 12px 4px 0; }
  .howto { margin: 10px 0 0; }
  .yearfold__sum { padding: 16px; }
  .yearfold__body { padding: 0 16px 16px; }

  /* 2027 대표 부적 — 대문 히어로 (2026-11-22 2차: 중간 크기 · 약 320px)
     부적이 주인공이되 아래 달력이 첫 화면에 걸치도록 여백·크기를 줄였다. */
  .talis-banner { padding: 10px 14px 9px; }
  .talis-banner__stage .talis-plaque { font-size: 10.8px; }
  .talis-banner__eyebrow { font-size: 7.2px; letter-spacing: .22em; }
  .talis-banner__title { font-size: 13px; margin-top: 3px; }
  .talis-banner__name { font-size: 12px; margin-top: 6px; }
  .talis-banner__verse { margin-top: 4px; font-size: 11px; line-height: 1.55; }
  .talis-banner__hint { font-size: 9.5px; margin-top: 1px; }
  .talis-banner__reveal { font-size: 12.5px; margin-top: 4px; min-height: 2.55em; }
  .talis-banner__more { margin-top: 4px; padding: 4px 11px; font-size: 9.5px; }

  /* 내 사주 요약 — 여백은 남기고 군더더기만 덜어 낸다 */
  .card--natal { padding: 18px 15px 14px; }
  .natal { margin-top: 12px; row-gap: 6px; padding: 11px 0 9px; }
  .natal__tile { width: 36px; height: 36px; font-size: 19px; border-radius: 11px; }
  .card--natal .micro { margin-top: 10px; font-size: 9.5px; line-height: 1.6; }
  .card--natal .sec__title { font-size: 16px; }
}

@media (max-width: 360px) {
  .card--cal { margin-left: -16px; margin-right: -16px; padding: 14px 6px 14px; }
  .talis-banner__verse { font-size: 10.2px; line-height: 1.52; }
  .day { min-height: 68px; padding: 7px 0 9px; }
  .day__num { width: 25px; height: 25px; font-size: 12.5px; }
  .day__badge { font-size: 8.8px; }
  .day__sticker { width: 19px; height: 19px; margin: -1px 0 0 -1px; }
  .day__pen { top: auto; bottom: 6px; right: 7px; width: 4px; height: 4px; }
  .talis-plaque { font-size: 7.8px; }
}

@media (min-width: 420px) {
  .day__sticker { width: 23px; height: 23px; margin: -2px 0 0 0; }
}

@media (min-width: 641px) {
  .cal { row-gap: 6px; column-gap: 4px; }
  .day { min-height: 84px; padding: 10px 0 12px; border-radius: 16px; }
  .day__num { width: 30px; height: 30px; font-size: 14.5px; }
  .day__badge { font-size: 10.5px; }
  .day__sticker { width: 26px; height: 26px; margin: -3px 0 0 1px; }
  .card--cal { padding: 24px 16px 20px; }
}

/* ══ 첫 부적 말풍선 (2026-11-21) ════════════════════════════════════
   첫 방문 3단계 안내는 한 줄 바 대신 큰 팝업(.guide)으로 옮겼다 (2026-11-21c). */

/* 부적이 나오는 날 칸 — 말풍선이 가리키는 칸은 테두리로 한 번 더 */
.day--hint { box-shadow: inset 0 0 0 1.5px rgba(28, 24, 19, .5); }

.day__hint {
  position: absolute; z-index: 7;
  bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
  padding: 5px 9px; border-radius: 10px;
  background: #1B2940; color: #FFFCF2;
  font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em;
  white-space: nowrap; pointer-events: none;
  max-width: calc(100vw - 20px);
  box-shadow: 0 5px 12px rgba(28, 24, 19, .24);
  animation: hintGlow 2.4s ease-in-out infinite;
}
.day__hint b { font-weight: 400; }
.day__hint::after {
  content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px;
  border: 5px solid transparent; border-top-color: #1B2940;
}
.day__hint--l { left: 0; transform: none; }
.day__hint--l::after { left: 22px; margin-left: 0; }
.day__hint--r { left: auto; right: 0; transform: none; }
.day__hint--r::after { left: auto; right: 22px; margin-left: 0; }
.day__hint--down { bottom: auto; top: calc(100% + 7px); }
.day__hint--down::after {
  top: auto; bottom: 100%;
  border-top-color: transparent; border-bottom-color: #1B2940;
}
@keyframes hintGlow {
  0%, 100% { box-shadow: 0 5px 12px rgba(28, 24, 19, .24); }
  50% { box-shadow: 0 5px 15px rgba(28, 24, 19, .3), 0 0 0 3px rgba(165, 101, 15, .22); }
}

/* 입장 코드 패널 — 6자리 코드 안내 한 줄 */
.lockpanel__hint {
  margin-top: 5px; font-size: 9.5px; line-height: 1.55; color: #6E665A;
  letter-spacing: -.01em;
}
.lockpanel__hint b { font-weight: 800; color: #4B4438; }

@media (max-width: 360px) {
  .day__hint { font-size: 9.5px; padding: 4px 7px; }
  .cal__help { font-size: 11px; padding: 5px 10px; }
  .guide__title { font-size: 18px; }
  .guide__title-em { font-size: 26px; }
  .guide-step { padding: 10px 11px 11px 10px; gap: 9px; }
  .guide-step__n { width: 26px; height: 26px; font-size: 12.5px; }
  .guide-step__t { font-size: 13.5px; }
  .guide-step__d { font-size: 10.5px; }
  .guide__cta { font-size: 15px; padding: 13px 14px 14px; }
  .welcome__title { font-size: 18px; }
  .welcome__title-em { font-size: 26px; }
  .welcome__intro { font-size: 11.8px; }
}

/* ══ 달력 상단 `? 사용법` · 🎁 친구초대·케미 버튼 (1안 · 2026-11-21) ══
   첫 방문 팝업을 닫은 뒤에도 언제든 다시 열 수 있게, 달력 카드 오른쪽 위에
   흰 알약 두 개로 나란히 둔다. */
.cal__toolbar {
  display: flex; justify-content: flex-end;
  margin: -6px -2px 2px;
}
.cal__help {
  display: inline-flex; align-items: center; gap: 5px;
  appearance: none; cursor: pointer;
  padding: 6px 12px 6px 7px; border-radius: 999px;
  border: 1px solid #E8E0D2;
  background: #FFFFFF;
  color: #1B2940; font-family: inherit;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  box-shadow: 0 2px 10px rgba(28, 24, 19, .04);
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, background .16s ease;
}
.cal__help:hover { background: #FBF7EF; border-color: #CFC6B7; }
.cal__help:active { transform: translateY(1px); }
.cal__help:focus-visible { outline: 2px solid #1B2940; outline-offset: 2px; }
.cal__help-q {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #1B2940; color: #F6F1E7;
  font-family: var(--serif); font-size: 10px; font-weight: 700;
  line-height: 1; letter-spacing: 0;
}

/* ══ 1차 · 첫 접속 웰컴 팝업 (2026-11-21j) ═══════════════════════════
   사주를 넣기 전, 처음 온 기기에만 한 번 뜨는 **작고 콤팩트한 소개**.
   사용법 1~4단계는 여기 넣지 않는다 — 사주 입력 뒤 달력이 열릴 때 뜨는
   2차 팝업(.modal--guide)의 역할이라, 이 팝업은 '뭔지 + 넣기'만 말한다. */
.modal__dialog--welcome {
  max-width: 336px;
  background:
    radial-gradient(120% 78% at 102% -8%, rgba(165, 101, 15, .2), transparent 56%),
    radial-gradient(90% 70% at -10% 110%, rgba(28, 24, 19, .13), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);
  box-shadow:
    0 34px 74px -28px rgba(28, 24, 19, .62),
    inset 0 0 0 1px rgba(28, 24, 19, .24),
    0 2px 8px rgba(28, 24, 19, .1);
}
.modal--welcome .modal__content { padding: 0 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
.welcome { text-align: center; }
/* 🎁 사주를 넣는 날부터 3일 무료 — 콤팩트 한 줄 배지 */
.welcome__trial {
  display: inline-block;
  margin: 2px auto 0; padding: 7px 14px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FDF3DD 0%, #FBE4B2 100%);
  border: 1px solid rgba(28, 24, 19, .58);
  color: #1B2940;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3;
  box-shadow: 0 8px 18px -12px rgba(28, 24, 19, .95), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.welcome__trial b { color: #C21F46; font-weight: 800; }
/* 🎁 친구 초대 링크로 온 손님 — 5일 + 액운 태우기 1회 더 (2026-11-21) */
.welcome__invite {
  display: block; width: -moz-fit-content; width: fit-content; max-width: 100%;
  margin: 7px auto 0; padding: 5px 11px 6px;
  border-radius: 999px;
  background: #ECFDF5; border: 1px solid rgba(6, 127, 91, .45);
  color: #065F46; font-size: 9.5px; font-weight: 700; letter-spacing: -.02em; line-height: 1.4;
}
.welcome__invite b { color: #067F5B; font-weight: 800; }
.welcome__title {
  margin-top: 12px;
  font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.26;
  letter-spacing: -.03em; color: #6E665A;
}
.welcome__title-em {
  display: block; margin-top: 1px;
  font-size: 29px; font-weight: 700; line-height: 1.16;
  letter-spacing: -.045em; color: var(--ink);
}
.welcome__intro {
  margin: 11px auto 0; max-width: 272px;
  font-size: 12.2px; line-height: 1.62; letter-spacing: -.03em;
  color: #6E665A; word-break: keep-all;
}
.welcome__intro b { color: #A5650F; font-weight: 800; }
/* 액운 태우기 훅 1줄 — 3일 체험과 모순 없게 '5회' 숫자는 빼고 맛보기만 알린다 (2026-11-21j) */
.welcome__hook {
  margin: 10px auto 0; max-width: 272px;
  padding: 8px 11px 9px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(252, 241, 214, .92) 0%, rgba(245, 231, 199, .92) 100%);
  border: 1px solid rgba(28, 24, 19, .34);
  font-size: 11.2px; font-weight: 600; line-height: 1.5;
  letter-spacing: -.03em; color: #4B4438; word-break: keep-all;
}
.welcome__hook b { color: #C21F46; font-weight: 800; }
.welcome__hook-free { white-space: nowrap; color: #4B4438; }
.welcome__hook--diary { margin-top: 6px; }
.welcome__hook--diary b { color: #A5650F; }
.welcome__cta { margin-top: 12px; padding: 15px 16px 16px; font-size: 16px; }
.welcome__note {
  margin-top: 9px; font-size: 9.5px; line-height: 1.5;
  color: #9A9084; letter-spacing: -.02em; word-break: keep-all;
}

/* ══ 첫 방문 사용법 팝업 (2026-11-21c) ════════════════════════════════
   한지 바탕 + 금박 테두리 · 큰 글씨 3단계로 1초에 읽히게.
   localStorage 로 최초 1회만 자동으로 뜬다. */
.modal__dialog--guide {
  max-width: 400px;
  background:
    radial-gradient(120% 78% at 102% -8%, rgba(165, 101, 15, .18), transparent 56%),
    radial-gradient(90% 70% at -10% 110%, rgba(28, 24, 19, .13), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FBF7EF 100%);
  box-shadow:
    0 34px 74px -28px rgba(28, 24, 19, .62),
    inset 0 0 0 1px rgba(28, 24, 19, .24),
    0 2px 8px rgba(28, 24, 19, .1);
}
/* ══ 2차 사용법 팝업은 '달력이 처음 열릴 때' 뜨므로(2026-11-21j)
   390×844에서 화면을 꽉 채우지 않게 여백·줄간격을 슬림하게 — 높이 약 70%. */
.modal--guide .modal__content { padding-top: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.guide { text-align: center; }
.guide__eyebrow {
  font-size: 8.5px; font-weight: 700; letter-spacing: .24em;
  color: #A5650F; line-height: 1.5;
}
/* 🎁 3일 무료 체험 배지 — 판매 모드이고 아직 코드를 넣지 않았을 때만 (2026-11-21d) */
.guide__trial {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  width: -moz-fit-content; width: fit-content; max-width: 100%;
  margin: 7px auto 0; padding: 7px 13px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FDF3DD 0%, #FBE4B2 100%);
  border: 1px solid rgba(28, 24, 19, .58);
  box-shadow: 0 8px 18px -12px rgba(28, 24, 19, .95), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.guide__trial[hidden] { display: none; }
.guide__trial-h {
  font-size: 11.5px; font-weight: 800; letter-spacing: -.035em;
  color: #1B2940; line-height: 1.3;
}
.guide__trial-h b { color: #C21F46; font-weight: 800; }
.guide__trial-s {
  font-size: 9px; font-weight: 600; letter-spacing: -.02em;
  color: #6E665A; line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
/* 체험이 끝난 기기 — 금빛 배지 대신 차분한 회갈색으로 '끝났어요'를 알린다 */
.guide__trial.is-over {
  background: linear-gradient(180deg, #F6F1E7 0%, #E8E0D2 100%);
  border-color: rgba(123, 114, 98, .45);
  box-shadow: 0 6px 14px -12px rgba(70, 64, 52, .8), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.guide__trial.is-over .guide__trial-h { color: #6E665A; }
.guide__trial.is-over .guide__trial-s { color: #6E665A; }
.guide__title {
  font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.24;
  letter-spacing: -.03em; color: #6E665A; margin-top: 7px;
}
.guide__title-em {
  display: block; font-size: 29px; font-weight: 700; color: var(--ink);
  letter-spacing: -.045em; margin-top: 1px; line-height: 1.14;
}
.guide__sub {
  margin-top: 7px; font-size: 10.5px; line-height: 1.5;
  color: #6E665A; letter-spacing: -.02em;
}
/* 이 캘린더가 무엇인지 1초에 읽히는 소개 (2026-11-21d — 1차 웰컴 팝업으로 이동, 21j) */
.guide__intro {
  margin: 11px auto 0; max-width: 300px;
  font-size: 12.5px; line-height: 1.62; letter-spacing: -.03em;
  color: #6E665A; word-break: keep-all;
}
.guide__intro b { color: #A5650F; font-weight: 800; }
.guide__intro + .guide__sub { margin-top: 6px; font-size: 10.5px; color: #9A9084; }

.guide__steps {
  margin-top: 13px; display: flex; flex-direction: column; gap: 7px;
  text-align: left;
}
.guide-step {
  display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px;
  padding: 11px 13px 12px 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(28, 24, 19, .26);
  box-shadow: 0 10px 22px -20px rgba(28, 24, 19, .7), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.guide-step__n {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #FDF3DD 0%, #FBE4B2 100%);
  color: #1B2940; font-family: var(--serif); font-size: 13.5px; font-weight: 700; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(28, 24, 19, .45), 0 2px 5px -3px rgba(28, 24, 19, .85);
  margin-top: 1px;
}
.guide-step__body { min-width: 0; }
.guide-step__t {
  font-size: 14px; font-weight: 800; letter-spacing: -.038em;
  color: var(--ink); line-height: 1.32;
}
.guide-step__d {
  margin-top: 2px; font-size: 10.8px; line-height: 1.5;
  color: #6E665A; letter-spacing: -.02em; word-break: keep-all;
}
.guide-step__badges {
  display: flex; flex-wrap: wrap; gap: 3.5px; margin-top: 6px;
}
.guide-step__badges .badge {
  font-size: 9px; font-weight: 700; padding: 3px 7px;
}

/* 사용법 팝업 — 1줄 성찰 다이어리 3회 무료 체험 한 줄 (2026-11-21) */
.guide__free {
  margin: 12px 2px 0; text-align: center; font-size: 10.8px; line-height: 1.65;
  letter-spacing: -.02em; color: #6E665A; word-break: keep-all;
}
.guide__free b { color: #A5650F; font-weight: 800; }
.guide__cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 13px; padding: 14px 16px 15px;
  border-radius: 15px; border: 1px solid rgba(28, 24, 19, .52);
  background: linear-gradient(180deg, #1B2940 0%, #1B2940 100%);
  color: #FDF3DD; font-family: inherit;
  font-size: 16px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  box-shadow: 0 16px 30px -20px rgba(28, 24, 19, .95), inset 0 1px 0 rgba(255, 255, 255, .13);
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, box-shadow .16s ease;
}
.guide__cta:active { transform: translateY(1px); }
.guide__cta:focus-visible { outline: 2px solid #4B4438; outline-offset: 3px; }

/* 짧은 화면(높이 720px 이하) — 사용법 팝업이 꽉 차 보이지 않게 한 단계 더 조입니다 (2026-11-21j) */
@media (max-height: 720px) {
  .modal--guide .modal__content, .modal--welcome .modal__content { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .guide__title { font-size: 18px; }
  .guide__title-em { font-size: 26px; }
  .guide__sub { margin-top: 5px; font-size: 10px; }
  .guide__steps { margin-top: 10px; gap: 6px; }
  .guide-step { padding: 9px 12px 10px 10px; }
  .guide-step__d { font-size: 10.4px; line-height: 1.45; }
  .guide-step__badges { margin-top: 5px; }
  .guide__cta { margin-top: 10px; padding: 12px 14px 13px; font-size: 15.5px; }
  .welcome__title { font-size: 18px; }
  .welcome__title-em { font-size: 26px; }
  .welcome__intro { margin-top: 9px; font-size: 11.8px; line-height: 1.55; }
  .welcome__hook { margin-top: 8px; padding: 6px 10px 7px; }
  .welcome__cta { margin-top: 10px; padding: 13px 14px 14px; }
  .welcome__note { margin-top: 7px; }
}

/* ==========================================================
   v6 ① 잠금 날짜 팝업 — 상품 버튼 3개에 '무엇이 들어 있는지' 한 줄 +
         위쪽 날짜가 상단 🔊 소리 / ✕ 아래에서 잘리지 않게 (2026-11-21)
   ========================================================== */
/* 버튼 안 두 줄(제목 + 혜택 설명) — 390px 모바일에서 답답하지 않게 */
.modal__dialog--lock .shop-btn { padding: 12px 14px; align-items: flex-start; }
.modal__dialog--lock .shop-btn__no { margin-top: 0; }
.modal__dialog--lock .shop-btn__text { gap: 3px; padding-top: 1px; }
.modal__dialog--lock .shop-btn__label { line-height: 1.3; }
.modal__dialog--lock .shop-btn__desc {
  font-size: 10.5px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.015em; opacity: .8;
  word-break: keep-all;                     /* '액운 태우기 5회' 같은 말이 토막 나지 않게 */
}
.modal__dialog--lock .btn--cream .shop-btn__desc { opacity: .68; }

/* 머리(날짜·기간)를 한 덩어리로 — 내용이 길어 안에서 스크롤돼도 날짜가 잘리지 않는다 */
.modal__dialog--lock .modal__content { padding-top: 0; }
.modal__dialog--lock .lock__head {
  position: sticky; top: 0; z-index: 2;
  margin: 0 -18px; padding: 14px 18px 3px;
  background: #1B2940;
}
.modal__dialog--lock.is-lock-scrolled .lock__head {
  box-shadow: 0 10px 12px -10px rgba(0, 0, 0, .95);
}
.modal__dialog--lock .lock__head .modal__eyebrow { line-height: 1.4; }
.modal__dialog--lock .lock__head .modal__date { margin-top: 4px; }
.modal__dialog--lock .lock__head .lock__term { margin-top: 3px; }
/* 위쪽 여백을 줄여 3개 버튼까지 한 화면에 더 가까이 (내용이 길면 안에서 스크롤) */
.modal__dialog--lock .lock__title { margin-top: 12px; }
.modal__dialog--lock .lock__sub { margin-top: 5px; }
.modal__dialog--lock .lock__early { margin-top: 9px; }
.modal__dialog--lock .lock__marks { margin-top: 10px; }
.modal__dialog--lock .lock__hint { margin-top: 12px; line-height: 1.7; }
.modal__dialog--lock .lock__actions { margin-top: 14px; }
@media (max-width: 430px) {
  .modal__dialog--lock .lock__head { margin: 0 -16px; padding: 12px 16px 3px; }
}

/* ==========================================================
   📲 홈 화면 앱 설치 (PWA) — 2026-11-21
   ========================================================== */

/* 설치 버튼 — 히어로 바로 아래, 브라우저로 열었을 때만 보인다 */
.installbar {
  display: flex; align-items: stretch; gap: 2px;
  margin-top: 2px;
  padding: 6px 8px 6px 6px;
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(165, 101, 15, .22), transparent 58%),
    #1B2940;
  box-shadow: 0 16px 30px -20px rgba(28, 24, 19, .55), 0 1px 2px rgba(28, 24, 19, .08);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.2, 1.1, .4, 1);
}
.installbar.is-on { opacity: 1; transform: translateY(0); }
.installbar__main {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 11px;
  padding: 8px 4px 8px 10px;
  background: none; border: 0; text-align: left; color: #F6F1E7;
  border-radius: 13px;
}
.installbar__main:active { background: rgba(255, 255, 255, .05); }
.installbar__ic { font-size: 17px; line-height: 1; }
.installbar__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.installbar__txt b {
  font-size: 13px; font-weight: 700; letter-spacing: -0.015em;
  color: #E8E0D2;
}
.installbar__txt > span {
  font-size: 10.5px; line-height: 1.45; letter-spacing: -0.01em;
  color: rgba(246, 241, 231, .58);
}
.installbar__go {
  margin-left: auto; padding-left: 8px;
  font-size: 19px; line-height: 1; color: rgba(165, 101, 15, .9);
}
.installbar__x {
  align-self: center;
  width: 30px; height: 30px; flex: 0 0 30px;
  background: none; border: 0; border-radius: 50%;
  font-size: 11px; line-height: 1; color: rgba(246, 241, 231, .38);
}
.installbar__x:active { background: rgba(255, 255, 255, .07); }

/* ── 하단 상시 `📲 앱 설치` — 배너를 닫았거나 설치 기록이 남아도 언제든 (2026-11-21)
      사주를 넣기 전 화면에서는 이 버튼, 달력이 열린 뒤에는 달력 하단 버튼이 맡는다. */
.appshelf { display: flex; justify-content: center; margin: 20px 0 6px; }
.appshelf__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: -0.01em;
  color: #4B4438; background: #FFFFFF;
  border: 1px dashed rgba(30, 41, 59, .38); border-radius: 999px;
  padding: 8px 14px; line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.appshelf__btn:hover { background: #FBF7EF; border-color: rgba(30, 41, 59, .55); color: #1B2940; }
.appshelf__btn:active { background: #F6F1E7; }
body.is-result .appshelf { display: none; }

/* ── 📲 내 폰 바탕화면에 꺼내 두기 — 수호 부적 카드 바로 아래 (2026-11-23)
      과하지 않은 1줄 초대 카드. 브라우저로 열었을 때만, 앱으로 열면 숨는다. */
.getapp {
  margin-top: 16px;
  padding: 15px 16px 14px;
  text-align: center;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  box-shadow: 0 10px 22px -20px rgba(28, 24, 19, .45);
  opacity: 0; transform: translateY(4px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.2, 1.1, .4, 1);
}
.getapp.is-on { opacity: 1; transform: translateY(0); }
.getapp__t {
  font-size: 11.5px; line-height: 1.62; letter-spacing: -.01em;
  color: var(--mute); word-break: keep-all;
}
.getapp__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 11px; padding: 11px 14px;
  font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: -.015em;
  color: #FFF9EC; background: var(--navy);
  border: 0; border-radius: 13px; line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, background .2s ease;
}
.getapp__btn:active { transform: scale(.985); background: var(--navy-deep); }

/* 액운 태우기 STEP 3 — 의식을 마친 자리의 작은 한 줄 */
.burn__install {
  display: block; margin: 10px auto 0; padding: 6px 4px;
  font-family: inherit; font-size: 11.5px; font-weight: 800; letter-spacing: -.02em;
  color: #8F5B12; background: none; border: 0;
  text-decoration: underline; text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}
.burn__install:active { opacity: .7; }

/* 앱으로 열린 화면에서는 절대 보이지 않게 (JS가 못 돌아도) */
@media all and (display-mode: standalone), all and (display-mode: fullscreen) {
  .installbar { display: none !important; }
  .getapp,
  [data-pwa-install] { display: none !important; }
}
/* pwa.js 가 붙이는 표시 — 액운 태우기 STEP 3 처럼 나중에 그려지는 버튼까지 함께 숨긴다 */
html.is-standalone .getapp,
html.is-standalone [data-pwa-install] { display: none !important; }

/* 설치 안내 팝업 — 액운 태우기 팝업 위에서 열리므로 한 겹 위에 둔다 */
.modal--install { z-index: 132; }

/* 설치 안내 팝업 */
.modal__dialog--install { max-width: 400px; }
.install__eyebrow {
  font-size: 9.5px; font-weight: 700; letter-spacing: .22em;
  color: var(--gold);
}
.install__t {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  line-height: 1.35; margin-top: 8px;
}
.install__d {
  margin-top: 11px;
  font-size: 13px; line-height: 1.85; color: var(--ink-2);
}
.install__d b { font-weight: 700; color: var(--ink); }
.install__steps { margin-top: 16px; border-top: 1px solid var(--hair-soft); }
.install__step {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--hair-soft);
}
.install__n {
  flex: 0 0 21px; width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  background: var(--gold-soft); color: var(--gold);
  font-size: 10.5px; font-weight: 700;
}
.install__st { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.install__st b { font-weight: 700; color: var(--ink); }
.install__hint {
  margin-top: 13px;
  font-size: 11px; line-height: 1.7; color: var(--mute);
}
.install__copy {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 16px; padding: 14px 16px;
  background: #1B2940; color: #F6F1E7;
  border: 0; border-radius: 15px;
  font-size: 13.5px; font-weight: 700; letter-spacing: -0.015em;
}
.install__copy:active { transform: scale(.985); }
.install__addr {
  margin-top: 9px;
  font-size: 10.5px; line-height: 1.6; color: var(--mute);
  text-align: center; letter-spacing: 0;
  word-break: break-all;
}
/* 카톡 안에서 바로 브라우저로 나가는 버튼 (2026-11-23) — 주소 복사보다 먼저 */
.install__ext + .install__copy { margin-top: 9px; }
/* 2026-11-24 — 안드로이드 카톡: '🌐 크롬으로 바로 열기' 원터치 (intent://)
   다른 결제·설치 버튼과 같은 남색으로 두고, 밑줄만 없앤다(링크라서). */
.install__copy.install__chrome { text-decoration: none !important; }

/* 두 클래스로 쎠야 뒤에 오는 1안 `.install__copy`(남색) 규칙을 이긴다 */
.install__copy.install__copy--sub {
  background: var(--paper); color: var(--ink-2);
  border: 1px solid var(--hair-soft); font-weight: 700;
}
.install__copy.install__copy--sub:hover {
  background: #FBF7EF; color: var(--ink); border-color: var(--hair);
}

/* 사주를 연 뒤(얇은 브랜드 줄) 히어로와 설치 버튼이 붙지 않게 */
body.is-result .installbar { margin-top: 12px; }

/* ==========================================================
   1안 색감 개편 — 화이트 + 딥네이비(#1B2940) · 에메랄드 · 코랄
   (2026-11-21 김나영 님 최종 승인 · 페이지 크롬 전면 적용)
   · 액운 태우기 의식 화면과 부적 아트는 경건한 톤 그대로 둔다.
   ========================================================== */

/* 메인 CTA는 딥 네이비 한 색으로 — 호버는 더 짙게 */
.submit,
.btn--primary,
.lockpanel__go,
.guide__cta,
.welcome__cta,
.install__copy {
  background: #1B2940;
  border-color: #1B2940;
  color: #FFFFFF;
}
.submit:hover,
.submit:focus-visible,
.btn--primary:hover,
.guide__cta:hover,
.welcome__cta:hover,
.install__copy:hover { background: #1A1712; border-color: #1A1712; color: #FFFFFF; }
.submit:active,
.guide__cta:active,
.welcome__cta:active { background: #1A1712; }

/* 카드 — 흰 바탕 · #E8E0D2 테두리 · 은은한 그림자 */
.card,
.brief,
.cal__tools,
.yearfold { box-shadow: 0 2px 10px rgba(28, 24, 19, 0.04); }

/* ══ 달력 상단 `? 사용법` 옆 — 🎁 친구초대·케미 버튼 (2026-11-21) ══════
   390px에서 두 버튼이 한 줄에 들어가고, 넘칠 때만 살짝 줄어든다. */
.cal__toolbar {
  display: flex; align-items: center; justify-content: flex-end;
  flex-wrap: nowrap; gap: 6px;
  margin: -6px -2px 2px;
}
.cal__help,
.cal__chemi {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 28px;
  white-space: nowrap;
}
.cal__chemi {
  display: inline-flex; align-items: center; gap: 4px;
  appearance: none; cursor: pointer; text-decoration: none;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid #E8E0D2;
  background: #FFFFFF;
  color: #1B2940; font-family: inherit;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  box-shadow: 0 2px 10px rgba(28, 24, 19, .04);
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.cal__chemi:hover { background: #FBF7EF; border-color: #CFC6B7; }
.cal__chemi:active { transform: translateY(1px); }
.cal__chemi:focus-visible { outline: 2px solid #1B2940; outline-offset: 2px; }
.cal__chemi-ic { font-size: 12px; line-height: 1; }

/* ══ 잠금 날짜 팝업 하단 — 🎁 친구 초대하고 무료로 열기 (한 줄) ═══════ */
.lock__invite {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; margin-top: 9px; padding: 9px 12px;
  border-radius: 12px; text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(241, 245, 249, .9);
  font-size: 11.5px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lock__invite b { color: #FBE4B2; font-weight: 800; }
.lock__invite:active { background: rgba(255, 255, 255, .12); }

@media (max-width: 360px) {
  .cal__help { font-size: 11px; padding: 5px 10px; }
  .cal__chemi { font-size: 11px; padding: 5px 10px; }
  .lock__invite { font-size: 11px; }
}

/* ── ✨ 1줄 성찰 다이어리 3회 무료 체험 (2026-11-21) ───────────────── */
.diary__try {
  margin: 0 0 9px; padding: 7px 10px; border-radius: 10px;
  background: rgba(254, 243, 199, .55); border: 1px solid rgba(165, 101, 15, .18);
  font-size: 10.5px; line-height: 1.6; letter-spacing: -.01em; color: #7C5A22;
  text-align: center; word-break: keep-all;
}
.diary__try b { color: #8A4E0B; font-weight: 800; }
.diary__try-note {
  margin: 6px 0 10px; font-size: 10.5px; line-height: 1.65;
  color: #7A6A52; letter-spacing: -.01em; word-break: keep-all;
}
.diary__try-note b { color: #8A4E0B; }

/* 잠금 팝업 — 성찰 3회 무료 체험 한 줄 */
.lock__diary {
  margin: 9px 0 0; padding: 7px 10px; border-radius: 10px;
  background: rgba(240, 215, 155, .12); border: 1px solid rgba(230, 196, 138, .26);
  font-size: 10.5px; line-height: 1.6; letter-spacing: -.01em;
  color: rgba(244, 232, 208, .86); text-align: center; word-break: keep-all;
}
.lock__diary b { color: #F3DCA8; font-weight: 800; }

/* ── 🎁 친구 초대 혜택 카드 (2026-11-21) ─────────────────────────── */
.invitecard {
  margin-top: 14px; padding: 13px 14px 12px; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, rgba(254, 243, 199, .62) 0%, rgba(255, 251, 235, .42) 100%);
  border: 1px solid rgba(165, 101, 15, .22);
}
.invitecard__t { margin: 0; font-size: 12.5px; font-weight: 800; color: #8A4E0B; letter-spacing: -.02em; }
.invitecard__d { margin: 6px 0 0; font-size: 10.3px; line-height: 1.7; color: #7C6A4E; letter-spacing: -.01em; word-break: keep-all; }
.invitecard__d b { color: #8A4E0B; font-weight: 800; }
.invitecard__go {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 9px; padding: 9px 16px; border-radius: 999px;
  background: #1B2940; color: #FBF7EF; font-size: 11.5px; font-weight: 800;
  text-decoration: none; letter-spacing: -.01em;
}
.invitecard__go:active { transform: translateY(1px); }
.invitecard--lock {
  background: rgba(255, 244, 226, .06); border-color: rgba(230, 196, 138, .32);
}
.invitecard--lock .invitecard__t { color: #F0D79B; }
.invitecard--lock .invitecard__d { color: rgba(240, 230, 212, .74); }
.invitecard--lock .invitecard__d b { color: #F3DCA8; }
.invitecard--lock .invitecard__go {
  background: linear-gradient(135deg, #B98A44 0%, #F0D79B 46%, #C79A4E 100%); color: #2A1B08;
}
.invitecard--shop { margin: 4px 2px 10px; }
.invitecard--year { margin-top: 12px; }

/* ==========================================================
   🔑 입장 코드 — 한눈에 찾기 & 문구 간편화 (2026-11-21)
   · 달력 바로 아래 큰 버튼 하나로 (칩 속에 숨어 못 찾던 문제)
   · 입력칸은 '휴대폰 번호 / 6자리 코드' 두 칸만, 기술 설명은 걷어 냈다
   ========================================================== */
.lockbar {
  display: flex; align-items: center; gap: 10px;
  width: 100%; margin: 12px 0 0; padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFFCF2 0%, #FDF3DD 100%);
  border: 1px solid rgba(165, 101, 15, .32);
  font-family: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lockbar:hover { background: linear-gradient(135deg, #FEF9E7 0%, #FDEBC0 100%); }
.lockbar:active { transform: translateY(1px); }
.lockbar:focus-visible { outline: 2px solid #8A4E0B; outline-offset: 2px; }
.lockbar__ic { flex: 0 0 auto; font-size: 19px; line-height: 1; }
.lockbar__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lockbar__t {
  font-size: 14px; font-weight: 800; color: #8A4E0B;
  letter-spacing: -.025em; line-height: 1.25;
}
.lockbar__s {
  font-size: 10.5px; font-weight: 600; line-height: 1.45; color: #A16207;
  letter-spacing: -.01em; word-break: keep-all;
}
.lockbar__chev {
  flex: 0 0 auto; font-size: 14px; font-weight: 700; color: #A5650F;
  transition: transform .2s ease;
}
.lockbar[aria-expanded="true"] .lockbar__chev { transform: rotate(180deg); }
/* 열려 있는 기기 — 차분한 초록 (더 강조하지 않는다) */
.lockbar.is-on {
  background: #ECFDF5; border-color: rgba(6, 127, 91, .3);
}
.lockbar.is-on .lockbar__t { color: #067F5B; }
.lockbar.is-on .lockbar__s { color: #0F766E; }
.lockbar.is-on .lockbar__chev { color: #067F5B; }

/* ── 무료 체험 중 — '이미 결제해서 코드를 받으셨나요?' 로 결제 영역 안에 내려 둔 자리 (2026-11-22)
   달력 바로 아래에는 ⚡ 긴급 개운템 바로가기만 남기고, 코드 입력은 상품 4개 아래로. */
.lockask {
  margin: 18px 0 0; font-size: 11.5px; font-weight: 700;
  letter-spacing: -.02em; color: rgba(241, 245, 249, .78);
}
.lockask[hidden] { display: none; }
.lockbar--cta { margin-top: 8px; box-shadow: 0 16px 30px -24px rgba(0, 0, 0, .9); }
.lockpanel--cta { margin: 8px 0 0; }

/* 입력 패널 — 제목 + 안내 한 줄 + 두 칸 */
.lockpanel__title {
  margin: 0; font-size: 13px; font-weight: 800; color: #1B2940;
  letter-spacing: -.02em; line-height: 1.3;
}
.lockpanel__guide {
  margin: 4px 0 0; font-size: 11px; line-height: 1.55; color: #4B4438;
  letter-spacing: -.01em; word-break: keep-all;
}
.lockpanel__field { margin-top: 10px; }
.lockpanel__cap {
  display: block; font-size: 10.5px; font-weight: 700; color: #6E665A;
  letter-spacing: -.01em;
}
.lockpanel__field .lockpanel__input { display: block; width: 100%; margin-top: 5px; }
.lockpanel__field .lockpanel__row { margin-top: 5px; }

/* 💳 복귀 배너 안 — '코드 받았어요 · 바로 입력' */
.payback__code {
  display: block; width: 100%; margin-top: 6px; padding: 9px 12px;
  border-radius: 10px;
  background: #FFFCF2; border: 1px solid rgba(165, 101, 15, .28);
  font-family: inherit; font-size: 11.5px; font-weight: 800;
  letter-spacing: -.015em; color: #8A4E0B; line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s ease, transform .14s ease;
}
.payback__code:hover { background: #FDF3DD; }
.payback__code:active { transform: translateY(1px); }

@media (max-width: 360px) {
  .lockbar { padding: 11px 12px; gap: 8px; }
  .lockbar__t { font-size: 13px; }
  .lockbar__s { font-size: 10px; }
}

/* 코드를 이미 받은 사람 — 상품 팝업 맨 아래에서 결제를 다시 거치지 않고 입력창으로 */
.shop__code {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 10px; padding: 11px 14px;
  border-radius: 12px;
  background: #FFFCF2; border: 1px dashed rgba(165, 101, 15, .38);
  font-family: inherit; font-size: 11.5px; font-weight: 800;
  letter-spacing: -.015em; color: #8A4E0B; line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s ease, transform .14s ease;
}
.shop__code:hover { background: #FDF3DD; }
.shop__code:active { transform: translateY(1px); }
/* 결제 팝업 맨 아래 '이미 입장 코드가 있으신가요?' — 일반 손님이 놓치도록 작은 한 줄 (2026-11-23) */
.shop__code--quiet {
  display: block; width: auto; margin: 12px auto 0; padding: 6px 8px;
  background: none; border: 0; font-size: 10.5px; font-weight: 500;
  color: var(--mute); text-decoration: underline; text-underline-offset: 3px;
}
.shop__code--quiet:hover { background: none; color: #4B4438; }

/* 입력 패널 — 이미 열려 있을 때 '다른 상품 코드로 바꿀 수 있다' 한 줄 */
.lockpanel__swap {
  margin: 7px 0 0; padding: 7px 10px; border-radius: 10px;
  background: rgba(6, 127, 91, .07); border: 1px solid rgba(6, 127, 91, .16);
  font-size: 10.5px; line-height: 1.55; color: #0F766E;
  letter-spacing: -.01em; word-break: keep-all;
}

/* ==========================================================
   2026-11-22 · 4대 개편 — 4칸 바로가기 · 긴급 개운템 카드 ·
   케미·초대 배너 · 결제자 카드 압축 · 부적 에너지
   ========================================================== */

/* ── 🧭 4칸 바로가기 바 (스크롤해도 위에 붙어 있음) ─────────── */
.quickbar {
  position: sticky; top: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
  margin: 6px -6px 2px; padding: 6px;
  background: rgba(250, 251, 253, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(28, 24, 19, .07);
}
.quickbar__b {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 8px 2px 7px;
  border: 1px solid rgba(28, 24, 19, .085); border-radius: 12px;
  background: #FFFFFF;
  font-family: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: -.03em;
  color: var(--ink-2); text-decoration: none;
  box-shadow: 0 1px 2px rgba(28, 24, 19, .04);
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
}
.quickbar__b:active { transform: scale(.96); background: #FBF7EF; }
.quickbar__b[data-jump="burn"] { color: #9A3412; border-color: rgba(234, 88, 12, .22); background: #FFF7ED; }
.quickbar__b[data-jump="care"] { color: #854D0E; border-color: rgba(165, 101, 15, .24); background: #FFFCF2; }
a.quickbar__b { color: #7C3AED; border-color: rgba(124, 58, 237, .2); background: #F5F3FF; }
.quickbar__ic { font-size: 16px; line-height: 1.1; }
.quickbar__t { white-space: nowrap; }
@media (max-width: 360px) {
  .quickbar__b { font-size: 9.5px; padding: 7px 1px 6px; }
  .quickbar__ic { font-size: 14.5px; }
}

/* 바로가기로 이동한 자리를 한 번 반짝 — 내가 어디로 왔는지 알게 */
#calGrid, #calFocus, #burnCard, #careCard { scroll-margin-top: 74px; }
.is-jump-flash { animation: jumpFlash 1.15s ease-out; }
@keyframes jumpFlash {
  0% { box-shadow: 0 0 0 0 rgba(165, 101, 15, .38); }
  40% { box-shadow: 0 0 0 4px rgba(165, 101, 15, .28); }
  100% { box-shadow: 0 0 0 0 rgba(165, 101, 15, 0); }
}

/* ── ⚡ 긴급 개운템 카드 ──────────────────────────────── */
.card--care {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(165, 101, 15, .10), transparent 62%),
    #FFFDF8;
  border: 1px solid rgba(165, 101, 15, .22);
}
.carecard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.carecard__eyebrow {
  font-size: 8.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #A5650F;
}
/* ⚡ 긴급 개운템 제목 옆 '앱 전용' 알약 — 바탕화면에 깔았을 때 열리는 기능임을 1초에 */
.carecard__pill {
  display: inline-flex; align-items: center; vertical-align: middle;
  margin-left: 6px; padding: 3px 8px 3px;
  font-family: var(--sans); font-size: 9.5px; font-weight: 800; letter-spacing: .02em;
  color: #8F5B12; background: #FDF3DD;
  border: 1px solid rgba(165, 101, 15, .32); border-radius: 999px;
  line-height: 1.2; white-space: nowrap;
  transform: translateY(-1px);
}
.carecard__price {
  flex: none; text-align: right; font-size: 10px; font-weight: 700; line-height: 1.45;
  color: #8A4E0B;
}
.carecard__sub { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.carecard__free { font-weight: 800; color: #A5650F; }
.carecard__items { display: flex; gap: 6px; margin-top: 12px; }
.carecard__it {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 2px 8px; border-radius: 12px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(165, 101, 15, .14);
  font-size: 10px; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2);
  text-align: center; line-height: 1.25; word-break: keep-all;
}
.carecard__it b { font-size: 17px; line-height: 1; }
.carecard__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; margin-top: 12px; padding: 13px 16px;
  border: 0; border-radius: 14px;
  background: linear-gradient(135deg, #A5650F, #8A4E0B);
  color: #FFF9EE; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 10px 20px -12px rgba(146, 64, 14, .8);
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, filter .18s ease;
}
.carecard__cta b { font-size: 12.5px; font-weight: 800; color: #FBE4B2; }
.carecard__cta:active { transform: translateY(1px); filter: brightness(.96); }
/* 브라우저로 열었을 때 / 바탕화면 아이콘(앱)으로 열었을 때 — 같은 카드의 문구만 갈린다
   (html.is-standalone 은 pwa.js 가 붙인다. 앱에서는 누르면 개운템 체험 화면이 바로 열린다) */
.carecard__app { display: none; }
html.is-standalone .carecard__web { display: none; }
html.is-standalone .carecard__app { display: inline; }

/* ── 🌿 1:1 사주 · 작명 상담 — 바탕화면 꺼내기 아래 · 면책 푸터 위 (2026-11-23 #16164)
      가격을 늘어놓지 않고 "언제 찾으면 되는지"만 말하는 카드 1장.
      버튼은 하나뿐 — 신청·안내(/apply/)로 가면 그 안에서 상품 선택 → 결제 → 카톡 접수까지 이어진다 (2026-11-23 #16314) */
.consult {
  margin-top: 16px;
  padding: 20px 17px 17px;
  border-radius: 20px;
  background:
    radial-gradient(115% 95% at 0% 0%, rgba(199, 154, 78, .10), transparent 62%),
    var(--paper);
  border: 1px solid var(--hair-soft);
  box-shadow: 0 14px 30px -26px rgba(28, 24, 19, .55);
}
.consult__eyebrow {
  font-size: 8.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.consult__t {
  margin-top: 7px;
  font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.42;
  letter-spacing: -.03em; color: var(--ink); word-break: keep-all;
}
.consult__d {
  margin-top: 8px;
  font-size: 12px; line-height: 1.8; letter-spacing: -.01em;
  color: var(--ink-2); word-break: keep-all;
}
.consult__btns { display: flex; align-items: stretch; gap: 8px; margin-top: 15px; }
.consult__main {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; min-width: 0; padding: 13px 10px;
  border-radius: 13px;
  font-size: 12.5px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2;
  text-align: center; text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, filter .18s ease;
  color: #FFF9EC;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  box-shadow: 0 10px 20px -15px rgba(28, 24, 19, .9);
}
.consult__main:active { transform: translateY(1px); filter: brightness(.96); }

/* ── ✨ 케미·초대 배너 ────────────────────────────────── */
.chemibanner {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 16px 16px 15px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(124, 58, 237, .16), transparent 60%),
    radial-gradient(90% 120% at 0% 100%, rgba(201, 162, 101, .18), transparent 62%),
    #FBF8FF;
  border: 1px solid rgba(124, 58, 237, .18);
  box-shadow: var(--shadow);
}
.chemibanner__b { min-width: 0; flex: 1 1 auto; }
.chemibanner__eyebrow {
  font-size: 8.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #7C3AED;
}
.chemibanner__t {
  margin-top: 5px; font-family: var(--serif); font-size: 14.5px; line-height: 1.5;
  letter-spacing: -.02em; color: var(--ink); text-wrap: balance;
}
.chemibanner__t b { font-weight: 800; color: #6D28D9; }
.chemibanner__d { margin-top: 7px; font-size: 10px; line-height: 1.6; color: var(--ink-2); }
.chemibanner__go {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 13px; border-radius: 12px;
  background: #7C3AED; color: #FFFFFF; text-decoration: none;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap;
  box-shadow: 0 10px 18px -12px rgba(124, 58, 237, .9);
}
.chemibanner__go span { font-size: 12px; opacity: .85; }
.chemibanner__go:active { transform: translateY(1px); }
@media (max-width: 430px) {
  .chemibanner { flex-direction: column; align-items: stretch; gap: 11px; text-align: left; padding: 15px 15px 14px; }
  .chemibanner__t { font-size: 14px; }
  .chemibanner__go { justify-content: center; padding: 11px 13px; font-size: 12px; }
}

/* ── 결제자용 CTA — 초대 할인 한 줄 카드 ──────────────── */
.cta__paid {
  margin-top: 12px; padding: 13px 14px 12px;
  border-radius: 14px;
  background: rgba(241, 245, 249, .09);
  border: 1px dashed rgba(241, 245, 249, .28);
}
.cta__paid-t {
  font-size: 12.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.5;
  color: rgba(241, 245, 249, .84); word-break: keep-all;
}
.cta__paid-t span { font-size: 14px; margin-right: 3px; }
.cta__paid-t b { font-weight: 800; color: #FBE4B2; }
.cta__paid-d {
  margin-top: 5px; font-size: 10.5px; line-height: 1.6;
  color: rgba(241, 245, 249, .62); letter-spacing: -.01em;
}
.cta__paid-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 10px; padding: 9px 14px; border-radius: 999px;
  background: rgba(253, 230, 138, .16); border: 1px solid rgba(253, 230, 138, .38);
  color: #FBE4B2; text-decoration: none;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.02em;
}
.cta__paid-go:active { transform: translateY(1px); }
/* 결제 후 4가지 카드 압축 — 숨긴 티어 카드를 만들지 않았다 */
.cta__steps .shop-btn[hidden] { display: none; }
.cta__steps.is-compact .shop-btn { padding: 12px 14px; }

/* ── 🔮 대표 수호 부적 — 오행 오라 · 금박 홀로그램 · 기운 입자 ──────
   --tp-halo(부족한 오행 색)는 .talis-plaque--목/화/토/금/수 가 정한다.
   목 초록 · 화 주홍 · 토 황금 · 금 은백 · 수 파랑
   2026-11-22 세련 개편: 뭉툭한 단색 원형 블러를 걷어 내고
   다층 라디알 글로우(소프트 마스크) + 얇은 헤어라인 이중 링으로 감싼다. */
.talis-plaque__aura {
  position: absolute; left: 50%; top: 2.4em;
  width: 13.4em; height: 17em;
  transform: translateX(-50%); pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(closest-side,
      rgba(255, 248, 232, .08) 0%,
      rgba(255, 240, 214, .26) 30%,
      rgba(255, 226, 184, .13) 52%,
      rgba(255, 220, 176, .04) 70%,
      rgba(255, 220, 176, 0) 88%),
    radial-gradient(closest-side, var(--tp-aura) 0%, rgba(255, 255, 255, 0) 78%);
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, rgba(0, 0, 0, .5) 82%, transparent 98%);
  mask-image: radial-gradient(closest-side, #000 58%, rgba(0, 0, 0, .5) 82%, transparent 98%);
  opacity: .92;
  animation: talisAuraBreath 7.4s ease-in-out infinite;
  z-index: 0;
}
.talis-plaque__aura::after {
  content: ""; position: absolute; inset: 24% 20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 248, 230, .34), rgba(255, 230, 184, .12) 52%, transparent 80%);
  filter: blur(.6em);
  opacity: .8;
}
@keyframes talisAuraBreath {
  0%, 100% { opacity: .72; transform: translateX(-50%) scale(.985); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.022); }
}
.talis-plaque__holo {
  position: absolute; inset: 2.4em 0 0; pointer-events: none; z-index: 3;
  border-radius: .34em; overflow: hidden; mix-blend-mode: screen;
}
.talis-plaque__holo::before {
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(114deg,
    transparent 40%, rgba(255, 246, 220, .10) 46%,
    rgba(255, 250, 232, .44) 50%, rgba(255, 246, 220, .10) 54%, transparent 60%);
  transform: translate(-120%, 0) rotate(0deg);
  animation: talisHolo 9.5s cubic-bezier(.4, 0, .25, 1) infinite;
}
@keyframes talisHolo {
  0%, 46% { transform: translate(-120%, 0); }
  78%, 100% { transform: translate(120%, 0); }
}
/* 기운 입자 — 부적 아래에서 금가루가 천천히 피어오른다 */
.talis-plaque__motes {
  position: absolute; left: 0; right: 0; top: 2.4em; bottom: -.6em;
  pointer-events: none; z-index: 4; overflow: visible;
}
.talis-plaque__motes i {
  position: absolute; bottom: 6%;
  width: .28em; height: .28em; border-radius: 50%;
  background: radial-gradient(circle, #FFF3CE 0%, rgba(250, 229, 172, .85) 45%, rgba(250, 229, 172, 0) 72%);
  opacity: 0;
  animation: talisMote 7.2s linear infinite;
}
.talis-plaque__motes i:nth-child(1) { left: 14%; animation-delay: 0s; }
.talis-plaque__motes i:nth-child(2) { left: 30%; width: .2em; height: .2em; animation-delay: 1.5s; }
.talis-plaque__motes i:nth-child(3) { left: 46%; animation-delay: 3.1s; }
.talis-plaque__motes i:nth-child(4) { left: 62%; width: .22em; height: .22em; animation-delay: 4.4s; }
.talis-plaque__motes i:nth-child(5) { left: 78%; animation-delay: 5.6s; }
.talis-plaque__motes i:nth-child(6) { left: 88%; width: .18em; height: .18em; animation-delay: 2.4s; }
.talis-plaque__motes i:nth-child(7) { left: 22%; width: .17em; height: .17em; animation-delay: 6.3s; }
@keyframes talisMote {
  0% { opacity: 0; transform: translateY(0) scale(.7); }
  18% { opacity: .85; }
  70% { opacity: .55; }
  100% { opacity: 0; transform: translateY(-11.5em) scale(1.05); }
}
/* 톡 눌렀을 때 — 빛무리가 바깥으로 퍼지지 않고 부적 중심으로 모여든다 (2026-11-22)
   오라 1.45 → 0.96 수렴 + 내부가 따뜻하게 켜지는 코어 발광. */
.talis-plaque.is-charged .talis-plaque__aura { animation: talisAuraGather 2.62s cubic-bezier(.32, .04, .26, 1) forwards; }
@keyframes talisAuraGather {
  0%   { opacity: .46; transform: translateX(-50%) scale(1.45); }
  16%  { opacity: .78; transform: translateX(-50%) scale(1.32); }
  62%  { opacity: 1;   transform: translateX(-50%) scale(1.02); }
  84%  { opacity: .96; transform: translateX(-50%) scale(.96); }
  100% { opacity: .82; transform: translateX(-50%) scale(.985); }
}
.talis-plaque.is-charged .talis-plaque__aura::after { animation: talisCoreWarm 2.5s ease-out; }
@keyframes talisCoreWarm {
  0%   { opacity: .55; transform: scale(1.28); }
  46%  { opacity: 1;   transform: scale(1.02); }
  100% { opacity: .75; transform: scale(1); }
}
.talis-plaque.is-charged .talis-plaque__sheet { animation: talisChargeUp 2.3s cubic-bezier(.26, .8, .3, 1); }
@keyframes talisChargeUp {
  0% { transform: scale(1); }
  30% { transform: scale(1.032); }
  64% { transform: scale(1.012); }
  100% { transform: scale(1); }
}
/* 빛무리 링 — 0.5~1px 헤어라인 두 겹(바깥 금빛 · 안쪽 오행빛).
   톡 누르면 1.45 → 0.96 으로 천천히 빨려 들어오며 사라진다. */
.talis-plaque__rings {
  position: absolute; left: 50%; top: 2.4em;
  width: 9em; height: 12.6em; transform: translateX(-50%);
  pointer-events: none; z-index: 1;
}
.talis-plaque__rings i {
  position: absolute; inset: 0; border-radius: .52em; opacity: 0;
  padding: 1px;
  background: linear-gradient(178deg,
    rgba(255, 244, 218, .78) 0%, rgba(238, 208, 156, .46) 32%,
    rgba(238, 208, 156, .16) 62%, rgba(255, 244, 218, .52) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 .55em rgba(240, 214, 160, .55));
}
.talis-plaque__rings i + i {
  inset: .72em; padding: .5px;
  background: linear-gradient(178deg,
    var(--tp-aura-line, rgba(238, 208, 156, .3)) 0%, rgba(255, 255, 255, .04) 58%,
    var(--tp-aura-line, rgba(238, 208, 156, .3)) 100%);
  filter: none;
}
.talis-plaque.is-charged .talis-plaque__rings i { animation: talisRingGather 2.15s cubic-bezier(.32, .04, .26, 1) forwards; }
.talis-plaque.is-charged .talis-plaque__rings i + i { animation-duration: 2.4s; animation-delay: .16s; }
@keyframes talisRingGather {
  0%   { opacity: 0;   transform: scale(1.45); }
  16%  { opacity: .9; }
  58%  { opacity: .68; transform: scale(1.10); }
  84%  { opacity: .3;  transform: scale(1); }
  100% { opacity: 0;   transform: scale(.96); }
}
/* 부적 안쪽이 따뜻하게 켜지는 발광 — 빛이 다 모여든 뒤 가장 밝다 */
.talis-plaque__warm {
  position: absolute; inset: 2.4em 0 0; z-index: 3; pointer-events: none;
  border-radius: .34em; opacity: 0;
  background: radial-gradient(72% 62% at 50% 52%,
    rgba(255, 232, 182, .40) 0%, rgba(255, 205, 138, .16) 54%, rgba(255, 190, 120, 0) 82%);
  mix-blend-mode: screen;
}
.talis-plaque.is-charged .talis-plaque__warm { animation: talisWarmIn 2.7s ease-out forwards; }
@keyframes talisWarmIn {
  0%   { opacity: 0; }
  26%  { opacity: .16; }
  66%  { opacity: .8; }
  100% { opacity: 0; }
}
/* 은은하게 빨려 들어오는 미세 금박 입자 — 톡 누를 때만 */
.talis-plaque__dust {
  position: absolute; left: 0; right: 0; top: 2.4em; bottom: 0;
  pointer-events: none; z-index: 2;
}
.talis-plaque__dust i {
  position: absolute; left: 50%; top: 50%;
  width: .17em; height: .17em; border-radius: 50%;
  background: radial-gradient(circle, #FFF8E4 0%, rgba(247, 216, 154, .85) 42%, rgba(247, 216, 154, 0) 74%);
  opacity: 0; transform: translate(-50%, -50%);
}
.talis-plaque__dust i:nth-child(1) { --dx: -5.4em; --dy: -5.2em; --dd: 0s; }
.talis-plaque__dust i:nth-child(2) { --dx: 4.6em; --dy: -5.8em; --dd: .12s; }
.talis-plaque__dust i:nth-child(3) { --dx: -6.1em; --dy: -.6em; --dd: .24s; }
.talis-plaque__dust i:nth-child(4) { --dx: 6.3em; --dy: 1.1em; --dd: .06s; }
.talis-plaque__dust i:nth-child(5) { --dx: -4.2em; --dy: 4.9em; --dd: .3s; }
.talis-plaque__dust i:nth-child(6) { --dx: 4.9em; --dy: 5.4em; --dd: .18s; }
.talis-plaque__dust i:nth-child(7) { --dx: -2.2em; --dy: -6.4em; --dd: .36s; }
.talis-plaque__dust i:nth-child(8) { --dx: 2.6em; --dy: 6.2em; --dd: .09s; }
.talis-plaque.is-charged .talis-plaque__dust i {
  animation: talisDustGather 2.4s cubic-bezier(.34, .02, .22, 1) var(--dd, 0s) forwards;
}
@keyframes talisDustGather {
  0%   { opacity: 0;   transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.15); }
  18%  { opacity: .85; }
  72%  { opacity: .5; }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(.3); }
}
/* 부적 **위** 예약 자리에 우아하게 떠오르는 문구 (2026-11-22 2차)
   톡 누르기 전에도 같은 높이를 비워 두어 배너가 들썩이지 않는다.
   2026-11-22 3차 — 6초 호흡: 0.3s 뒤 시작 → 1.7s 동안 서서히 나타남 → 2s 머묾
   → 1.8s 동안 서서히 사라짐. JS 가 6초 뒤 is-on 을 떼어 조용한 기본 상태로 돌린다. */
.talis-banner__reveal {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 100%;
  margin: 5px 0 0; min-height: 2.9em; text-align: center; text-wrap: balance;
  font-family: var(--serif); font-size: 13px; line-height: 1.5; letter-spacing: -.01em;
  color: #FBF3E1; text-shadow: 0 1px 18px rgba(255, 214, 150, .28);
  opacity: 0; transform: translateY(-3px) scale(.99); filter: blur(3px);
}
.talis-banner__reveal.is-on { animation: talisBreathIn 6s cubic-bezier(.4, 0, .32, 1) forwards; }
@keyframes talisBreathIn {
  0%   { opacity: 0; transform: translateY(-3px) scale(.99); filter: blur(3px); }
  5%   { opacity: 0; transform: translateY(-3px) scale(.99); filter: blur(3px); }
  33%  { opacity: 1; transform: none; filter: none; }
  66%  { opacity: 1; transform: none; filter: none; }
  96%  { opacity: 0; transform: translateY(-2px); filter: blur(2.2px); }
  100% { opacity: 0; transform: translateY(-2px); filter: blur(2.2px); }
}
@media (prefers-reduced-motion: reduce) {
  .talis-plaque__aura, .talis-plaque__holo::before, .talis-plaque__motes i,
  .talis-plaque__sheet, .talis-plaque__char { animation: none !important; }
  .talis-plaque__motes { display: none; }
  .talis-plaque__dust { display: none; }
  .talis-plaque.is-charged .talis-plaque__rings i { animation: none !important; }
  .talis-banner__reveal.is-on { animation: none; opacity: 1; transform: none; filter: none; }
}

/* 확대 팝업에서 기운을 받을 때 — 부적 그림 위 중앙에 은은하게 떠오르는 문구 (2026-11-23 5차)
   예전엔 '오늘 기운 받기' 버튼 아래에 있어서 부적을 보는 눈에 닿지 않았다.
   → .talis-showcase 안에 겹쳐 두어(자리를 차지하지 않는다) 한 화면 크기는 그대로 두고,
     배너와 같은 6초 호흡으로 천천히 나타났다 사라진다. */
.talis-phrase {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0 13%;
  text-align: center; text-wrap: balance;
  font-family: var(--serif); font-size: 14px; line-height: 1.62; letter-spacing: -.01em;
  color: #FDF4E0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .72), 0 0 3px rgba(0, 0, 0, .55);
  pointer-events: none;
  isolation: isolate;          /* 먹빛 veil(::before)이 부적 위·글자 아래에 머물게 */
  opacity: 0; filter: blur(2.6px);
}
/* 글자 뒤에 옅게 깔리는 먹빛 — 부적 그림 위에서도 글씨가 읽히게 */
.talis-phrase::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 108%; height: 5.2em; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(9, 5, 2, .80), rgba(9, 5, 2, .52) 56%, rgba(9, 5, 2, 0));
  filter: blur(5px);
}
.talis-phrase.is-on { animation: talisPhraseIn 6s cubic-bezier(.4, 0, .32, 1) forwards; }
@keyframes talisPhraseIn {
  0%   { opacity: 0; filter: blur(2.6px); }
  5%   { opacity: 0; filter: blur(2.6px); }
  33%  { opacity: 1; filter: none; }
  66%  { opacity: 1; filter: none; }
  96%  { opacity: 0; filter: blur(2px); }
  100% { opacity: 0; filter: blur(2px); }
}
@media (prefers-reduced-motion: reduce) {
  .talis-phrase.is-on { animation: none; opacity: 1; transform: none; filter: none; }
}

/* ==========================================================
   2.0 첫 화면 — 미니 원국 1줄 · 3줄 후킹 · 3색 달력 · 🔥 액운 태우기
   (2026-11-23 김나영 님 확정)
   · "3초 만에 이해" — 화면은 4덩어리만, 색은 3가지로
   · "책이라면 가독성 있게" — 한지 톤 종이 + 진한 먹색 + 넉넉한 줄간격
   · 기존 기능은 지우지 않고 .v2-parked 로 화면에서만 감춘다.
     (클래스를 떼면 그 자리에서 그대로 복구된다)
   ========================================================== */
.v2-parked { display: none !important; }

body.is-lite {
  --paper-hanji: #FFFDF8;
  --paper-line: #EDE6D9;
  --ink-book: #201C16;
  --ink-book-2: #4A4238;
  --ink-mute: #776E5F;
  --lite-warn-bg: #FDECE7;
  --lite-warn-ink: #A03826;
  --lite-up-bg: #FDF4E1;
  --lite-up-ink: #8F5B12;
  --lite-real-bg: #EAF3E5;
  --lite-real-ink: #2E6A45;
}

/* ── ① 맨 위 · 내 사주 카드 (생년월일 · 수정 + 미니 원국 1줄) ───────── */
body.is-lite .savedbar {
  flex-wrap: wrap; align-items: flex-start;
  margin-top: 16px; padding: 15px 17px 14px;
  background: var(--paper);
  border: 1px solid var(--hair-soft);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
body.is-lite .savedbar__who { flex: 1 1 auto; min-width: 0; }
body.is-lite .savedbar__name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
body.is-lite .savedbar__meta { font-size: 11px; line-height: 1.55; margin-top: 4px; }

.natalmini {
  flex: 0 0 100%; display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-top: 11px;
  padding-top: 10px; border-top: 1px dashed var(--hair-soft);
}
.natalmini[hidden] { display: none !important; }
.natalmini__row {
  display: flex; align-items: flex-end; gap: 9px; flex-wrap: wrap;
  font-family: var(--serif); color: var(--ink-book);
}
/* 한 주(시·일·월·년) = 세로 한 칸 — 위에 작은 자리 이름, 아래에 두 글자 칩 */
.natalmini__col { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.natalmini__pos {
  font-family: var(--sans); font-size: 8.5px; font-weight: 600;
  color: #9A9081; letter-spacing: .04em; line-height: 1;
}
.natalmini__chips { display: flex; gap: 2px; }
.natalmini__chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 23px; padding: 0 3px;
  border-radius: 6px;
  font-family: var(--serif); font-size: 13px; font-weight: 700; line-height: 1;
  letter-spacing: 0;
  /* 2026-11-24 — 두 글자가 한 덩어리로 뭉치지 않게: 칩이 줄어들지 않고 글자도 붙지 않는다 */
  flex: 0 0 auto; white-space: nowrap; overflow: visible;
}
/* 원국표(#natal .natal__tile)와 같은 오방색 토큰만 쓴다 — 목 연두 · 화 분홍 · 토 노랑 · 금 흰/회 · 수 짙은남색 */
.natalmini__chip--목 { background: var(--ob-wood-bg);  color: var(--ob-wood-ink); }
.natalmini__chip--화 { background: var(--ob-fire-bg);  color: var(--ob-fire-ink); }
.natalmini__chip--토 { background: var(--ob-earth-bg); color: var(--ob-earth-ink); }
.natalmini__chip--금 { background: var(--ob-metal-bg); color: var(--ob-metal-ink); box-shadow: inset 0 0 0 1px var(--ob-metal-line); }
.natalmini__chip--수 { background: var(--ob-water-bg); color: var(--ob-water-ink); }
.natalmini__chip--none { background: #F6F3EC; color: #BFB6A6; }
/* 일주(나) — 테두리 한 줄로만 표시한다. 칩 색은 오행 색 그대로 둔다 */
.natalmini__col.is-me .natalmini__chip { outline: 1.5px solid rgba(160, 56, 38, .55); outline-offset: 1px; }
.natalmini__col.is-none .natalmini__pos { color: #C7BFB0; }
.natalmini__tog {
  margin-left: auto; appearance: none; border: 0; cursor: pointer;
  background: #F5F1E7; color: #6B6152;
  border-radius: 999px; padding: 5px 10px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: -.02em;
}
.natalmini__tog:active { transform: scale(.97); }
/* 펼쳤을 때 미니 1줄 대신 왼쪽에 서는 작은 이름 */
.natalmini__cap {
  font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  color: #9A9081; letter-spacing: .02em; margin-right: auto;
}
.natalmini__cap[hidden] { display: none !important; }

/* 4차 — 원국표는 별도 카드가 아니라 이 카드 안 제자리에서 펼쳐진다 */
.natalinline { flex: 0 0 100%; width: 100%; }
.natalinline[hidden] { display: none !important; }
.natalinline .natal {
  margin-top: 6px; padding-top: 2px; padding-bottom: 2px;
  border-top: 0; border-bottom: 0;
}
.natalinline .natal__pos { font-size: 9px; }
.natalinline .natal__tile { width: 38px; height: 38px; font-size: 20px; border-radius: 11px; }
.natalinline .micro { margin: 7px 0 0; font-size: 9.5px; line-height: 1.6; color: var(--ink-mute, #776E5F); }

body.is-lite #natalCard { margin-top: 12px; }
body.is-lite #natalCard.is-collapsed { display: none; }

/* ── ② 3줄 후킹 — 정갈한 순백 카드 (2026-11-23 4차: 누런 크림 바탕·형광펜 밑줄 제거) ──
   · 바탕은 페이지와 어우러지는 #ffffff + 얇은 테두리만
   · 강조는 형광펜 없이 굵은 진먹색 글씨로만 */
.hook3 {
  margin-top: 14px; padding: 20px 19px 6px;
  background: #FFFFFF;
  border: 1px solid rgba(31, 27, 22, .10);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(31, 27, 22, .05);
  color: var(--ink-book);
}
.hk {
  margin: 0 0 15px; padding: 1px 0 15px;
  border-bottom: 1px solid rgba(31, 27, 22, .08);
}
.hk:last-child { margin-bottom: 0; padding-bottom: 13px; border-bottom: 0; }
/* 라벨 — 색 배지 대신 자간 넓은 작은 글씨 (미니멀 톤) */
.hk__label {
  display: inline-block; margin: 0 0 7px; padding: 0;
  background: none; border: 0; border-radius: 0;
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .17em; line-height: 1.5; color: #9A8F80;
}
.hk__label--today { color: #9A8F80; }
.hk__label--year  { color: #8E5A4A; }
.hk__label--core  { color: #6E675B; }
.hk__text {
  margin: 0; font-family: var(--sans);
  font-size: 14.5px; line-height: 1.8; letter-spacing: -.01em;
  color: #2E2A24; word-break: keep-all;
}
.hk-name { font-weight: 800; color: #A03826; }
/* 강조 — 형광펜 배경 없이 굵은 진먹색 글씨로만 */
.hk-hl {
  font-weight: 800; color: #1E1B16; padding: 0; background: none;
}
.hk-mark { font-weight: 700; }

/* ── ③ 3색 달력 — 색 셋만 또렷하게, 평범한 날은 종이 바탕 ──────── */
body.is-lite .cal { row-gap: 6px; column-gap: 4px; padding-top: 12px; }
body.is-lite .day {
  min-height: 64px; padding: 7px 1px 8px; gap: 3px;
  border-radius: 13px;
  background: #FFFDF8;
  box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .055);
}
body.is-lite .day__num { font-size: 13px; }
body.is-lite .day__badges { gap: 1px; min-height: 13px; }
body.is-lite .day__badge--lite {
  display: block; width: 100%;
  padding: 2px 1px; line-height: 1.15; border-radius: 4px;
  font-size: 8px; font-weight: 700; letter-spacing: -.05em;
  text-align: center;
}

/* ⚠️ 조심 — 연분홍/살구 틴트 + 테라코타 포인트 */
body.is-lite .cal .day.day--lite-warn {
  background: var(--lite-warn-bg);
  box-shadow: inset 0 0 0 1px rgba(160, 56, 38, .22);
}
body.is-lite .day--lite-warn .day__num { color: var(--lite-warn-ink); }
body.is-lite .day__badge--warn {
  background: rgba(160, 56, 38, .10); color: #7E3325;
  box-shadow: inset 0 0 0 1px rgba(160, 56, 38, .20);
}

/* ⚡ 기운 UP — 앰버/크림골드 틴트 + 오커 포인트 */
body.is-lite .cal .day.day--lite-up {
  background: var(--lite-up-bg);
  box-shadow: inset 0 0 0 1px rgba(169, 112, 42, .24);
}
body.is-lite .day--lite-up .day__num { color: var(--lite-up-ink); }
body.is-lite .day__badge--up {
  background: rgba(169, 112, 42, .13); color: #7E5310;
  box-shadow: inset 0 0 0 1px rgba(169, 112, 42, .24);
}

/* 🌿 실속·정리 — 세이지/연그린 틴트 + 포레스트 그린 포인트 */
body.is-lite .cal .day.day--lite-real {
  background: var(--lite-real-bg);
  box-shadow: inset 0 0 0 1px rgba(63, 107, 74, .24);
}
body.is-lite .day--lite-real .day__num { color: var(--lite-real-ink); }
body.is-lite .day__badge--real {
  background: rgba(63, 107, 74, .11); color: #2A5F3B;
  box-shadow: inset 0 0 0 1px rgba(63, 107, 74, .22);
}

/* 오늘·고른 날 표시는 색 위에서도 보이게 */
body.is-lite .day.is-today .day__num { box-shadow: inset 0 0 0 1.5px rgba(31, 27, 22, .55); }
body.is-lite .day.is-sel .day__num { box-shadow: none; }
body.is-lite .cal .day.day--pick { box-shadow: inset 0 0 0 2px rgba(31, 27, 22, .34); }
body.is-lite .day--dim { opacity: .34; }

/* ── 달력 위 요약·필터 ─────────────────────────────── */
body.is-lite .cal__summary { font-size: 11.5px; color: var(--ink-mute); margin-top: 10px; }
body.is-lite .sum { font-weight: 700; }
body.is-lite .sum--warn { color: var(--lite-warn-ink); }
body.is-lite .sum--up { color: var(--lite-up-ink); }
body.is-lite .sum--real { color: var(--lite-real-ink); }
body.is-lite .sum__dot { color: #D8CFC0; margin: 0 5px; }

body.is-lite .calfilter { margin: 12px 2px 4px; padding: 3px; gap: 3px; background: #F6F1E7; }
body.is-lite .calfilter__btn { font-size: 10px; padding: 8px 2px; color: var(--ink-mute); letter-spacing: -.04em; }
body.is-lite .calfilter__btn.is-on { background: #FFFDF8; color: var(--ink-book); box-shadow: 0 1px 3px rgba(31, 27, 22, .10); }
body.is-lite .calfilter__btn--warn.is-on { color: var(--lite-warn-ink); }
body.is-lite .calfilter__btn--up.is-on { color: var(--lite-up-ink); }
body.is-lite .calfilter__btn--real.is-on { color: var(--lite-real-ink); }

/* 모아보기 목록 — 3색 중 고른 색만 */
body.is-lite .calfocus { margin: 10px 2px 0; padding: 13px 13px 11px; background: #FCF8F1; border-radius: 16px; }
body.is-lite .calfocus__list--lite { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
body.is-lite .fday--lite {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; text-align: left; padding: 9px 12px;
  background: #FFFDF8; border: 1px solid var(--paper-line); border-radius: 12px;
}
body.is-lite .fday--lite .fday__date { font-size: 11.5px; font-weight: 700; color: var(--ink-book); }
body.is-lite .fday--lite .fday__line { font-family: var(--serif); font-size: 12.5px; line-height: 1.5; color: #5C5346; }
body.is-lite .fday--warn { border-color: rgba(160, 56, 38, .26); }
body.is-lite .fday--up { border-color: rgba(169, 112, 42, .28); }
body.is-lite .fday--real { border-color: rgba(63, 107, 74, .26); }

/* ── ④ 날짜 상세 팝업 — 책 한 페이지 ─────────────────────── */
body.is-lite .modal__dialog--lite { background: var(--paper-hanji); }
body.is-lite .modal__dialog--lite .modal__topbar { background: transparent; }
.litemodal__date {
  font-family: var(--serif); font-size: 27px; line-height: 1.2;
  margin-top: 6px; padding-right: 100px; letter-spacing: -.02em;
  color: var(--ink-book);
}
.litemodal__date span {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0; color: var(--ink-mute); margin-top: 4px;
}
.litemodal__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.litemodal__tag {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: -.02em;
}
.litemodal__tag--warn { background: var(--lite-warn-bg); color: #7E3325; box-shadow: inset 0 0 0 1px rgba(160, 56, 38, .22); }
.litemodal__tag--up { background: var(--lite-up-bg); color: #7E5310; box-shadow: inset 0 0 0 1px rgba(169, 112, 42, .24); }
.litemodal__tag--real { background: var(--lite-real-bg); color: #2A5F3B; box-shadow: inset 0 0 0 1px rgba(63, 107, 74, .22); }
.litemodal__tag--calm { background: #F2EFE7; color: var(--ink-mute); box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .08); }

.litemodal__head {
  margin: 15px 0 0; font-family: var(--serif);
  font-size: 19px; line-height: 1.45; letter-spacing: -.02em;
  color: var(--ink-book);
}
.litemodal__body { margin-top: 12px; }
.litemodal__why {
  margin: 0; font-size: 14px; line-height: 1.78; color: var(--ink-book-2);
  letter-spacing: -.01em; word-break: keep-all;
}
.litemodal__act {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 11px; padding: 12px 13px; border-radius: 14px;
}
.litemodal__act--avoid { background: #FBF0ED; }
.litemodal__act--keep { background: #EFF4EA; }
.litemodal__k { font-size: 13px; line-height: 1.55; }
.litemodal__actp { margin: 0; flex: 1; font-size: 13px; line-height: 1.65; color: var(--ink-book-2); }
.litemodal__actp b { display: block; font-size: 10.5px; letter-spacing: .02em; color: var(--ink-mute); margin-bottom: 2px; }
.litemodal__actp span { display: block; }
.litemodal__foot { margin: 16px 0 0; font-size: 10.5px; color: #A2988A; letter-spacing: .02em; }
body.is-lite .modal__dialog--lite .modal__done-btn { margin-top: 16px; }

@media (max-width: 360px) {
  .hook3 { padding: 18px 16px 4px; }
  .hk__text { font-size: 13.8px; }
  body.is-lite .day { min-height: 60px; }
  body.is-lite .day__badge--lite { font-size: 7.5px; }
}

/* 2.0 날짜 팝업 — 본문 세 단에만 집중 (소리 토글은 달력 아래 것 하나로) */
body.is-lite .modal__sound { display: none; }

/* 2.0 — 지난 날도 같은 세기로 (테스트 기간엔 모두 열려 있다). 무료구간 링도 걷어 낸다 */
body.is-lite .day--past { opacity: 1; }
body.is-lite .day--past .day__badges { visibility: visible; }
body.is-lite .day--free { box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .055); }
/* 소리 토글은 달력 아래 조용한 글자 하나로 */
body.is-lite .cal__tools { margin: 2px 2px 0; }
body.is-lite .soundbtn {
  border-color: transparent; background: transparent;
  color: #A2988A; font-size: 10px; padding: 4px 7px;
}

/* 달력 아래 한 줄 안내도 같은 종이 톤으로 */
body.is-lite .cal__note {
  background: #FCF8F1; color: #776E5F;
  border-radius: 14px; padding: 12px 14px;
  font-size: 11.5px; line-height: 1.65;
}
/* 달력 위 안내 — 처음 보는 자리라 과하지 않게, 달력을 밀어내지 않을 만큼만 (2026-11-23 5차) */
body.is-lite .cal__note--top {
  margin-top: 8px; padding: 8px 12px;
  border-radius: 12px; font-size: 11px; line-height: 1.62;
}

/* ==========================================================
   2026-11-23 2차 — 저녁 1초 체크 · 액운 태우기 아래 두 칸
   ========================================================== */

/* ── 셀 귀퉁이 기록 점 + 이번 달 기록 ─────────────────── */
.day__night {
  position: absolute; right: 6px; bottom: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #5F6FBF;
  box-shadow: 0 0 0 1.5px #FFFDF8;
}
.cal__nightrec {
  margin: 9px 0 0; font-family: var(--sans);
  font-size: 11px; font-weight: 800; letter-spacing: -.01em;
  color: #6B62A8;
}
.cal__nightrec[hidden] { display: none !important; }

/* ── 날짜 팝업 아래 '🌙 오늘 밤 1초 체크' ─────────────────── */
.nightcheck {
  margin-top: 16px; padding: 15px 14px 13px;
  background: #F4F1FB; border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(95, 111, 191, .14);
}
.nightcheck__t {
  margin: 0; font-family: var(--serif);
  font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: #2B2A44;
}
.nightcheck__d {
  margin: 5px 0 0; font-size: 11.5px; line-height: 1.6;
  color: #726E8C; letter-spacing: -.01em; word-break: keep-all;
}
.nightcheck__row { display: flex; gap: 6px; margin-top: 11px; }
.ncbtn {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 2px; border: 1px solid rgba(95, 111, 191, .18);
  border-radius: 12px; background: #FFFDF8; color: #4A4768;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: -.03em; line-height: 1.25; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ncbtn span { font-size: 16px; line-height: 1; }
.ncbtn.is-on {
  background: #2B2A44; color: #FFF; border-color: #2B2A44;
  box-shadow: 0 4px 10px rgba(43, 42, 68, .20);
}
.ncbtn:active { transform: scale(.97); }
.nightcheck__memo {
  width: 100%; margin-top: 9px; padding: 10px 12px;
  border: 1px solid rgba(95, 111, 191, .18); border-radius: 11px;
  background: #FFFDF8; font-family: var(--sans);
  font-size: 12px; color: #2B2A44;
}
.nightcheck__memo::placeholder { color: #A6A2BC; }
.nightcheck__saved {
  margin: 8px 0 0; font-size: 10.5px; font-weight: 700; color: #5F6FBF;
}
.nightcheck__saved[hidden] { display: none !important; }

/* ── 액운 태우기 아래 ① 케미 ② 수호 부적 ─────────────────── */
.duo { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.duo__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; text-align: left; padding: 17px 17px 15px;
  border-radius: 20px; border: 1px solid var(--hair-soft);
  background: var(--paper); box-shadow: var(--shadow);
  text-decoration: none; color: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.duo__eyebrow {
  font-family: var(--sans); font-size: 9.5px; font-weight: 800;
  letter-spacing: .14em; color: #A2988A;
}
.duo__t {
  font-family: var(--serif); font-size: 15.5px; font-weight: 700;
  line-height: 1.45; letter-spacing: -.02em; color: var(--ink-book);
  word-break: keep-all;
}
.duo__d {
  font-size: 11.5px; line-height: 1.6; color: var(--ink-mute);
  letter-spacing: -.01em; word-break: keep-all;
}
.duo__go { margin-top: 6px; font-size: 11.5px; font-weight: 800; color: #8F5B12; }
.duo__card--chemi {
  position: relative;
  background: linear-gradient(160deg, #FFF5F0, #FFFDF8 72%);
  border-color: rgba(198, 88, 66, .22);
  box-shadow: 0 16px 32px -26px rgba(198, 88, 66, .8);
}
.duo__card--chemi .duo__eyebrow { color: #B4706A; }
/* 우측 상단 작은 배지 — 케미테스트는 무료·공유 카드 (2026-11-23 #16314) */
.duo__badge {
  position: absolute; top: 13px; right: 13px;
  padding: 4px 8px 5px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid rgba(198, 88, 66, .28);
  font-family: var(--sans); font-size: 8.5px; font-weight: 800;
  letter-spacing: .04em; line-height: 1; color: #C0583F;
  box-shadow: 0 4px 10px -6px rgba(198, 88, 66, .6);
}
/* 풀폭 버튼 — 작은 글자 링크 대신 카드 폭에 꼭 차게, 따뜻한 코랠/테라코타 (2026-11-23 #16314) */
.duo__card--chemi .duo__go {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; margin-top: 13px; padding: 12px 10px;
  border-radius: 13px;
  background: linear-gradient(135deg, #E4735A, #C65540);
  color: #FFF7F3;
  font-size: 12.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 12px 22px -14px rgba(198, 85, 64, .95);
}
.duo__card--chemi .duo__go span { font-size: 12px; opacity: .9; }
.duo__card--talis {
  background: #1E1F27;
  background-image: radial-gradient(125% 95% at 0% 0%, rgba(212, 175, 95, .20), rgba(30, 31, 39, 0) 62%);
  border-color: rgba(240, 200, 112, .28);
  color: #F4F2EE;
}
.duo__card--talis .duo__eyebrow { color: #D9B461; }
.duo__card--talis .duo__t { color: #FFF9EC; }
.duo__card--talis .duo__d { color: #C9C3B4; }
.duo__card--talis .duo__go { color: #F5C871; }
.duo__card:active { transform: scale(.99); }

/* 달력 칸 배지 — 새 키워드(계약·돈 등)가 칸을 넘지 않게 */
body.is-lite .day__badge--lite { white-space: nowrap; overflow: hidden; }

/* ── 📱 확대 팝업 한 화면 맞춤 (2026-11-23 3차 · 실기기 캡처 지적) ───────────────
   #talisModal 이 세로로 길어 390×844 / 360×740 에서 글귀와 '오늘 기운 받기'가
   화면 밖으로 잘리고, 기운을 받을 때 뜨는 문구(.talis-phrase)도 보이지 않았다.
   → 제목 · 수호 부적 · 2줄 글귀 · 기운 받기 버튼 · 기운 문구가 스크롤 없이
     한 화면에 들어오도록 '화면 높이에 따라 크기와 여백만' 줄인다.
     (문구·색·부적 그림은 건드리지 않는다) */
@media (max-height: 940px) {
  .modal--talis .modal__content {
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .modal__dialog--talis .modal__eyebrow { font-size: 8.5px; letter-spacing: .16em; }
  .modal__dialog--talis .modal__date { font-size: 21px; margin-top: 3px; }
  .modal__dialog--talis .modal__sub { font-size: 10px; margin-top: 3px; }
  .modal__dialog--talis .talis-showcase { margin-top: 8px; padding: 7px 0 6px; border-radius: 18px; }
  .modal__dialog--talis .talis-showcase .talis-plaque { font-size: 16.5px; }
  .modal__dialog--talis .talis-modal__name { margin-top: 8px; font-size: 18px; }
  .modal__dialog--talis .talis-modal__mantra { margin-top: 4px; }
  .modal__dialog--talis .talis-modal__why--verse { margin-top: 8px; font-size: 13.2px; line-height: 1.68; }
  .modal__dialog--talis .talis-bless-btn { margin-top: 10px; padding: 13px 18px; }
  /* 기운 문구는 부적 위에 겹쳐 있어 자리를 비워 둘 필요가 없다 (2026-11-23 5차) */
  .modal__dialog--talis .talis-phrase { font-size: 13px; line-height: 1.55; }
  .modal__dialog--talis .talis-bless__note { margin-top: 6px; }
  .modal__dialog--talis .modal__done-btn { margin-top: 8px; padding: 12px 18px; }
}
@media (max-height: 800px) {
  .modal__dialog--talis .modal__date { font-size: 19px; }
  .modal__dialog--talis .talis-showcase .talis-plaque { font-size: 14.5px; }
  .modal__dialog--talis .talis-modal__name { margin-top: 6px; font-size: 16.5px; }
  .modal__dialog--talis .talis-modal__why--verse { margin-top: 6px; font-size: 12.6px; line-height: 1.62; }
  .modal__dialog--talis .talis-bless-btn { margin-top: 8px; padding: 12px 16px; }
  .modal__dialog--talis .talis-phrase { font-size: 12.2px; line-height: 1.5; }
}
@media (max-height: 700px) {
  .modal__dialog--talis .modal__sub,
  .modal__dialog--talis .talis-modal__mantra { display: none; }
  .modal__dialog--talis .talis-showcase .talis-plaque { font-size: 14.5px; }
}

/* ── 🎁 친구 초대 보상 기간 한 줄 (2026-11-24) ─────────────────────────
   친구 추천으로 달력이 열려 있는 동안에만 보인다. 그동안은 '7일 무료' 문구를 감춘다. */
.bonusbar{
  margin: 10px 0 2px; padding: 10px 13px; border-radius: 14px;
  background: #FDF3DD; border: 1px solid rgba(165, 101, 15, .22);
  color: #8A4E0B; font-size: 12px; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.55; text-align: center;
}
.bonusbar b{ color: #78350F; font-weight: 800; }
body.has-bonus .js-trial{ display: none !important; }

/* ==========================================================
   🎁 첫 3일 결제 고객 특별 선물 (2026-11-24)
   · 맨 위 카드 + 맨 아래 구매 버튼 위 안내 — 두 곳만.
   · 차분한 톤: 빨간 경고·깜빡임 없음. 골드 포인트는 얇게만.
   ========================================================== */
.sgift{
  position:relative; margin:14px 0 4px; padding:20px 18px 18px;
  border-radius:22px;
  background:linear-gradient(180deg,#FFFDF8 0%,#FFFFFF 62%);
  border:1px solid rgba(165,101,15,.22);
  box-shadow:0 12px 30px -26px rgba(28,24,19,.55);
}
.sgift[hidden]{display:none !important}
.sgift::before{
  content:""; position:absolute; left:0; top:18px; bottom:18px; width:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,#F7CA79,#A5650F);
}
.sgift__body{min-width:0}
.sgift__x{
  position:absolute; top:9px; right:9px; z-index:2;
  width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--hair-soft); background:rgba(255,255,255,.9);
  color:var(--mute); font-size:12px; line-height:1;
}
.sgift__x:active{transform:scale(.94)}
.sgift__label{
  margin:0 0 7px; padding-right:32px;
  font-size:9.5px; font-weight:800; letter-spacing:.14em;
  color:var(--gold);
}
.sgift__title{
  margin:0; padding-right:26px;
  font-family:var(--serif); font-size:19px; font-weight:600;
  line-height:1.45; letter-spacing:-.02em; color:var(--ink);
  word-break:keep-all;
}
.sgift__desc{
  margin:9px 0 0; font-size:12.5px; line-height:1.78;
  color:var(--ink-2); word-break:keep-all;
}
.sgift__sub{
  margin:6px 0 0; font-size:11.5px; line-height:1.65;
  color:var(--mute); word-break:keep-all;
}
.sgift__clock{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin-top:13px; padding:11px 13px; border-radius:13px;
  background:#FBF7EF; border:1px solid var(--hair-soft);
}
.sgift__clock-k{font-size:10.5px; font-weight:600; color:var(--mute); letter-spacing:-.01em}
.sgift__clock-v{
  font-size:12.5px; font-weight:800; color:var(--navy);
  font-variant-numeric:tabular-nums; letter-spacing:-.01em; white-space:nowrap;
}
.sgift__acts{display:flex; flex-direction:column; gap:8px; margin-top:12px}
.sgift__buy{
  display:flex; align-items:center; justify-content:center; gap:6px;
  width:100%; padding:14px 12px; border-radius:14px; border:0;
  background:var(--navy); color:#FFFFFF;
  font-family:inherit; font-size:13px; font-weight:800; letter-spacing:-.02em;
  line-height:1.35; text-align:center; text-decoration:none;
}
.sgift__buy:active{transform:translateY(1px)}
.sgift__more{
  width:100%; padding:11px 12px; border-radius:12px;
  background:#FFFFFF; border:1px solid var(--hair);
  font-family:inherit; font-size:12px; font-weight:700; color:var(--ink-2);
}
.sgift__more:active{transform:translateY(1px)}
/* 작은 보조 선택지 — 72시간 안에 바로 결제하는 길 (#18832) */
.sgift__quick{
  display:inline-flex; align-items:center; gap:4px;
  margin-top:11px; padding:2px 0; border:0; background:none; cursor:pointer;
  font-family:inherit; font-size:11.5px; font-weight:700; text-align:left;
  letter-spacing:-.01em; color:var(--gold-deep);
  text-decoration:underline; text-underline-offset:3px;
  text-decoration-color:rgba(165,101,15,.4);
  /* 2026-11-24 — 카드 테두리 밖으로 나가던 문제: 글자가 길어지면 칸 안에서 줄을 바꾼다 */
  max-width:100%; min-width:0; flex-wrap:wrap; overflow-wrap:anywhere;
}
.sgift__quick span{font-size:11px}
.sgift__quick:active{opacity:.72}

/* [필수] 개인정보 동의 — 신청 단계에서만 나온다 (2026-11-24) */
.sgift__consent{
  display:flex; align-items:flex-start; gap:8px;
  margin:13px 0 11px; padding:11px 12px;
  border-radius:12px; background:#FBF7EF; border:1px solid var(--hair-soft);
  cursor:pointer;
}
.sgift__consent input{
  flex:none; width:16px; height:16px; margin:1px 0 0;
  accent-color:#1B2940;
}
.sgift__consent-t{
  font-size:10.5px; line-height:1.62; color:var(--ink-2);
  letter-spacing:-.01em; word-break:keep-all;
}
.sgift__consent-t b{font-weight:800; color:#C21F46; letter-spacing:0}
.sgift__consent-n{margin:-6px 0 10px; font-size:9.5px; color:var(--mute); text-align:right}
.sgift__buy[disabled]{opacity:.42}

/* 결제 팝업 안 특별 선물 카드 — 가격 카드 바로 아래 한 칸 (2026-11-24)
   2026-11-25 강조 (#3581, 윤희 님 "첫3일 결제 혜택이 눈에 안 들어온다"):
   아래 4줄짜리 특징 목록과 섞이지 않게 따뜻한 금빛 바탕 + 또렷한 테두리 + 금색 알약 배지.
   빨간 경고·깜박임 없이 '고급 웰니스' 톤은 그대로 둔다. */
.shopgift{
  position:relative; margin:10px 0 13px; padding:11px 12px 11px 15px;
  border-radius:14px;
  background:linear-gradient(135deg,#FFF4DC 0%,#FCE7BC 55%,#FADFAA 100%);
  border:1.5px solid rgba(165,101,15,.55);
  box-shadow:0 10px 22px -16px rgba(130,80,10,.75), inset 0 1px 0 rgba(255,255,255,.8);
  overflow:hidden;
}
.shopgift::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  background:linear-gradient(180deg,#E8A33A,#A5650F);
}
.shopgift__pill{
  display:inline-block; margin:0 0 7px; padding:3px 9px 3.5px;
  border-radius:999px;
  background:linear-gradient(180deg,#C98A22,#A5650F);
  color:#FFFFFF; font-size:8.5px; font-weight:800; letter-spacing:.04em;
  box-shadow:0 3px 8px -5px rgba(120,70,5,.9);
}
.shopgift__k{margin:0; font-size:9.5px; font-weight:800; letter-spacing:.02em; color:#8A4E0B}
.shopgift__t{
  margin:4px 0 0; font-size:13px; font-weight:800; line-height:1.42;
  color:#4A3006; letter-spacing:-.03em; word-break:keep-all;
}
.shopgift__d{margin:4px 0 0; font-size:9.5px; line-height:1.5; color:#8A5A16; letter-spacing:-.01em; word-break:keep-all}
/* 혜택 카드와 아래 특징 목록 사이를 한 번 띄워 '다른 칸'임을 분명하게 */
.shopgift + .shop__list--pass{margin-top:14px}

/* ── 결제 팝업 2단 비교 (2026-11-26 윤희 님 — "세번째사진 샘플") ─────────────
   값은 두 칸 다 14,900원, 다른 점은 하나 — 첫 3일(72시간) 안에 결제하면
   윤이세가 직접 전하는 맞춤 운세 활용 가이드가 함께 간다.
   · 왼쪽 = 첫 3일(72시간) 이내 (금빛 칸에 남은 시간이 20초마다 줄어든다)
   · 오른쪽 = 72시간 경과 후 (같은 달력, 같은 값 — 체크 네 줄)
   · 360~390px 폭에서도 두 칸이 나란히 서야 하므로 minmax(0,1fr) 두 칸 + keep-all 로
     글자가 한 글자씩 떨어지거나 가로로 넘치지 않게 잡았다. */
.paycmp{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px; margin-top:12px; align-items:stretch;
}
.paycmp__col{
  display:flex; flex-direction:column; min-width:0;
  padding:11px 9px 10px; border-radius:15px;
  background:#FBF7EF; border:1px solid rgba(28,24,19,.10);
}
.paycmp__col--now{ background:#FFFCF4; border-color:rgba(165,101,15,.30); }
/* 두 칸의 제목·이름 높이를 같게 잡아 아래 네이비 배지가 나란히 서게 한다
   (한 칸만 두 줄로 접히면 배지 높이가 어긋나 보인다) */
.paycmp__when{
  display:flex; align-items:center; justify-content:center; min-height:2.8em;
  margin:0; text-align:center; font-size:10px; font-weight:800;
  letter-spacing:-.03em; line-height:1.4; color:#8A5A16; word-break:keep-all;
}
.paycmp__col--later .paycmp__when{ color:var(--mute); font-weight:700; }
.paycmp__name{
  display:flex; align-items:center; justify-content:center; min-height:2.7em;
  margin:5px 0 0; text-align:center;
  font-family:var(--serif); font-size:13px; font-weight:700; line-height:1.35;
  letter-spacing:-.03em; color:var(--ink); word-break:keep-all;
}
/* 14,900원 — 앱의 '네이비 + 금색' 배지 그대로 */
.paycmp__badge{
  margin:9px 0 0; padding:11px 4px 12px; border-radius:13px;
  background:#1B2940; text-align:center;
  box-shadow:0 8px 16px -12px rgba(27,41,64,.9);
}
.paycmp__badge b{
  font-size:17px; font-weight:800; letter-spacing:-.02em;
  color:#FBE4B2; white-space:nowrap;
}
/* 왼쪽 금빛 칸 — 특별 혜택 종료까지 + 남은 시간 + 무료 증정 */
.paycmp__gift{
  margin:8px 0 0; padding:9px 8px 10px; border-radius:12px; text-align:center;
  background:linear-gradient(160deg,#FFF4DC 0%,#FBE5B8 100%);
  border:1px solid rgba(165,101,15,.34);
}
.paycmp__gift-k{
  margin:0; font-size:9.5px; font-weight:800; letter-spacing:-.03em;
  line-height:1.4; color:#8A5A16;
}
.paycmp__gift-clock{
  margin:3px 0 0; font-size:15px; font-weight:800; line-height:1.25;
  letter-spacing:-.04em; color:#8A4E0B; word-break:keep-all;
}
.paycmp__gift-rule{ display:block; height:1px; margin:8px 2px; background:rgba(165,101,15,.26); }
.paycmp__gift-t{
  margin:0; font-size:9.5px; font-weight:600; line-height:1.55;
  letter-spacing:-.03em; color:#7A4A08; word-break:keep-all;
}
.paycmp__gift-t b{ font-weight:800; color:#8A4E0B; white-space:nowrap; }
/* 72시간이 지난 기기 — 칸은 남기고 담담하게 회색으로 (빨간 경고·깜박임 없이) */
.paycmp__col--now.is-over{ background:#FBF7EF; border-color:rgba(28,24,19,.10); }
.paycmp__col--now.is-over .paycmp__when{ color:var(--mute); font-weight:700; }
.paycmp__gift.is-over{ background:#F2EEE4; border-color:rgba(28,24,19,.12); }
.paycmp__gift.is-over .paycmp__gift-k{ color:#8C8477; }
.paycmp__gift.is-over .paycmp__gift-clock{ font-size:13px; color:#9A9184; }
.paycmp__gift.is-over .paycmp__gift-rule{ background:rgba(28,24,19,.12); }
.paycmp__gift.is-over .paycmp__gift-t{ font-weight:500; color:#8C8477; }
/* 오른쪽 — 체크 네 줄 */
.paycmp__list{
  list-style:none; margin:9px 0 0; padding:0;
  display:flex; flex-direction:column; gap:7px; flex:1;
}
.paycmp__list li{
  position:relative; padding-left:13px;
  font-size:10px; line-height:1.45; letter-spacing:-.03em;
  color:var(--ink-2); word-break:keep-all;
}
.paycmp__list li::before{
  content:"✓"; position:absolute; left:0; top:0;
  font-size:10px; font-weight:800; color:#A5650F; line-height:1.45;
}
/* 두 칸 아래 '2027년 12월 31일까지 이용' — 칸마다 같은 자리에 오도록 아래로 붙인다 */
.paycmp__until{
  margin:auto 0 0; padding-top:9px; text-align:center;
  font-size:9px; line-height:1.4; letter-spacing:-.03em;
  color:var(--mute); word-break:keep-all;
}
/* 아주 좁은 폰(360px 이하) — 두 칸을 유지하되 글자를 한 단계 줄인다 */
@media (max-width:360px){
  .paycmp{ gap:6px; }
  .paycmp__col{ padding:10px 7px 9px; }
  .paycmp__name{ font-size:12px; }
  .paycmp__badge{ padding:10px 2px; }
  .paycmp__badge b{ font-size:15.5px; }
  .paycmp__gift{ padding:8px 6px 9px; }
  .paycmp__gift-clock{ font-size:13.5px; }
  .paycmp__list li{ font-size:9.5px; padding-left:12px; }
  .paycmp__list li::before{ font-size:9.5px; }
}

/* 결제 절차 한 줄 — 번호 입력칸 아래 */
.payphone__flow{
  display:block; margin-top:5px; padding:5px 8px; border-radius:8px;
  background:#F6F1E7; border:1px solid rgba(28,24,19,.07);
  font-size:9px; line-height:1.45; color:#4B4438; letter-spacing:-.02em;
  word-break:keep-all;
}
.payphone__flow b{font-weight:800; color:#1B2940; white-space:nowrap}
.payphone__flow-n{margin-left:4px; font-weight:700; color:#8A4E0B}

/* ── 💳 결제 확인 오버레이 (2026-11-25) ─────────────────────────────
   카드결제를 마치고 돌아온 화면에서 서버에 승인을 물어보는 동안(2~3초) 덮는 한 장.
   기다리는 동안에도 "무슨 일이 일어나고 있는지"가 보이게 문장으로 적는다. */
.paywait{
  position:fixed; inset:0; z-index:140;
  display:flex; align-items:center; justify-content:center;
  padding:20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  background:rgba(24,22,19,.62);
  -webkit-backdrop-filter:blur(4px) saturate(.92);
  backdrop-filter:blur(4px) saturate(.92);
  animation:backdropIn .2s ease-out both;
}
.paywait[hidden]{display:none}
.paywait__card{
  width:100%; max-width:340px; text-align:center;
  background:var(--paper, #FBF7EE); border-radius:24px;
  padding:26px 20px 22px;
  box-shadow:0 26px 60px -26px rgba(28,24,19,.55);
  animation:modalIn .32s cubic-bezier(.22,1.2,.48,1) both;
}
.paywait__ic{margin:0 0 8px; font-size:30px; line-height:1; color:#1B2940}
.paywait__t{margin:0; font-size:17px; font-weight:800; letter-spacing:-.03em; color:#1B2940; line-height:1.35}
.paywait__d{margin:8px 0 0; font-size:11.5px; line-height:1.6; color:#4B4438; letter-spacing:-.02em; word-break:keep-all}
.paywait__dots{display:flex; justify-content:center; gap:5px; margin-top:14px}
.paywait__dots[hidden]{display:none}
.paywait__dots i{width:6px; height:6px; border-radius:50%; background:#A5650F; opacity:.35; animation:paywaitDot 1.1s infinite ease-in-out}
.paywait__dots i:nth-child(2){animation-delay:.16s}
.paywait__dots i:nth-child(3){animation-delay:.32s}
@keyframes paywaitDot{0%,100%{opacity:.25; transform:translateY(0)}45%{opacity:.95; transform:translateY(-3px)}}
.paywait__acts{display:flex; flex-direction:column; gap:7px; margin-top:16px}
.paywait__acts[hidden]{display:none}
.paywait__kakao, .paywait__close{
  display:block; width:100%; padding:11px 12px; border-radius:12px;
  font-family:inherit; font-size:12px; font-weight:800; letter-spacing:-.02em;
}
.paywait__kakao{background:#FEE500; color:#3C1E1E; border:1px solid rgba(60,30,30,.12)}
.paywait__close{background:#FFFCF2; color:#6E665A; border:1px solid rgba(28,24,19,.12)}
.paywait__kakao:active, .paywait__close:active{transform:translateY(1px)}
.sgift__toggle{
  display:flex; align-items:center; justify-content:center; gap:6px;
  width:100%; margin:12px 0 2px; padding:11px 12px;
  border-radius:13px; border:1px dashed rgba(165,101,15,.34);
  background:#FFFDF8; color:#8A4E0B;
  font-family:inherit; font-size:11.5px; font-weight:700; letter-spacing:-.01em;
}
.sgift__toggle[hidden]{display:none !important}
.sgift__toggle:active{transform:translateY(1px)}

/* 신청 카드 — 4단계 */
.sgift__steps{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px;
  margin:14px 0 0; padding:0; list-style:none;
}
.sgift__step{
  display:flex; flex-direction:column; align-items:center; gap:5px;
  padding:9px 3px 8px; border-radius:11px;
  background:#FBF7EF; border:1px solid var(--hair-soft);
  text-align:center;
}
.sgift__step-n{
  display:flex; align-items:center; justify-content:center;
  width:20px; height:20px; border-radius:50%;
  background:#E8E0D2; color:#6E665A;
  font-size:10px; font-weight:800;
}
.sgift__step-t{font-size:10px; font-weight:700; color:var(--mute); letter-spacing:-.02em; line-height:1.3}
.sgift__step.is-done{background:#F6F1E7; border-color:#CFC6B7}
.sgift__step.is-done .sgift__step-n{background:var(--navy); color:#fff}
.sgift__step.is-done .sgift__step-t{color:var(--ink-2)}
.sgift__step.is-now{background:#FFFCF2; border-color:rgba(165,101,15,.28)}
.sgift__step.is-now .sgift__step-n{background:var(--gold); color:#fff; box-shadow:0 0 0 3px rgba(165,101,15,.13)}
.sgift__step.is-now .sgift__step-t{color:#8A4E0B}
.sgift__no{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  margin-top:13px; padding:11px 12px; border-radius:12px;
  background:#FBF7EF; border:1px solid var(--hair-soft);
}
.sgift__no span{font-size:10.5px; font-weight:700; color:var(--mute)}
.sgift__no b{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px; font-weight:800; color:var(--gold-deep); letter-spacing:.02em;
}
.sgift__copy{
  margin-left:auto; padding:5px 9px; border-radius:8px;
  border:1px solid var(--hair); background:#fff;
  font-family:inherit; font-size:10.5px; font-weight:700; color:var(--ink-2);
}
.sgift__state{
  margin:10px 0 0; font-size:12px; line-height:1.7; color:var(--ink-2);
  word-break:keep-all;
}
.sgift__state b{color:var(--ink)}
.sgift__hint{
  margin:8px 0 0; font-size:10.5px; line-height:1.65; color:var(--mute);
  word-break:keep-all;
}
.sgift__claim-only{display:none}

/* 맨 아래 — 구매 버튼 바로 위 */
.sgift-foot{
  margin:30px 0 0; padding-top:20px;
  border-top:1px solid var(--hair-soft);
  text-align:center;
}
.sgift-foot[hidden]{display:none !important}
.sgift-foot__label{
  margin:0 0 5px; font-size:9.5px; font-weight:800; letter-spacing:.14em;
  color:var(--gold);
}
.sgift-foot__title{
  margin:0; font-family:var(--serif); font-size:14px; font-weight:600;
  line-height:1.55; color:var(--ink); word-break:keep-all;
}
.sgift-foot__desc{
  margin:7px 0 0; font-size:11px; line-height:1.7; color:var(--ink-2);
  word-break:keep-all;
}
.sgift-foot__note{
  margin:5px 0 0; font-size:10.5px; line-height:1.6; color:var(--mute);
}
.sgift-foot__go{
  margin-top:11px; padding:8px 4px;
  background:none; border:0;
  font-family:inherit; font-size:12.5px; font-weight:800;
  color:var(--gold-deep); letter-spacing:-.01em;
  text-decoration:underline; text-underline-offset:3px;
}
.sgift-foot__go:active{transform:translateY(1px)}
/* 특별 선물 안내가 맨 아래에 있으면 기존 한 줄 버튼은 겹치지 않게 숨긴다 */
body.has-sgift #passFoot{display:none !important}

/* 혜택 자세히 보기 팝업 */
.modal__dialog--sgift{max-width:404px}
.sgiftm__eyebrow{
  margin:0; padding-right:44px;
  font-size:9px; font-weight:800; letter-spacing:.2em; color:var(--gold);
}
.sgiftm__title{
  margin:9px 0 0; padding-right:12px;
  font-family:var(--serif); font-size:21px; font-weight:600;
  line-height:1.42; letter-spacing:-.025em; color:var(--ink);
  word-break:keep-all;
}
.sgiftm__title em{font-style:normal; color:var(--gold-deep)}
.sgiftm__sub{
  margin:10px 0 0; font-size:12px; line-height:1.75; color:var(--ink-2);
  word-break:keep-all;
}
.sgiftm__list{
  margin:16px 0 0; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:9px;
}
.sgiftm__list li{
  display:flex; gap:10px; align-items:flex-start;
  padding:11px 12px; border-radius:13px;
  background:#FBF7EF; border:1px solid var(--hair-soft);
}
.sgiftm__n{
  flex:0 0 20px; width:20px; height:20px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#FFFFFF; border:1px solid rgba(165,101,15,.32);
  color:var(--gold-deep); font-size:10px; font-weight:800;
}
.sgiftm__b{min-width:0}
.sgiftm__b b{display:block; font-size:12px; font-weight:800; color:var(--ink); letter-spacing:-.02em}
.sgiftm__b span{display:block; margin-top:2px; font-size:11px; line-height:1.65; color:var(--ink-2); word-break:keep-all}
.sgiftm__how{
  margin:14px 0 0; padding:12px 13px; border-radius:13px;
  background:#FFFCF2; border:1px solid rgba(165,101,15,.18);
}
.sgiftm__how b{display:block; font-size:11px; font-weight:800; color:#8A4E0B}
.sgiftm__how span{display:block; margin-top:4px; font-size:10.5px; line-height:1.7; color:#78350F; word-break:keep-all}
.sgiftm__note{
  margin:9px 0 0; text-align:center;
  font-size:10.5px; color:var(--mute);
}
.modal--sgift .sgift__buy{margin-top:15px}

/* ── 🎁 도착한 가이드 팝업 (2026-11-25 #21065) ─────────────────────
   윤이세가 '승인'한 가이드를 손님이 자기 달력 앱에서 연다.
   본문은 줄바꿈 그대로, 마지막에 직인 이미지 + '— 윤이세'. */
.sgguide__meta{
  margin:8px 0 0; font-size:10px; font-weight:700; letter-spacing:.02em;
  color:var(--mute);
}
.sgguide__paper{
  margin:14px 0 0; padding:16px 15px;
  border-radius:16px; background:#FFFDF8;
  border:1px solid rgba(165,101,15,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  font-size:12.5px; line-height:1.95; color:var(--ink);
  letter-spacing:-.012em; word-break:keep-all;
  white-space:pre-wrap;
}
.sgguide__sign{
  margin:16px 0 0; padding:14px 12px 12px; text-align:center;
  border-top:1px dashed rgba(165,101,15,.24);
}
.sgguide__seal{display:block; width:158px; max-width:62%; height:auto; margin:0 auto}
.sgguide__name{
  margin:2px 0 0; font-family:var(--serif); font-size:15px; font-weight:600;
  color:var(--ink); letter-spacing:.02em;
}
.sgguide__note{margin:8px 0 0; font-size:10px; line-height:1.7; color:var(--mute); font-weight:600; word-break:keep-all}
.modal--sgift .sgguide__close{margin-top:12px}

@media (max-width:380px){
  .sgift{padding:18px 15px 16px}
  .sgift__title{font-size:17.5px}
  .sgift__step-t{font-size:9.5px}
  .sgiftm__title{font-size:19px}
}

/* ══════════════════════════════════════════════════════════════════════
   2026-11-24 #18271 · #18284 — 전체 기능 접근성 및 발견 가능성 개편
   ① TODAY 요약 + `자세히 보기` · 오늘 밤 1초 체크 상태 칩(.nightchip)
   ② 2027 고비 · 핵심 접이식(.hkfold · 기본 접힘)
   ③ 2×2 바로가기(.quick2x2 / .q2)
   ④ 고정형 이동 메뉴(.qnav)
   새 색을 만들지 않고 기존 토큰(--paper·--ink-book·--gold·--hair-soft)만 쓴다.
   ══════════════════════════════════════════════════════════════════════ */

/* ── ① TODAY — 요약 한 줄 + 오늘 할 일 한 줄 + 1초 체크 칩 ─────────── */
.hook3 { padding-bottom: 12px; }
.hk__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hk__date {
  margin: 0; flex: none;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .01em; color: #A2988A;
}
.hk__do {
  margin: 9px 0 0; font-family: var(--sans);
  font-size: 12.5px; font-weight: 600; line-height: 1.7;
  letter-spacing: -.02em; color: #6B6459; word-break: keep-all;
}
.hk__do[hidden] { display: none !important; }
.hk__do .hk__arw { margin-right: 3px; font-weight: 800; color: #B08948; }
.hk__foot {
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed rgba(31, 27, 22, .13);
}
.nightchip {
  display: flex; align-items: center; gap: 7px; width: 100%;
  padding: 10px 12px; border-radius: 13px;
  border: 1px solid rgba(199, 154, 78, .32);
  background: #FCF8F1;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: -.02em; color: #6B5A36; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
}
.nightchip__ic { flex: none; font-size: 14px; line-height: 1; }
.nightchip__lb { flex: 1 1 auto; min-width: 0; }
.nightchip__st {
  flex: none; padding: 3px 9px 4px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid rgba(199, 154, 78, .38);
  font-size: 10.5px; font-weight: 800; letter-spacing: -.02em; color: #9A7B3E;
  white-space: nowrap;
}
.nightchip__ar { flex: none; font-size: 11px; font-weight: 800; color: #B08948; }
.nightchip:active { transform: scale(.99); }
.nightchip.is-done { background: #F2F7F1; border-color: rgba(74, 124, 89, .30); color: #3C5F46; }
.nightchip.is-done .nightchip__st { color: #356B48; border-color: rgba(74, 124, 89, .34); }
.nightchip.is-done .nightchip__ar { color: #6E8F76; }
.hk__more {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 2px; border: 0; background: none;
  font-family: var(--sans); font-size: 12px; font-weight: 800;
  letter-spacing: -.02em; color: #A03826; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hk__more:active { transform: translateY(1px); }
.hk__more span { font-size: 12px; }

/* ── ② 2027 고비 · 핵심 — 접이식 (기본 접힘) ──────────────────────── */
.hkfold { margin-top: 0; }
.hkfold__sum {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 0 0; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.hkfold__sum::-webkit-details-marker { display: none; }
.hkfold__sum::marker { content: ""; }
.hkfold__t {
  flex: none; font-family: var(--sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: .01em; color: var(--navy);
}
.hkfold__peek {
  margin-left: auto; min-width: 0;
  font-size: 10px; font-weight: 700; letter-spacing: -.02em; color: #A2988A;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hkfold__peek:empty { display: none; }
.hkfold__ic { flex: none; font-size: 12px; line-height: 1; color: #A2988A; transition: transform .2s ease; }
.hkfold[open] .hkfold__ic { transform: rotate(180deg); }
.hkfold[open] .hkfold__sum { padding-bottom: 12px; }
.hkfold__body { padding-top: 12px; }
.hkfold__body .hk:first-child { padding-top: 0; }
.hkfold__body .hk__label { margin-bottom: 5px; }

/* ── ③ 2×2 바로가기 ──────────────────────────────────────────────── */
.quick2x2 {
  margin-top: 14px; padding: 17px 16px 15px;
  border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
}
.quick2x2__eyebrow {
  margin: 0; font-family: var(--sans); font-size: 8.5px; font-weight: 800;
  letter-spacing: .18em; color: #A2988A;
}
.quick2x2__t {
  margin: 5px 0 0; font-family: var(--serif); font-size: 16px; font-weight: 700;
  line-height: 1.4; letter-spacing: -.03em; color: var(--ink-book); word-break: keep-all;
}
.quick2x2__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin-top: 12px;
}
.q2 {
  position: relative;
  display: flex; flex-direction: column; gap: 5px;
  width: 100%; padding: 12px 12px 15px;
  border-radius: 15px; border: 1px solid rgba(31, 27, 22, .09);
  background: #FFFDF8; color: inherit;
  font-family: inherit; text-align: left; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 16px -14px rgba(31, 27, 22, .55);
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, filter .18s ease;
}
.q2:active { transform: scale(.985); filter: brightness(.99); }
.q2__ic { flex: none; font-size: 17px; line-height: 1; }
.q2__b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.q2__t {
  font-family: var(--sans); font-size: 13px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.3; color: #2E2A24; word-break: keep-all;
}
.q2__d {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  line-height: 1.5; letter-spacing: -.02em; color: #776E5F; word-break: keep-all;
  padding-right: 12px;
}
.q2__note {
  font-family: var(--sans); font-size: 9.5px; font-weight: 800;
  line-height: 1.4; letter-spacing: -.02em; color: #A5650F;
  padding-right: 12px;
}
.q2__ar { position: absolute; right: 11px; bottom: 11px; font-size: 11.5px; font-weight: 800; color: #B8AC97; }
.q2__pill {
  display: inline-block; margin-left: 3px; padding: 2px 5px 3px;
  border-radius: 999px; background: #FFFCF2; border: 1px solid rgba(165, 101, 15, .26);
  font-size: 8px; font-weight: 800; letter-spacing: .01em; color: #8A4E0B;
  vertical-align: middle;
}
.q2__app { display: none; }
html.is-standalone .q2__web { display: none; }
html.is-standalone .q2__app { display: block; }
html.is-standalone .q2__pill { display: none; }
.q2--chemi { background: linear-gradient(160deg, #FFF5F0, #FFFDF8 72%); border-color: rgba(198, 88, 66, .22); }
.q2--chemi .q2__ar { color: #C0583F; }
.q2--talis {
  background: #1E1F27;
  background-image: radial-gradient(125% 95% at 0% 0%, rgba(212, 175, 95, .20), rgba(30, 31, 39, 0) 62%);
  border-color: rgba(240, 200, 112, .28);
}
.q2--talis .q2__t { color: #FFF9EC; }
.q2--talis .q2__d { color: #C9C3B4; }
.q2--talis .q2__ar { color: #F5C871; }
.q2--care { background: linear-gradient(160deg, #FFFCF2, #FFFDF8 70%); border-color: rgba(165, 101, 15, .20); }
.q2--care .q2__ar { color: #A5650F; }

/* ── ④ 고정형 이동 메뉴 — 모바일은 하단 바, PC는 떠 있는 알약 ────────── */
.qnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; align-items: stretch; justify-content: space-between; gap: 2px;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(250, 251, 253, .99) 58%, rgba(250, 251, 253, .90));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(31, 27, 22, .10);
  transition: opacity .18s ease;
}
.qnav[hidden] { display: none !important; }
.qnav__b {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 2px 5px; border: 0; border-radius: 12px;
  background: none; font-family: var(--sans);
  font-size: 10px; font-weight: 700; letter-spacing: -.03em; color: #6E675B;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.qnav__b:active { background: #F1EDE5; }
.qnav__ic { font-size: 15.5px; line-height: 1.05; }
.qnav__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
body.is-modal-open .qnav,
body.qnav-typing .qnav { opacity: 0; pointer-events: none; }
body.has-qnav .wrap { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
#todayCard, #quick2x2, #hook3 { scroll-margin-top: 14px; }
@media (min-width: 900px) {
  .qnav {
    bottom: 18px; max-width: 460px;
    padding: 6px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(31, 27, 22, .10);
    box-shadow: 0 16px 34px -20px rgba(28, 24, 19, .55);
  }
  .qnav__b { flex-direction: row; gap: 6px; padding: 9px 10px; font-size: 11.5px; }
  .qnav__ic { font-size: 14px; }
  body.has-qnav .wrap { padding-bottom: 110px; }
}
@media (max-width: 380px) {
  .q2__t { font-size: 12px; }
  .q2__d { font-size: 10px; }
  .q2 { padding: 11px 10px 14px; }
  .qnav__t { font-size: 9.5px; }
}
/* 오늘 팝업의 1초 체크 칸으로 내려왔을 때 — 성찰 카드와 같은 금빛 반짝 */
.nightcheck.is-jump { animation: diaryJumpGlow 1.5s ease-out 1 both; }
@media (prefers-reduced-motion: reduce) {
  .nightchip, .q2, .qnav, .hkfold__ic { transition: none; }
  .nightcheck.is-jump { animation: none; }
}

/* ── 2026-11-24 #18311 — 히어로 소개 문구 + 제목 아래 3개 콤팩트 바로가기 ──
   · 문구: 단정적 보장 표현을 빼고 차분하게 (메인 한 줄 + 보조 한 줄)
   · 바로가기(.hero__jump)는 사주를 넣은 결과 화면에서만 보인다 — 입력 전에는 TODAY·달력이 없다.
     새 기능 없이 이미 있는 자리(TODAY 카드 · 월별 달력 · 오늘 팝업의 1초 체크)로만 보낸다. */
.hero__sub {
  margin: 12px 0 0; max-width: 34em;
  font-size: 12.5px; line-height: 1.75; letter-spacing: -.012em;
  color: var(--ink-2, #55606E); word-break: keep-all;
}
.hero__jump { display: flex; gap: 6px; margin-top: 10px; }
.hero__jump[hidden] { display: none !important; }
.hjump {
  flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 7px 4px; border-radius: 999px;
  border: 1px solid rgba(31, 27, 22, .13); background: rgba(255, 255, 255, .92);
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: -.03em; line-height: 1.2; color: #4A4438;
  white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, background .18s ease;
}
.hjump:active { transform: scale(.98); background: #FFF9EE; }
.hjump__ic { font-size: 12px; line-height: 1; }
body.is-result .hero { padding-bottom: 0; }
body.is-result .hero__sub { display: none; }
@media (max-width: 380px) {
  .hjump { font-size: 10.5px; padding: 7px 2px; }
  .hjump__ic { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .hjump { transition: none; } }
/* 어떤 팝업이든(특별 선물처럼 body 클래스를 안 붙이는 팝업 포함) 열려 있으면 고정 메뉴는 내려간다.
   :has 를 모르는 브라우저는 위의 body.is-modal-open 규칙만으로 동작한다. */
body:has(.modal:not([hidden])) .qnav { opacity: 0; pointer-events: none; }
/* 제목 아래 3개 바로가기는 결과 화면(body.is-result)에서만 — 입력 전·수정 화면에서는 숨긴다 */
body:not(.is-result) #heroJump { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════
   2026-11-24 #18370 『최종 통합 수정·보완 지시서』
   ① TODAY · 오늘의 운세 브리핑 — 제목 1줄 + 본문 3~5문장 + `오늘 상세 운세 보기`
   ② 나의 1초 체크 — TODAY 본문보다 작은 보조 카드(.hkn)
   ③ 이번 달 나의 타이밍 — 달력 위 요약 블록(.monthspec)
   본문에는 어떤 잘림(text-overflow·line-clamp)도 두지 않는다 — 문장을 그대로 보여 준다.
   ══════════════════════════════════════════════════════════════════════ */
.hk__title {
  margin: 7px 0 0;
  font-family: var(--serif); font-size: 17.5px; font-weight: 700;
  line-height: 1.45; letter-spacing: -.035em; color: #1E1B16; word-break: keep-all;
}
.hk__brief {
  margin: 10px 0 0;
  font-family: var(--sans); font-size: 14px; line-height: 1.86;
  letter-spacing: -.012em; color: #2E2A24; word-break: keep-all;
  overflow: visible; max-height: none; -webkit-line-clamp: unset;
}
.hk__sent {
  margin: 0 0 7px; padding: 0;
  overflow: visible; max-height: none; white-space: normal;
  -webkit-line-clamp: unset; text-overflow: clip;
}
.hk__sent:last-child { margin-bottom: 0; }
.hk__sent .hk-name { font-weight: 800; color: #A03826; }
.hk__more--wide { align-self: stretch; justify-content: flex-end; padding: 6px 2px 2px; }

/* ── 🌙 나의 1초 체크 — 작고 조용한 보조 카드 ───────────────────── */
.hkn {
  display: block; width: 100%; margin: 0 0 14px; padding: 12px 14px 13px;
  text-align: left; font-family: var(--sans); cursor: pointer;
  background: #FCF8F1; border: 1px solid rgba(199, 154, 78, .26);
  border-radius: 14px; color: #5F5648;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s ease, border-color .18s ease, transform .14s ease;
}
.hkn:active { transform: scale(.995); }
.hkn__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hkn__t {
  min-width: 0; font-size: 11.5px; font-weight: 800;
  letter-spacing: .01em; color: #8A6B37;
}
.hkn__st {
  flex: none; padding: 3px 9px 4px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid rgba(199, 154, 78, .38);
  font-size: 10px; font-weight: 800; letter-spacing: -.02em; color: #9A7B3E;
  white-space: nowrap;
}
.hkn__d {
  display: block; margin: 6px 0 0;
  font-size: 11.5px; line-height: 1.65; color: #776E5F; word-break: keep-all;
}
.hkn__go {
  display: block; margin-top: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.02em; color: #A03826;
}
.hkn.is-done { background: #F2F7F1; border-color: rgba(74, 124, 89, .28); }
.hkn.is-done .hkn__t { color: #356B48; }
.hkn.is-done .hkn__st { color: #356B48; border-color: rgba(74, 124, 89, .32); }
.hkn.is-done .hkn__go { color: #3C5F46; }
.hkn.is-done .hkn__d { color: #5C7263; }

/* 접이식 제목이 길어졌다 — 자간을 줄여 한 줄에 담는다.
   2026-11-24 #18832: 카드 대표 제목은 '나의 2027년 핵심 사주 해석' 하나로 보이게 키운다. */
.hkfold__t { font-size: 12.5px; letter-spacing: .01em; }

/* ── ③ 이번 달 나의 타이밍 ─────────────────────────────────────── */
.monthspec {
  margin: 12px 0 2px; padding: 13px 14px 11px;
  background: #FCF8F1; border: 1px solid rgba(31, 27, 22, .07);
  border-radius: 15px;
}
.monthspec__t {
  margin: 0; font-family: var(--sans); font-size: 11px; font-weight: 800;
  letter-spacing: .08em; color: #8E5A4A;
}
.monthspec .cal__summary { margin: 6px 0 0; text-align: left; }
.monthspec__go {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 9px 14px 10px;
  border: 1px solid rgba(27, 41, 64, .92); border-radius: 999px;
  background: var(--navy); color: #FFF8EA;
  box-shadow: 0 1px 2px rgba(27, 41, 64, .16), inset 0 1px 0 rgba(255, 255, 255, .10);
  font-family: var(--sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: -.02em; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.monthspec__go span { font-size: 12px; color: #F7CA79; }
/* 펼친 뒤 '달력 접기'는 같은 버튼 모양이되 한 톤 가라앉힌다 */
.monthspec__go.is-open {
  background: #FFFDF8; border-color: rgba(27, 41, 64, .22); color: var(--navy);
  box-shadow: none;
}
.monthspec__go.is-open span { color: #9A7B3E; }
.monthspec__go:active { transform: translateY(1px); }

/* `이번 달 중요한 날 보기` → 달력 그리드가 잠깐 반짝인다(스크롤만으로는 어디인지 모를 때) */
#calGrid.is-spot { animation: calSpot 1.5s ease; border-radius: 14px; }
@keyframes calSpot {
  0%   { box-shadow: 0 0 0 0 rgba(199, 154, 78, 0); }
  28%  { box-shadow: 0 0 0 4px rgba(199, 154, 78, .30); }
  100% { box-shadow: 0 0 0 0 rgba(199, 154, 78, 0); }
}

@media (max-width: 430px) {
  .hk__title { font-size: 16.5px; line-height: 1.44; }
  .hk__brief { font-size: 13.6px; line-height: 1.84; }
  .hkfold__t { font-size: 12px; letter-spacing: .005em; }
  .monthspec { margin-top: 10px; padding: 12px 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hkn, .monthspec__go { transition: none; }
  #calGrid.is-spot { animation: none; }
}
/* TODAY 카드와 1초 체크 카드 사이 — 구분선은 점선 한 줄만 (2026-11-24) */
.hk--today { border-bottom: 0; padding-bottom: 4px; }

/* ══════════════════════════════════════════════════════════════════════
   2026-11-24 #18405 — 2×2 아래 기능 카드 접기(아코디언)
   2×2 는 늘 보이고, 액운 태우기 · 케미·수호부적 · 긴급 개운템 카드는
   기본으로 접힌 채 시작한다. 머리(제목)를 누르면 그 자리에서 접고 편다.
   ══════════════════════════════════════════════════════════════════════ */
.acc__head { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.acc__head:focus-visible { outline: 2px solid rgba(160, 56, 38, .45); outline-offset: 4px; border-radius: 10px; }
.acc__chev {
  flex: none; margin-left: auto; align-self: center;
  font-size: 13px; line-height: 1; color: #A2988A;
  transition: transform .2s ease;
}
.is-acc-open .acc__chev { transform: rotate(180deg); }
.burn__top.acc__head .acc__chev { margin-left: 4px; }

/* 접힘 — 머리만 남기고 내용을 숨긴다(내용은 DOM 에 그대로, 저장·기능도 그대로) */
#burnCard.is-acc-closed { padding-bottom: 16px; }
#burnCard.is-acc-closed .burn__sub,
#burnCard.is-acc-closed #burnOpen { display: none !important; }
#careCard.is-acc-closed { padding-bottom: 16px; }
#careCard.is-acc-closed .carecard__sub,
#careCard.is-acc-closed .carecard__items,
#careCard.is-acc-closed #careGo { display: none !important; }
#duoCard.is-acc-closed .duo__card { display: none !important; }
#duoCard.is-acc-closed { gap: 0; }

/* 케미·수호부적 카드의 머리 — 카드 두 장 위에 한 줄로 */
.acc__head--duo {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 17px; text-align: left;
  border-radius: 18px; border: 1px solid var(--hair-soft);
  background: var(--paper); box-shadow: var(--shadow);
  font-family: var(--sans); color: var(--ink-book);
}
.acc__head--duo .acc__ic { flex: none; font-size: 16px; line-height: 1; }
.acc__head--duo .acc__tt { min-width: 0; }
.acc__head--duo .acc__t {
  display: block; font-size: 13.5px; font-weight: 800; letter-spacing: -.03em; color: #3A342C;
  word-break: keep-all;
}
.acc__head--duo .acc__d {
  display: block; margin-top: 3px; font-size: 11px; font-weight: 600;
  letter-spacing: -.02em; color: #9A8F80; word-break: keep-all;
}
#duoCard.is-acc-open .acc__head--duo { border-color: rgba(199, 154, 78, .38); background: #FCF8F1; }
.acc__head--duo:active { transform: scale(.997); }

@media (max-width: 430px) {
  .acc__head--duo { padding: 13px 14px; }
  .acc__head--duo .acc__t { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc__chev { transition: none; }
}

/* #18405 — 접힌 카드가 '눌러서 펼치는 것'임이 보이게: 동그란 셰브론 + 2×2 아래 한 줄 안내 */
.quick2x2__hint {
  margin: 10px 2px 0; font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: -.02em; color: #A2988A;
}
.acc__chev {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(31, 27, 22, .05); color: #8C8375;
  font-size: 12px; font-weight: 800; line-height: 1;
}
.is-acc-open .acc__chev { background: rgba(199, 154, 78, .16); color: #8A6B37; }
#burnCard .acc__chev, #careCard .acc__chev { position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════════════════════
   2026-11-26 — `MORE · 더 해 볼 것` 4칸 → 상세 카드 한 장만
   · 위 4칸은 그대로, 아래 상세 카드 3장(#burnCard · #duoCard · #careCard)은
     hidden 으로 처음부터 화면에서 완전히 사라진다 — 자리도 차지하지 않는다
     (style.css 위쪽 `[hidden] { display: none !important; }`).
   · 4칸에서 고른 카드 하나만 펼쳐 보이고, 카드 맨 위 `닫기` 로 다시 숨는다.
   ══════════════════════════════════════════════════════════════════════ */
.more-back {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; gap: 4px;
  margin: -6px 0 7px; padding: 4px 10px 5px;
  border-radius: 999px; border: 1px solid rgba(199, 154, 78, .34);
  background: #FCF8F1; color: #8A6B37;
  font-family: var(--sans); font-size: 10.5px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.35; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.more-back span { font-size: 10px; line-height: 1; }
.more-back:active { transform: scale(.97); }
#duoCard .more-back { align-self: flex-start; margin: 0 0 2px 2px; background: rgba(255, 255, 255, .96); }
/* 케미 · 수호부적 — 한 기능만 열었을 때는 머리 줄을 감추고 그 카드 한 장만 */
#duoCard.is-more-chemi .acc__head--duo,
#duoCard.is-more-talis .acc__head--duo { display: none !important; }
#duoCard.is-more-chemi .duo__card--talis,
#duoCard.is-more-talis .duo__card--chemi { display: none !important; }
#burnCard, #duoCard, #careCard { scroll-margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════════════
   2026-11-24 #18494 — '이번 달 나의 타이밍' 안의 달력 접기·펼치기
   달력 자체는 그대로 두고 이 자리에서 보이기만 한다.
   ══════════════════════════════════════════════════════════════════════ */
.calbody[hidden] { display: none !important; }
#calCard.is-cal-closed .cal__note--top { display: none !important; }
#calCard.is-cal-closed { padding-bottom: 16px; }
.monthspec__go { gap: 6px; }
.monthspec__go[aria-expanded="true"] { color: var(--navy); }
#calCard.is-cal-closed .monthspec { margin-bottom: 0; }
/* #18624 — 접힌 동안에는 월 이동 화살표를 숨긴다(자리는 남겨 월 제목 가운데 정렬 유지).
   달력을 펼치면 그대로 돌아온다 — 월 변경 기능 자체는 그대로 둔다. */
#calCard.is-cal-closed .cal__head .navbtn { visibility: hidden; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════════════
   2026-11-24 #18768 — 첫 화면 소개 문구(세 문단) + 무료 체험 사용 안내 카드
   ① 히어로 소개 둘째·셋째 문단 사이 — 원고의 빈 줄 한 칸만큼만 띄운다
   ② .tguide — TODAY 위의 작고 간결한 안내 카드 (모바일 높이 최소)
   ══════════════════════════════════════════════════════════════════════ */
.hero__sub--tail { margin-top: 12px; }

/* 2026-11-24aa #19144 — 제목·✕ 를 없애고 두 문단만 남긴 상시 카드. 여백은 좌우 같게 */
.tguide {
  position: relative;
  margin-top: 14px; padding: 13px 15px 12px;
  border: 1px solid rgba(199, 154, 78, .26);
  border-radius: 16px;
  background: linear-gradient(160deg, #FFFDF8, #FDFAF3 78%);
  box-shadow: 0 1px 2px rgba(43, 33, 20, .03);
}
.tguide[hidden] { display: none !important; }
.tguide__lead {
  font-size: 12.5px; font-weight: 600; line-height: 1.58;
  letter-spacing: -.012em; color: #8F5B12; word-break: keep-all;
}
.tguide__b {
  margin-top: 7px; font-size: 11.5px; line-height: 1.64;
  letter-spacing: -.012em; color: #6E6557; word-break: keep-all;
}
@media (max-width: 380px) {
  .tguide { padding: 12px 13px 11px; }
  .tguide__b { font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════════════════
   2026-11-24 #19801 · #19841 — 첫 화면 3단 카드 분리
   ① TODAY(가장 크게 · 독립 메인 카드)
   ② 나의 2027년 핵심 사주 해석(독립 접이식 · 기본 접힘)
   ③ 저녁엔 나의 하루 한 줄 기록(독립 카드 · 기존 오늘 팝업 1초 체크 연결)
   한 카드(.hook3)에 붙어 있던 세 덩어리를 각각 카드로 떼어 세로로 쌓는다.
   새 색·새 그림은 만들지 않는다 — 기존 아이보리·네이비·골드 토큰만 쓴다.
   ══════════════════════════════════════════════════════════════════════ */
.hook3 {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 14px; padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
/* 사주를 넣기 전에는 통째로 없다 — flex 가 [hidden] 을 덮지 않게 못 박는다 */
.hook3[hidden] { display: none !important; }

/* ── ① TODAY — 넓은 여백 · 뚜렷한 제목 · 골드/네이비 포인트 ─────────── */
.hook3 .hk--today {
  position: relative; margin: 0; padding: 27px 22px 21px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FFF8EC 100%);
  border: 1px solid rgba(199, 154, 78, .38);
  border-radius: 24px;
  box-shadow: 0 12px 28px -18px rgba(31, 27, 22, .30), inset 0 1px 0 rgba(255, 255, 255, .8);
}
/* 카드 맨 위 골드 실선 한 줄 — 그림이 아니라 선 하나로 무게를 준다 */
.hook3 .hk--today::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, rgba(199, 154, 78, 0), rgba(199, 154, 78, .9), rgba(199, 154, 78, 0));
}
.hook3 .hk__label--today {
  font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--gold);
}
.hook3 .hk__date { margin: 0; font-size: 10.5px; color: #9A8F80; }
.hook3 .hk__title {
  margin: 12px 0 0;
  font-family: var(--serif); font-size: 23px; font-weight: 700;
  line-height: 1.42; letter-spacing: -.045em; color: #17202F; word-break: keep-all;
}
.hook3 .hk__brief {
  margin: 14px 0 0;
  font-size: 14.6px; line-height: 1.92; letter-spacing: -.012em; color: #2E2A24;
}
.hook3 .hk__foot { margin-top: 18px; padding-top: 0; border-top: 0; }
.hook3 .hk__more--wide {
  align-self: flex-end; justify-content: center; gap: 7px;
  padding: 12px 20px 13px; border-radius: 999px;
  background: var(--navy); color: #FFF6E4;
  border: 1px solid rgba(27, 41, 64, .94);
  box-shadow: 0 6px 16px -10px rgba(27, 41, 64, .75), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 12.5px; font-weight: 800; letter-spacing: -.02em;
  transition: background .16s ease, transform .14s ease;
}
.hook3 .hk__more--wide span { font-size: 13px; color: #F7CA79; }
.hook3 .hk__more--wide:active { transform: translateY(1px); background: #24344F; }

/* ── ② 나의 2027년 핵심 사주 해석 — 독립 접이식 카드 ───────────────── */
.hook3 .hkfold {
  margin: 0; padding: 0;
  background: #FFFFFF; border: 1px solid rgba(31, 27, 22, .10);
  border-radius: 20px; box-shadow: 0 6px 18px -14px rgba(31, 27, 22, .28);
  overflow: hidden;
}
.hook3 .hkfold__sum {
  display: flex; align-items: center; gap: 12px;
  padding: 17px 18px; cursor: pointer;
}
.hook3 .hkfold[open] .hkfold__sum { padding-bottom: 12px; }
.hook3 .hkfold__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1 1 auto; }
.hook3 .hkfold__t {
  font-size: 14.5px; font-weight: 800; letter-spacing: -.03em; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hook3 .hkfold__peek {
  margin-left: 0; font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; color: #8A8072;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hook3 .hkfold__ic {
  margin-left: auto; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #FBF4E7; border: 1px solid rgba(199, 154, 78, .34);
  font-size: 12px; color: #9A7B3E;
}
.hook3 .hkfold__body { padding: 0 18px 18px; }
.hook3 .hkfold__body .hk {
  margin: 0; padding: 14px 0 0;
  border-top: 1px dashed rgba(31, 27, 22, .12); border-bottom: 0;
}
.hook3 .hkfold__body .hk:first-child { border-top: 0; padding-top: 2px; }
.hook3 .hkfold__body .hk:last-child { padding-bottom: 0; }

/* ── ③ 저녁엔 나의 하루 한 줄 기록 — 독립 카드 ─────────────────────── */
.hook3 .hkn {
  display: block; width: 100%; margin: 0; padding: 17px 18px 16px;
  text-align: left; background: #FFFFFF;
  border: 1px solid rgba(31, 27, 22, .10); border-radius: 20px;
  box-shadow: 0 6px 18px -14px rgba(31, 27, 22, .28);
  color: #5F5648;
}
.hook3 .hkn__top { display: flex; align-items: center; gap: 9px; }
.hook3 .hkn__ic { flex: none; font-size: 16px; line-height: 1; }
.hook3 .hkn__t {
  flex: 1 1 auto; min-width: 0;
  font-size: 14.5px; font-weight: 800; letter-spacing: -.03em; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hook3 .hkn__st {
  flex: none; padding: 3px 9px 4px; border-radius: 999px;
  background: #FFFCF5; border: 1px solid rgba(199, 154, 78, .42);
  font-size: 10px; font-weight: 800; letter-spacing: -.02em; color: #9A7B3E;
  white-space: nowrap;
}
.hook3 .hkn__d { display: block; margin: 9px 0 0; font-size: 12.5px; line-height: 1.7; color: #776E5F; }
.hook3 .hkn__cta { display: flex; justify-content: flex-end; margin-top: 13px; }
.hook3 .hkn__go {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 11px 17px 12px; border-radius: 999px;
  background: var(--navy); color: #FFF6E4;
  border: 1px solid rgba(27, 41, 64, .94);
  box-shadow: 0 6px 16px -10px rgba(27, 41, 64, .75), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 12px; font-weight: 800; letter-spacing: -.02em;
}
.hook3 .hkn.is-done { background: #FBFDFA; border-color: rgba(74, 124, 89, .26); }
.hook3 .hkn.is-done .hkn__st { background: #F5FAF4; color: #356B48; border-color: rgba(74, 124, 89, .34); }
.hook3 .hkn.is-done .hkn__go { background: #35624A; border-color: rgba(53, 98, 74, .9); color: #F6FBF7; }
.hook3 .hkn.is-done .hkn__d { color: #5C7263; }

@media (max-width: 380px) {
  .hook3 { gap: 10px; }
  .hook3 .hk--today { padding: 23px 18px 19px; }
  .hook3 .hk--today::before { left: 18px; right: 18px; }
  .hook3 .hk__title { font-size: 21px; }
  .hook3 .hk__brief { font-size: 13.8px; line-height: 1.9; }
  .hook3 .hkfold__sum { padding: 15px 15px; }
  .hook3 .hkfold__body { padding: 0 15px 16px; }
  .hook3 .hkn { padding: 15px 15px 14px; }
  .hook3 .hkn__t { font-size: 13.5px; }
  .hook3 .hkn__go { padding: 10px 14px 11px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hook3 .hk__more--wide { transition: none; }
}
