:root {
  --bg: #0b0b0d;
  --card: #ffffff;
  --ink: #1b1b1f;
  --ink-2: #4a4a55;
  --muted: #8b8b96;
  --line: #ececf1;
  --soft: #f6f6f9;
  --accent: #ff6f0f;        /* 채팅/포인트 */
  --sale: #ef2b3a;          /* 할인 */
  --primary: #5b4bdb;       /* 신청 버튼 */
  --primary-2: #7d6cf0;
  --gold: #b08a4a;
  --radius: 18px;
  --maxw: 480px;
  --serif: "Noto Serif KR", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 16px 110px;
}

/* ---------- 헤더 ---------- */
.header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.logo { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo img { height: 36px; width: auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: #1f1a14; color: #e8cf9a;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 900; font-size: 18px;
}
.logo-text { font-family: var(--serif); font-weight: 700; font-size: 16px; }
.logo-text small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: .1em; line-height: 1; }
.menu-btn { background: none; border: 0; width: 36px; height: 36px; display: grid; gap: 5px; align-content: center; justify-items: center; }
.menu-btn span { width: 20px; height: 2px; background: #c4c4cc; border-radius: 2px; transition: .2s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer {
  background: var(--card); border-bottom: 1px solid var(--line);
  display: grid; overflow: hidden; max-height: 0; transition: max-height .25s ease;
  position: sticky; top: 61px; z-index: 29;
}
.drawer.open { max-height: 320px; }
.drawer a { padding: 14px 22px; text-decoration: none; font-weight: 600; border-top: 1px solid var(--line); }

/* ---------- 공통 ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 24px 20px; margin-bottom: 16px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; border: 0; border-radius: 14px;
  padding: 17px; font-size: 17px; font-weight: 700; text-decoration: none;
  transition: transform .1s, filter .2s;
}
.btn:active { transform: scale(.98); }
.btn-chat { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(255,111,15,.3); }
.btn-submit { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 8px 20px rgba(91,75,219,.35); }
.btn-submit:disabled { filter: grayscale(.6) opacity(.7); cursor: wait; }
.btn-ghost { background: var(--soft); color: var(--ink-2); font-size: 15px; padding: 14px; border: 1px dashed #cfcfd8; }
.btn-daangn { background: #fff3e8; color: #ff6f0f; font-weight: 700; font-size: 15px; padding: 14px; border: 1px solid #ffcda1; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; color: #fff; }
.section-head h2 { margin: 0; font-size: 20px; }
.eyebrow { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .15em; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 4px; }
.link.danger { color: var(--sale); }

/* ---------- 대표 카드 ---------- */
.hero { border-radius: 0 0 var(--radius) var(--radius); padding-top: 0; }
.hero-visual { margin: 0 -20px 20px; background: linear-gradient(180deg, #faf7f1, #fff); padding: 28px 0 8px; }
.hero-visual img { width: 100%; }
.book {
  width: 150px; height: 200px; margin: 0 auto;
  background: linear-gradient(100deg, #b8925a 0%, #d7b57c 8%, #e4c894 40%, #d6b47a 100%);
  border-radius: 3px 8px 8px 3px;
  box-shadow: inset 6px 0 8px rgba(0,0,0,.18), 8px 12px 24px rgba(80,55,20,.3);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif); color: #5c1f16;
}
.book::before { content: ""; position: absolute; inset: 10px 10px 10px 16px; border: 1.5px solid rgba(92,31,22,.45); border-radius: 2px; }
.book-title { writing-mode: vertical-rl; font-size: 34px; font-weight: 900; letter-spacing: .12em; }
.book-hanja { writing-mode: vertical-rl; position: absolute; right: 22px; top: 22px; font-size: 11px; opacity: .75; }
.book-brand { position: absolute; bottom: 18px; font-size: 11px; opacity: .8; }
.hero-title { font-family: var(--serif); font-size: 20px; line-height: 1.45; text-align: center; margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1.5px solid #cdbb98; }
.hero-brand { text-align: center; font-family: var(--serif); color: var(--ink-2); font-size: 13px; margin: 0 0 22px; }
.hero-intro { color: var(--ink-2); margin: 0 0 20px; }
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.badge-sale { background: var(--sale); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 8px; }
.price-orig { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.price-now { font-size: 26px; font-weight: 800; }
.price-now small { font-size: 17px; font-weight: 600; }

/* ---------- 카운트다운 ---------- */
.countdown { background: #111827; border-radius: var(--radius); padding: 20px; margin-bottom: 24px; text-align: center; color: #fff; }
.countdown-label { margin: 0 0 8px; color: #fbbf77; font-weight: 700; font-size: 14px; }
.countdown-digits { display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
.countdown-digits div { display: grid; min-width: 52px; }
.countdown-digits b { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.countdown-digits b.sec { color: #ff6b6b; }
.countdown-digits span { font-size: 12px; color: #9ca3af; }
.countdown-digits i { font-style: normal; color: #4b5563; font-size: 26px; line-height: 1.5; }
.countdown.ended .countdown-digits { display: none; }

/* ---------- 후기 ---------- */
.reviews { margin-bottom: 28px; }
.rating-summary { margin: 0; color: #fbbf24; font-weight: 700; font-size: 14px; }
.review-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.review-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 86%; scroll-snap-align: start;
  background: var(--card); border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.review-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.review-top strong { color: var(--ink); font-size: 15px; }
.stars { color: #fbbf24; letter-spacing: 1px; font-size: 14px; }
.stars em { font-style: normal; color: var(--ink); font-weight: 700; margin-left: 4px; }
.review-text { margin: 0; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 96px; }
.review.expanded .review-text { -webkit-line-clamp: unset; }
.review-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.review-more { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 600; font-size: 13px; }
.helpful { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--ink-2); }
.helpful.on { background: #eeebff; border-color: var(--primary-2); color: var(--primary); }
.review-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 12px; color: #9ca3af; font-size: 13px; }
.review-nav button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #333; background: #16161a; color: #ddd; font-size: 18px; line-height: 1; }

/* ---------- 상세 ---------- */
.detail { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.detail img { width: 100%; }
.d-hook {
  background: radial-gradient(ellipse at 50% 60%, #3a0d0d 0%, #0b0b0d 70%);
  color: #fff; text-align: center; padding: 48px 20px;
}
.d-hook .q { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 0; line-height: 1.5; }
.d-hook .l1 { font-size: 24px; font-weight: 800; margin: 18px 0 0; }
.d-hook .l1s { font-size: 30px; font-weight: 900; color: #3fd0ff; margin: 0 0 30px; }
.d-hook .sub { font-family: var(--serif); font-style: italic; color: #d6d6d6; margin: 0; }
.d-hook .big { font-family: var(--serif); font-size: 64px; font-weight: 900; margin: 0; line-height: 1.2; text-shadow: 0 0 24px rgba(255,60,60,.5); letter-spacing: .05em; }
.d-hook .l2 { font-size: 24px; font-weight: 800; margin: 0; line-height: 1.45; }
.d-hook .l2 b { color: #3fd0ff; }
.d-block { background: var(--card); padding: 36px 20px; border-top: 1px solid var(--line); }
.d-block h3 { font-family: var(--serif); font-size: 21px; text-align: center; margin: 0 0 6px; }
.d-block .d-sub { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { background: var(--soft); border-radius: 12px; padding: 13px 14px 13px 44px; position: relative; font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; display: grid; place-items: center; }
.toc { display: grid; gap: 10px; counter-reset: toc; }
.toc div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 56px; position: relative; counter-increment: toc; }
.toc div::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 14px; top: 13px; font-family: var(--serif); font-weight: 900; color: var(--gold); font-size: 20px; }
.toc b { display: block; }
.toc span { color: var(--muted); font-size: 13px; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: #1f1a14; color: #e8cf9a; display: grid; place-items: center; font-weight: 800; }
.step b { display: block; margin-top: 8px; }
.step span { color: var(--muted); font-size: 13px; }
.plans { display: grid; gap: 12px; }
.plan { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; position: relative; }
.plan.featured { border-color: var(--primary-2); background: #faf9ff; }
.plan-tag { position: absolute; top: -11px; right: 14px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.plan-name { font-weight: 800; font-size: 17px; }
.plan-price { margin: 4px 0 8px; font-size: 20px; font-weight: 800; }
.plan-price s { color: var(--muted); font-size: 14px; font-weight: 500; margin-right: 6px; }
.plan p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ---------- 실시간 / 남은 인원 ---------- */
.live-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.live-head h3 { margin: 0; font-size: 16px; }
.live-badge { font-size: 11px; font-weight: 700; color: #16a34a; background: #dcfce7; padding: 2px 8px; border-radius: 999px; }
.live-badge::before { content: "●"; margin-right: 4px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.live-list { list-style: none; margin: 0; padding: 0; height: 216px; overflow: hidden; position: relative;
  mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.live-list li { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; height: 54px; border-bottom: 1px solid var(--line); animation: slideIn .5s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #eef0ff; color: var(--primary); display: grid; place-items: center; font-weight: 700; }
.live-list .who b { display: block; font-size: 14px; }
.live-list .who span { font-size: 12px; color: var(--muted); }
.status { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #e0f2fe; color: #0369a1; }
.status.doing { background: #fef3c7; color: #b45309; }
.ago { font-size: 12px; color: var(--muted); min-width: 40px; text-align: right; }
.capacity { background: #fff5f5; border: 1.5px solid #fecaca; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.capacity-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; }
.capacity-tag { background: #fee2e2; color: var(--sale); font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.capacity-num { margin: 6px 0 10px; color: var(--ink-2); }
.capacity-num b { font-size: 34px; color: var(--sale); font-weight: 900; margin-right: 2px; }
.capacity-bar { height: 8px; background: #fde2e2; border-radius: 99px; overflow: hidden; }
.capacity-bar div { height: 100%; background: var(--sale); border-radius: 99px; transition: width .6s; }
.capacity-msg { margin: 10px 0 0; font-size: 13px; color: var(--sale); font-weight: 600; }

/* ---------- 신청서 ---------- */
.apply-title { font-family: var(--serif); font-size: 20px; text-align: center; margin: 0 0 20px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field em, .consent em { color: var(--sale); font-style: normal; }
input[type=text], select, textarea {
  width: 100%; border: 1.5px solid #e2e2ea; border-radius: 12px;
  padding: 13px 14px; font: inherit; color: var(--ink); background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b8b96' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(125,108,240,.15); }
.invalid { border-color: var(--sale) !important; }
textarea { resize: vertical; }
.mt8 { margin-top: 8px; }
.hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.radios { display: flex; gap: 8px; }
.radio { flex: 1; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { display: block; text-align: center; border: 1.5px solid #e2e2ea; border-radius: 12px; padding: 11px 0; font-weight: 600; color: var(--ink-2); transition: .15s; }
.radio input:checked + span { border-color: var(--primary); background: #f1efff; color: var(--primary); }
.radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(125,108,240,.25); }
.radios.invalid .radio span { border-color: var(--sale); }
.birth { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; }
.phone, .email { display: flex; align-items: center; gap: 6px; }
.phone input { text-align: center; }
.phone span, .email span { color: var(--muted); }
.email input, .email select { flex: 1; min-width: 0; }
.person + .person, #companions .person { border-top: 1px dashed #d8d8e2; padding-top: 18px; margin-top: 4px; }
.person-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
#addCompanion { margin-bottom: 20px; }
.total { background: var(--soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.total .row { display: flex; justify-content: space-between; }
.total .sum { font-weight: 800; color: var(--ink); font-size: 16px; border-top: 1px solid #e3e3ea; padding-top: 8px; margin-top: 4px; }
.total .discount { color: var(--sale); font-weight: 700; }
.consent { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.privacy { white-space: pre-wrap; font-family: inherit; font-size: 12px; color: var(--ink-2); background: var(--soft); padding: 12px; border-radius: 10px; margin: 0 0 12px; }
.form-error { color: var(--sale); font-size: 13px; font-weight: 600; min-height: 20px; margin: 4px 0 8px; }

/* ---------- FAQ ---------- */
.faq { margin: 28px 0 24px; }
.faq-item { background: var(--card); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 16px 44px 16px 16px; font-weight: 700; display: flex; gap: 10px; position: relative; color: var(--ink); }
.faq-q::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.qa { color: var(--primary); font-weight: 900; flex: 0 0 auto; }
.faq-a { display: none; padding: 0 16px 16px; gap: 10px; color: var(--ink-2); }
.faq-item.open .faq-a { display: flex; }
.faq-a .qa { color: var(--accent); }
.faq-a p { margin: 0; }

/* ---------- 푸터 ---------- */
.footer { color: #6b7280; font-size: 12px; line-height: 1.8; text-align: center; padding: 8px 0 20px; }

/* ---------- 하단 고정 CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(11,11,13,.9) 40%);
  transition: transform .25s, opacity .25s;
}
.sticky-cta .btn { max-width: calc(var(--maxw) - 32px); margin: 0 auto; }
.sticky-cta.hide { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 20px; }
.modal-box { background: var(--card); border-radius: 20px; padding: 28px 22px 22px; width: 100%; max-width: 400px; text-align: center; animation: pop .25s ease; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal-icon { width: 56px; height: 56px; border-radius: 50%; background: #eef0ff; color: var(--primary); font-size: 28px; font-weight: 900; display: grid; place-items: center; margin: 0 auto 12px; }
.modal-box h3 { margin: 0 0 6px; font-size: 20px; }
.modal-desc { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.bank { background: var(--soft); border-radius: 14px; padding: 16px; text-align: left; margin-bottom: 16px; font-size: 14px; }
.bank .row { display: flex; justify-content: space-between; padding: 4px 0; gap: 12px; }
.bank .row span:first-child { color: var(--muted); flex: 0 0 auto; }
.bank .amount { font-size: 18px; font-weight: 800; color: var(--primary); }
.bank .copy { margin-top: 8px; width: 100%; background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 9px; font-weight: 600; font-size: 13px; }
.bank .note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- 결제 결과 페이지 ---------- */
.result-page { min-height: 100vh; display: grid; place-items: center; padding-bottom: 16px; }
.result { width: 100%; text-align: center; padding: 32px 22px 24px; }
.result h1 { font-size: 21px; margin: 0 0 6px; }
.modal-icon.bad { background: #fee2e2; color: var(--sale); }
.modal-icon.spin { animation: blink 1.2s infinite; }

/* ---------- 약관/환불 규정 ---------- */
.policy { border-radius: 0 0 var(--radius) var(--radius); padding: 28px 22px 32px; font-size: 14.5px; color: var(--ink-2); }
.policy h1 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 0 0 12px; }
.policy h2 { font-size: 16px; color: var(--ink); margin: 28px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.policy-lead { background: var(--soft); border-radius: 12px; padding: 14px 16px; margin: 0; }
.policy b { color: var(--ink); }
.policy ul, .policy ol { padding-left: 20px; margin: 10px 0 0; }
.policy li { margin-bottom: 6px; }
.policy li ul { margin-top: 6px; }
.policy a { color: var(--primary); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.policy-table th, .policy-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.policy-table th { background: var(--soft); color: var(--ink); font-weight: 700; }
.policy-table.nowrap-last td:last-child { white-space: nowrap; }
.policy-table small { color: var(--muted); font-size: 12px; }
.policy .hint { margin-top: 8px; }
.policy-biz { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; background: var(--soft); border-radius: 12px; padding: 14px 16px; margin: 12px 0 0; font-size: 13.5px; }
.policy-biz dt { color: var(--muted); }
.policy-biz dd { margin: 0; color: var(--ink); word-break: break-all; }
.policy-date { margin: 24px 0 0; font-size: 13px; color: var(--muted); }
.footer a { color: #9ca3af; }
.footer .links { margin-bottom: 6px; }
.consent + .consent { margin-top: -2px; }
.policy-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: 13px; }
.policy-toc a { text-decoration: none; color: var(--ink-2); }
.policy h2[id] { scroll-margin-top: 72px; }
.policy-table td, .policy-table th { overflow-wrap: anywhere; }
.policy-table.cols-3 { font-size: 13px; }
.policy-table.cols-3 th, .policy-table.cols-3 td { padding: 8px; }
.policy-table.cols-3 td:first-child { width: 22%; word-break: keep-all; }
.review-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.review-src { font-size: 11px; font-weight: 700; color: #c2410c; background: #fff1e6; padding: 2px 7px; border-radius: 999px; }
.review-badge { font-size: 11px; font-weight: 700; color: #1d4ed8; background: #e8f0ff; padding: 2px 7px; border-radius: 999px; }
.review-text { white-space: pre-line; }

/* ---------- 후기 분석 ---------- */
.themes { background: var(--card); border-radius: 16px; padding: 20px 18px; margin-top: 18px; }
.themes h3 { margin: 0; font-size: 16px; }
.themes-sub { margin: 2px 0 14px; font-size: 12px; color: var(--muted); }
.themes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.themes li { display: grid; grid-template-columns: 1fr 90px 34px; align-items: center; gap: 10px; font-size: 14px; }
.theme-label { font-weight: 600; color: var(--ink); }
.theme-bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.theme-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); border-radius: 99px; }
.theme-count { font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.quotes { display: grid; gap: 10px; margin-top: 12px; }
.quotes blockquote { margin: 0; background: #16161c; border-left: 3px solid #e8cf9a; border-radius: 12px; padding: 14px 16px; }
.quotes p { margin: 0 0 6px; color: #f3f3f6; font-family: var(--serif); font-size: 15px; line-height: 1.6; }
.quotes cite { font-style: normal; font-size: 12px; color: #9ca3af; }
.review-src.verified { color: #047857; background: #d1fae5; }
.star-input { display: flex; gap: 4px; }
.star-input button { background: none; border: 0; padding: 0 2px; font-size: 34px; line-height: 1; color: #e2e2ea; transition: color .1s, transform .1s; }
.star-input button.on { color: #fbbf24; }
.star-input button:active { transform: scale(.9); }
.review-src.sample { color: #6b7280; background: #f3f4f6; }
.star-bar { position: relative; display: inline-block; vertical-align: -1px; font-size: 14px; letter-spacing: 1px; line-height: 1; color: #e5e7eb; }
.star-bar::before { content: "★★★★★"; }
.star-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #fbbf24; }
.star-fill::before { content: "★★★★★"; }
