/* =========================================================
   백운산신전 스타일 — 달빛 아래 신당
   먹색 머리 + 한지 본문 + 금박 강조, 오행 색은 태그·차트에만.
   한 가지 모습으로 고정한 디자인(밝은/어두운 테마 구분 없음).
   ========================================================= */
:root {
  color-scheme: light;
  --ink: #1B1A1F; --ink-2: #26232B; --ink-panel: #2A2630; --ink-line: #3A3540;
  --paper: #F2EBDD; --paper-2: #F8F4EC; --white: #FFFFFF;
  --line: #E3D9C6; --card-border: #ECE4D4; --field-border: #D6CCB9;
  --muted: #7A7268; --muted-2: #A39A8D; --on-dark: #E4DCCD; --on-dark-2: #B9AE9C;
  --red: #9E2B25; --red-soft: #F6E3E0; --gold: #C9A45C; --gold-2: #E2C68A;
  --kakao: #FEE500; --kakao-ink: #3A1D1D; --success: #2E6B5E; --success-bg: #EAF1EA; --notice-bg: #FFF8D6;
  --el-wood: #2E6B5E; --el-fire: #B8413A; --el-earth: #B8892E; --el-metal: #8A8A8A; --el-water: #24345E;
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --font-sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --content: 1120px; --header-h: 76px;
  --r-sm: 10px; --r: 12px; --r-card: 14px; --r-box: 18px;
  --hero-bg: radial-gradient(ellipse at 75% 20%, #332D3D 0%, #1B1A1F 62%);
  --product-bg: linear-gradient(160deg, #FCFAF5, #EFE7D7);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper-2); color: var(--ink-2); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.serif { font-family: var(--font-serif); }
.wrap { width: 100%; max-width: calc(var(--content) + 32px); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); border-bottom: 1px solid #2f2b35; }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 8px; color: var(--gold); flex: none; }
.logo b { font-family: var(--font-serif); font-size: 28px; font-weight: 700; letter-spacing: 1px; }
.logo small { font-size: 16px; color: #BFB4A0; font-weight: 500; }
.menu { display: flex; gap: 40px; margin: 0 auto; }
.menu a { color: #E9E1D2; font-size: 17px; font-weight: 600; padding: 6px 0; white-space: nowrap; }
.menu a[aria-current="page"] { color: var(--gold); }
.hicons { display: flex; align-items: center; gap: 20px; flex: none; }
.icon-btn { position: relative; display: inline-flex; color: #E9E1D2; }
.badge { position: absolute; top: -7px; right: -9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.badge[hidden] { display: none !important; }

/* ---------- buttons, chips, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: var(--r); font-size: 17px; font-weight: 700; border: 1.5px solid transparent; transition: filter .15s, transform .15s; text-align: center; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-outline { background: var(--white); color: var(--red); border-color: var(--red); }
.btn-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-lg { height: 58px; font-size: 18px; }
.btn-sm { height: 42px; font-size: 15px; border-radius: var(--r-sm); padding: 0 14px; }
.btn-pill { height: 40px; padding: 0 18px; font-size: 15px; border-radius: 20px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid #CFC4B0; background: var(--white); font-size: 16px; font-weight: 600; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.chip:disabled { background: #F1ECE3; color: var(--muted-2); border-color: #E3DACA; cursor: not-allowed; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.tag-big { height: 28px; padding: 0 12px; font-size: 14px; border-radius: 14px; }
.eyebrow { color: var(--gold); font-size: 15px; font-weight: 700; letter-spacing: 1.5px; }
.link-more { color: var(--muted); font-size: 16px; }
.link-more:hover { color: var(--red); }

/* ---------- dark hero pieces ---------- */
.dark { background: var(--hero-bg); color: #fff; position: relative; overflow: hidden; }
.stars { position: absolute !important; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.moon { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 36%, #FFF6D9 0%, #F3D995 30%, #D3AE62 68%, #A98440 100%); box-shadow: 0 0 50px 14px rgba(226,198,138,.35), 0 0 140px 50px rgba(201,164,92,.13); }
.moon::before, .moon::after { content: ""; position: absolute; border-radius: 50%; background: rgba(160,120,50,.18); }
.moon::before { width: 22%; height: 22%; left: 52%; top: 28%; }
.moon::after { width: 14%; height: 14%; left: 28%; top: 60%; }
.cloud { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40px; opacity: .22; pointer-events: none; }
.smoke path { animation: drift 6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes drift { from { transform: translateX(-3px) skewX(-2deg); } to { transform: translateX(4px) skewX(3deg); } }
@media (prefers-reduced-motion: reduce) { .smoke path, .loading-dots i { animation: none !important; } }

/* ---------- common blocks ---------- */
main { min-height: 60vh; }
.section { padding-top: 54px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 700; }
.h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; }
.box { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r-box); }
.page-head { background: var(--paper); padding-block: 26px 22px; }
.page-head .crumb { font-size: 14px; color: var(--muted); }
.page-head h1 { font-family: var(--font-serif); font-size: 34px; margin-top: 4px; }
.page-head .sub { font-size: 16px; color: #5A534A; margin-top: 2px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.notice { display: flex; gap: 10px; align-items: center; border-radius: var(--r); padding: 13px 16px; font-size: 16px; line-height: 1.5; }
.notice-kakao { background: var(--notice-bg); }
.notice-ok { background: var(--success-bg); color: var(--success); font-weight: 700; }
.notice-warm { background: #FBF3E2; }
.muted { color: var(--muted); }

/* ---------- product card ---------- */
.card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 22px rgba(27,26,31,.08); transform: translateY(-2px); }
.card .img { background: var(--product-bg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; max-width: 100%; }
.card .img.wide { aspect-ratio: 5 / 4; }
.card .img svg { width: 80%; height: 80%; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .inf { padding: 11px 13px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card .tags { display: flex; gap: 4px; flex-wrap: wrap; }
.card .nm { font-size: 15.5px; font-weight: 700; margin-top: 5px; }
.card .pr { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.card .inf .btn { margin-top: auto; }
.card .inf .btn-spacer { margin-top: 10px; }

/* ---------- forms ---------- */
.lbl { display: block; font-size: 15px; font-weight: 700; margin: 20px 0 8px; color: #4A443D; }
.lbl .opt { font-weight: 500; color: var(--muted-2); }
.field { width: 100%; height: 52px; border: 1.5px solid var(--field-border); border-radius: var(--r-sm); background: var(--white); padding: 0 14px; font-size: 17px; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237a7268' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
textarea.field { height: 84px; padding: 12px 14px; resize: vertical; font-size: 16px; }
.field::placeholder { color: var(--muted-2); }
.field:disabled { background: #F1ECE3; color: var(--muted-2); }
.field.invalid, .chips.invalid .chip, .invalid-box { border-color: var(--red) !important; }
.err { color: var(--red); font-size: 14px; margin-top: 6px; font-weight: 600; }
.err:empty { display: none; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red); margin: 0; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }

/* ---------- toast / modal ---------- */
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 16px; font-weight: 600; opacity: 0; transition: .25s; z-index: 90; pointer-events: none; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-back { position: fixed; inset: 0; background: rgba(15,14,18,.55); display: flex; align-items: center; justify-content: center; z-index: 95; padding: 16px; }
.modal { background: var(--white); border-radius: var(--r-box); max-width: 440px; width: 100%; padding: 28px 26px 24px; text-align: center; }
.modal h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 8px; }
.modal p { color: #4A443D; margin-bottom: 20px; }
.kakao-float { position: fixed; right: calc(32px + env(safe-area-inset-right, 0px)); bottom: calc(32px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; background: var(--kakao); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 40; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #A9A194; font-size: 14px; line-height: 1.9; padding-block: 34px; margin-top: 64px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer b { font-family: var(--font-serif); color: var(--gold); font-size: 22px; }
.site-footer nav { display: flex; gap: 14px; color: #E2D8C6; flex-wrap: wrap; }
.site-footer .note { color: #7E766A; font-size: 13px; }

/* ---------- home ---------- */
.hero { min-height: 400px; }
.hero .wrap { position: relative; padding-block: 56px 70px; }
.hero h1 { font-family: var(--font-serif); font-size: 48px; line-height: 1.32; margin: 14px 0; }
.hero p { font-size: 19px; color: var(--on-dark); }
.hero .ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.el-picks { display: flex; gap: 10px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.el-picks > span { font-size: 15px; color: var(--on-dark-2); margin-right: 6px; }
.el-pick { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 6px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: 15px; color: #fff; }
.el-pick:hover { background: rgba(255,255,255,.16); }
.el-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: #fff; flex: none; }
.hero-art { position: absolute; right: 70px; top: 30px; width: 380px; height: 330px; pointer-events: none; }
.daily-card { padding: 18px 16px; }
.hanja-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.step-card { padding: 24px; display: flex; gap: 18px; align-items: center; }
.step-num { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); color: var(--red); font-family: var(--font-serif); font-weight: 700; font-size: 23px; display: flex; align-items: center; justify-content: center; }
.banner { border-radius: 20px; padding: 30px 40px; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.banner > * { position: relative; }
.banner .txt { flex: 1; min-width: 240px; }
.banner .acts { display: flex; flex-direction: column; gap: 10px; }
.emblem { border-radius: 50%; border: 2px solid var(--gold); outline: 1px solid rgba(201,164,92,.4); outline-offset: 5px; position: relative; flex: none; background: radial-gradient(circle at 50% 35%, #3A3242, #1B1A1F); }
.emblem .moon { left: 50%; transform: translateX(-50%); }
.emblem span { position: absolute; left: 0; right: 0; text-align: center; color: var(--gold-2); font-family: var(--font-serif); font-weight: 700; letter-spacing: 2px; }

/* ---------- saju ---------- */
.saju-layout { display: flex; gap: 28px; padding-block: 34px 0; }
.saju-side { width: 440px; flex: none; border-radius: 22px; padding: 44px 40px; min-height: 620px; }
.saju-side .inner { position: relative; margin-top: 150px; }
.saju-side h1 { font-family: var(--font-serif); font-size: 40px; line-height: 1.35; margin: 12px 0 16px; white-space: pre-line; }
.saju-side p { font-size: 17px; line-height: 1.7; color: var(--on-dark); white-space: pre-line; }
.benefits { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: #D9CFBD; }
.benefits div { display: flex; gap: 10px; align-items: center; }
.gold-check { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.saju-form { flex: 1; min-width: 0; padding: 30px 40px 34px; }
.saju-form .lbl:first-child { margin-top: 0; }
.loading { min-height: 680px; }
.loading .center { position: relative; text-align: center; padding-top: 520px; }
.loading-steps { display: flex; gap: 26px; justify-content: center; margin-top: 20px; font-size: 16px; flex-wrap: wrap; }
.loading-steps span { display: flex; gap: 8px; align-items: center; color: #8F8676; transition: color .3s; }
.loading-steps span.done { color: var(--on-dark); }
.loading-steps .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #8F8676; display: inline-flex; align-items: center; justify-content: center; }
.loading-steps .done .ring { background: var(--gold); border-color: var(--gold); }
.coming { text-align: center; padding: 34px 30px; }
.result-hero { min-height: 300px; }
.result-hero .wrap { position: relative; padding-block: 48px 60px; }
.result-hero h1 { font-family: var(--font-serif); font-size: 46px; line-height: 1.3; margin: 12px 0 16px; }
.kw { display: flex; gap: 10px; flex-wrap: wrap; }
.kw span { height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid #6B5D45; color: var(--gold-2); font-size: 16px; display: inline-flex; align-items: center; }
.sample-flag { display: inline-flex; margin-bottom: 14px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pillar-head { font-size: 15px; color: var(--muted); font-weight: 700; margin-bottom: 8px; text-align: center; }
.pcell { border: 1.5px solid; border-radius: 12px; height: 92px; margin-bottom: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--white); }
.pcell.me { background: #FBEFE9; }
.pcell b { font-family: var(--font-serif); font-size: 38px; line-height: 1.1; }
.pcell small { font-size: 14px; color: var(--muted); }
.count-row { display: flex; align-items: center; gap: 14px; height: 50px; }
.count-row .bar { flex: 1; height: 16px; background: #F1EBE0; border-radius: 8px; overflow: hidden; }
.count-row .bar i { display: block; height: 100%; border-radius: 8px; }
.count-row .n { width: 54px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.lack-badge { color: #fff; background: var(--el-water); border-radius: 12px; padding: 3px 0; font-size: 14px; }
.lack-card { background: var(--ink); border-radius: 18px; padding: 7px; }
.lack-card .in { border: 1.5px solid var(--gold); border-radius: 13px; padding: 26px 32px; outline: 1px solid rgba(201,164,92,.35); outline-offset: -7px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.lucky { width: 130px; background: var(--ink-panel); border-radius: 12px; padding: 14px 6px; text-align: center; color: #fff; }
.lucky small { display: block; font-size: 14px; color: var(--on-dark-2); margin-bottom: 8px; }
.more-tile { border-radius: var(--r-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; min-height: 200px; }

/* ---------- shop ---------- */
.my-el-banner { border-radius: 14px; padding: 14px 22px; display: flex; align-items: center; gap: 16px; }
.my-el-banner > * { position: relative; }
.shop-layout { display: flex; gap: 36px; padding-top: 26px; }
.shop-side { width: 200px; flex: none; }
.side-title { font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.side-el { display: flex; align-items: center; gap: 10px; width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; font-size: 16px; text-align: left; }
.side-el:hover { background: var(--paper); }
.side-el[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.side-el .cnt { margin-left: auto; font-size: 14px; color: var(--muted-2); }
.side-el[aria-pressed="true"] .cnt { color: var(--gold-2); }
.side-el i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.shop-main { flex: 1; min-width: 0; }
.shop-side .check { display: flex; height: 36px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.shop-toolbar select { width: 160px; height: 42px; font-size: 15px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .btn { margin-top: 18px; }

/* ---------- product ---------- */
.pd { display: flex; gap: 56px; padding-top: 16px; }
.gallery { display: flex; gap: 14px; flex: none; }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumb { width: 78px; height: 78px; border-radius: 10px; background: var(--product-bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; opacity: .75; }
.thumb[aria-pressed="true"] { border: 2px solid var(--ink); opacity: 1; }
.thumb svg { width: 64px; height: 64px; }
.main-img { width: 520px; max-width: 100%; aspect-ratio: 1; border-radius: 18px; background: var(--product-bg); display: flex; align-items: center; justify-content: center; }
.main-img svg { width: 82%; height: 82%; }
.pd-info { flex: 1; min-width: 0; padding-top: 6px; }
.pd-info h1 { font-family: var(--font-serif); font-size: 36px; margin: 12px 0 6px; }
.price { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; border: 1.5px solid var(--field-border); border-radius: 10px; height: 46px; align-items: center; background: var(--white); font-size: 19px; font-weight: 700; }
.qty button { width: 44px; height: 100%; font-size: 20px; }
.qty span { width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.heart { width: 58px; height: 58px; border: 1.5px solid var(--field-border); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); flex: none; }
.heart[aria-pressed="true"] svg path { fill: var(--red); stroke: var(--red); }
.story { border-radius: 14px; padding: 18px 22px; margin-top: 22px; }
.story > * { position: relative; }
.info-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.info-table th { text-align: left; width: 140px; color: var(--muted); font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- cart ---------- */
.steps-bar { display: flex; gap: 10px; align-items: center; font-size: 16px; flex-wrap: wrap; }
.steps-bar span.s { display: flex; gap: 8px; align-items: center; color: var(--muted-2); }
.steps-bar span.s.on { color: var(--ink-2); font-weight: 800; }
.steps-bar i { width: 26px; height: 26px; border-radius: 50%; background: #D6CCB9; color: #fff; font-size: 14px; font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.steps-bar .on i { background: var(--red); }
.cart-layout { display: flex; gap: 28px; padding-top: 24px; align-items: flex-start; }
.cart-list { flex: 1; min-width: 0; padding: 6px 28px 24px; }
.cart-row { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid #EEE5D6; flex-wrap: wrap; }
.cart-thumb { width: 100px; height: 100px; border-radius: 12px; background: var(--product-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.cart-thumb svg { width: 88px; height: 88px; }
.cart-row .nm { flex: 1; min-width: 160px; }
.cart-row .amt { width: 110px; text-align: right; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.del { color: var(--muted); font-size: 14px; text-decoration: underline; }
.summary { width: 380px; flex: none; padding: 26px; }
.sum-row { display: flex; justify-content: space-between; line-height: 2.2; font-variant-numeric: tabular-nums; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-grid .chip { border-radius: 12px; font-size: 15px; min-height: 48px; padding: 0 8px; }

/* ---------- booking ---------- */
.book-hero { min-height: 250px; }
.book-hero .wrap { position: relative; display: flex; align-items: center; gap: 40px; padding-block: 40px; }
.book-hero h1 { font-family: var(--font-serif); font-size: 42px; margin: 6px 0 10px; }
.info-chips { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.info-chips span { min-height: 32px; padding: 0 14px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: 14px; display: inline-flex; align-items: center; }
.book-panels { display: flex; gap: 24px; padding-top: 16px; align-items: flex-start; }
.book-panel { flex: 1; min-width: 0; overflow: hidden; transition: box-shadow .3s; }
.book-panel.flash { box-shadow: 0 0 0 3px var(--gold); }
.bp-head { padding: 20px 24px; display: flex; gap: 16px; align-items: center; }
.bp-head > * { position: relative; }
.bp-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.bp-head .t { flex: 1; min-width: 0; }
.bp-head .t b { font-family: var(--font-serif); font-size: 23px; display: block; }
.bp-head .t small { font-size: 14.5px; color: #CFC4B0; }
.bp-badge { min-height: 30px; padding: 0 13px; border-radius: 15px; border: 1px solid #6B5D45; color: var(--gold-2); font-size: 14px; display: inline-flex; align-items: center; white-space: nowrap; }
.bp-body { padding: 6px 24px 24px; }
.week-nav { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 8px; }
.week-nav .lbl { margin: 0; }
.week-nav .ctl { display: flex; gap: 6px; align-items: center; font-size: 15px; font-weight: 700; }
.week-nav .ctl button { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.week-nav .ctl button:hover:not(:disabled) { background: var(--paper); }
.week-nav .ctl button:disabled { opacity: .3; cursor: not-allowed; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.day { height: 66px; border-radius: 12px; border: 1.5px solid #DDD3C1; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.day small { font-size: 13px; font-weight: 600; }
.day b { font-size: 19px; font-variant-numeric: tabular-nums; }
.day em { font-style: normal; font-size: 11px; }
.day.sun small { color: var(--el-fire); }
.day[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.day[aria-pressed="true"] small { color: #fff; }
.day:disabled { background: #F1ECE3; color: var(--muted-2); cursor: not-allowed; }
.day:disabled b { text-decoration: line-through; }
.times { display: grid; gap: 8px; }
.time { height: 46px; border-radius: 10px; border: 1.5px solid #DDD3C1; background: var(--white); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.time[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.time:disabled { background: #F1ECE3; color: var(--muted-2); cursor: not-allowed; }
.time:disabled em { font-style: normal; font-size: 12px; font-weight: 500; }
.times-empty { font-size: 15px; color: var(--muted); padding: 12px 0; }
.bp-body .field { height: 48px; font-size: 16px; }
.bp-body textarea.field { height: 72px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.process .box { padding: 22px; display: flex; gap: 14px; align-items: center; }
.process .step-num { width: 50px; height: 50px; font-size: 21px; }
.promises { margin-top: 18px; padding: 22px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.promises div { display: flex; gap: 10px; align-items: flex-start; }
.done-box { max-width: 680px; margin: 30px auto 0; overflow: hidden; }
.done-top { padding: 32px 30px 28px; text-align: center; }
.done-top > * { position: relative; }
.done-mark { width: 80px; height: 80px; border-radius: 50%; background: var(--gold); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(226,198,138,.5); }
.done-top h1 { font-family: var(--font-serif); font-size: 30px; }
.done-top p { color: #D9CFBD; font-size: 17px; margin-top: 8px; }
.done-body { padding: 24px 40px 30px; }
.kv { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed #EEE5D6; line-height: 2.3; font-size: 17px; }
.kv span { color: var(--muted); flex: none; }
.kv b { text-align: right; }

/* ---------- mypage ---------- */
.my-layout { display: flex; gap: 28px; padding-top: 24px; align-items: flex-start; }
.my-side { width: 230px; flex: none; }
.my-prof { border-radius: 16px; padding: 22px; text-align: center; }
.my-prof > * { position: relative; }
.my-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-serif); font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.my-menu { margin-top: 14px; padding: 8px; }
.my-menu button { width: 100%; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-radius: 10px; font-size: 16px; text-align: left; }
.my-menu button[aria-pressed="true"] { background: var(--paper); font-weight: 800; color: var(--red); }
.my-main { flex: 1; min-width: 0; }
.stat { padding: 18px 20px; }
.stat b { display: block; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.list-item { padding: 18px 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 14px; font-weight: 700; background: var(--paper); color: var(--ink-2); }
.status.requested { background: #FBF3E2; color: #8A5A2B; }

/* ---------- simple pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-serif); font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { color: #4A443D; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu { gap: 24px; }
  .hero-art { right: 0; opacity: .7; }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd { gap: 32px; }
}
@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-block: 12px 0; gap: 10px 16px; }
  .hicons { margin-left: auto; }
  .hicons .btn-pill { display: none; }
  .menu { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 22px; padding-bottom: 10px; }
  .hero h1 { font-size: 34px; }
  .hero-art { width: 200px; height: 180px; top: 20px; opacity: .45; }
  .g3, .g4, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saju-layout, .shop-layout, .pd, .cart-layout, .book-panels, .my-layout { flex-direction: column; }
  .saju-side, .shop-side, .summary, .my-side { width: 100%; }
  .saju-side { min-height: 0; padding: 28px; }
  .saju-side .inner { margin-top: 90px; }
  .gallery { flex-direction: column-reverse; width: 100%; }
  .thumbs { flex-direction: row; }
  .main-img { width: 100%; }
  .book-hero .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .book-hero h1, .result-hero h1 { font-size: 32px; }
  .promises { grid-template-columns: 1fr; }
  .banner { padding: 26px; }
  .banner .acts { width: 100%; }
}
@media (max-width: 560px) {
  .logo b { font-size: 24px; }
  .g2, .g3, .g4, .g5, .g6, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .saju-form, .cart-list, .done-body { padding-left: 18px; padding-right: 18px; }
  .row { flex-wrap: wrap; }
  .row > * { flex-basis: 100%; }
  .pillars { gap: 6px; }
  .pcell b { font-size: 28px; }
  .lack-card .in { padding: 20px; }
  .lucky { width: auto; flex: 1; }
  .days { gap: 4px; }
  .day b { font-size: 16px; }
  .step-card { padding: 16px; }
  .kakao-float { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- home: 사주 먼저 ---------- */
.hero-saju .hero2 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 48px; align-items: center; padding-block: 48px 72px; }
.hero2-text h1 { font-family: var(--font-serif); font-size: 44px; line-height: 1.32; margin: 12px 0; }
.hero2-text p { font-size: 18.5px; color: var(--on-dark); }
.hero-steps { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; }
.hero-steps li { display: flex; gap: 14px; align-items: center; }
.hero-steps .step-num { width: 44px; height: 44px; font-size: 19px; color: var(--gold-2); border-color: var(--gold); }
.hero-steps b { display: block; font-size: 17px; }
.hero-steps small { display: block; font-size: 14.5px; color: var(--on-dark-2); }
.hero-form { position: relative; background: var(--white); color: var(--ink-2); border-radius: 20px; padding: 26px 28px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-form .lbl { margin: 16px 0 7px; }
.hero-form .field { height: 48px; font-size: 16px; }
.hero-form .chip { min-height: 42px; font-size: 15px; }
.hero-form .coming { padding: 10px 0 0; }
.bk-block { border-radius: 20px; padding: 30px 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; }
.bk-block > *:not(.stars) { position: relative; }
.bk-intro { display: flex; gap: 26px; align-items: center; }
.bk-opts { display: flex; flex-direction: column; gap: 12px; }
.bk-opt { display: flex; gap: 16px; align-items: center; background: var(--ink-panel); border: 1px solid #4A4252; border-radius: 16px; padding: 18px 20px; flex-wrap: wrap; }
.el-pick.light { background: var(--white); border: 1px solid var(--card-border); color: var(--ink-2); }
.el-pick.light:hover { background: var(--paper); }
@media (max-width: 1000px) {
  .hero-saju .hero2, .bk-block { grid-template-columns: 1fr; }
  .hero2-text h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .hero-form { padding: 20px 18px; }
  .bk-block { padding: 22px 18px; }
  .bk-intro { flex-direction: column; align-items: flex-start; }
  .bk-opt .btn { width: 100%; }
}
@media (max-width: 560px) {
  .hero-saju .hero2 { padding-block: 24px 56px; gap: 22px; }
  .hero2-text .moon { width: 64px !important; height: 64px !important; margin-bottom: 12px !important; }
  .hero-steps { display: none; }
  .hero-form .row[role="group"] { flex-wrap: nowrap; }
  .hero-form .row[role="group"] > * { flex-basis: auto; }
}

/* ---------- v2: 첫 화면 슬라이드 · 캐릭터 · 유튜브 · 살풀이 · 공지 ---------- */
.hero-slider { position: relative; overflow: hidden; color: #fff; min-height: 640px; background: #1B1A1F; }
.hs-bg { position: absolute; inset: 0; opacity: 0; transform: translateX(4%); transition: opacity .9s ease, transform 1.1s ease; }
.hs-bg.on { opacity: 1; transform: none; }
.hs-bg-0 { background: var(--hero-bg); }
.hs-bg-1 { background: radial-gradient(ellipse at 30% 15%, #5B4A6E 0%, #2B2236 55%, #1B1A1F 100%); }
.hs-bg-2 { background: radial-gradient(ellipse at 35% 20%, #1F3B4D 0%, #182633 55%, #13161C 100%); }
.hs-ring { position: absolute; left: max(16px, calc(50% - 600px)); top: 60px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(226,198,138,.25); box-shadow: inset 0 0 120px rgba(226,198,138,.08); }
.hero3 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 290px 410px; gap: 22px; align-items: center; padding-block: 40px 100px; min-height: 680px; }
.hs-text { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: center; }
.hs-slide { position: absolute; left: 0; right: 0; top: 50%; transform: translate(30px, -50%); opacity: 0; visibility: hidden; transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.hs-slide.on { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.hs-slide h1 { font-family: var(--font-serif); font-size: 40px; line-height: 1.3; margin: 12px 0; text-wrap: balance; }
.hs-slide p { font-size: 18px; color: var(--on-dark); }
.hs-slide .ctas { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.notice-tag { display: inline-flex; height: 30px; padding: 0 14px; border-radius: 15px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; align-items: center; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hs-ctl { position: absolute; left: 0; bottom: -64px; display: flex; align-items: center; gap: 8px; }
.hs-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.hs-dots { display: flex; gap: 6px; }
.hs-dot { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.25); color: var(--on-dark-2); font-size: 13px; font-weight: 700; }
.hs-dot.on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hs-char { position: relative; align-self: end; margin-bottom: -10px; }
.char-svg { width: 310px; margin-left: -10px; max-width: none; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.bubble { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); background: #fff; color: var(--ink-2); font-weight: 800; font-size: 15px; padding: 9px 16px; border-radius: 18px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.25); z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: #fff; }
.h2-sub { font-family: var(--font-sans); font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 10px; }
.sample-note { font-size: 13px; color: var(--muted-2); margin-top: 10px; }
.yt { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
.yt-ch { padding: 26px 24px; text-align: center; }
.yt-ch .emblem { margin: 0 auto; }
.yt-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yt-card { display: flex; flex-direction: column; gap: 6px; }
.yt-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; max-width: 100%; }
.yt-t0 { background: radial-gradient(ellipse at 70% 30%, #4B3F5C, #1B1A1F); }
.yt-t1 { background: radial-gradient(ellipse at 30% 30%, #9C3A4A, #3A1720); }
.yt-t2 { background: radial-gradient(ellipse at 50% 20%, #C9A45C, #5A4220); }
.yt-char { width: 46%; height: auto; margin-top: 18px; }
.yt-mark { font-size: 46px; color: rgba(255,240,200,.85); font-weight: 700; letter-spacing: 4px; }
.yt-play { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(158,43,37,.92); color: #fff; display: flex; align-items: center; justify-content: center; left: 14px; bottom: 14px; }
.yt-len { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: 12.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.yt-title { font-size: 16.5px; font-weight: 800; margin-top: 4px; }
.sal-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.sal-top { display: flex; gap: 14px; align-items: center; }
.sal-hanja { flex: none; width: 56px; height: 104px; padding: 0; border-radius: 14px; background: var(--ink); color: var(--gold-2); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; writing-mode: vertical-rl; letter-spacing: 1px; }
.sal-top b { display: block; font-size: 20px; }
.sal-tags { display: flex; gap: 6px; margin-top: 6px; }
.sal-tags i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 2px 9px; border-radius: 10px; }
.sal-card p { color: #4A443D; font-size: 16px; }
.notice-char .char-sm { width: 110px; height: auto; margin-bottom: -22px; }
.notice-list { overflow: hidden; }
.n-row { display: grid; grid-template-columns: 70px 76px minmax(0, 1fr) 110px; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.n-row:last-child { border-bottom: 0; }
.n-row:hover { background: var(--paper-2); }
.n-row.pin { background: #FBF6EA; }
.n-no { color: var(--muted); font-size: 14px; text-align: center; font-weight: 700; }
.n-row.pin .n-no { color: var(--red); }
.n-title { font-weight: 700; }
.n-date { color: var(--muted); font-size: 14.5px; text-align: right; font-variant-numeric: tabular-nums; }
.notice-body { padding: 34px 40px; font-size: 17px; line-height: 1.9; }
.notice-nav { margin-top: 14px; overflow: hidden; }
.notice-nav a { display: flex; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.notice-nav a:last-child { border-bottom: 0; }
@media (max-width: 1100px) { .hero3 { grid-template-columns: minmax(0, 1fr) 440px; } .hs-char { display: none; } .yt { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .hero3 { grid-template-columns: 1fr; } .hs-text { min-height: 380px; } .yt-list { grid-template-columns: 1fr 1fr; } .n-row { grid-template-columns: 52px 64px minmax(0, 1fr); } .n-date { display: none; } }
@media (max-width: 560px) { .yt-list { grid-template-columns: 1fr; } .hs-slide h1 { font-size: 30px; } }
.n-row .tag { justify-self: start; }

.char-img { display: block; height: auto; user-select: none; }
.hs-char .bubble { top: -6px; }
.yt-char { width: 52%; margin-top: 30px; }
.notice-char .char-sm { width: 130px; margin-bottom: -26px; }
.hs-char::before { content: ""; position: absolute; left: 50%; top: 4%; width: 230px; height: 230px; margin-left: -115px; border-radius: 50%; background: radial-gradient(circle, rgba(255,226,160,.45), rgba(255,226,160,0) 70%); }
.hs-char .char-svg { position: relative; }
.hs-slide h1 { font-size: 38px; }
.char-img { -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); }

/* ---------- v2: 신녀 장면 그림 ---------- */
.hs-char { align-self: center; margin: 0; }
.hs-char::before { display: none; }
.arch { position: relative; width: 280px; height: 380px; border-radius: 140px 140px 22px 22px; overflow: hidden; border: 3px solid #D9B871; box-shadow: 0 0 0 7px rgba(217,184,113,.16), 0 0 70px rgba(217,184,113,.28), 0 24px 50px rgba(0,0,0,.45); background: #2B2433; }
.arch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 6s ease; }
.arch-img.on { opacity: 1; transform: scale(1); }
.hs-char .bubble { top: -20px; }
.bk-arch { width: 150px; height: 190px; object-fit: cover; object-position: center 25%; border-radius: 75px 75px 14px 14px; border: 2px solid #D9B871; box-shadow: 0 0 0 6px rgba(217,184,113,.14); flex: none; position: relative; }
.bk-face { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid #D9B871; flex: none; }
.yt-ava { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid #D9B871; display: block; margin: 0 auto; }
.yt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.yt-thumb .yt-mark { position: absolute; right: 12px; top: 8px; font-size: 26px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); letter-spacing: 2px; }
.yt-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 50%); }
.yt-play, .yt-len { z-index: 1; }
.art-strip { display: grid; grid-template-columns: 340px 1fr; border-radius: 18px; overflow: hidden; background: linear-gradient(100deg, #2B2433, #1B1A1F); margin-bottom: 18px; min-height: 200px; }
.art-strip-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); mask-image: linear-gradient(to right, #000 70%, transparent); }
.art-strip-txt { padding: 30px 40px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.art-strip-txt p { font-size: 26px; line-height: 1.6; margin-top: 8px; }
.guide-say { display: flex; align-items: center; gap: 14px; margin: -2px 0 18px; }
.guide-ava { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 2px solid #D9B871; flex: none; background: #fff; }
.guide-bubble { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 18px; font-size: 16px; font-weight: 700; color: #4A443D; }
.guide-bubble::before { content: ""; position: absolute; left: -7px; top: 50%; margin-top: -6px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.notice-art { width: 140px; height: 150px; object-fit: cover; object-position: center 20%; border-radius: 70px 70px 12px 12px; border: 2px solid #D9B871; margin-bottom: -30px; display: block; }
.load-art { position: absolute; left: 50%; top: 50px; margin-left: -130px; }
.load-img { width: 260px; height: 320px; object-fit: cover; border-radius: 130px 130px 20px 20px; border: 3px solid #D9B871; box-shadow: 0 0 70px rgba(217,184,113,.35); }
.done-ava { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid #D9B871; display: block; margin: 0 auto 12px; position: relative; }
.nf-img { width: 220px; height: 150px; object-fit: cover; border-radius: 16px; display: block; margin: 0 auto 20px; }
.my-ava-img { object-fit: cover; object-position: center 20%; border: 2px solid #D9B871; padding: 0; background: #fff; }
@media (max-width: 900px) { .art-strip { grid-template-columns: 1fr; } .art-strip-img { height: 200px; -webkit-mask-image: none; mask-image: none; } }
.sal-hanja.kr { font-family: var(--font-serif); font-size: 19px; letter-spacing: 4px; }

/* ---------- v3: 달력 · 상점 분류 · 동의 ---------- */
.cal { border: 1.5px solid #E6DDCB; border-radius: 14px; padding: 10px; background: #FFFDF8; }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head span { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); padding: 4px 0 6px; }
.cal-head .sun, .cal-day.sun:not(:disabled) b { color: var(--red); }
.cal-head .sat, .cal-day.sat:not(:disabled) b { color: #2F5A8C; }
.cal-day { height: 50px; border-radius: 10px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; border: 1.5px solid transparent; }
.cal-day b { font-size: 17px; font-variant-numeric: tabular-nums; }
.cal-day em { font-style: normal; font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.cal-day em.t { color: var(--gold); font-weight: 800; }
.cal-day:not(:disabled):hover { background: var(--paper); border-color: #DDD3C1; }
.cal-day:disabled { color: #C9C1B4; cursor: not-allowed; }
.cal-day.holiday:disabled b { text-decoration: line-through; color: #D6A9A5; }
.cal-day.today { border-color: rgba(201,164,92,.6); }
.cal-day[aria-pressed="true"], .cal-day[aria-pressed="true"]:not(:disabled):hover { background: var(--red); border-color: var(--red); }
.cal-day[aria-pressed="true"] b, .cal-day[aria-pressed="true"] em { color: #fff !important; }
.cal-picked { margin-top: 8px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cal-picked b { color: var(--ink); }
.side-group { margin: 6px 0; padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.side-el.sub { padding-left: 32px; height: 38px; font-size: 15px; }
.side-el i.sq { border-radius: 4px; }
.req { color: var(--red); font-size: 13.5px; font-weight: 700; }
.consent-more { color: var(--muted); text-decoration: underline; font-size: 14px; padding: 0 2px; }
.consent-modal { max-width: 560px; text-align: left; }
.consent-modal h3 { text-align: center; margin-bottom: 14px; }
.consent-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.consent-table th, .consent-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.consent-table th { background: var(--paper); width: 118px; font-weight: 700; }
.consent-refuse { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.consent-tip { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.8; }
.doc ul { padding-left: 20px; margin: 6px 0; }
.doc-table { width: 100%; margin: 10px 0; font-size: 15px; }
.doc-table thead th { background: var(--paper); }
.prose.doc { max-width: none; } .doc-table td, .doc-table th { padding: 10px 14px; vertical-align: top; } .doc-table th:first-child, .doc-table td:first-child { width: 150px; white-space: nowrap; }
