:root {
  --ink: #1e1a16;
  --text: #4b3f33;
  --red: #8b2e2a;
  --red-dark: #71231f;
  --teal: #356259;
  --muted: #75685b;
  --paper: #f3e9d9;
  --paper-soft: #f8f2e8;
  --paper-deep: #ede1cf;
  --border: #d7c6ad;
  --warning: #8b5a27;
  --error: #922d29;
  --card-radius: 18px;
  --form-radius: 12px;
  --button-radius: 14px;
  color: var(--ink);
  font-family: "Noto Serif KR", "Malgun Myeongjo", Georgia, serif;
  background: #e5d8c5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html, body, #app { width: 100%; min-height: 100%; margin: 0; overflow-x: clip; background: var(--paper-soft) url("assets/background/hanji-light.webp") repeat; background-size: 265px 256px; }
body { min-width: 320px; color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 8px; background: var(--ink); color: white; font-family: "Noto Sans KR", sans-serif; }
.skip-link:focus { top: 12px; }
.network-banner { position: sticky; z-index: 25; top: 0; display: flex; align-items: flex-start; gap: 9px; width: 100%; padding: 11px 20px; border-bottom: 1px solid #caa76e; background: #fff3d9; color: #694718; font: 600 13px/1.5 "Noto Sans KR", "Malgun Gothic", sans-serif; }
.network-banner span:first-child { display: inline-grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #8b5a27; color: white; font-weight: 800; }
.site-stage { width: 100%; min-height: 100dvh; margin: 0; }
.app-shell { position: relative; width: 100%; max-width: none; min-height: 100dvh; margin: 0; overflow: hidden; background: var(--paper-soft) url("assets/background/hanji-light.webp") repeat; background-size: 265px 256px; }
.page { position: relative; min-height: 100dvh; padding: 0 20px calc(100px + env(safe-area-inset-bottom)); }
.page-top { padding-top: 22px; }
.content-stack { display: grid; gap: 24px; }
.section-stack { display: grid; gap: 14px; }
.eyebrow { margin: 0 0 6px; color: var(--red); font: 700 12px/1.4 "Noto Sans KR", sans-serif; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: 29px; line-height: 1.32; letter-spacing: -.055em; color: var(--ink); }
h2 { margin-bottom: 8px; font-size: 21px; line-height: 1.4; letter-spacing: -.04em; color: var(--ink); }
h3 { margin-bottom: 5px; font-size: 18px; line-height: 1.45; color: var(--ink); }
p { margin-bottom: 0; line-height: 1.72; }
.utility, .caption, .helper, .field-error, .chip, .button, label, .nav-label { font-family: "Noto Sans KR", "Malgun Gothic", sans-serif; }
.caption { color: var(--muted); font-size: 13px; line-height: 1.6; }
.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; }
.helper { color: var(--muted); font-size: 13px; line-height: 1.55; }
.field-error { margin-top: 6px; color: var(--error); font-size: 13px; line-height: 1.45; }
.text-link { color: var(--red-dark); font-family: "Noto Sans KR", sans-serif; font-weight: 700; text-underline-offset: 3px; }
.brand-header { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: -.08em; }
.brand-seal { width: 27px; height: 27px; object-fit: contain; }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: rgb(248 242 232 / 76%); }
.icon-button:hover { border-color: var(--red); }
.icon-button:active, .button:active, .menu-card:active, .topic-chip:active, .report-card:active { transform: scale(.98); }
.icon-button img { width: 20px; height: 20px; }
.decor { pointer-events: none; position: absolute; user-select: none; }
.plum-right { right: -106px; top: -118px; width: 230px; opacity: .68; }
.plum-left { left: -93px; top: -106px; width: 205px; opacity: .55; }
.mountain { right: -12px; bottom: 64px; width: 120%; opacity: .28; }
.home-page { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
.home-page .content-stack { gap: 18px; }
.hero { position: relative; min-height: 260px; padding: 26px 18px 16px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--card-radius); background: url("assets/generated/home-hero-cat.webp") 68% center / cover; box-shadow: 0 8px 20px rgb(75 63 51 / 9%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(248 242 232 / 96%) 0%, rgb(248 242 232 / 86%) 45%, rgb(248 242 232 / 24%) 70%, transparent 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 57%; }
.hero h1 { font-size: 29px; line-height: 1.23; }
.hero p { font-size: 14px; color: var(--text); }
.main-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.menu-card { display: grid; min-height: 126px; grid-template-rows: auto minmax(0, 1fr); gap: 7px; overflow: hidden; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background-color: rgb(248 242 232 / 94%); background-image: linear-gradient(180deg, rgb(255 252 246 / 34%), rgb(248 242 232 / 78%)), url("assets/generated/menu-card-hanji-v2.webp"); background-position: center; background-repeat: no-repeat; background-size: cover; color: var(--ink); text-align: left; text-decoration: none; box-shadow: 0 5px 12px rgb(75 63 51 / 6%); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.menu-card:hover { border-color: var(--red); box-shadow: 0 7px 16px rgb(75 63 51 / 10%); }
.menu-card img { width: 40px; height: 38px; padding: 3px; border: 1px solid rgb(135 109 78 / 62%); border-radius: 9px; background: rgb(255 252 246 / 68%); box-shadow: none; object-fit: contain; object-position: center; }
.menu-card > div { align-self: end; padding: 7px 8px; border-left: 2px solid rgb(139 46 42 / 64%); background: rgb(255 252 246 / 68%); }
.menu-card--compatibility img { padding: 0; border-color: transparent; border-radius: 0; background: transparent; box-shadow: none; mix-blend-mode: multiply; }
.menu-card strong { display: block; font-size: 25px; line-height: 1.14; letter-spacing: -.065em; word-break: keep-all; }
.menu-card--saju strong { font-size: 30px; line-height: 1.08; }
.menu-card--wide { grid-column: 1 / -1; min-height: 108px; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: none; gap: 11px; align-items: center; }
.menu-card--wide img { align-self: start; }
.menu-card span { display: block; margin-top: 3px; color: #55463a; font: 600 12px/1.38 "Noto Sans KR", sans-serif; text-shadow: none; }
.menu-card--yearly { min-height: 112px; grid-template-columns: 48px minmax(0, 1fr) 22px; gap: 10px; align-items: center; border-color: rgb(83 109 96 / 55%); background-color: #e8eee5; background-image: linear-gradient(90deg, rgb(233 241 231 / 91%), rgb(240 238 220 / 80%)), url("assets/generated/menu-surface-2027-v1.webp"); box-shadow: 0 7px 16px rgb(53 72 63 / 9%); }
.menu-card--yearly:hover { border-color: var(--teal); box-shadow: 0 9px 18px rgb(53 72 63 / 13%); }
.menu-card--yearly img { width: 45px; height: 43px; padding: 3px; border-color: rgb(53 98 89 / 28%); border-radius: 10px; background: rgb(255 255 255 / 44%); box-shadow: none; }
.menu-card--yearly > div { align-self: center; padding: 0; border: 0; background: transparent; }
.menu-card--yearly strong { color: #274b43; font-size: 26px; letter-spacing: -.06em; text-shadow: none; }
.menu-card--yearly span { color: #48655b; font-weight: 600; text-shadow: none; }
.menu-card__kicker { display: block; margin-bottom: 3px; color: #6a8276; font: 700 10px/1.3 "Noto Sans KR", sans-serif; letter-spacing: .08em; font-style: normal; }
.menu-card__arrow { align-self: center; color: #466a5c; font: 400 24px/1 Georgia, serif; }
.quick-topic-section { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--border); border-radius: var(--card-radius); background: rgb(248 242 232 / 90%) url("assets/generated/menu-surface-2027-v1.webp") center / cover; box-shadow: 0 6px 16px rgb(75 63 51 / 6%); }
.quick-topic-section__heading { display: grid; gap: 2px; }
.quick-topic-section__heading .eyebrow { margin-bottom: 2px; color: var(--red); }
.quick-topic-section__heading h2 { margin: 0; color: var(--ink); font-size: 20px; }
.quick-topic-section__heading > span { display: none; }
.quick-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.quick-topic { position: relative; display: grid; min-height: 78px; grid-template-columns: 27px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 7px; padding: 9px 22px 8px 9px; overflow: hidden; border: 1px solid rgb(215 198 173 / 86%); border-radius: 11px; background: rgb(255 253 247 / 78%); color: var(--ink); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.quick-topic:hover { border-color: rgb(139 46 42 / 56%); background: rgb(255 253 247 / 92%); }
.quick-topic:active { transform: scale(.98); }
.quick-topic__symbol { display: inline-grid; grid-row: 1 / span 2; width: 27px; height: 27px; place-items: center; border: 1px solid rgb(139 46 42 / 30%); border-radius: 8px; color: var(--red-dark); font: 700 15px/1 "Noto Serif KR", serif; }
.quick-topic strong { align-self: end; color: var(--ink); font: 700 14px/1.25 "Noto Sans KR", sans-serif; letter-spacing: -.045em; word-break: keep-all; }
.quick-topic small { grid-column: 2; align-self: start; overflow: hidden; color: var(--muted); font: 11px/1.3 "Noto Sans KR", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.quick-topic b { position: absolute; right: 8px; bottom: 8px; color: var(--red-dark); font: 400 16px/1 Georgia, serif; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading h2 { margin-bottom: 0; }
.paper-card { position: relative; border: 1px solid var(--border); border-radius: var(--card-radius); background: rgb(248 242 232 / 91%); box-shadow: 0 6px 18px rgb(75 63 51 / 7%); }
.today-shortcut { display: grid; grid-template-columns: 1fr 112px; min-height: 132px; overflow: hidden; padding: 18px; text-decoration: none; }
.today-shortcut p { font-size: 15px; }
.today-shortcut img { align-self: end; width: 128px; margin: -12px -25px -34px 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { min-height: 44px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px; background: rgb(248 242 232 / 74%); color: var(--text); font: 500 14px/1 "Noto Sans KR", sans-serif; text-decoration: none; transition: background 160ms ease; }
.topic-chip:hover, .topic-chip[aria-pressed="true"] { border-color: var(--red); background: #f0dfd3; color: var(--red-dark); }
.principle { position: relative; padding: 20px 24px 22px; overflow: hidden; border: 1px dashed var(--border); border-radius: var(--form-radius); background: rgb(243 233 217 / 74%); text-align: center; }
.principle img { position: absolute; right: 12px; bottom: 8px; width: 40px; opacity: .82; }
.principle p { padding-right: 36px; color: var(--ink); font-size: 20px; line-height: 1.5; }
.bottom-nav { position: fixed; z-index: 10; left: 0; bottom: 0; display: grid; width: 100%; grid-template-columns: repeat(5, 1fr); min-height: calc(64px + env(safe-area-inset-bottom)); padding: 7px 4px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgb(248 242 232 / 96%); backdrop-filter: blur(8px); }
.nav-link { display: grid; min-width: 44px; min-height: 50px; place-content: center; gap: 3px; border-radius: 10px; color: var(--muted); text-decoration: none; text-align: center; }
.nav-link img { width: 19px; height: 19px; margin: auto; opacity: .72; }
.nav-link.active { color: var(--red); font-weight: 700; }
.nav-link.active img { opacity: 1; }
.nav-label { font-size: 10px; white-space: nowrap; }
.page-title { margin-top: 24px; }
.back-link { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; color: var(--text); font-family: "Noto Sans KR", sans-serif; font-size: 14px; text-decoration: none; }
.back-link::before { content: "‹"; margin-right: 4px; font: 28px/1 Georgia, serif; }
.form-card { padding: 20px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, legend { color: var(--ink); font-size: 15px; font-weight: 700; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
input, select, textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--form-radius); outline: none; background: rgb(255 255 255 / 42%); color: var(--ink); font-family: "Noto Sans KR", sans-serif; font-size: 16px; }
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgb(53 98 89 / 48%); outline-offset: 2px; }
.segment { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.segment.three { grid-template-columns: repeat(3, 1fr); }
.segment.four { grid-template-columns: repeat(2, 1fr); }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment label { display: grid; min-height: 48px; place-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: rgb(248 242 232 / 68%); color: var(--text); font: 500 14px/1.3 "Noto Sans KR", sans-serif; text-align: center; }
.segment input:checked + label { border-color: var(--red); background: #f0dfd3; color: var(--red-dark); font-weight: 700; box-shadow: inset 0 0 0 1px var(--red); }
.checkbox-row { display: flex; min-height: 44px; align-items: center; gap: 10px; margin-top: 2px; font: 13px/1.55 "Noto Sans KR", sans-serif; }
.checkbox-row input { width: 24px; min-width: 24px; height: 24px; min-height: 24px; accent-color: var(--red); }
/* 체크박스 자체는 24px이지만, 라벨 전체가 44px 높이의 터치 영역이 되도록 한다. */
.checkbox-row label, .checkbox-row > span { display: flex; min-height: 44px; align-items: center; }
.birth-form { padding: 20px; }
.birth-form__intro h2 { margin: 3px 0 5px; font-size: 25px; }
.birth-entry-panel { display: grid; gap: 15px; padding: 17px; border: 1px solid rgb(215 198 173 / 88%); border-radius: 14px; background: rgb(248 242 232 / 72%); }
.birth-entry-panel__title { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 10px; align-items: start; }
.birth-entry-panel__title > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--red); color: white; font: 700 14px/1 "Noto Sans KR", sans-serif; }
.birth-entry-panel__title h2 { margin: 0; font-size: 19px; }
.birth-entry-panel__title h2 small { color: var(--muted); font: 500 12px/1 "Noto Sans KR", sans-serif; }
.birth-entry-panel__title p { margin: 3px 0 0; color: var(--muted); font: 13px/1.5 "Noto Sans KR", sans-serif; }
.birth-entry-panel__option { margin-top: -5px; }
.birth-time-unknown { padding-top: 2px; border-top: 1px solid rgb(215 198 173 / 70%); }
.birth-entry-preview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 15px 17px; border: 1px solid rgb(53 98 89 / 32%); border-radius: 14px; background: rgb(229 238 232 / 58%); }
.birth-entry-preview span { color: var(--teal); font: 700 12px/1 "Noto Sans KR", sans-serif; }
.birth-entry-preview strong { color: var(--ink); font: 700 17px/1.3 "Noto Serif KR", serif; }
.birth-entry-preview em { grid-column: 2; color: var(--muted); font: 13px/1.35 "Noto Sans KR", sans-serif; font-style: normal; }
.birth-extra { border-top: 1px solid rgb(215 198 173 / 78%); }
.birth-extra summary { min-height: 48px; padding: 14px 1px; color: var(--ink); cursor: pointer; font: 700 15px/1.3 "Noto Sans KR", sans-serif; }
.birth-extra summary span { color: var(--muted); font-size: 12px; font-weight: 500; }
.birth-extra__content { display: grid; gap: 18px; padding: 6px 0 2px; }
.button { display: inline-grid; min-height: 52px; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid transparent; border-radius: var(--button-radius); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; transition: background 160ms ease, transform 100ms ease, border-color 160ms ease; }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { border-color: var(--border); background: rgb(248 242 232 / 74%); color: var(--ink); }
.button-full { width: 100%; }
.button[disabled] { cursor: not-allowed; opacity: .54; }
.info-banner { display: flex; gap: 11px; padding: 14px; border: 1px solid #c8d9d4; border-radius: var(--form-radius); background: #e7f0eb; color: #285047; font-family: "Noto Sans KR", sans-serif; font-size: 14px; line-height: 1.55; }
.warning-banner { border-color: #e0c49d; background: #f8ecd8; color: #6c451f; }
.error-banner { border-color: #ddafa9; background: #f8e4df; color: #7f2924; }
.pillars { overflow: hidden; border: 1px solid var(--border); border-radius: var(--form-radius); background: rgb(248 242 232 / 84%); }
.pillars table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
.pillars th { padding: 12px 4px; border-bottom: 1px solid var(--border); background: rgb(237 225 207 / 72%); color: var(--muted); font: 600 12px/1.2 "Noto Sans KR", sans-serif; }
.pillars td { padding: 12px 3px; border-right: 1px solid var(--border); color: var(--ink); font-size: 25px; }
.pillars td:last-child, .pillars th:last-child { border-right: 0; }
.pillars .hanja-sub { display: block; margin-top: 4px; color: var(--muted); font: 11px/1.2 "Noto Sans KR", sans-serif; }
.element-card, .daeun-card { padding: 20px; }
.element-chart { display: grid; gap: 11px; margin: 19px 0 14px; }
.element-chart > div { display: grid; grid-template-columns: 26px minmax(0, 1fr) 22px; gap: 9px; align-items: center; font: 700 13px/1 "Noto Sans KR", sans-serif; }
.element-chart i { display: block; height: 10px; overflow: hidden; border-radius: 99px; background: rgb(215 198 173 / 52%); }
.element-chart i b { display: block; min-width: 2px; height: 100%; border-radius: inherit; background: var(--teal); }
.element-chart strong { color: var(--red-dark); text-align: right; }
.analysis-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.analysis-tags span { padding: 6px 8px; border: 1px solid rgb(215 198 173 / 82%); border-radius: 8px; background: rgb(248 242 232 / 68%); color: var(--text); font: 12px/1.2 "Noto Sans KR", sans-serif; }
.daeun-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.daeun-list div { display: grid; gap: 3px; min-height: 92px; padding: 12px; border: 1px solid rgb(215 198 173 / 78%); border-radius: 12px; background: rgb(248 242 232 / 64%); }
.daeun-list strong { font-size: 20px; color: var(--ink); }
.daeun-list span, .daeun-list small { color: var(--muted); font: 12px/1.35 "Noto Sans KR", sans-serif; }
.note-card { padding: 19px; }
.note-card p + p { margin-top: 11px; }
.two-buttons { display: grid; gap: 10px; }
.daily-stage { min-height: 410px; display: grid; place-items: center; overflow: hidden; padding: 26px; text-align: center; }
.daily-stage .cat-envelope { width: min(235px, 70vw); margin-top: -17px; }
.seal-button { position: relative; display: grid; width: 82px; height: 82px; place-items: center; margin: -27px auto 0; border: 0; border-radius: 50%; background: transparent; }
.seal-button img { width: 77px; height: 77px; object-fit: contain; }
.daily-message { padding: 21px; }
.daily-message h2 { font-size: 25px; }
.daily-message dl { margin: 20px 0 0; }
.daily-message dl > div { padding: 14px 0; border-top: 1px solid var(--border); }
.daily-message dt { margin-bottom: 4px; color: var(--red); font: 700 13px/1.4 "Noto Sans KR", sans-serif; }
.daily-message dd { margin: 0; font-size: 15px; line-height: 1.7; }
.emotion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.emotion-grid button { min-height: 46px; border: 1px solid var(--border); border-radius: 10px; background: rgb(248 242 232 / 72%); color: var(--text); font: 500 14px/1.3 "Noto Sans KR", sans-serif; }
.emotion-grid button[aria-pressed="true"] { border-color: var(--red); background: #f0dfd3; color: var(--red-dark); font-weight: 700; }
.record-summary { padding: 19px; background: rgb(231 240 235 / 80%); }
.summary-number { display: block; margin: 9px 0 3px; color: var(--teal); font-size: 35px; line-height: 1; font-weight: 700; }
.record-list { display: grid; gap: 10px; }
.record-card { padding: 17px; }
.record-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font: 13px/1.4 "Noto Sans KR", sans-serif; }
.record-emotion { color: var(--red-dark); font-weight: 700; }
.record-actions { display: flex; gap: 5px; margin-top: 13px; }
.text-button { min-height: 44px; padding: 10px 8px; border: 0; background: transparent; color: var(--red-dark); font: 700 13px/1.2 "Noto Sans KR", sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.empty-state, .loading-state { padding: 30px 22px; text-align: center; }
.empty-state img, .loading-state img { width: 115px; height: 115px; object-fit: contain; }
.empty-state h2, .loading-state h2 { margin-top: 4px; }
.report-list { display: grid; gap: 13px; }
.report-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; min-height: 158px; padding: 12px; color: inherit; text-decoration: none; transition: transform 160ms ease; }
.report-card img { width: 108px; height: 144px; border-radius: 12px; object-fit: cover; box-shadow: 0 5px 13px rgb(48 31 19 / 14%); }
.cover-art { position: relative; display: inline-block; line-height: 0; overflow: hidden; }
.report-entry { display: inline-block; margin-top: 9px; color: var(--teal); font: 700 13px/1.3 "Noto Sans KR", sans-serif; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag { padding: 4px 7px; border-radius: 999px; background: var(--paper-deep); color: var(--muted); font: 12px/1.2 "Noto Sans KR", sans-serif; }
.report-cover { position: relative; min-height: 310px; padding: 21px; overflow: hidden; background: var(--paper-deep); }
.report-cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.report-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(248 242 232 / 95%), rgb(248 242 232 / 76%) 55%, rgb(248 242 232 / 8%)); }
.report-cover .cover-copy { position: relative; z-index: 1; width: 58%; padding: 14px; border: 1px solid rgb(215 198 173 / 88%); border-radius: 12px; background: rgb(248 242 232 / 73%); }
.report-cover .cover-copy h1 { font-size: 29px; }
.detail-section { padding: 19px; }
.detail-section ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; line-height: 1.55; }
.premium-chapter p { margin-top: 10px; }
.premium-chapter p:first-of-type { margin-top: 12px; }
.premium-chapter .element-chart { margin-top: 14px; }
.premium-tengod-list { display: grid; gap: 9px; margin-top: 10px; }
.premium-tengod-list div { padding: 11px 13px; border: 1px solid var(--border); border-radius: 11px; background: rgb(255 253 247 / 62%); }
.premium-tengod-list strong { display: block; margin-bottom: 3px; color: var(--red-dark); font: 700 14px/1.3 "Noto Sans KR", sans-serif; }
.premium-tengod-list span { color: var(--text); font-size: 13px; line-height: 1.55; }
.detail-section ul.premium-toc { counter-reset: toc; list-style: none; padding-left: 0; }
.premium-toc li { position: relative; padding-left: 26px; }
.premium-toc li::before { counter-increment: toc; content: counter(toc) "."; position: absolute; left: 0; color: var(--red-dark); font-weight: 700; }
.detail-section li::marker { color: var(--red); }
.sample { padding: 22px; border-left: 4px solid var(--teal); }
.sample strong { color: var(--teal); }
.free-report { padding: 20px; border-left: 4px solid var(--teal); }
.report-tier-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.report-tier-heading h2 { margin-bottom: 0; }
.report-tier-heading > span { flex: 0 0 auto; margin-top: 2px; padding: 6px 9px; border: 1px solid rgb(53 98 89 / 35%); border-radius: 999px; color: var(--teal); background: rgb(235 243 239 / 65%); font: 700 11px/1.2 "Noto Sans KR", sans-serif; }
.free-report__lead { margin-bottom: 0; line-height: 1.65; }
.vivid-reading { display: grid; gap: 4px; margin-top: 14px; padding: 15px 16px; border-radius: 12px; background: linear-gradient(135deg, rgb(139 46 42 / 12%), rgb(53 98 89 / 10%)); }
.vivid-reading > span { color: var(--red-dark); font: 700 11px/1.3 "Noto Sans KR", sans-serif; letter-spacing: .05em; }
.vivid-reading h3 { margin-bottom: 0; font-size: 20px; }
.vivid-reading p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.65; }
.free-report dl { display: grid; gap: 14px; margin: 18px 0 0; }
.free-report dl div { padding-top: 13px; border-top: 1px solid rgb(215 198 173 / 72%); }
.free-report dt { color: var(--teal); font: 700 14px/1.35 "Noto Sans KR", sans-serif; }
.free-report dd { margin: 5px 0 0; line-height: 1.55; }
.free-report .element-chart { margin-top: 17px; }
.element-compass { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 10px; align-items: center; margin: 17px 0 0; padding: 12px; border: 1px solid rgb(53 98 89 / 30%); border-radius: 13px; background: linear-gradient(135deg, rgb(234 243 238 / 73%), rgb(255 250 240 / 66%)); }
.element-compass svg { display: block; width: 100%; height: auto; overflow: visible; }
.element-compass__grid polygon { fill: none; stroke: rgb(53 98 89 / 22%); stroke-width: 1; }
.element-compass__axis line { stroke: rgb(53 98 89 / 20%); stroke-width: 1; }
.element-compass__shape { fill: rgb(139 46 42 / 28%); stroke: var(--red); stroke-width: 2; stroke-linejoin: round; }
.element-compass text { fill: var(--teal); font: 700 13px "Noto Sans KR", sans-serif; }
.element-compass figcaption { display: grid; gap: 4px; }
.element-compass figcaption span { color: var(--red-dark); font: 700 11px/1.3 "Noto Sans KR", sans-serif; letter-spacing: .04em; }
.element-compass figcaption strong { color: var(--ink); font: 700 16px/1.45 "Noto Sans KR", sans-serif; word-break: keep-all; }
.element-compass figcaption p { margin: 0; color: var(--muted); font: 12px/1.55 "Noto Sans KR", sans-serif; }
.manse-summary { display: grid; gap: 11px; margin-top: 14px; padding: 16px; border: 1px solid rgb(139 46 42 / 28%); border-radius: 13px; background: rgb(255 250 241 / 64%); }
.manse-summary__heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.manse-summary__heading h3 { margin-bottom: 0; font-size: 18px; }
.manse-summary__heading > span { flex: 0 0 auto; padding: 5px 7px; border: 1px solid rgb(139 46 42 / 30%); border-radius: 99px; color: var(--red-dark); font: 700 10px/1.2 "Noto Sans KR", sans-serif; }
.manse-summary__calendar { display: grid; gap: 2px; color: var(--muted); font: 11px/1.45 "Noto Sans KR", sans-serif; }
.manse-summary__pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid rgb(215 198 173 / 80%); border-radius: 10px; }
.manse-summary__pillars div { display: grid; gap: 4px; min-width: 0; padding: 9px 5px; border-right: 1px solid rgb(215 198 173 / 80%); text-align: center; }
.manse-summary__pillars div:last-child { border-right: 0; }
.manse-summary__pillars span { color: var(--muted); font: 10px/1.2 "Noto Sans KR", sans-serif; }
.manse-summary__pillars strong { color: var(--ink); font: 700 22px/1 Georgia, "Noto Serif KR", serif; }
.manse-summary__pillars small { overflow: hidden; color: var(--teal); font: 10px/1.25 "Noto Sans KR", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.manse-summary > p { margin: 0; color: var(--text); font-size: 12px; line-height: 1.55; }
.free-cue { display: grid; gap: 5px; margin-top: 18px; padding: 15px; border: 1px solid rgb(153 42 34 / 31%); border-radius: 12px; background: rgb(255 249 239 / 72%); }
.free-cue span { color: var(--red-dark); font: 700 12px/1.3 "Noto Sans KR", sans-serif; }
.free-cue strong { color: var(--ink); font-size: 19px; }
.free-cue p { margin: 0; line-height: 1.58; }
.free-spotlight { margin-top: 12px; padding: 16px; border: 1px solid rgb(53 98 89 / 31%); border-radius: 13px; background: linear-gradient(135deg, rgb(231 243 237 / 72%), rgb(255 250 240 / 70%)); }
.free-spotlight h3 { margin-bottom: 6px; font-size: 20px; }
.free-spotlight > p:not(.eyebrow) { color: var(--text); font-size: 14px; line-height: 1.65; }
.free-spotlight__action { display: grid; gap: 4px; margin-top: 13px; padding: 10px 11px; border-radius: 9px; background: rgb(255 253 247 / 74%); }
.free-spotlight__action span, .free-question-connection > span { color: var(--red-dark); font: 700 11px/1.3 "Noto Sans KR", sans-serif; letter-spacing: .04em; }
.free-spotlight__action strong { color: var(--ink); font: 700 14px/1.48 "Noto Sans KR", sans-serif; }
.locked-clue { margin-top: 12px; padding: 16px; overflow: hidden; border: 1px solid rgb(139 46 42 / 42%); border-radius: 13px; background: linear-gradient(145deg, rgb(87 38 31 / 96%), rgb(53 61 55 / 94%)); color: rgb(255 247 230 / 92%); }
.locked-clue .eyebrow { color: #e7c888; }
.locked-clue h3 { margin-bottom: 7px; color: #fff6e4; font-size: 19px; }
.locked-clue p { color: rgb(255 245 224 / 88%); font-size: 14px; line-height: 1.68; }
.locked-clue__blank { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; background: rgb(246 225 175 / 16%); color: #f5daa1; font-weight: 700; filter: blur(2.7px); user-select: none; }
.locked-clue__blank b { padding: 2px 5px; border-radius: 4px; background: rgb(241 208 136 / 85%); color: #4d3027; font: 700 10px/1 "Noto Sans KR", sans-serif; filter: blur(0); }
.locked-clue small { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgb(255 241 212 / 21%); color: rgb(255 239 205 / 67%); font: 11px/1.5 "Noto Sans KR", sans-serif; }
.free-signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.free-signal-grid div { min-height: 78px; padding: 11px 9px; border: 1px solid rgb(215 198 173 / 74%); border-radius: 10px; background: rgb(248 242 232 / 55%); }
.free-signal-grid span, .free-signal-grid strong { display: block; }
.free-signal-grid span { color: var(--muted); font: 11px/1.3 "Noto Sans KR", sans-serif; }
.free-signal-grid strong { margin-top: 5px; color: var(--ink); font: 700 13px/1.4 "Noto Sans KR", sans-serif; word-break: keep-all; }
.free-question-connection { display: grid; gap: 5px; margin-top: 12px; padding: 14px 15px; border-left: 3px solid var(--red); background: rgb(255 248 239 / 66%); }
.free-question-connection p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.65; }
.report-situation-section { margin-top: 20px; }
.report-situation-section h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; }
.report-situation-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.report-situation-tile { position: relative; min-height: 132px; overflow: hidden; border: 1px solid rgb(215 198 173 / 82%); border-radius: 11px; background-image: url("assets/generated/report-situation-card-sheet-v1.webp"); background-size: 200% auto; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 28%); }
.report-situation-tile--0 { background-position: 0 16.5%; }
.report-situation-tile--1 { background-position: 100% 16.5%; }
.report-situation-tile--2 { background-position: 0 83.5%; }
.report-situation-tile--3 { background-position: 100% 83.5%; }
.report-situation-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(30 26 22 / 0%) 26%, rgb(30 26 22 / 69%) 100%); }
.report-situation-tile > div { position: absolute; z-index: 1; inset: auto 10px 10px; display: grid; gap: 2px; color: white; }
.report-situation-tile strong { font: 700 15px/1.3 "Noto Sans KR", sans-serif; text-shadow: 0 1px 4px rgb(0 0 0 / 70%); }
.report-situation-tile span { font: 12px/1.35 "Noto Sans KR", sans-serif; text-shadow: 0 1px 4px rgb(0 0 0 / 70%); }
.report-chapter-visual { position: relative; min-height: 154px; overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: var(--card-radius); background-image: url("assets/generated/report-chapter-divider-sheet-v1.webp"); background-repeat: no-repeat; background-size: auto 400%; }
.report-chapter-visual--0 { background-position: center 0; }
.report-chapter-visual--1 { background-position: center 33.333%; }
.report-chapter-visual--2 { background-position: center 66.666%; }
.report-chapter-visual--3 { background-position: center 100%; }
.report-chapter-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(248 242 232 / 14%), transparent 33%, transparent 67%, rgb(248 242 232 / 14%)); }
.report-chapter-visual figcaption { position: absolute; z-index: 1; left: 18px; bottom: 15px; color: var(--ink); font: 700 15px/1.35 "Noto Sans KR", sans-serif; text-shadow: 0 1px 3px rgb(248 242 232 / 85%); }
.report-input-card { display: grid; gap: 16px; padding: 19px; }
.report-input-card h2 { margin-bottom: 5px; }
.report-input-card .button { justify-self: start; }
.person-birth { padding: 16px; border: 1px solid rgb(215 198 173 / 78%); border-radius: 12px; background: rgb(248 242 232 / 66%); }
.person-birth > legend, .consent-box > legend { padding: 0 5px; color: var(--ink); font: 700 15px/1.35 "Noto Sans KR", sans-serif; }
.person-birth__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; }
.person-birth__options { display: grid; align-content: center; gap: 8px; padding: 2px 0; }
.person-birth__options .checkbox-row { margin: 0; }
.consent-box { padding: 15px 16px; border: 1px solid rgb(153 42 34 / 28%); border-radius: 12px; background: rgb(255 249 239 / 64%); }
.consent-box .helper { margin: 9px 0 0 29px; }
.premium-preview { position: relative; min-height: 560px; overflow: hidden; padding: 18px; background: rgb(238 228 210 / 78%); }
.premium-preview__blur { filter: blur(4px); opacity: .78; user-select: none; }
.premium-preview__document { display: grid; gap: 14px; padding: 5px; }
.premium-preview__heading { display: grid; gap: 3px; }
.premium-preview__heading h2 { margin: 0; }
.premium-preview__heading span { color: var(--muted); font: 13px/1.4 "Noto Sans KR", sans-serif; }
.premium-marker-row { display: flex; flex-wrap: wrap; gap: 6px; }
.premium-marker-row span { padding: 6px 9px; border: 1px solid rgb(153 42 34 / 38%); border-radius: 99px; background: rgb(255 249 239 / 72%); color: var(--red-dark); font: 700 12px/1 "Noto Sans KR", sans-serif; }
.premium-preview .element-chart { margin: 0; padding: 13px; border: 1px solid rgb(215 198 173 / 75%); border-radius: 12px; background: rgb(255 255 255 / 35%); }
.premium-bars { display: grid; gap: 9px; padding: 13px; border: 1px solid rgb(215 198 173 / 75%); border-radius: 12px; }
.premium-bars i { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--teal) 40%, rgb(215 198 173 / 55%) 40%); }
.premium-bars i:nth-child(2) { background: linear-gradient(90deg, var(--red) 68%, rgb(215 198 173 / 55%) 68%); }
.premium-bars i:nth-child(3) { background: linear-gradient(90deg, #c8933f 54%, rgb(215 198 173 / 55%) 54%); }
.premium-bars i:nth-child(4) { background: linear-gradient(90deg, var(--teal) 76%, rgb(215 198 173 / 55%) 76%); }
.premium-bars i:nth-child(5) { background: linear-gradient(90deg, var(--red) 33%, rgb(215 198 173 / 55%) 33%); }
.premium-table { width: 100%; border-collapse: collapse; color: var(--ink); font: 13px/1.45 "Noto Sans KR", sans-serif; }
.premium-table th, .premium-table td { padding: 10px 8px; border-bottom: 1px solid rgb(215 198 173 / 72%); text-align: left; }
.premium-table th { width: 31%; color: var(--teal); font-weight: 700; }
.premium-manse { display: grid; gap: 8px; padding: 12px; border: 1px solid rgb(139 46 42 / 34%); border-radius: 12px; background: rgb(255 252 244 / 62%); color: var(--ink); font: 12px/1.45 "Noto Sans KR", sans-serif; }
.premium-manse > p { margin: 0; color: var(--red-dark); font-weight: 700; }
.premium-manse > div { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 7px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgb(215 198 173 / 72%); }
.premium-manse strong { color: var(--red-dark); font-size: 16px; }
.premium-manse table { width: 100%; border-collapse: collapse; }
.premium-manse th, .premium-manse td { padding: 7px 4px; border-bottom: 1px solid rgb(215 198 173 / 62%); text-align: left; }
.premium-manse th { color: var(--teal); white-space: nowrap; }
.premium-placeholder { display: grid; gap: 9px; padding-top: 2px; }
.premium-placeholder i { display: block; height: 13px; border-radius: 99px; background: rgb(215 198 173 / 65%); }
.premium-placeholder i:nth-child(2) { width: 78%; }
.premium-placeholder i:nth-child(3) { width: 57%; }
.premium-preview__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 9px; padding: 36px 24px 24px; background: linear-gradient(180deg, rgb(248 242 232 / 5%), rgb(248 242 232 / 88%) 32%, var(--paper-soft) 58%); text-align: center; }
.premium-preview__lock img { width: 40px; height: 40px; object-fit: contain; }
.premium-preview__lock strong { color: var(--ink); font-size: 18px; line-height: 1.42; }
.premium-preview__lock span { max-width: 270px; color: var(--muted); font: 13px/1.5 "Noto Sans KR", sans-serif; }
.premium-preview__lock ul { display: grid; gap: 4px; width: min(100%, 290px); margin: 2px 0 0; padding: 0; color: var(--ink); font: 13px/1.45 "Noto Sans KR", sans-serif; list-style: none; text-align: left; }
.premium-preview__lock li { padding-left: 14px; position: relative; }
.premium-preview__lock li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.premium-preview__lock .button { width: min(100%, 286px); margin-top: 5px; }
.report-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--border); border-radius: var(--card-radius); background: rgb(248 242 232 / 91%); box-shadow: 0 6px 18px rgb(75 63 51 / 7%); }
.report-comparison div { display: grid; gap: 4px; padding: 16px 14px; }
.report-comparison div + div { border-left: 1px solid var(--border); background: linear-gradient(145deg, rgb(53 98 89 / 12%), rgb(139 46 42 / 8%)); }
.report-comparison span { color: var(--red-dark); font: 700 11px/1.2 "Noto Sans KR", sans-serif; letter-spacing: .04em; }
.report-comparison strong { color: var(--ink); font-size: 16px; line-height: 1.35; letter-spacing: -.04em; word-break: keep-all; }
.report-comparison small { color: var(--muted); font: 12px/1.4 "Noto Sans KR", sans-serif; }
.report-offer { padding: 20px; }
.report-offer__heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.report-offer__heading h2 { margin-bottom: 6px; }
.report-offer__price { flex: 0 0 auto; padding-top: 5px; color: var(--red-dark); font: 700 20px/1.2 Georgia, "Noto Serif KR", serif; }
.report-offer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 18px; }
.report-offer__columns section { min-height: 205px; padding: 14px 12px; border: 1px solid rgb(215 198 173 / 82%); border-radius: 12px; background: rgb(255 252 246 / 58%); }
.report-offer__columns .report-offer__premium { border-color: rgb(139 46 42 / 38%); background: linear-gradient(145deg, rgb(139 46 42 / 8%), rgb(53 98 89 / 10%)); }
.report-offer__label { display: block; color: var(--teal); font: 700 11px/1.3 "Noto Sans KR", sans-serif; letter-spacing: .06em; }
.report-offer__premium .report-offer__label { color: var(--red-dark); }
.report-offer__columns strong { display: block; margin: 7px 0 10px; color: var(--ink); font-size: 16px; line-height: 1.35; letter-spacing: -.04em; }
.report-offer__columns ul, .checkout-inclusions ul { display: grid; gap: 6px; margin: 0; padding: 0; color: var(--text); font: 12px/1.45 "Noto Sans KR", sans-serif; list-style: none; }
.report-offer__columns li, .checkout-inclusions li { position: relative; padding-left: 11px; }
.report-offer__columns li::before, .checkout-inclusions li::before { content: ""; position: absolute; left: 0; top: .52em; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.report-offer__premium li::before { background: var(--red); }
.report-offer__note { margin: 13px 0 0; color: var(--muted); font: 12px/1.55 "Noto Sans KR", sans-serif; }
.checkout-summary { padding: 19px; }
.checkout-inclusions { padding: 19px; }
.checkout-inclusions h2 { font-size: 20px; }
.checkout-inclusions ul { margin-top: 13px; font-size: 13px; line-height: 1.5; }
.checkout-visual { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 17px; align-items: center; min-height: 166px; overflow: hidden; padding: 13px; }
.checkout-visual .cover-art { width: 116px; height: 142px; }
.checkout-visual img { width: 116px; height: 142px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 14px rgb(48 31 19 / 15%); }
.checkout-visual h2 { margin-bottom: 5px; font-size: 21px; }
.checkout-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgb(215 198 173 / 72%); font-family: "Noto Sans KR", sans-serif; }
.checkout-row:last-child { border-bottom: 0; }
.checkout-total { color: var(--red-dark); font-size: 20px; font-weight: 700; }
.payment-status { padding: 25px 20px; text-align: center; }
.payment-status img { width: 118px; height: 118px; object-fit: contain; }
.status-mark { display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--paper-deep); color: var(--red); font: 26px/1 Georgia, serif; }
.sheet-backdrop { position: fixed; z-index: 19; inset: 0; display: grid; align-items: end; background: rgb(30 26 22 / 38%); }
.bottom-sheet { width: min(100%, 430px); margin: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: var(--paper-soft) url("assets/background/hanji-light.webp") repeat; box-shadow: 0 -12px 34px rgb(30 26 22 / 18%); }
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 18px; border-radius: 99px; background: var(--border); }
@media (max-width: 430px) { .person-birth__grid { grid-template-columns: 1fr; } }
.settings-list { padding: 4px 0; }
.settings-list a, .settings-list button { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid rgb(215 198 173 / 76%); background: transparent; color: var(--ink); font: 500 15px/1.3 "Noto Sans KR", sans-serif; text-align: left; text-decoration: none; }
.settings-list span { color: var(--muted); font-size: 13px; }
.policy-links { display: grid; gap: 4px; margin-top: 14px; }
.policy-links .text-link { display: flex; min-height: 44px; align-items: center; }
.policy-status { border-color: #cfb998; background: linear-gradient(135deg, rgb(255 252 245 / 92%), rgb(245 236 220 / 88%)); }
.policy-details dl { display: grid; gap: 0; margin: 0; }
.policy-details dl > div { display: grid; gap: 7px; padding: 18px 0; border-bottom: 1px solid rgb(215 198 173 / 76%); }
.policy-details dl > div:first-child { padding-top: 0; }
.policy-details dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.policy-details dt { color: var(--ink); font: 700 16px/1.45 "Noto Sans KR", "Malgun Gothic", sans-serif; }
.policy-details dd { margin: 0; color: var(--muted); font: 14px/1.65 "Noto Sans KR", "Malgun Gothic", sans-serif; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: calc(82px + env(safe-area-inset-bottom)); width: min(360px, calc(100% - 32px)); padding: 13px 16px; transform: translateX(-50%); border-radius: 12px; background: var(--ink); color: white; font: 14px/1.45 "Noto Sans KR", sans-serif; box-shadow: 0 8px 20px rgb(30 26 22 / 24%); }
.skeleton { position: relative; overflow: hidden; border-radius: 8px; background: #e3d6c4; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / 48%), transparent); animation: shimmer 1.3s infinite; }
.skeleton-line { height: 16px; margin-top: 10px; }
.skeleton-line.short { width: 58%; }
@keyframes shimmer { to { transform: translateX(100%); } }
@media (max-width: 389px) { .page { padding-left: 16px; padding-right: 16px; } .hero { min-height: 284px; padding: 29px 17px 16px; background-position: 66% center; } .hero-copy { max-width: 56%; } .hero .eyebrow { font-size: 11px; } .hero h1 { font-size: 24px; line-height: 1.34; } .hero p { font-size: 14px; } .menu-card { min-height: 156px; padding: 11px; } .menu-card strong { font-size: 32px; line-height: 1.08; } .menu-card--saju strong { font-size: 38px; line-height: 1.04; } .menu-card--wide { min-height: 136px; } .menu-card--yearly { min-height: 158px; grid-template-columns: 56px minmax(0, 1fr) 24px; } .menu-card--yearly img { width: 55px; height: 53px; } .menu-card--yearly strong { font-size: 34px; } .menu-card span { font-size: 13px; } .principle p { font-size: 18px; } .report-card { grid-template-columns: 96px minmax(0, 1fr); } .report-card img { width: 96px; height: 132px; } .checkout-visual { grid-template-columns: 104px minmax(0, 1fr); } .checkout-visual .cover-art, .checkout-visual img { width: 104px; height: 134px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 180ms !important; animation-duration: 180ms !important; animation-iteration-count: 1 !important; } .skeleton::after { animation: none; } }
.motion-reduced *, .motion-reduced *::before, .motion-reduced *::after { transition-duration: 180ms !important; animation-duration: 180ms !important; animation-iteration-count: 1 !important; }

@media print {
  html, body, #app, .app-shell { background: #fff; }
  body { color: #1e1a16; }
  .bottom-nav, .back-link, .brand-header .icon-button, .decor, .skip-link, .network-banner, .toast, .no-print, .report-chapter-visual { display: none; }
  .page { padding: 0; min-height: 0; }
  .content-stack { gap: 10px; }
  .paper-card, .premium-chapter, .report-cover, .note-card { box-shadow: none; border: 1px solid #d7c6ad; background: #fff; break-inside: avoid; page-break-inside: avoid; }
  .report-cover { background: #fff; min-height: 0; }
  .report-cover-art { display: none; }
  .premium-chapter { break-after: auto; }
  a { text-decoration: none; }
}

/* 계산 기준 시트 — 어떤 시각·절기 기준으로 계산했는지 그대로 보여줍니다. */
.sheet-basis { display: grid; gap: 0; margin: 14px 0 0; }
.sheet-basis > div { display: grid; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.sheet-basis > div:last-child { border-bottom: 0; }
.sheet-basis dt { color: var(--muted); font: 700 12px/1.4 "Noto Sans KR", sans-serif; letter-spacing: .02em; }
.sheet-basis dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.55; word-break: keep-all; }
.sheet-notes { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: rgb(248 242 232 / 76%); }
.sheet-notes ul { margin: 6px 0 0; padding-left: 17px; }
.sheet-notes li { color: var(--text); font: 13px/1.6 "Noto Sans KR", sans-serif; word-break: keep-all; }
