@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Noto+Serif+KR:wght@400;600;700&display=swap');

:root {
  --bg-white: #08090c;
  --bg-footer: #050609;
  --bg-callout: #160c10;
  --text-callout: #fca5a5;
  --text-primary: #f9fafb;
  --text-body: #d1d5db;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.14);
  --accent-dark: #dc2626;
  --accent-red: #ef4444;
  --accent-gold: #d4af37;
  --accent-blue: #3b82f6;
  --shell-width: 448px;
  --header-h: 60px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root, html, body {
  margin: 0;
  padding: 0;
  color-scheme: dark !important;
  background-color: #000000 !important;
  background: #000000 !important;
  color: #f3f4f6;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
}

#app-shell {
  min-height: 100dvh;
  max-width: 448px;
  margin: 0 auto;
  background-color: #000000;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

#main-content, #route-outlet {
  background-color: #000000;
}

.font-pretendard {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: #dc2626;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.app-shell.admin-mode #main-content,
.app-shell.admin-mode #top-header {
  max-width: 980px !important;
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* 아스타로 TOP 1~10 메인 커버플로우 캐러셀 (무보더 하이엔드 다크 썸네일) */
.ast-hero-stage {
  position: relative;
  margin: 0 auto;
  width: calc(100% - 16px);
  aspect-ratio: 432 / 520;
  user-select: none;
  touch-action: pan-y;
}
.ast-hero-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: calc(100% - 16px);
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #12151e;
  border: none !important;
  transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, box-shadow 0.38s ease;
  display: block;
}
.ast-hero-card.is-active {
  z-index: 20;
  opacity: 1;
  transform: none;
  will-change: auto;
  border: none !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.82);
}
.ast-hero-card.is-prev {
  z-index: 10;
  opacity: 0.72;
  transform: translateX(-6%) scale(0.92);
  cursor: pointer;
}
.ast-hero-card.is-next {
  z-index: 10;
  opacity: 0.72;
  transform: translateX(6%) scale(0.92);
  cursor: pointer;
}
.ast-hero-card.is-hidden {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86);
}

/* 알림 뱃지 & 아이콘 버튼 */
.icon-btn {
  background: transparent;
  border: none;
  padding: 4px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3f4f6;
  position: relative;
  border-radius: 8px;
}
.notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

/* 우측 햄버거 슬라이드 드로어 (아스타로 1:1 원본 규격) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 100;
}
.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20rem;
  min-width: 20rem;
  max-width: 20rem;
  height: 100dvh;
  background: #ffffff;
  color: #111111;
  border-left: none;
  border-top-left-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
  z-index: 101;
  display: flex;
  flex-direction: column;
  padding: 0 0 1.25rem 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.hidden {
  display: none !important;
}

/* 웹툰 랜딩 스트립 & 하단 플로팅 CTA 바 */
.ast-landing-wrap {
  width: 100%;
  background: #08090c;
  padding-bottom: 84px;
}
.ast-landing-wrap img.ast-strip-img {
  display: block;
  width: 100%;
  height: auto;
}
.ast-sticky-cta-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 68px;
  width: 100%;
  max-width: 448px;
  padding: 10px 16px;
  z-index: 45;
  pointer-events: none;
}
.ast-sticky-cta-btn {
  pointer-events: auto;
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 아스타로 캐릭터 대화 컷신 스테이지 */
.story-cutscene {
  background: #11131a;
  color: #ffffff;
  min-height: calc(100dvh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.story-art-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #232b42 0%, #0f1219 75%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.story-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.story-skip-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(17, 17, 17, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
}
.story-dialog-box {
  background: linear-gradient(180deg, rgba(17,19,26,0.4) 0%, #11131a 22%);
  padding: 22px 20px 28px;
  margin-top: -36px;
  position: relative;
  z-index: 3;
}
.story-speaker {
  display: inline-block;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* 폼 · 버튼 · 카드 공통 유틸리티 */
.page-pad {
  padding: 20px;
}
.recommend-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #161924;
  border: none;
  color: #cbd5e1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
}
.chip-row {
  display: flex;
  gap: 8px;
  padding: 0 20px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  background: #161924;
  color: #9ca3af;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-chip.active {
  background: #f3f4f6;
  color: #0b0d13;
  border: none;
  font-weight: 700;
}

.form-group {
  margin-bottom: 15px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  color: #f3f4f6;
  background: #161924;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}

.btn-primary {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-outline {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: #181b26;
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-sm {
  height: 34px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 8px;
  width: auto;
}

/* 사주 8글자 원국표 & 리포트 블러 잠금 */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
  margin: 14px 0;
}
.pillar-col {
  border: none;
  border-radius: 10px;
  padding: 10px 6px;
  background: #161924;
}
.pillar-char {
  width: 48px;
  height: 48px;
  margin: 6px auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}
.pillar-char strong { font-size: 18px; line-height: 1.05; }
.pillar-char span { font-size: 10px; opacity: 0.9; }

.chapter-card {
  border: none;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  background: #13161f;
  color: #f3f4f6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.locked-blur-text {
  filter: blur(5.5px);
  user-select: none;
  color: #8e95a5;
  line-height: 1.6;
  margin: 10px 0;
}
.paywall-Gate-box {
  border: none;
  border-radius: 16px;
  padding: 22px 18px;
  background: #13161f;
  text-align: center;
  margin: 18px 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.catalog-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 8px;
  padding: 12px 20px 32px;
}

/* 모달 & 토스트 & 스켈레톤 */
.modal-root {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-panel {
  width: 100%;
  max-width: 410px;
  max-height: 88dvh;
  overflow-y: auto;
  background: #13161f;
  color: #f3f4f6;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.75);
}

.toast-container {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10030;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(400px, 90vw);
  pointer-events: none;
}
.toast-msg {
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.toast-msg.error {
  background: #c92a2a;
}

.skeleton-box {
  background: linear-gradient(90deg, #f1f3f5 25%, #e9ecef 50%, #f1f3f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 12px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 관리자 콘솔 */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.admin-kpi-card {
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  padding: 14px;
  background: #fafbfc;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th, .admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f1f1;
  text-align: left;
  white-space: nowrap;
}
.admin-table th {
  background: #f8f9fa;
  font-weight: 700;
}
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: #f1f3f5;
  color: #495057;
}
.status-pill.paid, .status-pill.active { background: #d3f9d8; color: #2b8a3e; }
.status-pill.warn { background: #fff3bf; color: #e67700; }
.status-pill.danger { background: #ffe3e3; color: #c92a2a; }
.stars-yellow { color: #ffb921; font-weight: 800; }

/* ==========================================================================
   아스타로 1:1 멀티스텝 퍼널 (fullscreen-step-flow / 웹툰 / 오방기 / 타로 / 결제하기)
   ========================================================================== */
.font-kopub-batang {
  font-family: 'Gowun Batang', 'Noto Serif KR', Georgia, serif !important;
}

.font-serif-kr {
  font-family: 'Gowun Batang', 'Noto Serif KR', 'Gowun Batang', Georgia, serif;
}

.ast-fs-char-quote {
  font-family: 'Gowun Batang', 'Noto Serif KR', Georgia, serif !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
}

.ast-stage-host {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  background-color: #0B0C12;
  overflow: hidden;
}

.ast-fs-stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #111111;
  container-type: inline-size;
}

.ast-fs-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.ast-fs-grad-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  z-index: 2;
  pointer-events: none;
}

.ast-fs-grad-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 44%;
  z-index: 2;
  pointer-events: none;
}

.ast-fs-grad-full {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  pointer-events: none;
}

.ast-fs-body {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100dvh;
  padding: 74px 20px env(safe-area-inset-bottom, 0px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ast-fs-top-slot {
  width: 100%;
}

.ast-fs-bottom-slot {
  width: 100%;
  margin-top: auto;
}

/* 아스타로 1:1 페이지 전환(클릭 스피너 -> 이전 화면/대사 페이드 아웃 -> 블러 베일 디졸브 -> 새 블록 딜레이 슬라이드업 페이드 인) */
.ast-fs-stage.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  animation: cwdStageFadeOut 0.40s cubic-bezier(0.4, 0, 0.2, 1) 0.10s both;
}

.ast-fs-stage.is-leaving .ast-fs-body,
.ast-fs-stage.is-leaving .ast-sound-pill {
  animation: cwdBodyFadeOut 0.34s cubic-bezier(0.4, 0, 0.2, 1) 0.08s both;
}

.ast-fs-stage.is-crossfading {
  position: relative;
  z-index: 10;
}

.ast-fs-stage.is-crossfading > .ast-fs-grad-full {
  animation: cwdStageFadeIn 0.50s cubic-bezier(0.4, 0, 0.2, 1) 0.22s both;
}

.ast-fs-stage.is-crossfading > .ast-fs-grad-bottom,
.ast-fs-stage.is-crossfading > .ast-fs-grad-top {
  animation: cwdStageFadeIn 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0.18s both;
}

.ast-fs-stage.is-crossfading .ast-fs-top-slot,
.ast-fs-stage.is-crossfading .ast-fs-bottom-slot {
  animation: cwdSlideUp 0.40s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.ast-fs-stage.is-entering-stage {
  animation: cwdStageFadeIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ast-fs-stage.is-entering-stage > .ast-fs-grad-full {
  animation: cwdStageFadeIn 0.48s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.ast-fs-stage.is-entering-stage .ast-fs-top-slot,
.ast-fs-stage.is-entering-stage .ast-fs-bottom-slot {
  animation: cwdSlideUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.ast-fs-leaving-curtain {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 28rem;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
  animation: cwdStageFadeOut 0.46s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.ast-scroll-stage-entering {
  animation: cwdStageFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ast-cta-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.2px solid currentColor;
  border-right-color: transparent;
  opacity: 0.62;
  animation: cwdSpin 0.68s linear infinite;
}

@keyframes cwdSpin {
  to { transform: rotate(360deg); }
}

@keyframes cwdStageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cwdStageFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes cwdBodyFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(4px); }
}

@keyframes cwdSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ast-sound-pill {
  position: absolute;
  top: 64px;
  right: 16px;
  z-index: 25;
  background: rgba(17, 17, 17, 0.55);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

/* 웹툰 말풍선 텍스트 오버레이 (아스타로 1:1 Pretendard 규격) */
.ast-img-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
}
.ast-img-stage > img.ast-main-img {
  display: block;
  width: 100%;
  height: auto;
}
.ast-bubble-text {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  text-align: center;
  white-space: pre-line;
  pointer-events: none;
  z-index: 6;
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.03em;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
}
.ast-bubble-text > div {
  width: 100%;
  text-align: center;
  word-break: keep-all;
}

/* 아스타로 오리지널 카드 4~7 & 후기 캐러셀 1:1 스타일 */
.ast-card4-wrap {
  padding: 0 20px;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.ast-card5-wrap {
  padding: 0 20px;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.ast-card6-wrap {
  padding: 0 20px;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.ast-card7-wrap {
  padding: 0 20px;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.ast-destined-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 0.5px solid #E11F22;
  background-color: #191210;
  box-shadow: rgba(225, 31, 34, 0.7) 0px 0px 30px 0px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ast-destined-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}
.ast-destined-portrait-stage {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.ast-destined-portrait-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgb(255, 224, 222) 0%, rgb(255, 169, 164) 100%);
}
.ast-destined-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.ast-destined-portrait-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(rgba(254, 184, 179, 0) 0%, rgba(25, 18, 16, 0.5) 59.84%, rgb(25, 18, 16) 100%);
  pointer-events: none;
}
.ast-destined-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 16px 24px 16px;
}
.ast-card-head-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.ast-card-eyebrow {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: #FFFFFF;
}
.ast-destined-info-stack {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 4px;
}
.ast-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.ast-info-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.35px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}
.ast-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ast-tag-pill {
  border-radius: 14px;
  border: 1px solid #FFFFFF;
  padding: 7px 13px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.3px;
  color: #FFFFFF;
  white-space: nowrap;
}
.ast-blur-5 {
  filter: blur(5px);
  user-select: none;
}
.ast-dashed-divider {
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin: 0;
}
.ast-info-main-txt {
  margin: 0;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.45px;
  color: #FFFFFF;
  text-align: center;
  white-space: pre-line;
  word-break: keep-all;
}
.ast-frosted-desc {
  width: 100%;
  border-radius: 10px;
  background: rgba(117, 117, 117, 0.14);
  padding: 15px 14px;
  backdrop-filter: blur(4px);
  font-size: 14px;
  line-height: 1.72;
  letter-spacing: -0.35px;
  color: #FFFFFF;
  text-align: center;
  white-space: pre-line;
  word-break: keep-all;
}
.ast-lock-overlay-wrap {
  position: relative;
  z-index: 11;
  width: 100%;
  padding: 4px 16px 24px 16px;
}
.ast-lock-box {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px dashed #757575;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0.72) 100%);
  padding: 20px 16px;
  backdrop-filter: blur(10px);
}
.ast-lock-box--blue {
  border-color: #147BD5;
  background: linear-gradient(180deg, rgba(0, 79, 148, 0.12) 0%, rgba(0, 54, 101, 0.38) 100%);
  padding: 20px 16px;
}
.ast-lock-box--crimson {
  border-color: #B91D46;
  background: linear-gradient(180deg, rgba(25, 11, 11, 0.65) 0%, rgba(91, 0, 2, 0.5) 100%);
  padding: 20px 16px;
}
.ast-lock-box--gold {
  border-color: #D4AF73;
  background: linear-gradient(180deg, rgba(35, 26, 12, 0.55) 0%, rgba(212, 175, 115, 0.14) 100%);
  padding: 20px 16px;
}
.ast-lock-box--cyan {
  border-color: #0284C7;
  background: linear-gradient(180deg, rgba(8, 25, 44, 0.6) 0%, rgba(2, 132, 199, 0.18) 100%);
  padding: 20px 16px;
}
.ast-lock-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  text-align: center;
}
.ast-lock-hr {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin: 0;
}
.ast-lock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
  max-width: 285px;
  flex-direction: column;
  gap: 10px;
}
.ast-lock-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.35px;
  color: #FFFFFF;
  text-align: left;
  word-break: keep-all;
}
.ast-lock-icon {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.ast-nemesis-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #242424;
  background: linear-gradient(180deg, #1E1E1E 0%, #101011 100%);
  padding-top: 36px;
  padding-bottom: 24px;
  box-shadow: 0px 0px 15px 0px rgba(62, 0, 1, 0.7);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ast-nemesis-body {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ast-nemesis-portrait-wrap {
  width: 100%;
  padding: 0 20px;
}
.ast-nemesis-portrait-box {
  position: relative;
  width: 100%;
  aspect-ratio: 295 / 335;
  overflow: hidden;
  border-radius: 12px;
}
.ast-nemesis-portrait-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ast-nemesis-quote-wrap {
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ast-nemesis-quote-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.ast-nemesis-lock-pos {
  position: relative;
  z-index: 11;
  width: 100%;
  padding: 4px 20px 0 20px;
}
.ast-decade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-radius: 20px;
  padding: 36px 0 28px 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ast-decade-card--best {
  border: 1px solid #004F94;
  background-color: #050B16;
  filter: drop-shadow(0px 0px 15px rgba(0, 43, 81, 0.7));
}
.ast-decade-card--worst {
  border: 1px solid #7F2020;
  background-color: #1E1010;
  filter: drop-shadow(0px 0px 15px rgba(127, 32, 32, 0.7));
}
.ast-decade-period-bar {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}
.ast-decade-age {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.45px;
  color: #FFFFFF;
}
.ast-decade-years {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: #FFFFFF;
}
.ast-decade-chart-stage {
  position: relative;
  height: 150px;
  width: 100%;
  overflow: hidden;
}
.ast-decade-year-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}
.ast-decade-year-callout--best {
  background-color: #121722;
}
.ast-decade-year-callout--worst {
  background-color: rgba(255, 255, 255, 0.05);
}
.ast-blur-year-best {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #FFFFFF 0%, #84C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(5px);
  user-select: none;
}
.ast-blur-year-worst {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #FFFFFF 0%, #B10000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(5px);
  user-select: none;
}
.ast-review-wrap {
  background-color: #111111;
  padding: 12px 24px 32px 24px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ast-review-pager {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.ast-pager-btn {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #E1E1E1;
  background: transparent;
  color: #E1E1E1;
  cursor: pointer;
}
.ast-pager-btn:disabled {
  border-color: #424242;
  color: #424242;
  cursor: default;
}
.ast-pager-indicator {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #E1E1E1;
}
.ast-review-cards {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}
.ast-rev-card {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
}
.ast-rev-header {
  display: flex;
  width: 100%;
  gap: 8px;
}
.ast-rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #E1E1E1;
  background: #F3F4F6;
  flex-shrink: 0;
}
.ast-rev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ast-rev-meta {
  flex: 1;
  min-width: 0;
}
.ast-rev-top-row {
  display: flex;
  height: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ast-rev-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}
.ast-rev-badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 4px;
  padding: 2px 6px 2px 4px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #E1E1E1;
  background: rgba(255, 255, 255, 0.1);
}
.ast-rev-time {
  font-size: 12px;
  color: #C1C1C1;
}
.ast-rev-user-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #C1C1C1;
}
.ast-rev-sep {
  width: 1px;
  height: 10px;
  background: #C1C1C1;
}
.ast-rev-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  word-break: break-word;
  white-space: pre-line;
}

/* 스크롤 유도 힌트 & 웹툰 건너뛰기 툴팁 버튼 */
.ast-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 0 8px;
  font-size: 12px;
  color: #757575;
  animation: cwdBounceY 1.6s infinite;
}
@keyframes cwdBounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.ast-webtoon-skip-floating {
  position: sticky;
  top: 66px;
  z-index: 35;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px;
  height: 0;
  overflow: visible;
  pointer-events: none;
}
.ast-webtoon-skip-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.86);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  white-space: nowrap;
}

/* 하단 고정 결제/진행 플로팅 CTA (타이머 포함) */
.ast-floating-cta-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 448px;
  padding: 10px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 46;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 14, 0.78) 38%, rgba(10, 10, 14, 0.96) 100%);
  pointer-events: none;
}
.ast-floating-cta-bar.light-mode {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 38%, #ffffff 100%);
}
.ast-floating-timer-badge {
  pointer-events: auto;
  margin: 0 auto 8px;
  width: fit-content;
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ast-cta-main-btn {
  pointer-events: auto;
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.14s ease, opacity 0.15s ease, background 0.22s ease, color 0.22s ease;
}
.ast-cta-main-btn:active {
  transform: scale(0.985);
}

/* 테마형 입력창 (아스타로 1:1 폰트·간격·라디오 체크·언더라인 규격) */
.ast-theme-field {
  width: 100%;
}
.ast-theme-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 2px 4px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0px 4px 20px #000000;
}
.ast-theme-label.light {
  color: #424242;
  text-shadow: none;
}
.ast-radio-check-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: none;
}
.ast-radio-check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #a1a1a1;
  text-shadow: none;
  transition: color 0.15s ease;
}
.ast-radio-check-btn.is-checked {
  color: #ffffff;
}
.ast-radio-check-btn.light {
  color: #8b8b8b;
}
.ast-radio-check-btn.light.is-checked {
  color: #111111;
}
.ast-theme-input {
  width: 100%;
  height: 40px;
  padding: 4px 4px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #757575;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  outline: none;
  border-radius: 0;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.ast-theme-input::placeholder {
  color: #a1a1a1;
  font-weight: 500;
}
.ast-theme-input:focus {
  border-bottom-color: #ffffff;
}
.ast-theme-input:disabled {
  color: #757575;
  border-bottom-color: #454545;
  cursor: default;
}
.ast-theme-input:disabled::placeholder {
  color: #6b6b6b;
}
.ast-theme-input.light {
  color: #111111;
  border-bottom-color: #d1d5db;
}
.ast-theme-input.light::placeholder {
  color: #9ca3af;
}
.ast-theme-input.light:focus {
  border-bottom-color: #111111;
}
.ast-gender-row {
  margin-top: 12px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ast-gender-btn {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  background: transparent;
  color: #e1e1e1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ast-gender-btn.is-selected {
  background: #e5e5e5;
  border-color: #e5e5e5;
  color: #111111;
  font-weight: 600;
}
.ast-gender-btn.light {
  border-color: #e1e1e1;
  background: #f8f9fa;
  color: #424242;
}
.ast-gender-btn.light.is-selected {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

/* 아스타로 Page 625 객관식 문장형 커스텀 드롭다운 (input-addinfo-selectable-select-v2 1:1) */
.ast-v2-select-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.ast-v2-select-affix {
  flex-shrink: 0;
  white-space: nowrap;
  color: #a1a1a1;
}
.ast-v2-select-wrap {
  min-width: 0;
  position: relative;
}
.ast-v2-select-sizer {
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  white-space: nowrap;
  padding: 0 34px 0 13px;
  font-size: 16px;
  pointer-events: none;
}
.ast-v2-select-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 120px;
  height: 40px;
  border-radius: 10px;
  padding: 0 32px 0 12px;
  border: none;
  background-color: #2e2e2e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.ast-v2-select-btn.is-selected {
  font-weight: 500;
}
.ast-v2-select-chevron {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #a1a1a1;
  transition: transform 0.18s ease;
  pointer-events: none;
}
.ast-v2-select-chevron.is-open {
  transform: translateY(-50%) rotate(180deg);
}
.ast-v2-select-menu {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  z-index: 60;
  min-width: 140px;
  width: max-content;
  max-height: min(440px, 65dvh);
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: 10px;
  padding: 4px 0;
  background-color: #2e2e2e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
  animation: cwdSelectPop 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ast-v2-select-menu::-webkit-scrollbar {
  display: none;
}
@keyframes cwdSelectPop {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.ast-v2-select-opt {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.ast-v2-select-opt:hover,
.ast-v2-select-opt.is-active {
  background: rgba(255, 255, 255, 0.08);
}
.ast-v2-select-opt.is-reset {
  color: #757575;
}

/* 아스타로 Page 627 주관식 고민 입력창 (input-addinfo-writable-textarea-v2 1:1) */
.ast-v2-textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  max-height: 176px;
  field-sizing: content;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  resize: none;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 12px 16px;
  background-color: #2e2e2e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: #ffffff;
  word-break: keep-all;
}
.ast-v2-textarea::placeholder {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: var(--ph-color, #a1a1a1);
}

/* 오방기 5깃발 뽑기 */
.ast-obanggi-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  height: 230px;
  padding-top: 24px;
}
.ast-obanggi-btn {
  background: transparent;
  border: none;
  padding: 0;
  width: 54px;
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}
.ast-obanggi-btn:hover,
.ast-obanggi-btn.is-picked {
  transform: translateY(-28px) scale(1.06);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.65));
}
.ast-obanggi-btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* 타로 22장 카드 선택 그리드 */
.ast-tarot-deck-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin: 14px 0 20px;
}
.ast-tarot-card-item {
  position: relative;
  aspect-ratio: 2 / 3.1;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.ast-tarot-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.ast-tarot-card-item.is-selected {
  transform: translateY(-10px) scale(1.05);
  z-index: 5;
  box-shadow: 0 8px 20px rgba(255, 190, 220, 0.55);
}
.ast-tarot-slot-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 아스타로 /checkout 결제하기 전용 바텀시트 & 라디오 */
.ast-radio-outer {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.6px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
}
.ast-radio-outer.checked {
  border-color: #111111;
  background: #111111;
}
.ast-radio-outer.checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

.ast-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ast-bottom-sheet {
  width: 100%;
  max-width: 448px;
  max-height: 84dvh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
  animation: cwdSheetUp 0.25s ease-out;
}
@keyframes cwdSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==========================================================================
   MZ무당 강신 무당점사 — 아스타로 원본 배너(home-main / main-top / 표지 title) 1:1 동일 규격
   - home-main (추천/선반/그리드): 상단 서예 붓글씨 호칭(MZ무당 강신) + 하단 84% 폭 초대형 4글자 붓글씨(무당점사)
   - main-top (TOP10) & 상세 표지: 위 2단 붓글씨 + 하단 큰따옴표 고딕 한 줄
   ========================================================================== */
.hc-card-cq {
  container-type: inline-size;
}

.hc-poster-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  z-index: 6;
  background: linear-gradient(
    180deg,
    rgba(12, 13, 16, 0) 0%,
    rgba(12, 13, 16, 0.48) 42%,
    rgba(10, 11, 14, 0.88) 78%,
    rgba(8, 9, 12, 0.97) 100%
  );
}
.hc-poster-overlay--featured,
.hc-poster-overlay--shelf {
  padding: 0 5% 8.5%;
}
.hc-poster-overlay--hero {
  height: 48%;
  padding: 0 5% 6.5%;
}

/* 1단: 상단 서예 붓글씨 호칭 (아스타로 '천성도령 / 신점 무녀 아린' 위치·비율·폰트 1:1) */
.hc-ast-subname-wrap {
  display: block;
  margin-bottom: 1.8%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.94)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.98));
}
.hc-ast-subname {
  display: inline-block;
  margin: 0;
  font-family: "GapyeongHanseokbong", "Song Myung", "East Sea Dokdo", serif;
  font-weight: 700;
  font-size: clamp(13px, 8.2cqw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  transform: scaleX(1.03) skewX(-2deg);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 62%, #b8c2d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.32);
  color: #ffffff;
  white-space: nowrap;
}

/* 2단: 카드를 꽉 채우는 초대형 4글자 서예 붓글씨 메인 타이틀 (아스타로 '무당점사' 84% 폭 1:1) */
.hc-ast-maintitle-wrap {
  display: block;
  width: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.95)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.98));
}
.hc-ast-maintitle {
  display: inline-block;
  margin: 0;
  font-family: "GapyeongHanseokbong", "Song Myung", "East Sea Dokdo", serif;
  font-weight: 700;
  font-size: clamp(30px, 20.6cqw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  transform: scaleX(1.06) skewX(-3deg);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 50%, #c7d0de 78%, #8a96a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.7px rgba(255, 255, 255, 0.38);
  color: #ffffff;
  white-space: nowrap;
}

/* 3단: TOP10 메인 배너(main-top)에만 들어가는 하단 큰따옴표 고딕 한 줄 */
.hc-ast-tagline {
  margin: 4% 0 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-weight: 600;
  font-size: clamp(10.5px, 4.1cqw, 15px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #f3f4f6;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

/* /b/blackmoontotal 풀스크린 온보딩 표지 전용 1:1 타이틀 블록 */
.hc-fs-cover-lockup {
  container-type: inline-size;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hc-fs-cover-lockup .hc-ast-subname {
  font-size: clamp(20px, 6.8cqw, 28px);
}
.hc-fs-cover-lockup .hc-ast-maintitle {
  font-size: clamp(54px, 18.5cqw, 78px);
}
.hc-fs-cover-lockup .hc-ast-tagline {
  margin-top: 12px;
  font-size: clamp(13px, 4.2cqw, 16.5px);
}

/* 클라이맥스 대사 세리프 강약 대비형 (배경 백색 후광 제거 + 세필 명조 / 특태 명조 키워드 강조) */
.ast-char-contrast {
  font-family: "Noto Serif KR", serif;
  font-weight: 300;
  color: #EAECF0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92), 0 1px 3px rgba(0, 0, 0, 0.96);
  -webkit-font-smoothing: antialiased;
}
.ast-char-contrast strong {
  font-family: "Noto Serif KR", serif;
  font-weight: 900 !important;
  color: #FFFFFF;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.18), 0 2px 10px rgba(0, 0, 0, 0.94);
}

/* ==========================================================================
   경쟁사 3사(아스타로 · 아스타로 · 펀펀사주) 동일 폰트 스택 등록
   - 본문/UI/데이터: Pretendard Variable (45~920, index.html 로드 완료)
   - 에디토리얼 헤드라인/점사 타이틀/말풍선: Gowun Batang + RIDIBatang + GyeonggiBatang
   ========================================================================== */
@font-face {
  font-family: "RIDIBatang";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/RIDIBatang.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GyeonggiBatang";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/GyeonggiBatang.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   천성도령 Screen 9 (Page 629 무료 사주풀이 웹툰 페이지)
   — 군더더기 없는 다크 에디토리얼 미니멀리즘 · 가평한석봉체 대제목 · 넓은 호흡감
   ========================================================================== */
.gs9-section,
.gs9-review-section {
  --gs9-bg: #07080D;
  --gs9-surface: #11131A;
  --gs9-surface-2: #161922;
  --gs9-border: rgba(255, 255, 255, 0.085);
  --gs9-border-strong: rgba(255, 255, 255, 0.14);
  --gs9-accent: #D6C3A5;
  --gs9-accent-dim: rgba(214, 195, 165, 0.14);
  --gs9-text-strong: #FAFAFA;
  --gs9-text-body: #CFD4DF;
  --gs9-text-muted: #939AA9;
  --gs9-text-dim: #687082;
  --gs9-font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --gs9-font-serif: "Gowun Batang", "RIDIBatang", "GyeonggiBatang", "Noto Serif KR", serif;
  --gs9-font-display: "GapyeongHanseokbong", "Gowun Batang", "Noto Serif KR", serif;
}

.gs9-section {
  padding: 108px 24px 116px;
  background: linear-gradient(180deg, #020306 0px, #07080D 84px, #07080D calc(100% - 84px), #020306 100%);
  font-family: var(--gs9-font-sans);
  color: var(--gs9-text-strong);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.gs9-section--tight-top {
  padding-top: 32px;
}

.gs9-section--last {
  padding-bottom: 140px;
}

.gs9-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* 섹션 상단 정통 화선지 먹물 붓글씨 서예(조선궁서체) 타이틀 위계 */
.gs9-header {
  text-align: center;
  margin-bottom: 38px;
}

.gs9-chap-num {
  display: block;
  font-family: var(--gs9-font-display);
  font-size: 24px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--gs9-accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.gs9-kicker {
  display: block;
  font-family: var(--gs9-font-display);
  font-size: 15.5px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.42;
  letter-spacing: 0.03em;
  color: #D8C7AB;
  margin-bottom: 8px;
  word-break: keep-all;
  text-wrap: balance;
}

.gs9-kicker--warm {
  font-size: 17px;
  letter-spacing: 0.04em;
  color: #DFCEB2;
}

.gs9-title {
  margin: 0;
  font-family: var(--gs9-font-display);
  font-size: clamp(26px, 7vw, 30px);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: #F6F7FA;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: pre-line;
  text-wrap: balance;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.78);
}

/* 단문 히어로 대제목 (여덟 글자 · 수호신명 · 돈그릇명 등 — 5번 시안 1:1 펄/아이보리 먹결 광택) */
.gs9-title--hero {
  display: inline-block;
  font-size: clamp(28px, 7.6vw, 32px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F5F1E9 56%, #C4BCB0 100%);
  background-size: 100% 1.24em;
  background-repeat: repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter:
    drop-shadow(0 2px 12px rgba(255, 248, 235, 0.14))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.88));
}

.gs9-title--xl {
  font-size: clamp(31px, 8.6vw, 36px);
  line-height: 1.22;
  background-size: 100% 1.22em;
}

/* 2줄 대칭 내러티브 대제목 (초면 투시 · 운명의 인연 · 악연 — 02번 수호신 대제목과 100% 동일한 펄/아이보리 색감 통일) */
.gs9-title--narrative {
  display: inline-block;
  font-size: clamp(22px, 5.9vw, 25px);
  line-height: 1.46;
  letter-spacing: 0.005em;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F5F1E9 56%, #C4BCB0 100%);
  background-size: 100% 1.46em;
  background-repeat: repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter:
    drop-shadow(0 2px 12px rgba(255, 248, 235, 0.14))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.88));
}

/* 타이틀 내 부분 어절도 02번 대제목과 동일한 펄/아이보리 톤으로 통일 */
.gs9-title-em {
  font-style: normal;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F5F1E9 56%, #C4BCB0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.gs9-subtitle {
  margin: 12px 0 0;
  font-family: var(--gs9-font-sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -0.02em;
  color: var(--gs9-text-muted);
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.gs9-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  border: 0;
  margin: 28px 0;
}

.gs9-rule--short {
  width: 32px;
  margin: 22px auto 0;
  background: rgba(214, 195, 165, 0.35);
}

/* 공용 매트 다크 서피스 (과한 골드/네온 테두리 완전 배제) */
.gs9-panel {
  background: var(--gs9-surface);
  border: 1px solid var(--gs9-border);
  border-radius: 16px;
  padding: 24px 20px;
  box-sizing: border-box;
}

/* 사주 원국 명부 외곽 배경 — 먹빛 전통 한지 & 미세 금분 결 */
.gs9-panel--hanji {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background-color: #0D0F15;
  border: 1px solid rgba(214, 195, 165, 0.22);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 244, 224, 0.10);
}

.gs9-panel--hanji::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/gangsin_hanji_bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.76;
  pointer-events: none;
  z-index: 0;
}

.gs9-panel--hanji > * {
  position: relative;
  z-index: 1;
}

.gs9-panel--hanji .gs9-ganji-box {
  background: rgba(14, 17, 23, 0.66);
  border-color: rgba(255, 255, 255, 0.095);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gs9-panel--hanji .gs9-pillar-col.is-day .gs9-ganji-box {
  background: rgba(214, 195, 165, 0.09);
  border-color: rgba(214, 195, 165, 0.34);
}

.gs9-panel--hanji .gs9-elem-item {
  background: rgba(14, 17, 23, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 1) 사주 4주8자 원국 명부 (절대 겹침 없는 정밀 4열 그리드) */
.gs9-astro-note {
  margin-top: 14px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.gs9-astro-chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--gs9-text-muted);
  font-variant-numeric: tabular-nums;
}

.gs9-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

.gs9-pillar-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.gs9-pillar-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--gs9-text-muted);
  padding-bottom: 2px;
}

.gs9-pillar-col.is-day .gs9-pillar-label {
  color: var(--gs9-accent);
}

.gs9-ganji-box {
  height: 78px;
  border-radius: 12px;
  background: var(--gs9-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 4px;
  box-sizing: border-box;
}

.gs9-pillar-col.is-day .gs9-ganji-box {
  background: rgba(214, 195, 165, 0.07);
  border-color: rgba(214, 195, 165, 0.24);
}

.gs9-ganji-hanja {
  display: block;
  font-family: var(--gs9-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.gs9-ganji-sub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--gs9-font-sans);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--gs9-text-muted);
  white-space: nowrap;
}

.gs9-elem-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.gs9-pillar-sipsin {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gs9-text-dim);
  padding-top: 2px;
}

/* 오행 분포 바 & 미니멀 수치 */
.gs9-elem-wrap {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--gs9-border);
}

.gs9-elem-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gs9-text-muted);
  margin-bottom: 12px;
}

.gs9-elem-head strong {
  font-weight: 600;
  color: var(--gs9-accent);
}

.gs9-elem-track {
  display: flex;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
}

.gs9-elem-seg {
  height: 100%;
  border-radius: 999px;
  min-width: 6px;
}

.gs9-elem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
}

.gs9-elem-item {
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.gs9-elem-name {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--gs9-text-muted);
  margin-bottom: 3px;
}

.gs9-elem-pct {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gs9-text-strong);
  font-variant-numeric: tabular-nums;
}

/* 미니멀 태그 칩 (무채색/아이보리 톤온톤) */
.gs9-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}

.gs9-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #F2F4F8;
}

.gs9-tag--accent {
  background: rgba(214, 195, 165, 0.09);
  border-color: rgba(214, 195, 165, 0.34);
  color: #F5EFE4;
}

.gs9-tag--locked {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #F0F2F6;
  cursor: pointer;
}

.gs9-blur-inline {
  display: inline-block;
  color: #F0F2F6;
  font-weight: 500;
  filter: blur(4.8px);
  -webkit-filter: blur(4.8px);
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.95;
}

/* 에디토리얼 본문 단락 & 핵심 문구 묵직한 강조 & 팩트 실루엣 처리 */
.gs9-prose {
  margin: 0;
  font-family: var(--gs9-font-sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.92;
  letter-spacing: -0.02em;
  color: var(--gs9-text-body);
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: pre-line;
  text-wrap: pretty;
}

.gs9-prose-em {
  font-weight: 600;
  color: #FBF9F4;
  background: linear-gradient(180deg, transparent 62%, rgba(214, 195, 165, 0.20) 62%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 1px;
  border-radius: 2px;
}

.gs9-silhouette {
  color: #F0F2F6;
  font-weight: 500;
  filter: blur(5.3px);
  -webkit-filter: blur(5.3px);
  padding: 3px 2px;
  margin: -3px -2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

.gs9-silhouette:hover {
  opacity: 0.86;
}

.gs9-xray-list {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  border-top: 1px solid var(--gs9-border);
}

.gs9-xray-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--gs9-border);
}

.gs9-xray-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--gs9-accent);
}

.gs9-xray-num {
  font-family: var(--gs9-font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gs9-text-muted);
  font-variant-numeric: tabular-nums;
}

/* 아트워크 프레임 (불필요한 이중 테두리 없이 자연스러운 딥 비네팅) */
.gs9-figure {
  position: relative;
  width: 100%;
  margin: 0 0 26px;
  border-radius: 16px;
  overflow: hidden;
  background: #0B0D13;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gs9-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gs9-figure-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(180deg, rgba(7, 8, 13, 0) 0%, rgba(7, 8, 13, 0.78) 56%, rgba(7, 8, 13, 0.96) 100%);
  text-align: center;
}

.gs9-figure-quote {
  font-family: var(--gs9-font-display);
  font-size: 18px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.48;
  letter-spacing: 0.01em;
  color: #F4F1EA;
  word-break: keep-all;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.gs9-wealth-amount-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #B4BAC7;
  margin-bottom: 5px;
  word-break: keep-all;
  text-wrap: balance;
}

.gs9-wealth-amount {
  display: inline-block;
  font-family: var(--gs9-font-display);
  font-size: 36px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.16;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4E7CF 58%, #CFB68E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.88));
  font-variant-numeric: tabular-nums;
}

/* 펀펀사주/아스타로 스타일 미니멀 프로스트 잠금 패널 (원색 노란 알약 제거) */
.gs9-lock-panel {
  position: relative;
  margin-top: 34px;
  border-radius: 16px;
  padding: 34px 22px;
  background: var(--gs9-surface);
  border: 1px solid var(--gs9-border-strong);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.16s ease;
}

.gs9-lock-panel:hover {
  border-color: rgba(214, 195, 165, 0.34);
}

.gs9-lock-panel:active {
  transform: scale(0.992);
}

.gs9-lock-ghost {
  font-size: 14.5px;
  line-height: 1.82;
  color: rgba(214, 218, 227, 0.55);
  filter: blur(6.5px);
  user-select: none;
  pointer-events: none;
}

.gs9-lock-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 20px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(14, 16, 23, 0.62) 0%, rgba(14, 16, 23, 0.88) 100%);
  backdrop-filter: blur(2px);
}

.gs9-lock-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAFAFA;
  margin-bottom: 2px;
}

.gs9-lock-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #FAFAFA;
  word-break: keep-all;
  text-wrap: balance;
}

.gs9-lock-desc {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--gs9-text-muted);
  word-break: keep-all;
  text-wrap: balance;
}

/* 수록 목차 미니 프리뷰 박스 (펀펀사주 ff_free_05 스타일) */
.gs9-subtoc {
  margin-top: 26px;
  padding: 22px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gs9-border);
}

.gs9-subtoc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gs9-text-muted);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.gs9-subtoc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.gs9-subtoc-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -0.02em;
  color: #C8CDD8;
  word-break: keep-all;
  text-wrap: pretty;
}

.gs9-subtoc-dot {
  color: var(--gs9-text-dim);
  font-size: 12px;
  line-height: 1.62;
  flex-shrink: 0;
}

/* 돈그릇 5단계 미니멀 서열 테이블 */
.gs9-tier-box {
  margin: 0 0 28px;
  border-radius: 16px;
  background: var(--gs9-surface);
  border: 1px solid var(--gs9-border);
  padding: 18px 18px;
}

.gs9-tier-caption {
  font-size: 12px;
  font-weight: 600;
  color: var(--gs9-text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.gs9-tier-list {
  display: flex;
  flex-direction: column;
}

.gs9-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 13.5px;
  color: var(--gs9-text-dim);
  font-variant-numeric: tabular-nums;
}

.gs9-tier-row:last-child {
  border-bottom: 0;
}

.gs9-tier-row.is-active {
  border-radius: 10px;
  border-bottom-color: transparent;
  background: rgba(214, 195, 165, 0.11);
  border: 1px solid rgba(214, 195, 165, 0.30);
  color: #FAFAFA;
  margin: 2px 0;
}

.gs9-tier-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gs9-tier-rank {
  font-size: 12px;
  font-weight: 600;
  color: var(--gs9-text-muted);
  flex-shrink: 0;
}

.gs9-tier-row.is-active .gs9-tier-rank {
  color: var(--gs9-accent);
}

.gs9-tier-name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs9-tier-row.is-active .gs9-tier-name {
  font-weight: 600;
  color: #FAFAFA;
}

.gs9-tier-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gs9-tier-pct {
  font-size: 12px;
}

.gs9-tier-row.is-active .gs9-tier-pct {
  color: var(--gs9-accent);
  font-weight: 600;
}

.gs9-tier-me {
  padding: 3px 8px;
  border-radius: 999px;
  background: #EAE4D8;
  color: #0D0F14;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

/* 10년 대운 듀얼 차트 카드 */
.gs9-decade-stack {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.gs9-decade-card {
  background: var(--gs9-surface);
  border: 1px solid var(--gs9-border);
  border-radius: 16px;
  padding: 26px 20px;
}

.gs9-decade-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gs9-text-muted);
  font-variant-numeric: tabular-nums;
}

.gs9-decade-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #E5E7EB;
}

.gs9-decade-heading {
  margin: 0 0 18px;
  font-family: var(--gs9-font-display);
  font-size: 22px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #FAFAFA;
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
  text-wrap: balance;
}

.gs9-chart-box {
  width: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 10px 8px;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.gs9-decade-link {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gs9-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--gs9-accent);
  cursor: pointer;
}

/* 속마음 고민 인용구 & Q1~Q3 미니멀 잠금 행 */
.gs9-quote-box {
  margin: 24px 0 28px;
  padding: 16px 18px;
  border-left: 2px solid rgba(214, 195, 165, 0.55);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 0 12px 12px 0;
}

.gs9-quote-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gs9-text-muted);
  margin-bottom: 6px;
}

.gs9-quote-text {
  margin: 0;
  font-family: var(--gs9-font-serif);
  font-size: 14.5px;
  line-height: 1.7;
  color: #ECEEF2;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.gs9-q-list {
  margin-top: 22px;
  border-top: 1px solid var(--gs9-border);
  display: flex;
  flex-direction: column;
}

.gs9-q-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--gs9-border);
  cursor: pointer;
}

.gs9-q-idx {
  font-size: 12px;
  font-weight: 600;
  color: var(--gs9-accent);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.gs9-q-txt {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #E2E5EE;
  word-break: keep-all;
  text-wrap: pretty;
}

.gs9-q-lock {
  color: var(--gs9-text-dim);
  flex-shrink: 0;
}

/* 결제 오퍼 영수증 카드 (펀펀사주 ff_01 클린 영수증 아키텍처 반영) */
.gs9-offer-card {
  background: var(--gs9-surface);
  border: 1px solid var(--gs9-border-strong);
  border-radius: 20px;
  padding: 32px 22px 28px;
}

.gs9-receipt {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--gs9-border);
  border-radius: 14px;
  padding: 20px 18px;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}

.gs9-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gs9-text-muted);
  margin-bottom: 12px;
}

.gs9-receipt-strike {
  text-decoration: line-through;
  color: var(--gs9-text-dim);
}

.gs9-disc-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(214, 195, 165, 0.16);
  color: var(--gs9-accent);
  font-size: 11px;
  font-weight: 700;
  margin-left: 5px;
}

.gs9-receipt-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gs9-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.gs9-receipt-total-lbl {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #FAFAFA;
}

.gs9-receipt-timer {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gs9-text-muted);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.gs9-receipt-price {
  font-family: var(--gs9-font-sans);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.gs9-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 24px;
  padding: 0 2px;
}

.gs9-perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  color: #C8CDD8;
  letter-spacing: -0.02em;
}

.gs9-perk-check {
  color: var(--gs9-accent);
  font-size: 12px;
  flex-shrink: 0;
}

.gs9-cta-btn {
  width: 100%;
  height: 56px;
  border-radius: 13px;
  border: 1px solid rgba(226, 206, 174, 0.56);
  background: linear-gradient(180deg, #FBF8F1 0%, #ECE1CD 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.52), 0 0 22px rgba(214, 195, 165, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: #0B0D12;
  font-family: var(--gs9-font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.16s ease, transform 0.14s ease, box-shadow 0.18s ease;
}

.gs9-cta-btn:hover {
  opacity: 0.94;
}

.gs9-cta-btn:active {
  transform: scale(0.988);
}

.gs9-trust-caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--gs9-text-dim);
  font-variant-numeric: tabular-nums;
}

/* 11대 본편 리포트 목차 (펀펀사주 ff_free_05 스타일 에디토리얼 목차) */
.gs9-toc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gs9-border);
}

.gs9-toc-row {
  padding: 22px 2px;
  border-bottom: 1px solid var(--gs9-border);
}

.gs9-toc-row.is-special {
  padding: 22px 16px;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(214, 195, 165, 0.28);
  background: rgba(214, 195, 165, 0.06);
}

.gs9-toc-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gs9-toc-num {
  font-family: var(--gs9-font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--gs9-accent);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.gs9-toc-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #FAFAFA;
  word-break: keep-all;
  text-wrap: balance;
}

.gs9-toc-note {
  margin: 8px 0 0 28px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.02em;
  color: var(--gs9-text-muted);
  word-break: keep-all;
  text-wrap: pretty;
}

.gs9-toc-row.is-special .gs9-toc-note {
  margin-left: 0;
  margin-top: 10px;
  color: #E2E5EE;
}

/* 대면 점사 vs 온라인 리포트 미니멀 비교표 */
.gs9-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.gs9-compare-col {
  border-radius: 16px;
  padding: 22px 16px;
  background: var(--gs9-surface);
  border: 1px solid var(--gs9-border);
  text-align: center;
}

.gs9-compare-col.is-highlight {
  background: rgba(214, 195, 165, 0.07);
  border-color: rgba(214, 195, 165, 0.30);
}

.gs9-compare-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gs9-text-muted);
  margin-bottom: 8px;
}

.gs9-compare-col.is-highlight .gs9-compare-label {
  color: var(--gs9-accent);
}

.gs9-compare-price {
  font-size: 17px;
  font-weight: 700;
  color: #FAFAFA;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.gs9-compare-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--gs9-text-muted);
}

.gs9-compare-col.is-highlight .gs9-compare-desc {
  color: #E2E5EE;
}

/* 마지막 천성도령의 당부 서신 (다크 에디토리얼 한지 톤온톤) */
.gs9-letter-card {
  border-radius: 18px;
  padding: 36px 24px 32px;
  background: #111319;
  border: 1px solid rgba(214, 195, 165, 0.20);
}

.gs9-letter-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  font-family: var(--gs9-font-serif);
  font-size: 15px;
  line-height: 1.92;
  letter-spacing: -0.02em;
  color: #DFE3EC;
  word-break: keep-all;
}

.gs9-letter-body p {
  margin: 0;
  text-wrap: pretty;
}

.gs9-letter-sign {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.gs9-seal-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1.5px solid rgba(205, 92, 92, 0.72);
  color: rgba(220, 115, 115, 0.90);
  font-family: var(--gs9-font-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

/* 다크 퍼널 리뷰 섹션 정돈 */
.gs9-review-section {
  padding: 104px 24px 112px;
  background: linear-gradient(180deg, #020306 0px, #07080D 84px, #07080D calc(100% - 84px), #020306 100%);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  color: #FAFAFA;
}

.gs9-review-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gs9-review-card {
  background: #11131A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 18px;
}

.gs9-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.gs9-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gs9-review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Gowun Batang", "RIDIBatang", serif;
  font-size: 13px;
  font-weight: 700;
  color: #D6C3A5;
  flex-shrink: 0;
}

.gs9-review-body {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.76;
  letter-spacing: -0.02em;
  color: #D6DAE3;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* ==========================================================================
   웹툰 컷 시네마틱 딥블랙 그라데이션 디졸브 & 여백 호흡 브릿지
   ========================================================================== */
.gs9-wt-bridge-wrap {
  padding: 76px 0 80px;
  background-color: #020306;
}

.gs9-wt-bridge-wrap--hero {
  padding: 0 0 80px;
}

.gs9-wt-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gs9-wt-stage::before,
.gs9-wt-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 4;
}

.gs9-wt-stage::before {
  top: 0;
  height: 22px;
  background: linear-gradient(180deg, #020306 0%, rgba(2, 3, 6, 0.68) 42%, rgba(2, 3, 6, 0) 100%);
}

.gs9-wt-bridge-wrap--hero .gs9-wt-stage::before {
  display: none;
}

.gs9-wt-stage::after {
  bottom: 0;
  height: 28px;
  background: linear-gradient(0deg, #020306 0%, rgba(2, 3, 6, 0.74) 42%, rgba(2, 3, 6, 0) 100%);
}

.gs-intro-wt-wrap {
  padding: 28px 0;
  background-color: #060810;
}

.gs-intro-wt-wrap--first {
  padding-top: 0;
}

.gs-intro-wt-wrap .gs9-wt-stage::before {
  height: 18px;
  background: linear-gradient(180deg, #060810 0%, rgba(6, 8, 16, 0) 100%);
}

.gs-intro-wt-wrap--first .gs9-wt-stage::before {
  display: none;
}

.gs-intro-wt-wrap .gs9-wt-stage::after {
  height: 22px;
  background: linear-gradient(0deg, #060810 0%, rgba(6, 8, 16, 0) 100%);
}

/* ==========================================================================
   운명귀환점 시그니처 신당 묵향(墨香) 여백 & 명조 극대비 구매 후킹 브릿지 (.gs9-hook-void)
   ========================================================================== */
.gs9-hook-void {
  position: relative;
  padding: 152px 20px 158px;
  min-height: 528px;
  background: linear-gradient(180deg, #020306 0%, #05070D 34%, #060910 50%, #05070D 66%, #020306 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.gs9-hook-void + .gs9-wt-bridge-wrap {
  padding-top: 24px;
}

.gs9-hook-void + .gs9-section {
  padding-top: 76px;
}

.gs9-hook-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 92% 60% at 50% 50%, #000 18%, rgba(0, 0, 0, 0.48) 54%, transparent 78%);
  mask-image: radial-gradient(ellipse 92% 60% at 50% 50%, #000 18%, rgba(0, 0, 0, 0.48) 54%, transparent 78%);
}

.gs9-hook-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/gangsin_hanji_bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.24;
}

.gs9-hook-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(132deg, rgba(142, 174, 214, 0.15) 0%, rgba(8, 11, 18, 0) 45%, rgba(214, 195, 165, 0.12) 100%);
}

.gs9-hook-void--warm .gs9-hook-veil::after {
  background: linear-gradient(132deg, rgba(214, 190, 148, 0.15) 0%, rgba(8, 11, 18, 0) 46%, rgba(138, 166, 204, 0.10) 100%);
}

.gs9-hook-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
}

.gs9-hook-plumb {
  position: relative;
  width: 1px;
  height: 46px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, rgba(214, 195, 165, 0) 0%, rgba(214, 195, 165, 0.58) 72%, rgba(214, 195, 165, 0.25) 100%);
}

.gs9-hook-plumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  background: #D6C3A5;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 8px rgba(214, 195, 165, 0.55);
}

.gs9-hook-eyebrow {
  display: block;
  margin: 0 0 28px;
  font-family: "GapyeongHanseokbong", "Gowun Batang", "Noto Serif KR", serif;
  font-size: 16px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.38;
  letter-spacing: 0.04em;
  color: #D8C6A8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92);
}

.gs9-hook-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.gs9-hook-stanza {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(16px, 4.35vw, 18px);
  font-weight: 300;
  line-height: 1.78;
  letter-spacing: -0.03em;
  color: #DCE0E8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.94), 0 1px 3px rgba(0, 0, 0, 0.98);
  word-break: keep-all;
}

.gs9-hook-stanza strong {
  font-family: "Noto Serif KR", serif;
  font-weight: 900 !important;
  font-size: 1.045em;
  color: #FFFFFF;
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.22), 0 2px 12px rgba(0, 0, 0, 0.96);
}

.gs9-hook-divider {
  width: 24px;
  height: 1px;
  margin: 0 auto;
  background: rgba(214, 195, 165, 0.28);
}

.gs9-hook-note {
  margin: 28px auto 0;
  max-width: 318px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: -0.02em;
  color: #8F96A6;
  word-break: keep-all;
  text-wrap: balance;
}

.gs9-hook-action {
  margin-top: 30px;
}

.gs9-hook-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(16, 19, 27, 0.82);
  border: 1px solid rgba(214, 195, 165, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 248, 236, 0.08);
  font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #F4EFE6;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.gs9-hook-pill:hover {
  border-color: rgba(214, 195, 165, 0.62);
  background: rgba(24, 28, 39, 0.90);
}

.gs9-hook-pill:active {
  transform: scale(0.985);
}

/* ============================================================================
   초고전환 반개봉 감정 명부 (Half-Revealed Dossier) & 7대 천기 해제 명세 · 검증 바
   ============================================================================ */
.gs9-xray-item--cliff {
  padding-top: 28px;
  border-top: 1px dashed rgba(214, 195, 165, 0.22);
}

.gs9-dossier-card {
  position: relative;
  margin-top: 28px;
  border-radius: 16px;
  padding: 20px 17px 16px;
  background: linear-gradient(180deg, rgba(20, 23, 33, 0.96) 0%, rgba(12, 14, 21, 0.99) 100%);
  border: 1px solid rgba(214, 195, 165, 0.26);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 248, 236, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.gs9-dossier-card:hover {
  border-color: rgba(214, 195, 165, 0.48);
}

.gs9-dossier-card:active {
  transform: scale(0.992);
}

.gs9-dossier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.gs9-dossier-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #D6C3A5;
  min-width: 0;
  white-space: nowrap;
}

.gs9-dossier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D6C3A5;
  box-shadow: 0 0 8px rgba(214, 195, 165, 0.68);
  flex-shrink: 0;
}

.gs9-dossier-status {
  padding: 2.5px 8px;
  border-radius: 999px;
  background: rgba(214, 195, 165, 0.12);
  border: 1px solid rgba(214, 195, 165, 0.28);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #EADBC2;
  white-space: nowrap;
  flex-shrink: 0;
}

.gs9-dossier-rows {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.gs9-dossier-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.065);
}

.gs9-dossier-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gs9-dossier-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #9CA3B4;
  white-space: nowrap;
}

.gs9-dossier-idx {
  font-size: 11px;
  font-weight: 700;
  color: rgba(214, 195, 165, 0.78);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.gs9-dossier-val {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 7px;
  padding-left: 1px;
}

.gs9-dossier-lead {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: #ECEEF2;
  white-space: nowrap;
}

.gs9-censor-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #D6C3A5;
  white-space: nowrap;
}

.gs9-censor-txt {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #F0F2F6;
  filter: blur(4.8px);
  -webkit-filter: blur(4.8px);
  user-select: none;
  -webkit-user-select: none;
}

.gs9-verdict-snip {
  margin-top: 15px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(214, 195, 165, 0.055);
  border: 1px solid rgba(214, 195, 165, 0.19);
}

.gs9-verdict-snip.is-top {
  margin-top: 0;
  margin-bottom: 16px;
}

.gs9-verdict-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #D6C3A5;
  margin-bottom: 6px;
}

.gs9-verdict-p {
  margin: 0;
  font-family: var(--gs9-font-serif);
  font-size: 14px;
  line-height: 1.82;
  letter-spacing: -0.025em;
  word-break: keep-all;
  text-wrap: pretty;
}

.gs9-verdict-open {
  font-weight: 400;
  color: #F5F1E8;
}

.gs9-verdict-blur {
  font-weight: 500;
  color: #F0ECE3;
  filter: blur(5.2px);
  -webkit-filter: blur(5.2px);
  padding: 2px;
  margin: -2px;
  user-select: none;
  -webkit-user-select: none;
}

.gs9-dossier-foot {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gs9-dossier-foot-txt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #EDE0CA;
  white-space: nowrap;
}

.gs9-dossier-foot-arr {
  font-size: 16px;
  line-height: 1;
  color: #D6C3A5;
  flex-shrink: 0;
}

/* 오퍼 영수증 내 7대 천기 즉시 봉인 해제 명세 */
.gs9-unlock-manifest {
  margin-bottom: 18px;
  padding: 17px 15px;
  border-radius: 14px;
  background: rgba(214, 195, 165, 0.055);
  border: 1px solid rgba(214, 195, 165, 0.22);
}

.gs9-unlock-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #EADBC2;
  margin-bottom: 11px;
  white-space: nowrap;
}

.gs9-unlock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gs9-unlock-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.8px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: #EAECEF;
  word-break: keep-all;
}

.gs9-instant-guarantee {
  margin-top: 12px;
  text-align: center;
  font-size: 11.8px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: #CBB99B;
  white-space: nowrap;
}

/* 실제 내담자 열람 검증 3열 서머리 바 & 후기 소름 포인트 하이라이트 */
.gs9-proof-bar {
  margin: 0 0 24px;
  padding: 17px 10px;
  border-radius: 16px;
  background: var(--gs9-surface);
  border: 1px solid rgba(214, 195, 165, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-variant-numeric: tabular-nums;
}

.gs9-proof-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.gs9-proof-val {
  font-family: var(--gs9-font-sans);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F6EFE2;
  white-space: nowrap;
}

.gs9-proof-lbl {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #959DAD;
  white-space: nowrap;
}

.gs9-proof-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.gs9-review-hl {
  font-weight: 600;
  color: #F6F0E4;
  background: linear-gradient(180deg, transparent 62%, rgba(214, 195, 165, 0.16) 62%);
}

/* ==========================================================================
   [아스타로] [MZ만신 영귀신점] (spiritshaman) 1:1 타이포그래피 & 디자인 시스템
   ========================================================================== */
@font-face {
  font-family: 'dimibang';
  src: url('/assets/fonts/dimibang.ttf') format('truetype');
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'griunPolSensibility';
  src: url('/assets/fonts/Griun_PolSensibility_Rg.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'chosunCentennial';
  src: url('/assets/fonts/ChosunCentennial.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

.font-dimibang {
  font-family: 'dimibang', 'Noto Serif KR', serif !important;
}

.font-griun-pol {
  font-family: 'griunPolSensibility', 'Song Myung', serif !important;
}

.font-chosun-centennial {
  font-family: 'chosunCentennial', 'Gowun Batang', serif !important;
}

/* Cold Moonlight White & Periwinkle-Silver Blade Gradient $.G (모바일 고속 스크롤 증발 방지 네이티브 글리프 렌더링) */
.ss-holo-g {
  font-family: 'griunPolSensibility', 'Song Myung', serif !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #F4F7FF !important;
  color: #F4F7FF !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: 0 0 12px rgba(132, 148, 214, 0.52), 0 2px 6px rgba(0, 0, 0, 0.88) !important;
}

/* Cold Moonlight White & Periwinkle-Silver Blade Gradient $.J (모바일 고속 스크롤 증발 방지 네이티브 글리프 렌더링) */
.ss-holo-j {
  font-family: 'griunPolSensibility', 'Song Myung', serif !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #F4F7FF !important;
  color: #F4F7FF !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: 0 0 12px rgba(132, 148, 214, 0.52), 0 2px 6px rgba(0, 0, 0, 0.88) !important;
}

/* Cold Moonlight White & Periwinkle-Silver Speaker Tag Gradient */
.ss-accent-gradient {
  background: none !important;
  -webkit-text-fill-color: #EFF3FF !important;
  color: #EFF3FF !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: 0 0 8px rgba(136, 152, 218, 0.48), 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

/* Cold Moonlight White & Periwinkle-Silver Awakening Text Gradient */
.ss-loading-gradient {
  background: none !important;
  -webkit-text-fill-color: #EFF3FF !important;
  color: #EFF3FF !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: 0 0 10px rgba(136, 152, 218, 0.50), 0 2px 5px rgba(0, 0, 0, 0.85) !important;
}

.ss-ignite-span {
  display: inline-block;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  animation: none !important;
  text-shadow: 0 0 6px rgba(255, 60, 20, 0.42), 0 1px 4px rgba(0, 0, 0, 0.85);
}

@keyframes ssShakeSmall {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1.5px); }
  80% { transform: translateX(1.5px); }
}

@keyframes ssShakeBig {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  15% { transform: translate(-7px, 2px) rotate(-1.2deg); }
  30% { transform: translate(6px, -2px) rotate(1deg); }
  45% { transform: translate(-6px, 1.5px) rotate(-0.8deg); }
  60% { transform: translate(5px, -1.5px) rotate(0.6deg); }
  75% { transform: translate(-4px, 1px) rotate(-0.3deg); }
  90% { transform: translate(3px, -0.5px) rotate(0deg); }
}

.ss-shake-small {
  animation: ssShakeSmall 0.35s ease-out;
}

.ss-shake-big {
  animation: ssShakeBig 0.6s ease-out;
}

@keyframes ssBobNextBtn {
  0%, 38%, 100% { transform: translateY(0); }
  6% { transform: translateY(-4px); }
  13% { transform: translateY(3px); }
  20% { transform: translateY(-3px); }
  27% { transform: translateY(2px); }
  33% { transform: translateY(-1px); }
}

.ss-bob-btn {
  animation: ssBobNextBtn 1.6s ease-in-out infinite;
}

@keyframes ssBlinkArrow {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.9; }
}

.ss-blink-arrow {
  animation: ssBlinkArrow 1.4s ease-in-out infinite;
}

/* 1:1 Webtoon Vertical Oval Speech Bubble (backdrop-filter 제거로 모바일 고속 스크롤 시 타일 증발 원천 차단) */
.ss-oval-bubble {
  pointer-events: none;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  text-align: center;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 10;
}

.ss-oval-bubble > p {
  margin: 0;
  font-family: 'dimibang', 'Noto Serif KR', serif !important;
  font-size: 25px;
  line-height: 1.5;
  letter-spacing: -0.25px;
  white-space: pre-line;
  color: #121212;
  word-break: keep-all;
}

/* 모바일 고속 스크롤 시 글자 깜빡임/증발 0%: 모든 텍스트와 말풍선 즉시 100% 고정 렌더링 */
.ss-blur-reveal,
.ss-scroll-fade,
.ss-scroll-fade.is-inview,
.ss-oval-bubble.ss-scroll-bubble,
.ss-oval-bubble.ss-scroll-bubble.is-inview,
.ss-scroll-ignite,
.ss-scroll-ignite.is-inview {
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
}

.ss-seal-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 336px;
  background: #000000;
  overflow: hidden;
}

.ss-seal-talisman,
.ss-seal-divider.is-inview .ss-seal-talisman {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 286px;
  height: auto;
  z-index: 1;
  opacity: 0.88 !important;
  transform: translate(-50%, -50%) !important;
  filter: none !important;
  -webkit-filter: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
}

.ss-seal-aura,
.ss-seal-divider.is-inview .ss-seal-aura {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 240px;
  z-index: 2;
  opacity: 0.48 !important;
  transform: translate(-50%, -50%) !important;
  background: radial-gradient(ellipse at center, rgba(239, 68, 68, 0.42) 0%, rgba(185, 28, 28, 0.18) 42%, rgba(0, 0, 0, 0) 74%);
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
}

.ss-scroll-ignite-seal,
.ss-seal-divider.is-inview .ss-scroll-ignite-seal,
.ss-scroll-ignite-seal.is-inview {
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
}

.ss-secret-blur {
  display: inline-block;
  filter: blur(7px);
  -webkit-filter: blur(7px);
  user-select: none;
}

.ss-wealth-blur {
  display: inline-block;
  filter: blur(10px);
  -webkit-filter: blur(10px);
  user-select: none;
}

.ss-ignite-drop {
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: 0 0 10px rgba(255, 60, 20, 0.48), 0 2px 6px rgba(0, 0, 0, 0.88) !important;
}

/* Ornate Dark-Oriental Message Box & CTA Button (Pure CSS/SVG + Clean Plates) */
.ss-msg-box {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 726 / 440;
}

.ss-ornate-card {
  position: relative;
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(36, 48, 66, 0.52) 0%, rgba(11, 15, 22, 0.96) 70%),
    #0B0E14;
  border: 1.5px solid rgba(188, 164, 132, 0.42);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.85),
    inset 0 0 28px rgba(0, 0, 0, 0.75),
    inset 0 0 0 3px rgba(188, 164, 132, 0.12);
}

/* astaro Promo Detail Page Fonts (1:1 Typography Match) */
.astaro-brand-wordmark {
  font-family: 'GapyeongHanseokbong', 'Song Myung', 'Gowun Batang', serif !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FF2E4C;
  -webkit-text-stroke: 0.72px #FF2E4C;
  paint-order: stroke fill;
  display: inline-block;
  transform: translateY(1px);
  text-shadow: 0 2px 12px rgba(255, 46, 76, 0.22);
}

@font-face {
  font-family: 'GapyeongHanseokbong';
  src: url('/fonts/GapyeongHanseokbong-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GapyeongHanseokbong';
  src: url('/fonts/GapyeongHanseokbong-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KimjungchulScript';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/KimjungchulScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.ast-font-pre {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.ast-font-gmarket {
  font-family: 'GmarketSans', 'Pretendard Variable', 'Pretendard', sans-serif !important;
}

@font-face {
  font-family: 'Taenada';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2210-2@1.0/Tenada.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.ast-font-taenada {
  font-family: 'Taenada', 'GmarketSans', sans-serif !important;
}

.ast-font-hanseokbong {
  font-family: 'GapyeongHanseokbong', 'Song Myung', serif !important;
}

.ast-font-script {
  font-family: 'KimjungchulScript', 'GapyeongHanseokbong', cursive, serif !important;
}

.ast-font-batang {
  font-family: 'GyeonggiBatang', 'RIDIBatang', 'Noto Serif KR', serif !important;
}

/* ============================================================================
   Astaro 39,800원 평생 무제한 패스 — 하이엔드 마스터피스 프로모션 섹션
   ============================================================================ */
@keyframes astaroPassShimmer {
  0% { transform: translateX(-140%) skewX(-22deg); }
  55%, 100% { transform: translateX(240%) skewX(-22deg); }
}

@keyframes astaroUrgencyPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  50% { opacity: 0.75; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

@keyframes astaroCtaGlow {
  0%, 100% {
    box-shadow: 0 14px 36px rgba(234, 88, 12, 0.55), 0 0 24px rgba(251, 191, 36, 0.35), inset 0 1.5px 0 rgba(255, 255, 255, 0.45);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 18px 44px rgba(220, 38, 38, 0.7), 0 0 34px rgba(251, 191, 36, 0.55), inset 0 1.5px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
  }
}

.astaro-vip-card-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 10% 0%, rgba(251, 191, 36, 0.28) 0%, rgba(251, 191, 36, 0) 55%),
    radial-gradient(100% 100% at 90% 100%, rgba(217, 119, 6, 0.24) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(135deg, #1E2436 0%, #0D111C 48%, #06080E 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.65);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(251, 191, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.astaro-vip-card-visual::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(253,224,71,0.18) 50%, rgba(255,255,255,0) 100%);
  animation: astaroPassShimmer 4.2s infinite ease-in-out;
  pointer-events: none;
}

.astaro-mega-cta-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1.5px solid rgba(253, 224, 71, 0.75);
  border-radius: 18px;
  padding: 20px 16px 22px;
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 48%, #DC2626 100%);
  color: #FFFFFF;
  cursor: pointer;
  animation: astaroCtaGlow 2.6s infinite ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.astaro-mega-cta-btn:active {
  transform: scale(0.985);
}

.astaro-mega-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
  animation: astaroPassShimmer 3.2s infinite ease-in-out;
  pointer-events: none;
}

.astaro-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  display: inline-block;
  flex-shrink: 0;
  animation: astaroUrgencyPulse 1.6s infinite ease-in-out;
}

/* ============================================================================
   Global Dark Theme Safeguard — 흰색 테두리(currentColor 폴백) 원천 차단 & 다크 유틸리티
   ============================================================================ */
#app-shell *,
#app-shell *::before,
#app-shell *::after {
  border-color: rgba(255, 255, 255, 0.06);
}

.bg-\[\#050507\] { background-color: #050507 !important; }
.bg-\[\#050609\] { background-color: #050609 !important; }
.bg-\[\#08090C\] { background-color: #08090C !important; }
.bg-\[\#08090C\]\/92 { background-color: rgba(8, 9, 12, 0.92) !important; }
.bg-\[\#08090C\]\/95 { background-color: rgba(8, 9, 12, 0.95) !important; }
.bg-\[\#090A0F\]\/95 { background-color: rgba(9, 10, 15, 0.95) !important; }
.bg-\[\#0B0D14\]\/95 { background-color: rgba(11, 13, 20, 0.95) !important; }
.bg-\[\#0B0C10\] { background-color: #0B0C10 !important; }
.bg-\[\#101219\] { background-color: #101219 !important; }
.bg-\[\#11131A\] { background-color: #11131A !important; }
.bg-\[\#12151E\] { background-color: #12151E !important; }
.bg-\[\#13161F\] { background-color: #13161F !important; }
.bg-\[\#151822\] { background-color: #151822 !important; }
.bg-\[\#161924\] { background-color: #161924 !important; }
.bg-\[\#181B24\] { background-color: #181B24 !important; }

.text-\[\#F3F4F6\] { color: #F3F4F6 !important; }
.text-\[\#E5E7EB\] { color: #E5E7EB !important; }
.text-\[\#D1D5DB\] { color: #D1D5DB !important; }
.text-\[\#CBD5E1\] { color: #CBD5E1 !important; }
.text-\[\#9CA3AF\] { color: #9CA3AF !important; }
.text-\[\#8E95A5\] { color: #8E95A5 !important; }
.text-\[\#7C8496\] { color: #7C8496 !important; }
.text-\[\#71798A\] { color: #71798A !important; }
.text-\[\#6B7280\] { color: #6B7280 !important; }
.text-\[\#FCA5A5\] { color: #FCA5A5 !important; }
.text-\[\#EF4444\] { color: #EF4444 !important; }

/* ============================================================================
   SpiritShaman Page 5 — yongyong.ai/bot/880066/form 1:1 Chat Interface (.mzb-chat)
   ============================================================================ */
@keyframes mzb-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}
@keyframes mzc-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.97); }
  100% { opacity: 1; transform: none; }
}
@keyframes mzc-dot {
  0%, 60%, 100% { opacity: 0.3; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes mzb-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes mzb-hint-roll {
  0% { opacity: 0; transform: translateY(0.7em); }
  12%, 82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-0.7em); }
}
@keyframes fx-rim {
  0% { transform: scale(0.1); opacity: 0.9; }
  100% { transform: scale(1.3); opacity: 0; }
}
@keyframes fx-inkch {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); filter: blur(3px); }
  20% { opacity: 1; filter: blur(0); }
  65% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -62%) scale(1.05); filter: blur(2px); }
}
@keyframes mzc-breathe {
  0% { transform: scale(1); }
  40% { transform: scale(1.012); }
  100% { transform: scale(1); }
}

.mzb.mzb-chat {
  --bg: #0A0204;
  --ink: #F5ECE6;
  --mute: rgba(245, 236, 230, 0.58);
  --line: rgba(245, 236, 230, 0.14);
  --red: #F0142E;
  --gold: #FFC81E;
  --navy: #2E4A78;
  --card: #150709;
  --serif: 'Gowun Batang', 'Noto Serif KR', Georgia, serif;
  --sans: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  position: relative;
  max-width: 448px;
  width: 100%;
  margin: 0 auto;
  height: 100dvh;
  max-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow: hidden;
  word-break: keep-all;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  user-select: none;
}
.mzb.mzb-chat * {
  box-sizing: border-box;
}
.mzb-chat .bgv {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: 50% 40%;
  will-change: transform;
}
.mzb-chat.is-tap .bgv {
  animation: mzc-breathe 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.mzb-chat .bgv video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.mzb-chat .bgv video.is-on {
  opacity: 1;
}
.mzb-chat .bgv video.is-off {
  opacity: 0;
}
.mzb-chat .shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 2, 4, 0.22), rgba(10, 2, 4, 0) 14%, rgba(10, 2, 4, 0) 50%, rgba(18, 4, 6, 0.24) 72%, rgba(18, 4, 6, 0.48));
}
.mzb-chat .fx {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
.mzb-chat .fx-rim {
  position: absolute;
  width: 120px;
  height: 120px;
  margin: -60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 30, 0.55);
  box-shadow: 0 0 14px rgba(255, 200, 30, 0.35);
  transform: scale(0.1);
  animation: fx-rim 1.2s ease-out forwards;
}
.mzb-chat .fx-inkch {
  position: absolute;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 200, 30, 0.7);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  animation: fx-inkch 1.3s ease-out forwards;
}
.mzb-chat .back {
  position: absolute;
  top: 14px;
  left: 10px;
  z-index: 30;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mzb-chat .log {
  position: relative;
  z-index: 20;
  max-height: min(40svh, 210px);
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 16px 10px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70px);
  mask-image: linear-gradient(180deg, transparent, #000 70px);
}
.mzb-chat .log::-webkit-scrollbar {
  display: none;
}
.mzb-chat .b {
  position: relative;
  max-width: 84%;
  padding: 9px 15px;
  border-radius: 16px;
  font-size: 17px;
  line-height: 1.4;
  white-space: pre-line;
  word-break: keep-all;
  animation: mzb-in 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  color: #fff;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
.mzb-chat .b.bot {
  align-self: flex-start;
  background: rgba(18, 8, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-top-left-radius: 6px;
}
.mzb-chat .b.me {
  align-self: flex-end;
  background: var(--navy);
  border-top-right-radius: 6px;
}
.mzb-chat .b .heart {
  position: absolute;
  left: -10px;
  bottom: -10px;
  font-size: 12px;
  line-height: 1;
  padding: 4px 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  animation: mzc-pop 0.3s both;
}
.mzb-chat .b.dots {
  display: flex;
  gap: 5px;
  padding: 16px 17px;
}
.mzb-chat .b.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: mzc-dot 1s infinite;
  display: inline-block;
}
.mzb-chat .b.dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.mzb-chat .b.dots i:nth-child(3) {
  animation-delay: 0.3s;
}
.mzb-chat .seal {
  display: inline-block;
  padding: 0 0.18em;
  margin: 0 0.06em;
  color: var(--ink);
  background: rgba(240, 20, 46, 0.22);
  filter: blur(4px);
  user-select: none;
}
.mzb-chat .ask {
  position: relative;
  z-index: 20;
  padding: 6px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  min-height: calc(130px + env(safe-area-inset-bottom, 0px));
}
.mzb-chat .ask::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -64px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(180deg, rgba(10, 2, 4, 0), rgba(18, 4, 6, 0.22) 46%, rgba(18, 4, 6, 0.46));
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 64px);
  mask-image: linear-gradient(180deg, transparent, #000 64px);
}
.mzb-chat .ask.is-open::before,
.mzb-chat .ask:has(.quick)::before,
.mzb-chat .ask:has(.step-in)::before {
  opacity: 1;
}
.mzb-chat .step-in {
  animation: mzb-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mzb-chat .ask h2 {
  margin: 6px 0 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.mzb-chat .typing .caret {
  display: inline-block;
  width: 3px;
  height: 0.95em;
  margin-right: -3px;
  vertical-align: -0.08em;
  background: #F5ECE6;
  animation: mzb-caret 0.9s steps(1) infinite;
}
.mzb-chat .typing .caret.done {
  animation: mzb-caret 0.9s steps(1) 3 forwards;
}
.mzb-chat .row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  row-gap: 10px;
}
.mzb-chat .field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  transition: border-color 0.2s ease;
}
.mzb-chat .field:focus-within {
  border-color: rgba(255, 255, 255, 0.88) !important;
}
.mzb-chat .row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.mzb-chat .row input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.mzb-chat .tm {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.mzb-chat .tm input {
  flex: none;
  width: 44px;
  text-align: center;
}
.mzb-chat .tm b {
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
}
.mzb-chat .cal {
  flex: none;
  display: flex;
  gap: 6px;
}
.mzb-chat .cal button {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.12s ease;
}
.mzb-chat .cal button.on {
  background: #fff;
  color: #140508;
  font-weight: 700;
}
.mzb-chat .go {
  flex: none;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.mzb-chat .go:active:not([disabled]) {
  transform: scale(0.96);
}
.mzb-chat .go.ready {
  background: var(--navy) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.mzb-chat .go.ghost {
  padding: 0 14px;
  background: none;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}
.mzb-chat .row.concern {
  align-items: flex-end;
  position: relative;
  flex-wrap: nowrap;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
}
.mzb-chat .row.concern textarea {
  flex: 1;
  min-width: 0;
  padding: 8px 0 24px;
  border: 0 !important;
  outline: 0 !important;
  resize: none;
  background: transparent !important;
  color: #fff;
  font: 400 15px/1.5 var(--sans);
}
.mzb-chat .row.concern textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.mzb-chat .ccount {
  position: absolute;
  right: 12px;
  bottom: 9px;
  z-index: 1;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.mzb-chat .concern-act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.mzb-chat .hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.mzb-chat .concern-act .hint {
  flex: 1;
  min-width: 0;
  margin: 0;
  text-align: left;
}
.mzb-chat .hint.roll {
  overflow: hidden;
}
.mzb-chat .hint.roll > span {
  display: inline-block;
  animation: mzb-hint-roll 2.8s ease both;
}
.mzb-chat .err {
  margin: 8px 0 0;
  color: #FF8A95;
  font-size: 13px;
}
.mzb-chat .quick {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 4px;
}
.mzb-chat .quick.many {
  gap: 9px;
}
.mzb-chat .quick button {
  max-width: 84%;
  padding: 11px 20px;
  border-radius: 16px;
  border-top-right-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  background: rgba(46, 74, 120, 0.2);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  animation: mzb-in 0.3s both;
}
.mzb-chat .quick button:active {
  transform: scale(0.97);
  background: var(--navy);
  border-color: transparent !important;
}

@font-face {
  font-family: 'PyeongtaekAnbo';
  src: url('/fonts/PTAnboR.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408@1.0/PTAnboR.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.ast-font-anbo {
  font-family: 'PyeongtaekAnbo', 'GmarketSans', sans-serif !important;
}



