/* 오경명리 v7.2 · app.css — 피프티파이브컴퍼니(FFC) 네이비·골드 하이엔드 전략 브리핑 UI */
:root { color-scheme: dark; --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --nav-h: 64px; }
html, body {
  margin: 0; padding: 0; background: #060a12; color: #f4f1ea;
  font-family: "Noto Sans KR", Inter, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden; -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
.app-shell {
  position: fixed; inset: 0; width: 100%; background-color: #0b1120;
  display: flex; flex-direction: column; overflow: hidden;
  background-image:
    radial-gradient(circle at 14% 0%, rgba(212,175,55,.09), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(56,107,184,.12), transparent 44%);
}
@media (min-width: 768px) {
  body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; }
  .app-shell {
    position: relative; inset: auto; max-width: 440px; height: min(92vh, 900px);
    border-radius: 34px; border: 1px solid #22304b;
    box-shadow: 0 28px 80px rgba(0,0,0,.85), 0 0 0 6px #0f172a;
  }
}
@media (max-width: 767px) {
  .app-shell.vv-fit { bottom: auto; top: var(--vvt, 0px); height: var(--vvh, 100%); }
  html.kb-open .bottom-nav { display: none; }
  html.kb-open .app-scroll { padding-bottom: 40vh; }
}
.app-scroll {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; padding-bottom: 32px; scroll-padding-bottom: 32px;
}
.app-scroll::-webkit-scrollbar, .no-scrollbar::-webkit-scrollbar { display: none; }
.app-scroll, .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.bottom-nav { min-height: var(--nav-h); padding-bottom: calc(6px + var(--sab)); }
.nav-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }

.card {
  background: linear-gradient(180deg, #121b2e 0%, #0f1728 100%);
  border: 1px solid #22304b;
  box-shadow: inset 0 1px 0 rgba(240,213,122,.06), 0 10px 26px rgba(3,7,15,.42);
}
.top-ico-btn {
  min-height: 36px; padding: 0 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
  background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.45); color: #f0d57a;
}

/* 보관함 & 이름 입력 */
.saved-strip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.saved-pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: 12px; background: #0f1219; border: 1px solid #2b3245; color: #e9e6dd; font-size: 11.5px;
}
.saved-pill.active { border-color: rgba(212,175,55,.7); background: rgba(212,175,55,.14); color: #f0d57a; }
.saved-pill-main { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.saved-pill-sub { font-size: 9.5px; color: #8f9bb0; font-family: "JetBrains Mono", monospace; }
.saved-del { width: 18px; height: 18px; border-radius: 999px; font-size: 10px; color: #8f9bb0; display: inline-flex; align-items: center; justify-content: center; }
.saved-del:active { background: rgba(240,68,82,.2); color: #ffb4a8; }
.label-row { display: flex; gap: 8px; }
.label-input {
  flex: 1; min-width: 0; height: 42px; border-radius: 12px; background: #0d0f14;
  border: 1px solid #262c3d; padding: 0 12px; color: #f3f1eb; font-size: 13px;
}
.label-input:focus { outline: none; border-color: #d4af37; }
.save-prof-btn {
  flex: none; min-height: 42px; padding: 0 13px; border-radius: 12px; font-size: 11.5px; font-weight: 600;
  background: rgba(77,182,172,.14); border: 1px solid rgba(77,182,172,.45); color: #80cbc4;
}

/* 오늘의 일진 카드 */
.daily-card {
  border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(110% 100% at 100% 0%, rgba(77,182,172,.14), transparent 55%), linear-gradient(155deg, #171c28, #10131b);
  border: 1px solid rgba(77,182,172,.38); box-shadow: 0 10px 26px rgba(0,0,0,.38);
}
.daily-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.daily-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.daily-kicker { font-size: 10px; font-weight: 700; color: #80cbc4; letter-spacing: .04em; }
.daily-title-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.daily-grade { font-size: 11px; font-weight: 600; color: #f0d57a; }
.daily-headline { margin: 0; font-size: 12.2px; line-height: 1.6; color: #e9e6dd; word-break: keep-all; }
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.daily-box { border-radius: 12px; padding: 8px 10px; background: rgba(11,13,18,.75); border: 1px solid #242a3a; }
.daily-box-h { font-size: 10px; font-weight: 700; margin-bottom: 4px; }
.daily-do .daily-box-h { color: #ff7a85; }
.daily-avoid .daily-box-h { color: #6aa8ff; }
.daily-box ul { margin: 0; padding-left: 13px; font-size: 11px; line-height: 1.5; color: #d7d4cb; word-break: keep-all; }
.daily-box li + li { margin-top: 3px; }

/* 원형 점수 링 */
.score-ring-wrap { flex: none; width: 62px; height: 62px; position: relative; display: flex; align-items: center; justify-content: center; }
.score-ring-num { position: absolute; font-family: "JetBrains Mono", monospace; font-size: 15px; font-weight: 700; color: #f3f1eb; }
.score-ring-num small { font-size: 9px; font-weight: 400; color: #9aa3b5; }

/* 분석 히어로 & 시각화 대시보드 */
.an-hero {
  background: radial-gradient(120% 90% at 50% 0%, #212633 0%, #13161f 62%, #0c0e14 100%);
  border: 1px solid rgba(212,175,55,.38); box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.an-headline {
  font-family: "Noto Serif KR", serif; font-size: 15.5px; font-weight: 700; line-height: 1.48;
  color: #f7e4a3; word-break: keep-all; letter-spacing: -.01em;
}
.an-pill { font-size: 11px; font-weight: 700; color: #f0d57a; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.45); border-radius: 999px; padding: .18rem .6rem; }
.an-chip { font-size: 11px; padding: .2rem .6rem; border-radius: 999px; border: 1px solid #2c3244; background: #11141a; color: #cfd3dc; }
.an-chip-gold { border-color: rgba(212,175,55,.6); color: #f0d57a; background: rgba(212,175,55,.12); font-weight: 700; }

.oshin-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.oshin-cell {
  border-radius: 10px; padding: 5px 2px; text-align: center; background: #0e1118; border: 1px solid #242a3a;
  display: flex; flex-direction: column; gap: 1px;
}
.oshin-cell.os-good { border-color: rgba(240,68,82,.45); background: rgba(240,68,82,.08); }
.oshin-cell.os-bad { border-color: rgba(77,155,255,.45); background: rgba(77,155,255,.08); }
.oshin-k { font-size: 9px; color: #9aa3b5; font-weight: 600; }
.oshin-v { font-family: "Noto Serif KR", serif; font-size: 12px; font-weight: 700; color: #f3f1eb; }
.oshin-g { font-size: 9px; color: #b8c0cf; }

.dash-vis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-vis-box { border-radius: 14px; padding: 10px; background: rgba(11,13,18,.78); border: 1px solid #242a3a; display: flex; flex-direction: column; gap: 6px; }
.dash-vis-label { font-size: 10px; font-weight: 700; color: #9aa3b5; }
.radar-wrap { display: flex; align-items: center; justify-content: center; }

.strength-box { display: flex; flex-direction: column; gap: 5px; }
.str-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; }
.str-bar { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #4d9bff 0%, #8f9bb0 50%, #f04452 100%); }
.str-dot {
  position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 999px;
  background: #f0d57a; border: 2px solid #0d0f14; transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(240,213,122,.7);
}
.str-scale { display: flex; justify-content: space-between; font-size: 9px; color: #8f9bb0; }

.io-box { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06); }
.io-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 10.5px; }
.io-k { color: #8f9bb0; flex: none; }
.io-v { color: #e9e6dd; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 섹션 점프 바 */
.jump-bar { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0; }
.jump-pill {
  flex: none; padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: #141822; border: 1px solid #282f42; color: #cfd3dc;
}
.jump-pill:active { border-color: #d4af37; color: #f0d57a; background: rgba(212,175,55,.12); }

/* 리포트 섹션 공통 */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sec-badge { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.32); color: #f0d57a; }
.sec-badge-jade { background: rgba(77,182,172,.14); border-color: rgba(77,182,172,.38); color: #80cbc4; }
.an-h { font-family: "Noto Serif KR", serif; font-size: 14.5px; font-weight: 700; color: #f3f1eb; }
.an-sub { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding-top: .25rem; }
.an-in { color: #ff6b77; } .an-out { color: #6aa8ff; }
.an-body { font-size: 13px; line-height: 1.78; color: #eae7df; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
.an-fact { color: #b9c0cc; }
.an-tags { display: flex; flex-wrap: wrap; gap: .32rem; }
.an-tag { font-size: 10.5px; padding: .16rem .55rem; border-radius: 8px; background: #0f1116; border: 1px solid #262c3d; color: #aeb6c7; }
.an-tag-gold { border-color: rgba(212,175,55,.38); color: #f0d57a; background: rgba(212,175,55,.08); }
.bene-box { border-radius: 12px; padding: 9px 11px; background: #0e1118; border: 1px solid #242b3c; font-size: 11.5px; color: #d9d4c4; line-height: 1.55; }
.johu-meta { border-radius: 10px; padding: 7px 10px; background: #0e1118; border: 1px solid #252b3b; font-size: 11px; color: #9ecfc9; line-height: 1.5; word-break: keep-all; }

/* 연령대 · 변곡점 · 향후 24개월 월운 */
.bd-card { border-radius: 14px; background: #101318; border: 1px solid #242a38; padding: .75rem .8rem; display: flex; flex-direction: column; gap: .48rem; }
.bd-now { border-color: rgba(212,175,55,.65); box-shadow: inset 0 0 0 1px rgba(212,175,55,.16); }
.bd-top { display: flex; align-items: center; gap: .4rem; }
.bd-label { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: 13px; color: #f3f1eb; margin-right: auto; }
.bd-when { font-size: 10px; color: #8f9bb0; border: 1px solid #2a3040; border-radius: 6px; padding: .05rem .35rem; }
.bd-trend { font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: .05rem .42rem; }
.t-up { color: #ff6b77; background: rgba(240,68,82,.14); } .t-down { color: #6aa8ff; background: rgba(49,130,246,.15); } .t-flat { color: #b4bccb; background: rgba(180,188,203,.1); }
.bd-doms { display: flex; flex-wrap: wrap; gap: .3rem; }
.bd-doms span { font-size: 10.5px; color: #d9d4c4; background: rgba(212,175,55,.07); border: 1px solid rgba(212,175,55,.22); border-radius: 7px; padding: .1rem .45rem; }
.bd-text { font-size: 12.6px; line-height: 1.75; color: #e6e2d8; white-space: pre-line; word-break: keep-all; margin: 0; }
.pt-row { display: flex; gap: .55rem; align-items: flex-start; text-align: left; width: 100%; border-radius: 11px; padding: .58rem .65rem; background: #0c0e13; border: 1px solid #262c3d; }
.pt-k { flex: none; font-size: 10.5px; font-weight: 700; border-radius: 7px; padding: .12rem .42rem; white-space: nowrap; }
.pt-main { display: flex; flex-direction: column; gap: .2rem; font-size: 12.2px; color: #e6e2d8; line-height: 1.6; word-break: keep-all; min-width: 0; }
.pt-main strong { color: #f3f1eb; }
.pt-text { color: #e6e2d8; }
.pt-basis { font-size: 10.5px; color: #8a93a6; }
.k-low .pt-k { color: #6aa8ff; background: rgba(49,130,246,.16); }
.k-rise .pt-k, .k-high .pt-k { color: #ff6b77; background: rgba(240,68,82,.15); }
.k-res .pt-k { color: #ffc14d; background: rgba(255,176,32,.14); }
.k-low { border-color: rgba(49,130,246,.35); } .k-rise, .k-high { border-color: rgba(240,68,82,.32); } .k-res { border-color: rgba(255,176,32,.32); }

.km-card { border-radius: 14px; padding: 11px 12px; background: #0f131b; border: 1px solid rgba(77,182,172,.32); display: flex; flex-direction: column; gap: 5px; }
.km-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.km-ym { font-family: "JetBrains Mono", monospace; font-size: 12.5px; font-weight: 700; color: #80cbc4; }
.km-gz { font-family: "Noto Serif KR", serif; font-size: 12px; font-weight: 700; color: #f0d57a; }
.km-period { font-size: 10px; color: #8f9bb0; }
.km-text { margin: 0; font-size: 12.5px; line-height: 1.7; color: #e6e2d8; word-break: keep-all; }

.action-duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.card-save-btn { background: #10141d; border: 1px solid rgba(212,175,55,.55); color: #f0d57a; }

/* 궁합 탭 */
.cp-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-field-full { display: block; width: 100%; }
#cp-guide.cp-guide-on { color: #f0d57a; border-left: 2px solid rgba(212,175,55,.7); padding-left: 8px; }
.cp-field {
  width: 100%; height: 40px; border-radius: 10px; background: #161922; border: 1px solid #262c3d;
  padding: 0 10px; color: #f3f1eb; font-size: 13px;
}
.cp-field:focus { outline: none; border-color: #d4af37; }
.cp-score-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cp-mutual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-mutual-card { border-radius: 12px; padding: 9px 10px; background: #0e1118; border: 1px solid #252c3e; font-size: 11.5px; line-height: 1.5; }
.cp-mutual-k { font-size: 10px; color: #8f9bb0; }
.cp-mutual-v { font-weight: 700; color: #f0d57a; margin-top: 2px; }
.cp-bar-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.cp-bar-k { width: 72px; color: #cfd3dc; flex: none; }
.cp-bar-track { flex: 1; height: 7px; border-radius: 999px; background: #0b0d12; overflow: hidden; }
.cp-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #b8922f, #f0d57a); }
.cp-bar-n { width: 32px; text-align: right; font-family: "JetBrains Mono", monospace; font-size: 11px; color: #f0d57a; }
.cp-list { margin: 0; padding-left: 16px; font-size: 12.4px; line-height: 1.65; color: #e6e2d8; word-break: keep-all; }
.cp-list li + li { margin-top: 4px; }
.cp-ai-sec { border-radius: 12px; padding: 10px 12px; background: #0f1219; border: 1px solid #242a3a; }
.cp-ai-sec h4 { margin: 0 0 5px; font-family: "Noto Serif KR", serif; font-size: 12.5px; color: #f0d57a; }
.cp-ai-sec p { margin: 0; font-size: 12.6px; line-height: 1.72; color: #e9e6dd; white-space: pre-line; word-break: keep-all; }

/* 10년 대운 인터랙티브 상세 패널 */
.daeun-btn { cursor: pointer; transition: border-color .15s ease, transform .12s ease; }
.daeun-btn:active { transform: scale(.96); }
.daeun-btn.selected { border-color: #80cbc4 !important; background: rgba(77,182,172,.14) !important; }
.daeun-detail { border-radius: 14px; padding: 12px; background: #0d1017; border: 1px solid rgba(77,182,172,.38); display: flex; flex-direction: column; gap: 9px; }
.dd-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dd-yr {
  border-radius: 10px; padding: 7px 8px; background: #141822; border: 1px solid #242b3c;
  display: flex; flex-direction: column; gap: 2px; font-size: 10.5px;
}
.dd-yr.dd-now { border-color: rgba(212,175,55,.75); background: rgba(212,175,55,.1); }
.dd-yr-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.dd-yr-hit { font-size: 9.5px; color: #9aa3b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 물어보기 전용 대화 화면 */
.chat-screen { position: absolute; inset: 0; z-index: 70; display: flex; flex-direction: column; background: #0b0d12; transform: translateY(100%); opacity: 0; visibility: hidden; transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .2s ease, visibility 0s linear .28s; }
.chat-screen.open { transform: none; opacity: 1; visibility: visible; transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .2s ease, visibility 0s; }
.chat-head { flex: none; display: flex; align-items: center; gap: .55rem; padding: calc(8px + var(--sat)) .7rem .6rem .45rem; border-bottom: 1px solid #1d2230; background: rgba(13,15,20,.97); }
.chat-back { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #e9e6dd; flex: none; }
.chat-back:active { background: #161922; }
.chat-avatar { width: 34px; height: 34px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; font-family: "Noto Serif KR", serif; font-size: 10.5px; font-weight: 700; color: #f0d57a; background: linear-gradient(135deg, rgba(212,175,55,.26), #161922 60%, rgba(77,182,172,.2)); border: 1px solid rgba(212,175,55,.45); }
.chat-title { font-size: 14.5px; font-weight: 700; color: #f3f1eb; line-height: 1.2; }
.chat-sub { font-size: 10.5px; color: #8f9bb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem .8rem .6rem; display: flex; flex-direction: column; gap: .65rem; -webkit-overflow-scrolling: touch; }
.chat-row { display: flex; align-items: flex-end; gap: .45rem; }
.chat-row.me { justify-content: flex-end; }
.chat-row .chat-avatar { width: 28px; height: 28px; border-radius: 10px; font-size: 9px; }
.chat-screen .chat-q { margin: 0; max-width: 80%; font-size: 13.5px; }
.chat-screen .chat-a { margin: 0; max-width: 84%; font-size: 13.5px; line-height: 1.75; }
.chat-a .chat-ln { display: block; }
.chat-a .chat-ln + .chat-ln { margin-top: .42em; }
.chat-typing { display: inline-flex; align-items: center; gap: 5px; padding: .75rem .9rem; border-radius: 14px 14px 14px 4px; background: #11141a; border: 1px solid #262c3d; }
.chat-typing span { width: 6px; height: 6px; border-radius: 999px; background: #9aa3b5; animation: chatdot 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-foot { flex: none; border-top: 1px solid #1d2230; background: #0d0f14; padding: .5rem .6rem calc(.6rem + var(--sab)); }
html.kb-open .chat-foot { padding-bottom: .5rem; }
.chat-sugg { display: flex; gap: .4rem; overflow-x: auto; padding: 0 .1rem .5rem; }
.chat-sugg .chat-chip { flex: none; white-space: nowrap; }
.chat-form { display: flex; align-items: flex-end; gap: .45rem; }
.chat-input { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; resize: none; border-radius: 22px; background: #161922; border: 1px solid #262c3d; color: #f3f1eb; padding: .62rem .95rem; line-height: 1.4; }
.chat-input::placeholder { color: rgba(143,155,176,.6); }
.chat-input:focus { outline: none; border-color: rgba(212,175,55,.7); }
.chat-send { width: 44px; height: 44px; border-radius: 999px; flex: none; display: flex; align-items: center; justify-content: center; background: #d4af37; color: #0d0f14; transition: transform .12s ease; }
.chat-send:active { transform: scale(.94); }
.chat-send:disabled { opacity: .4; }
html.chat-open .bottom-nav { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .chat-screen, .chat-screen.open { transition: none; } .chat-typing span { animation: none; opacity: .7; } }
.chat-chip { font-size: 11.5px; text-align: left; padding: .38rem .72rem; border-radius: 999px; background: #0f1116; border: 1px solid rgba(212,175,55,.42); color: #efe9da; }
.chat-chip:active { transform: scale(.98); }
.chat-q { margin-left: 18%; background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.45); color: #f3f1eb; border-radius: 14px 14px 4px 14px; padding: .55rem .7rem; font-size: 12.5px; line-height: 1.6; word-break: keep-all; }
.chat-a { margin-right: 10%; background: #11141a; border: 1px solid #262c3d; color: #e9e6dd; border-radius: 14px 14px 14px 4px; padding: .6rem .75rem; font-size: 12.8px; line-height: 1.72; white-space: pre-line; word-break: keep-all; }
.chat-err { border-color: rgba(224,90,71,.55); color: #ffb4a8; }
.chat-retry { margin-left: .3rem; font-size: 11px; color: #f0d57a; text-decoration: underline; }

.core-row { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: .55rem; align-items: baseline; padding: .44rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.core-row:last-child { border-bottom: 0; }
.core-k { font-size: 11px; color: #8f9bb0; font-family: "Noto Serif KR", serif; font-weight: 700; }
.core-v { font-size: 12.3px; color: #ece9e0; line-height: 1.58; word-break: keep-all; overflow-wrap: anywhere; }
input, select, textarea { font-size: 16px; }
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(4,6,10,.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet-panel {
  width: 100%; max-width: 440px; max-height: 90dvh; background: #161922;
  border-top: 1px solid rgba(212,175,55,.45); border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column; transform: translateY(100%);
  transition: transform .26s cubic-bezier(.22,1,.36,1); padding-bottom: var(--sab);
}
.sheet-backdrop.open .sheet-panel { transform: translateY(0); }
.touch-btn { min-height: 44px; transition: transform .12s ease; }
.touch-btn:active { transform: scale(.97); }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid #f0d57a; outline-offset: 2px; }
.spin { width: 12px; height: 12px; border-radius: 999px; border: 2px solid rgba(240,213,122,.25); border-top-color: #f0d57a; animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .touch-btn, .sheet-panel { transition: none; } }

/* ===== v6.1 오늘: 사자성어 · 항목별 운 · 오늘의 한 장 · 내일 예고 · 길일 달력 ===== */
.idiom-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.idiom-ko { font-family: "Noto Serif KR", serif; font-size: 25px; font-weight: 800; color: #f0d57a; letter-spacing: .03em; line-height: 1.15; }
.idiom-hj { font-family: "Noto Serif KR", serif; font-size: 14px; color: #c9b783; letter-spacing: .14em; }
.idiom-mean { margin: 3px 0 0; font-size: 12.2px; color: #ece9e1; word-break: keep-all; }
.idiom-why { margin: 0; font-size: 11.6px; line-height: 1.6; color: #c8c5bc; word-break: keep-all; }
.daily-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.daily-ganji { font-family: "Noto Serif KR", serif; font-size: 12px; color: #f3f1eb; }
.area-list { border-top: 1px solid #242a3a; }
.area-item { border-bottom: 1px solid #242a3a; }
.area-head { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 2px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.area-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.area-label { font-size: 13.5px; font-weight: 700; color: #f3f1eb; min-width: 92px; }
.area-bar { flex: 1; height: 5px; border-radius: 99px; background: #1b2030; overflow: hidden; }
.area-bar i { display: block; height: 100%; border-radius: 99px; }
.area-score { font-family: "JetBrains Mono", monospace; font-size: 12px; color: #d7d4cb; width: 24px; text-align: right; }
.area-chev { width: 16px; height: 16px; flex: none; fill: none; stroke: #8f9bb0; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.area-item.open .area-chev { transform: rotate(180deg); }
.area-body { display: none; padding: 0 2px 12px 27px; }
.area-item.open .area-body { display: block; }
.area-body p { margin: 0 0 8px; font-size: 12.3px; line-height: 1.65; color: #e9e6dd; word-break: keep-all; }
.area-body .an-tags { margin-bottom: 8px; }
.luck-wrap { perspective: 900px; }
.luck-card { display: grid; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.luck-card.is-open { transform: rotateY(180deg); }
.luck-front, .luck-back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; }
.luck-front { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(212,175,55,.55); background: radial-gradient(circle at 50% 28%, rgba(212,175,55,.24), rgba(13,15,22,.96) 72%); color: #f0d57a; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.luck-seal { width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid #d4af37; display: flex; align-items: center; justify-content: center; font-family: "Noto Serif KR", serif; font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.luck-title { font-family: "Noto Serif KR", serif; font-size: 17px; }
.luck-sub { font-size: 11px; color: #c9b783; }
.luck-back { transform: rotateY(180deg); padding: 14px 16px; border: 1px solid rgba(212,175,55,.45); background: linear-gradient(160deg, #191d2a, #0d0f16); display: flex; flex-direction: column; gap: 7px; }
.luck-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.luck-kicker { font-size: 10.5px; color: #80cbc4; font-weight: 700; }
.luck-streak { font-size: 10px; color: #0b0d12; background: #f0d57a; border-radius: 99px; padding: 2px 8px; font-weight: 700; white-space: nowrap; }
.luck-kw { font-family: "Noto Serif KR", serif; font-size: 26px; font-weight: 800; color: #f3f1eb; line-height: 1.2; }
.luck-line { margin: 0; font-size: 12.5px; line-height: 1.55; color: #e9e6dd; word-break: keep-all; }
.luck-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.luck-grid div { background: rgba(11,13,18,.7); border: 1px solid #242a3a; border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.luck-grid span { font-size: 9.5px; color: #9aa3b5; }
.luck-grid b { font-size: 11.5px; color: #f3f1eb; display: flex; align-items: center; gap: 4px; font-weight: 700; word-break: keep-all; }
.luck-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; border: 1px solid rgba(255,255,255,.35); }
.luck-src { margin: 0; font-size: 10px; color: #8f9bb0; }
.luck-share { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: #0b0d12; background: #f0d57a; border: 0; border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.tmr-strip { border: 1px dashed rgba(212,175,55,.42); border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; gap: 5px; background: rgba(11,13,18,.6); }
.tmr-row { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #e9e6dd; }
.tmr-k { font-weight: 700; color: #f3f1eb; }
.tmr-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tmr-tone { font-size: 12px; color: #f0d57a; }
.tmr-lock { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #9aa3b5; }
.tmr-lock svg { width: 13px; height: 13px; flex: none; fill: none; stroke: #c9b783; stroke-width: 2; }
.gil-cal { border: 1px solid #242a3a; border-radius: 14px; padding: 10px; background: rgba(11,13,18,.55); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-head strong { font-family: "Noto Serif KR", serif; font-size: 13px; color: #f0d57a; }
.cal-nav { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #2a3145; background: #141926; color: #e9e6dd; font-size: 16px; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wk { text-align: center; font-size: 9.5px; color: #8f9bb0; padding: 2px 0; }
.cal-cell { aspect-ratio: 1 / 1; border-radius: 8px; border: 1px solid transparent; background: #121622; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #e9e6dd; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.cal-blank { background: none; cursor: default; }
.cal-d { font-size: 11px; font-family: "JetBrains Mono", monospace; }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.cal-cell.is-past { opacity: .45; }
.cal-cell.is-today { border-color: #d4af37; box-shadow: inset 0 0 0 1px rgba(212,175,55,.35); }
.cal-cell.is-sel { border-color: #80cbc4; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-size: 10px; color: #9aa3b5; }
.cal-legend span { display: inline-flex; align-items: center; gap: 4px; }
.cal-legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.cal-sum { margin: 6px 0 0; font-size: 11.6px; color: #e9e6dd; word-break: keep-all; }
.cal-sum b { color: #f0d57a; }
.cal-detail { margin: 6px 0 0; font-size: 11.6px; line-height: 1.55; color: #c8c5bc; word-break: keep-all; }
.cal-detail:empty { display: none; }

/* v6.2 처음 화면(오늘 일진) · 3단계 입력 */
.welcome { background: radial-gradient(120% 80% at 50% 0%, rgba(212,175,55,0.10), rgba(13,15,20,0) 60%), rgba(22,25,34,0.92); }
.wel-list li { position: relative; padding-left: 14px; word-break: keep-all; }
.wel-list li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: #d4af37; opacity: 0.8; }
#tab-panel-input.wz [data-wz-step] { display: none; }
#tab-panel-input.wz [data-wz-step].wz-on { display: block; }
#tab-panel-input.wz > footer, #tab-panel-input.wz #btn-reset-all, #tab-panel-input.wz #btn-start-main { display: none; }
#tab-panel-input.wz.wz-last #btn-start-main { display: block; }
.wz-dot { width: 22px; height: 4px; border-radius: 999px; background: rgba(212,175,55,0.22); transition: background 0.2s; }
.wz-dot.on { background: #f0d57a; }

/* v6.2: 미리 만든 tailwind.css에 없는 유틸리티 — 여기서 채움 */
.invisible { visibility: hidden; }
.mt-1\.5 { margin-top: 0.375rem; }
.p-5 { padding: 1.25rem; }
.px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; }
.text-\[11\.8px\] { font-size: 11.8px; }
.text-\[30px\] { font-size: 30px; }
.underline-offset-2 { text-underline-offset: 2px; }

/* v6.3: 출생지 선택 토글 · 국내/해외/직접 입력 드로어 · 자시 동적 그리드 */
.zi-grid { display: flex; gap: 6px; }
.zi-grid .zi-btn { flex: 1 1 0; min-width: 0; }
.place-box {
  border-radius: 12px; background: #0d0f14; border: 1px solid #262c3d; overflow: hidden;
  transition: border-color .18s ease;
}
.place-box.open { border-color: rgba(212,175,55,.45); }
.place-toggle {
  width: 100%; min-height: 44px; padding: 9px 12px; background: none; border: 0; color: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.place-toggle-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.place-toggle-title { font-size: 11.5px; font-weight: 600; color: #cfd3dc; line-height: 1.3; }
.place-summary { font-size: 10.5px; color: #8f9bb0; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-summary.is-custom { color: #f0d57a; font-weight: 600; }
.place-chev {
  width: 16px; height: 16px; flex: none; fill: none; stroke: #8f9bb0; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease, stroke .2s ease;
}
.place-box.open .place-chev { transform: rotate(180deg); stroke: #f0d57a; }
.place-panel { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 10px; }
.place-panel.hidden { display: none; }
.place-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  padding: 3px; border-radius: 10px; background: #161922; border: 1px solid #262c3d;
}
.place-tab {
  min-height: 34px; border-radius: 8px; border: 1px solid transparent; background: transparent;
  color: #8f9bb0; font-size: 11.5px; font-weight: 500; cursor: pointer;
}
.place-tab.active {
  background: rgba(212,175,55,.18); border-color: rgba(212,175,55,.5); color: #f0d57a; font-weight: 700;
}
.place-pane { display: flex; flex-direction: column; gap: 8px; }
.place-pane.hidden { display: none; }
.place-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.place-chip {
  min-height: 32px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500;
  background: #161922; border: 1px solid #262c3d; color: #cfd3dc; cursor: pointer;
}
.place-chip.active {
  background: rgba(212,175,55,.18); border-color: rgba(212,175,55,.65); color: #f0d57a; font-weight: 700;
}
.place-field-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.place-field-lbl { font-size: 10.5px; font-weight: 600; color: #9aa3b5; }
.place-select, .place-input {
  width: 100%; height: 40px; border-radius: 10px; background: #161922; border: 1px solid #262c3d;
  padding: 0 10px; color: #f3f1eb; font-size: 13px; min-width: 0;
}
.place-select:focus, .place-input:focus { outline: none; border-color: #d4af37; }
.place-custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.place-dst-row {
  display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px;
  border-radius: 10px; background: #161922; border: 1px solid #262c3d;
  font-size: 11.5px; color: #e9e6dd; cursor: pointer;
}
.place-dst-row.hidden { display: none; }
.place-dst-chk { width: 16px; height: 16px; accent-color: #d4af37; flex: none; margin: 0; }
.place-hint { margin: 0; font-size: 10px; line-height: 1.45; color: #8f9bb0; word-break: keep-all; }
.place-err { margin: 0; font-size: 10.5px; line-height: 1.45; color: #ff9b8e; word-break: keep-all; }
.place-err.hidden { display: none; }
.place-foot {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06);
}
.place-note { margin: 0; font-size: 10.5px; line-height: 1.5; color: #9ecfc9; word-break: keep-all; flex: 1; min-width: 0; }
.place-reset {
  flex: none; padding: 4px 8px; border-radius: 8px; font-size: 10.5px; font-weight: 600;
  background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.35); color: #f0d57a; cursor: pointer;
}
.place-reset.hidden { display: none; }

/* v6.4: 누락 유틸리티 9종 복구 · 최소 폰트(10.5px+) · 라벨 대비(#a8b3c7) · 원국표 지장간 · 로딩 버튼 잠금 */
.bg-obsidian\/92 { background-color: rgba(13, 15, 20, 0.92); }
.bg-obsidian\/96 { background-color: rgba(13, 15, 20, 0.96); }
.bg-crimson\/12 { background-color: rgba(224, 90, 71, 0.12); }
.min-h-\[175px\] { min-height: 175px; }
.pt-1 { padding-top: 0.25rem; }
.tracking-wide { letter-spacing: 0.025em; }
.whitespace-nowrap { white-space: nowrap; }
.w-\[80px\] { width: 80px; }
.text-gold-light\/70 { color: rgba(240, 213, 122, 0.82); }
.wel-lock { box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.1); }

/* 최소 폰트 하한 10.5px 보장 및 라벨 대비 상향 */
.text-\[8px\], .text-\[8\.5px\], .text-\[9px\], .text-\[9\.5px\], .text-\[10px\] { font-size: 10.5px; }
.text-muted { color: #a8b3c7; }
.oshin-k, .str-scale, .dd-yr-hit, .cal-wk, .luck-grid span, .luck-src,
.daily-kicker, .dash-vis-label, .core-k, .io-k, .pt-basis, .km-period,
.bd-when, .cp-mutual-k, .tmr-lock, .place-summary, .place-field-lbl, .place-hint {
  font-size: 10.5px;
  color: #a8b3c7;
}
.daily-kicker { color: #80cbc4; }
.place-summary.is-custom { color: #f0d57a; }
.oshin-g { font-size: 10.5px; color: #cbd4e3; }
.sec-badge { font-size: 10.5px; }
.pillar-hid {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-size: 10.5px; line-height: 1.28; color: #a8b3c7; width: 100%;
}
.pillar-hid-item { white-space: nowrap; }
.pillar-nayin { font-size: 10.5px; line-height: 1.25; color: rgba(240, 213, 122, 0.85); white-space: nowrap; }
.btn-busy { opacity: 0.45; cursor: not-allowed; }

/* v6.5: 상용 법적 푸터 · 약관/개인정보/면책 모달 · Turnstile 선택 위젯 */
.ts-box {
  display: flex; justify-content: center; padding: 8px 0;
}
.ts-box.hidden { display: none; }
.legal-footer {
  padding: 14px 4px 6px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.legal-link {
  background: none; border: 0; padding: 4px 2px; font-size: 11px; font-weight: 500;
  color: #a8b3c7; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.legal-link:hover, .legal-link:active { color: #f0d57a; }
.legal-sep { font-size: 10.5px; color: #5f6b82; }
.legal-biz {
  font-size: 10.5px; line-height: 1.55; color: #a8b3c7; word-break: keep-all; max-width: 100%;
}
.legal-biz.hidden { display: none; }
.legal-biz a { color: #f0d57a; text-decoration: underline; text-underline-offset: 2px; }
.legal-copy { font-size: 10.5px; color: #8c98ad; word-break: keep-all; }
.legal-sheet { max-height: 85dvh; }
.legal-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  padding: 8px 16px; border-bottom: 1px solid #262c3d; background: #12151d;
}
.legal-tab {
  min-height: 36px; border-radius: 9px; border: 1px solid transparent; background: transparent;
  color: #a8b3c7; font-size: 11.5px; font-weight: 500; cursor: pointer;
}
.legal-tab.active {
  background: rgba(212, 175, 55, 0.16); border-color: rgba(212, 175, 55, 0.48); color: #f0d57a; font-weight: 700;
}
.legal-body {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 16px; display: flex; flex-direction: column; gap: 14px;
  font-size: 12.5px; line-height: 1.72; color: #e6e2d8; word-break: keep-all;
}
.legal-sec { display: flex; flex-direction: column; gap: 4px; }
.legal-h { margin: 0; font-family: "Noto Serif KR", serif; font-size: 13px; font-weight: 700; color: #f0d57a; }
.legal-p { margin: 0; color: #dedad0; }
.legal-ul { margin: 2px 0 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; color: #d4d0c5; }
.legal-note-box {
  border-radius: 12px; padding: 10px 12px; background: #0d0f14; border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 12px; line-height: 1.65; color: #f3f1eb;
}
.legal-modal-foot { padding: 10px 16px 14px; border-top: 1px solid #262c3d; }

/* v7.0: 5탭 내비 · 미니 원국표 · 2027 정미년 신년운세 · 블러 잠금 UI · 결제 확인 시트 */
.nav-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }

.mini-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mini-pil {
  border-radius: 11px; padding: 6px 4px; background: #0d1017; border: 1px solid #242b3c;
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0;
}
.mini-pil.is-day { border-color: rgba(212, 175, 55, 0.6); background: rgba(212, 175, 55, 0.07); }
.mini-pil-pos { font-size: 10.5px; color: #a8b3c7; line-height: 1.1; }
.mini-pil-hj { font-family: "Noto Serif KR", serif; font-size: 15px; font-weight: 800; line-height: 1.15; letter-spacing: .04em; }
.mini-pil-tg { font-size: 10.5px; color: #cbd4e3; line-height: 1.15; white-space: nowrap; }

.ny27-entry-banner {
  width: 100%; border-radius: 16px; padding: 12px 14px; text-align: left; cursor: pointer;
  background: radial-gradient(120% 100% at 100% 0%, rgba(244, 63, 94, 0.16), transparent 58%), linear-gradient(135deg, #1b1721, #12151f);
  border: 1px solid rgba(212, 175, 55, 0.48); display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ny27-entry-banner:active { transform: scale(.985); }
.ny27-entry-kicker { font-size: 10.5px; font-weight: 700; color: #f0d57a; letter-spacing: .03em; }
.ny27-entry-title { font-family: "Noto Serif KR", serif; font-size: 13.5px; font-weight: 700; color: #f3f1eb; margin-top: 2px; word-break: keep-all; }
.ny27-entry-sub { font-size: 11px; color: #c7cedc; margin-top: 2px; word-break: keep-all; }
.ny27-entry-go {
  flex: none; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(212, 175, 55, 0.18); border: 1px solid rgba(212, 175, 55, 0.55); color: #f7e4a3; white-space: nowrap;
}

.ny-hero {
  background: radial-gradient(120% 95% at 88% 0%, rgba(244, 63, 94, 0.14), transparent 52%), radial-gradient(110% 80% at 12% 0%, rgba(212, 175, 55, 0.14), transparent 52%), linear-gradient(160deg, #181c28, #0f121a);
  border: 1px solid rgba(212, 175, 55, 0.45); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}
.ny-top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ny-kicker { font-size: 10.5px; font-weight: 700; color: #f0d57a; letter-spacing: .04em; }
.ny-year-title { font-family: "Noto Serif KR", serif; font-size: 18px; font-weight: 800; color: #f3f1eb; line-height: 1.25; margin-top: 2px; }
.ny-year-sub { font-size: 11px; color: #a8b3c7; margin-top: 2px; word-break: keep-all; }
.ny-kw-box {
  border-radius: 14px; padding: 12px 13px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(13, 15, 22, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.52);
}
.ny-kw-lbl { font-size: 10.5px; font-weight: 700; color: #f0d57a; letter-spacing: .03em; margin-bottom: 4px; }
.ny-kw-txt { font-family: "Noto Serif KR", serif; font-size: 15px; font-weight: 700; line-height: 1.5; color: #fff4cf; word-break: keep-all; margin: 0; }
.ny-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ny-meta-cell {
  border-radius: 11px; padding: 8px 10px; background: rgba(11, 13, 18, 0.78); border: 1px solid #242b3c;
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.ny-meta-k { font-size: 10.5px; color: #a8b3c7; }
.ny-meta-v { font-size: 12px; font-weight: 700; color: #f3f1eb; word-break: keep-all; }

.ny-axis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ny-axis-box { border-radius: 12px; padding: 9px 10px; background: #0e1118; border: 1px solid #242a3a; display: flex; flex-direction: column; gap: 4px; }
.ny-axis-box.is-opp { border-color: rgba(240, 68, 82, 0.4); background: rgba(240, 68, 82, 0.07); }
.ny-axis-box.is-mine { border-color: rgba(77, 155, 255, 0.4); background: rgba(77, 155, 255, 0.07); }
.ny-axis-h { font-size: 10.5px; font-weight: 700; }
.ny-axis-box.is-opp .ny-axis-h { color: #ff7a85; }
.ny-axis-box.is-mine .ny-axis-h { color: #7bb4ff; }
.ny-axis-v { font-size: 11.5px; line-height: 1.5; color: #ece9e0; word-break: keep-all; }

.ny-sub-block { border-radius: 13px; padding: 11px 12px; background: #0f121a; border: 1px solid #242a3a; display: flex; flex-direction: column; gap: 5px; }
.ny-sub-h { font-family: "Noto Serif KR", serif; font-size: 13px; font-weight: 700; color: #f0d57a; margin: 0; }

.ny-m-card {
  border-radius: 14px; padding: 11px 12px; background: #10131b; border: 1px solid #252c3d;
  display: flex; flex-direction: column; gap: 6px;
}
.ny-m-card.is-opp { border-color: rgba(240, 68, 82, 0.52); background: linear-gradient(155deg, rgba(240, 68, 82, 0.09), #10131b 60%); }
.ny-m-card.is-mine { border-color: rgba(77, 155, 255, 0.52); background: linear-gradient(155deg, rgba(77, 155, 255, 0.09), #10131b 60%); }
.ny-m-card.is-turn { border-color: rgba(212, 175, 55, 0.48); }
.ny-m-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ny-m-title { font-family: "Noto Serif KR", serif; font-size: 13px; font-weight: 700; color: #f3f1eb; min-width: 0; }
.ny-m-gz { font-family: "Noto Serif KR", serif; font-size: 12px; font-weight: 700; color: #f0d57a; margin-left: 5px; }
.ny-m-badge { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; flex: none; }
.ny-m-badge.b-opp { background: rgba(240, 68, 82, 0.18); border: 1px solid rgba(240, 68, 82, 0.55); color: #ff8e97; }
.ny-m-badge.b-mine { background: rgba(77, 155, 255, 0.18); border: 1px solid rgba(77, 155, 255, 0.55); color: #8ec0ff; }
.ny-m-badge.b-turn { background: rgba(212, 175, 55, 0.16); border: 1px solid rgba(212, 175, 55, 0.45); color: #f0d57a; }
.ny-m-badge.b-flat { background: rgba(168, 179, 199, 0.12); border: 1px solid #2b3245; color: #c4cddc; }
.ny-m-period { font-size: 10.5px; color: #a8b3c7; }
.ny-m-text { margin: 0; font-size: 12.5px; line-height: 1.72; color: #eae7df; word-break: keep-all; }
.ny-txt-opp { color: #ff8e97; }
.ny-txt-mine { color: #8ec0ff; }

/* 두 사람 원국 대조 스트립 */
.cp-compare-box {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px;
}
.cp-compare-col {
  border-radius: 12px; padding: 9px 10px; background: rgba(11, 13, 18, 0.8); border: 1px solid #252c3e;
  display: flex; flex-direction: column; gap: 5px; min-width: 0;
}
.cp-compare-who { font-size: 10.5px; font-weight: 700; color: #f0d57a; }
.cp-compare-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.cp-compare-cell {
  border-radius: 7px; padding: 4px 1px; background: #141822; border: 1px solid #242b3c;
  text-align: center; font-family: "Noto Serif KR", serif; font-size: 12px; font-weight: 700; color: #f3f1eb; line-height: 1.15;
}
.cp-compare-cell.is-day { border-color: rgba(212, 175, 55, 0.6); color: #f7e4a3; }
.cp-compare-cell span { display: block; font-family: "Noto Sans KR", sans-serif; font-size: 10.5px; font-weight: 400; color: #a8b3c7; }

/* 유료 잠금(?pay=1) 블러 카드 및 프리미엄 게이트 */
.pw-banner {
  border-radius: 14px; padding: 9px 12px; background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.45);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: #f7e4a3;
}
.pw-banner.hidden { display: none; }
.pw-banner-btn {
  flex: none; padding: 4px 9px; border-radius: 8px; font-size: 10.5px; font-weight: 700;
  background: rgba(13, 15, 20, 0.85); border: 1px solid rgba(212, 175, 55, 0.55); color: #f0d57a; cursor: pointer;
}

.pw-teaser-2line {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}
.pw-fade-note {
  border-radius: 10px; padding: 7px 10px; background: rgba(212, 175, 55, 0.08); border: 1px dashed rgba(212, 175, 55, 0.38);
  font-size: 11px; color: #e9d9a4; line-height: 1.5; word-break: keep-all;
}
.pw-fade-note.hidden { display: none; }

.pw-lock-wrap { position: relative; }
.pw-lock-wrap.is-locked {
  border-radius: 18px; overflow: hidden; min-height: 360px; max-height: 440px;
}
.pw-lock-wrap.is-locked .pw-blur-content {
  filter: blur(6.5px); opacity: 0.45; pointer-events: none; user-select: none; -webkit-user-select: none;
  max-height: 430px; overflow: hidden;
}
.pw-gate {
  position: absolute; inset: 0; z-index: 15; padding: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(13, 15, 20, 0.35) 0%, rgba(13, 15, 20, 0.88) 42%, rgba(13, 15, 20, 0.96) 100%);
}
.pw-gate.hidden { display: none; }
.pw-gate-card {
  width: 100%; border-radius: 18px; padding: 18px 16px; text-align: center;
  background: radial-gradient(110% 90% at 50% 0%, rgba(212, 175, 55, 0.16), transparent 62%), #151923;
  border: 1px solid rgba(212, 175, 55, 0.58); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.pw-gate-kicker {
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  color: #f0d57a; padding: 2px 9px; border-radius: 999px; background: rgba(212, 175, 55, 0.14); border: 1px solid rgba(212, 175, 55, 0.38);
}
.pw-gate-title { margin: 0; font-family: "Noto Serif KR", serif; font-size: 16px; font-weight: 800; color: #f7f4eb; word-break: keep-all; }
.pw-gate-desc { margin: 0; font-size: 11.8px; line-height: 1.62; color: #cfd5e2; word-break: keep-all; }
.pw-gate-price {
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 2px;
}
.pw-gate-price strong { font-family: "JetBrains Mono", monospace; font-size: 18px; font-weight: 700; color: #f7e4a3; }
.pw-gate-price span { font-size: 11px; color: #80cbc4; font-weight: 600; word-break: keep-all; }
.pw-gate-actions { width: 100%; display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.pw-btn-main {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 0; cursor: pointer;
  font-family: "Noto Serif KR", serif; font-size: 13px; font-weight: 700; color: #0d0f14;
  background: linear-gradient(90deg, #b8922f, #f0d57a, #c9a038); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}
.pw-btn-sub {
  width: 100%; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  font-size: 11.8px; font-weight: 700; color: #f0d57a;
  background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.45);
}
.pw-credit-pill {
  font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: rgba(212, 175, 55, 0.14); border: 1px solid rgba(212, 175, 55, 0.45); color: #f0d57a; white-space: nowrap;
}

/* 결제 확인 시트 (#sheet-pay) */
.pay-sheet { max-height: 90dvh; }
.pay-body {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px;
}
.pay-prod-list { display: flex; flex-direction: column; gap: 8px; }
.pay-prod {
  width: 100%; text-align: left; border-radius: 14px; padding: 11px 12px; cursor: pointer;
  background: #0f121a; border: 1.5px solid #262c3d; color: #f3f1eb;
  display: flex; flex-direction: column; gap: 4px; transition: border-color .15s ease, background .15s ease;
}
.pay-prod.selected {
  border-color: #d4af37; background: linear-gradient(155deg, rgba(212, 175, 55, 0.14), #131722);
}
.pay-prod-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pay-prod-name { font-family: "Noto Serif KR", serif; font-size: 13px; font-weight: 700; color: #f3f1eb; word-break: keep-all; }
.pay-prod-price-col { text-align: right; flex: none; }
.pay-prod-orig { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: #8c98ad; text-decoration: line-through; display: block; }
.pay-prod-price { font-family: "JetBrains Mono", monospace; font-size: 13.5px; font-weight: 700; color: #f7e4a3; }
.pay-prod-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.pay-prod-badge {
  font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px;
  background: rgba(212, 175, 55, 0.16); border: 1px solid rgba(212, 175, 55, 0.42); color: #f0d57a;
}
.pay-prod-badge.is-save { background: rgba(240, 68, 82, 0.16); border-color: rgba(240, 68, 82, 0.48); color: #ff9aa3; }
.pay-prod-badge.is-owned { background: rgba(77, 182, 172, 0.16); border-color: rgba(77, 182, 172, 0.48); color: #80cbc4; }
.pay-prod-desc { font-size: 11px; line-height: 1.5; color: #b5bfd1; word-break: keep-all; }

.pay-methods {
  border-radius: 13px; padding: 10px 12px; background: #0e1118; border: 1px solid #242b3c;
  display: flex; flex-direction: column; gap: 7px;
}
.pay-methods-h { font-size: 11px; font-weight: 700; color: #cfd5e2; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pay-methods-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pay-method-pill {
  font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 8px;
  background: #161b27; border: 1px solid #2c3449; color: #e6e2d8;
}
.pay-methods-note { margin: 0; font-size: 10.5px; color: #a8b3c7; line-height: 1.5; word-break: keep-all; }

.pay-total-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 12px; background: rgba(212, 175, 55, 0.08); border: 1px solid rgba(212, 175, 55, 0.35);
}
.pay-total-k { font-size: 12px; font-weight: 600; color: #e9e6dd; min-width: 0; word-break: keep-all; }
.pay-total-v { font-family: "JetBrains Mono", monospace; font-size: 16px; font-weight: 700; color: #f7e4a3; flex: none; }

.pay-refund-box {
  border-radius: 12px; padding: 10px 11px; background: #0c0f16; border: 1px solid #262e42;
  font-size: 11px; line-height: 1.6; color: #c5cedd; word-break: keep-all;
}
.pay-refund-title { font-weight: 700; color: #f0d57a; margin-bottom: 3px; font-size: 11px; }
.pay-refund-link {
  display: inline-block; margin-top: 5px; background: none; border: 0; padding: 0;
  font-size: 11px; color: #80cbc4; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.pay-reset-btn {
  background: none; border: 0; padding: 6px; font-size: 11px; color: #a8b3c7;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: center;
}
.pay-reset-btn.hidden { display: none; }

/* v7.0 2단계: 영구 열람 링크 복사 안내 바 */
.perm-bar {
  border-radius: 15px; padding: 11px 12px;
  background: linear-gradient(135deg, rgba(77, 182, 172, 0.14), rgba(22, 25, 34, 0.96));
  border: 1px solid rgba(77, 182, 172, 0.45);
  display: flex; flex-direction: column; gap: 8px;
}
.perm-bar.hidden { display: none; }
.perm-bar-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.perm-bar-title { font-family: "Noto Serif KR", serif; font-size: 12.5px; font-weight: 700; color: #80cbc4; }
.perm-bar-note { margin: 0; font-size: 11px; line-height: 1.5; color: #e2e6ef; word-break: keep-all; }
.perm-copy-btn {
  width: 100%; min-height: 38px; padding: 8px 12px; border-radius: 11px; border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.16); color: #f7e4a3; font-size: 11.8px; font-weight: 700; cursor: pointer;
}
.perm-copy-btn:active { transform: scale(.98); }

/* v7.2: 네이비·골드 하이엔드 전략 브리핑 — 핵심 판결 요약(3줄) · 월별 신호등 · 핵심 고민 1줄 · FFC 법적 표기 */
.bg-obsidian\/92 { background-color: rgba(11, 17, 32, 0.94); }
.bg-obsidian\/96 { background-color: rgba(11, 17, 32, 0.97); }
.an-hero {
  background: radial-gradient(120% 90% at 50% 0%, #192642 0%, #10192c 60%, #0b1120 100%);
  border: 1px solid rgba(212, 175, 55, 0.44);
  box-shadow: inset 0 1px 0 rgba(240, 213, 122, 0.12), 0 14px 34px rgba(3, 7, 15, 0.55);
}
.ny-hero {
  background: radial-gradient(115% 85% at 88% 0%, rgba(212, 175, 55, 0.14), transparent 54%), radial-gradient(110% 80% at 10% 0%, rgba(56, 107, 184, 0.18), transparent 56%), linear-gradient(160deg, #131f38, #0b1120);
  border: 1px solid rgba(212, 175, 55, 0.48);
  box-shadow: inset 0 1px 0 rgba(240, 213, 122, 0.12), 0 14px 34px rgba(3, 7, 15, 0.55);
}
.an-h { letter-spacing: -0.015em; }
.sec-q {
  margin: -2px 0 2px; font-size: 11.5px; font-weight: 500; color: #c7b887;
  line-height: 1.48; word-break: keep-all;
}
.an-body { font-size: 13.2px; line-height: 1.82; color: #ece9e0; }

/* 핵심 판결 요약 (3줄 브리핑) */
.verdict-card {
  border-radius: 18px; padding: 14px;
  background: radial-gradient(115% 95% at 0% 0%, rgba(212, 175, 55, 0.12), transparent 55%), linear-gradient(160deg, #131e35 0%, #0c1324 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: inset 0 1px 0 rgba(240, 213, 122, 0.14), 0 12px 28px rgba(3, 7, 15, 0.45);
  display: flex; flex-direction: column; gap: 10px;
}
.verdict-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding-bottom: 8px; border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}
.verdict-kicker {
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  color: #f0d57a; padding: 2px 8px; border-radius: 999px;
  background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.36);
}
.verdict-title {
  font-family: "Noto Serif KR", serif; font-size: 13.5px; font-weight: 700; color: #f7f4eb; letter-spacing: -0.01em;
}
.verdict-list { display: flex; flex-direction: column; gap: 8px; }
.verdict-row {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 8px 10px; border-radius: 12px;
  background: rgba(8, 13, 25, 0.78); border: 1px solid #202d47;
  border-left: 2.5px solid rgba(212, 175, 55, 0.65);
}
.verdict-row.is-go { border-left-color: #34d399; }
.verdict-row.is-stop { border-left-color: #f43f5e; }
.verdict-num {
  flex: none; font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700;
  color: #f0d57a; padding-top: 2px;
}
.verdict-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.verdict-key { font-size: 10.5px; font-weight: 700; color: #b7c4db; letter-spacing: 0.02em; }
.verdict-val {
  font-size: 12.4px; line-height: 1.62; color: #f2efe6; word-break: keep-all; overflow-wrap: anywhere;
}

/* 핵심 고민 1가지 입력 및 활성 바 */
.concern-box {
  margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: flex; flex-direction: column; gap: 6px;
}
.concern-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.concern-lbl { font-size: 12px; font-weight: 700; color: #e8e3d5; word-break: keep-all; }
.concern-opt {
  font-size: 10.5px; font-weight: 500; color: #a8b3c7; margin-left: 4px;
}
.concern-cnt { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: #a8b3c7; flex: none; }
.concern-input {
  width: 100%; min-height: 58px; resize: none; border-radius: 12px;
  background: #0a101d; border: 1px solid #243352; padding: 9px 11px;
  color: #f4f1ea; font-size: 13px; line-height: 1.5; word-break: keep-all;
}
.concern-input::placeholder { color: rgba(168, 179, 199, 0.55); font-size: 12px; }
.concern-input:focus { outline: none; border-color: #d4af37; }
.concern-hint { margin: 0; font-size: 10.5px; line-height: 1.48; color: #a8b3c7; word-break: keep-all; }

.concern-active-bar {
  display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 11px;
  background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.36);
}
.concern-active-bar.hidden { display: none; }
.concern-active-tag {
  flex: none; font-size: 10.5px; font-weight: 700; color: #0b1120; background: #f0d57a;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap;
}
.concern-active-txt {
  flex: 1; min-width: 0; font-size: 11.8px; color: #f6f1e1; line-height: 1.45;
  word-break: keep-all; overflow-wrap: anywhere;
}
.concern-active-edit {
  flex: none; padding: 3px 8px; border-radius: 8px; font-size: 10.5px; font-weight: 600;
  background: rgba(11, 17, 32, 0.85); border: 1px solid rgba(212, 175, 55, 0.45); color: #f0d57a; cursor: pointer;
}

/* 2027 월별 신호등 범례 · 12개월 매트릭스 · 배지 */
.sig-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; color: #cfd8e8;
}
.sig-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sig-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.sig-dot.is-go { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, 0.65); }
.sig-dot.is-hold { background: #f0d57a; box-shadow: 0 0 6px rgba(240, 213, 122, 0.55); }
.sig-dot.is-stop { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.65); }

.sig-strip {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px;
}
.sig-cell {
  border-radius: 10px; padding: 6px 2px; background: #0c1324; border: 1px solid #22304b;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; min-width: 0; transition: transform .12s ease, border-color .15s ease;
}
.sig-cell:active { transform: scale(.96); }
.sig-cell.is-go { border-color: rgba(52, 211, 153, 0.55); background: rgba(52, 211, 153, 0.09); }
.sig-cell.is-hold { border-color: rgba(240, 213, 122, 0.36); background: rgba(240, 213, 122, 0.05); }
.sig-cell.is-stop { border-color: rgba(244, 63, 94, 0.55); background: rgba(244, 63, 94, 0.09); }
.sig-m { font-family: "JetBrains Mono", monospace; font-size: 10.5px; font-weight: 700; color: #f3f1eb; line-height: 1.1; }
.sig-lbl { font-size: 10.5px; font-weight: 600; color: #b7c4db; line-height: 1.1; white-space: nowrap; }
.sig-cell.is-go .sig-lbl { color: #6ee7b7; }
.sig-cell.is-hold .sig-lbl { color: #f0d57a; }
.sig-cell.is-stop .sig-lbl { color: #fda4af; }

.ny-m-card.sig-go { border-color: rgba(52, 211, 153, 0.52); background: linear-gradient(155deg, rgba(52, 211, 153, 0.09), #0e1627 58%); }
.ny-m-card.sig-hold { border-color: rgba(240, 213, 122, 0.36); background: #0e1627; }
.ny-m-card.sig-stop { border-color: rgba(244, 63, 94, 0.54); background: linear-gradient(155deg, rgba(244, 63, 94, 0.1), #0e1627 58%); }
.ny-m-badge { display: inline-flex; align-items: center; gap: 5px; }
.ny-m-badge.sig-go { background: rgba(52, 211, 153, 0.16); border: 1px solid rgba(52, 211, 153, 0.52); color: #6ee7b7; }
.ny-m-badge.sig-hold { background: rgba(240, 213, 122, 0.14); border: 1px solid rgba(240, 213, 122, 0.44); color: #f7e4a3; }
.ny-m-badge.sig-stop { background: rgba(244, 63, 94, 0.16); border: 1px solid rgba(244, 63, 94, 0.55); color: #fda4af; }

/* 법적 고지 · FFC 브랜드 표기 */
.pw-gate-legal {
  margin: 4px 0 0; font-size: 10.5px; line-height: 1.48; color: #a8b3c7; word-break: keep-all;
}
.legal-brand {
  font-family: "Noto Serif KR", serif; font-size: 11px; font-weight: 700; color: #d8c27b; letter-spacing: 0.01em;
}
