/* =========================================================================
 * 도현 사주 — 스타일
 * ========================================================================= */

:root {
  --bg:          #090d16;
  --bg-soft:     #0e1421;
  --card:        rgba(18, 24, 38, 0.72);
  --card-solid:  #121826;
  --line:        rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --primary:     #f43f5e;
  --primary-dim: #e11d48;
  --primary-glow: rgba(244, 63, 94, 0.22);
  --accent:      #a78bfa;

  --text:        #f8fafc;
  --text-sub:    #b6c2d4;
  --text-muted:  #7d8ba1;

  --ok:   #34d399;
  --warn: #fbbf24;
  --bad:  #fb7185;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --wrap: 620px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont,
               "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.68;
  word-break: keep-all;
  padding-bottom: 96px;
  background-image:
    radial-gradient(circle at 8% 4%,  rgba(139, 92, 246, 0.13) 0%, transparent 42%),
    radial-gradient(circle at 92% 22%, rgba(244, 63, 94, 0.11) 0%, transparent 42%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.muted { color: var(--text-muted); font-size: 0.92em; }

/* 클래스의 display 선언이 hidden 속성을 덮지 않도록 */
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ 상단바 */
.navbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(9, 13, 22, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.brand { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.brand span { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 13px; color: var(--text-sub); padding: 7px 10px; border-radius: var(--r-sm);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.btn-nav {
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  background: var(--primary); color: #fff;
}
.btn-nav:hover { background: var(--primary-dim); }

/* ------------------------------------------------------------------ 버튼 */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--primary); color: #fff; font-weight: 700;
  padding: 14px 22px; border-radius: 999px; font-size: 15px;
  box-shadow: 0 8px 24px -8px var(--primary-glow);
  transition: transform .15s, background .15s;
}
.btn-primary:hover { background: var(--primary-dim); }
.btn-primary:active { transform: scale(.98); }
.btn-primary[disabled] { opacity: .55; pointer-events: none; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line-strong); color: var(--text-sub);
  padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }

.btn-block { width: 100%; }

/* ------------------------------------------------------------------ 히어로 */
/* 세로 여백은 padding-block 으로만 준다.
   padding 단축을 쓰면 .wrap 의 좌우 여백(18px)이 함께 0 으로 덮인다. */
.hero { padding-block: 46px 34px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent); border: 1px solid rgba(167,139,250,.32);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 30px; font-weight: 900; line-height: 1.34; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { margin-top: 15px; color: var(--text-sub); font-size: 14.5px; }
.hero-cta { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ 섹션 */
.section { padding-block: 34px; }
.section-head { margin-bottom: 18px; }
.section-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.section-head p { margin-top: 6px; color: var(--text-muted); font-size: 13.5px; }

/* ------------------------------------------------------------------ 프로필 */
.profile {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px;
}
.profile-avatar { position: relative; flex-shrink: 0; }
.profile-avatar img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(244,63,94,.5);
}
.profile-badge {
  position: absolute; right: -2px; bottom: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 11px;
  display: grid; place-items: center; border: 2px solid var(--bg);
}
.profile-name { font-size: 14px; font-weight: 700; }
.profile-name small { color: var(--text-muted); font-weight: 500; margin-left: 5px; font-size: 12px; }
.profile blockquote {
  margin-top: 8px; font-size: 13.5px; color: var(--text-sub);
  border-left: 2px solid rgba(244,63,94,.4); padding-left: 10px;
}

/* ------------------------------------------------------------------ 오늘의 운세 */
.today {
  background: linear-gradient(135deg, rgba(167,139,250,.14), rgba(244,63,94,.1));
  border: 1px solid rgba(167,139,250,.26);
  border-radius: var(--r-lg); padding: 18px;
}
.today-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.today-label { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.today-ganji { font-size: 22px; font-weight: 800; margin-top: 2px; }
.today-ganji small { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-left: 6px; }
.today-score { text-align: right; flex-shrink: 0; }
.today-score b { font-size: 26px; font-weight: 900; color: var(--primary); }
.today-score span { font-size: 11px; color: var(--text-muted); display: block; }
.today ul { margin-top: 12px; list-style: none; display: grid; gap: 6px; }
.today li { font-size: 13.5px; color: var(--text-sub); padding-left: 14px; position: relative; }
.today li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 900; }

/* ------------------------------------------------------------------ 카테고리 탭 */
.tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; font-size: 13px; font-weight: 600; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--text-muted);
  background: rgba(255,255,255,.02);
}
.tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ------------------------------------------------------------------ 카드 */
.cards { display: grid; gap: 11px; }
.card {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px;
  transition: border-color .15s, transform .15s, background .15s;
}
.card:hover { border-color: rgba(244,63,94,.45); background: rgba(24,31,48,.8); }
.card:active { transform: scale(.995); }
.card-emoji { font-size: 26px; line-height: 1.2; flex-shrink: 0; }
.card-tag { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .03em; }
.card-tag.hot { color: var(--primary); }
.card h3 { font-size: 15.5px; font-weight: 800; margin: 3px 0 5px; }
.card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.card-arrow { margin-left: auto; align-self: center; color: var(--text-muted); font-size: 18px; flex-shrink: 0; }

/* ------------------------------------------------------------------ 원칙 */
.principles { display: grid; gap: 11px; }
.principle {
  display: flex; gap: 13px; align-items: flex-start;
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 15px;
}
.principle-icon { font-size: 21px; flex-shrink: 0; }
.principle h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.principle p { font-size: 12.8px; color: var(--text-muted); }

/* ------------------------------------------------------------------ 모달 */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 7, 13, .78); backdrop-filter: blur(5px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: 100%; max-width: var(--wrap);
  max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--card-solid); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(18px); transition: transform .24s cubic-bezier(.22,1,.36,1);
}
.modal.open .modal-card { transform: translateY(0); }
@media (min-width: 640px) {
  .modal { align-items: center; }
  .modal-card { border-radius: var(--r-lg); max-height: 88vh; }
}
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border-radius: 50%; background: rgba(255,255,255,.07); color: var(--text-sub);
  display: grid; place-items: center; font-size: 15px;
}
.modal-close:hover { background: rgba(255,255,255,.14); color: var(--text); }
.modal-kicker { font-size: 11.5px; font-weight: 700; color: var(--primary); letter-spacing: .05em; }
.modal-card h3 { font-size: 19px; font-weight: 800; margin: 3px 0 16px; padding-right: 36px; }

/* ------------------------------------------------------------------ 폼 */
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.step-dot { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); }
.step-dot.on { background: var(--primary); }

.field { margin-bottom: 15px; }
.field > label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-sub); margin-bottom: 7px; }
.field-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 6px; }

.input, .select {
  width: 100%; background: rgba(255,255,255,.045);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 12px 13px; font-size: 15px; color: var(--text);
  transition: border-color .15s;
}
.input:focus, .select:focus { border-color: var(--primary); outline: none; }
.input::placeholder { color: var(--text-muted); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%237d8ba1' d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }

.date-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.date-row .input { text-align: center; }

.segment { display: flex; gap: 6px; }
.segment button {
  flex: 1; padding: 11px 8px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line-strong); color: var(--text-muted); background: rgba(255,255,255,.03);
  transition: all .15s;
}
.segment button[aria-pressed="true"] {
  background: rgba(244,63,94,.16); border-color: var(--primary); color: #fff;
}

.check {
  display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-sub);
  cursor: pointer; padding: 10px 0;
}
.check input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; margin-top: 1px; }

.form-error {
  background: rgba(244,63,94,.12); border: 1px solid rgba(244,63,94,.35);
  color: var(--bad); font-size: 13px; padding: 10px 12px; border-radius: var(--r-sm);
  margin-bottom: 14px;
}

.partner-box {
  border-top: 1px dashed var(--line-strong); padding-top: 15px; margin-top: 4px;
}
.partner-box > label { color: var(--accent) !important; }

/* ------------------------------------------------------------------ 로딩 */
.loading { text-align: center; padding: 34px 6px; }
.loading-ring {
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.08); border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { list-style: none; display: grid; gap: 9px; max-width: 320px; margin: 0 auto; text-align: left; }
.loading-steps li {
  font-size: 13.5px; color: var(--text-muted); display: flex; align-items: center; gap: 9px;
  opacity: .35; transition: opacity .3s, color .3s;
}
.loading-steps li.on { opacity: 1; color: var(--text-sub); }
.loading-steps li.done { opacity: .85; color: var(--ok); }
.loading-steps .mark { width: 16px; flex-shrink: 0; text-align: center; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .loading-ring { animation-duration: 3s; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ 리포트 */
.report-head { text-align: center; margin-bottom: 20px; }
.report-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--primary); border: 1px solid rgba(244,63,94,.3);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 10px;
}
.report-head h2 { font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.report-head .who { margin-top: 6px; font-size: 13px; color: var(--text-muted); }

/* 원국 표 */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 8px; }
.pillar {
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 11px 5px; text-align: center;
}
.pillar.day { border-color: rgba(244,63,94,.55); background: rgba(244,63,94,.09); }
.pillar-label { font-size: 10.5px; color: var(--text-muted); font-weight: 600; }
.pillar.day .pillar-label { color: var(--bad); }
.pillar-god { font-size: 10px; color: var(--accent); margin-top: 3px; min-height: 14px; }
.pillar-ch { font-size: 25px; font-weight: 800; line-height: 1.2; margin: 3px 0; letter-spacing: -.02em; }
.pillar-kr { font-size: 11.5px; color: var(--text-sub); }
.pillar-hidden { font-size: 9.5px; color: var(--text-muted); margin-top: 5px; letter-spacing: -.02em; }

.chart-note {
  font-size: 11.5px; color: var(--text-muted); text-align: center;
  background: rgba(255,255,255,.03); border-radius: var(--r-sm); padding: 9px 11px;
  margin-bottom: 18px; line-height: 1.6;
}

/* 오행 막대 */
.elements { margin-bottom: 18px; }
.elem-row { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.elem-name { width: 40px; font-size: 12.5px; font-weight: 700; flex-shrink: 0; }
.elem-bar { flex: 1; height: 9px; background: rgba(255,255,255,.06); border-radius: 5px; overflow: hidden; }
.elem-fill { height: 100%; border-radius: 5px; transition: width .7s cubic-bezier(.22,1,.36,1); }
.elem-val { width: 46px; text-align: right; font-size: 11.5px; color: var(--text-muted); flex-shrink: 0; }

/* 지수 미터 */
.meter { margin-bottom: 18px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.meter-top span { font-size: 12.5px; color: var(--text-sub); font-weight: 600; }
.meter-top b { font-size: 21px; font-weight: 900; color: var(--primary); }
.meter-track { height: 10px; background: rgba(255,255,255,.07); border-radius: 5px; overflow: hidden; }
.meter-fill {
  height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width .8s cubic-bezier(.22,1,.36,1);
}

/* 섹션 박스 */
.box {
  background: rgba(255,255,255,.033); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px; margin-bottom: 11px;
}
.box h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
.box p, .box div.body { font-size: 14px; color: var(--text-sub); line-height: 1.75; }
.box strong { color: var(--text); font-weight: 700; }
.box.accent { border-color: rgba(244,63,94,.35); background: rgba(244,63,94,.055); }
.box.accent h4 { color: var(--bad); }

/* 판정 */
.verdict {
  border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 14px;
  font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start;
}
.verdict.good { background: rgba(52,211,153,.1);  border: 1px solid rgba(52,211,153,.3);  color: #6ee7b7; }
.verdict.mid  { background: rgba(251,191,36,.1);  border: 1px solid rgba(251,191,36,.28); color: #fcd34d; }
.verdict.hard { background: rgba(244,63,94,.1);   border: 1px solid rgba(244,63,94,.3);   color: var(--bad); }

/* 대운 타임라인 */
.luck-scroll { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.luck-scroll::-webkit-scrollbar { display: none; }
.luck-item {
  flex-shrink: 0; width: 76px; text-align: center; padding: 10px 4px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.luck-item.now { border-color: var(--primary); background: rgba(244,63,94,.12); }
.luck-age { font-size: 10.5px; color: var(--text-muted); }
.luck-gj { font-size: 16px; font-weight: 800; margin: 3px 0; }
.luck-grade { font-size: 10px; font-weight: 700; padding: 2px 0; border-radius: 4px; }
.luck-grade.best { color: #6ee7b7; } .luck-grade.good { color: #a7f3d0; }
.luck-grade.mid  { color: var(--text-muted); }
.luck-grade.care { color: #fcd34d; } .luck-grade.hard { color: var(--bad); }

/* 액션 바 */
.report-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.report-actions .btn-primary, .report-actions .btn-ghost { padding: 13px 10px; font-size: 14px; }
.report-actions .full { grid-column: 1 / -1; }

/* 저장된 사주 */
.saved {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 13px 15px; margin-bottom: 11px;
}
.saved-gj { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.saved-meta { font-size: 12px; color: var(--text-muted); }
.saved-actions { margin-left: auto; display: flex; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px; border-radius: var(--r-sm); background: rgba(255,255,255,.05);
  color: var(--text-muted); display: grid; place-items: center; font-size: 14px;
}
.icon-btn:hover { background: rgba(255,255,255,.1); color: var(--text); }

/* ------------------------------------------------------------------ 상담소 */
.consult {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.consult-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.consult-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.consult-title { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.badge-auto {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: rgba(167,139,250,.16); color: var(--accent); border: 1px solid rgba(167,139,250,.3);
}
.consult-sub { font-size: 11.5px; color: var(--text-muted); }

.chat-log { padding: 15px; display: grid; gap: 10px; max-height: 380px; overflow-y: auto; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 15px; font-size: 13.5px; line-height: 1.65; }
.bubble.bot { background: rgba(255,255,255,.06); border-bottom-left-radius: 4px; color: var(--text-sub); }
.bubble.me  { background: var(--primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble strong { color: var(--text); }
.bubble.me strong { color: #fff; }

.quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 15px 12px; }
.quick button {
  font-size: 12px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-sub); background: rgba(255,255,255,.03);
}
.quick button:hover { border-color: var(--primary); color: var(--text); }

.chat-form { display: flex; gap: 8px; padding: 12px 15px; border-top: 1px solid var(--line); }
.chat-form .input { flex: 1; }
.chat-form button { flex-shrink: 0; padding: 0 18px; border-radius: var(--r-sm); background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; }

/* ------------------------------------------------------------------ 하단 고정 CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(9,13,22,.93); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.sticky-text { font-size: 13px; color: var(--text-sub); flex: 1; line-height: 1.45; }
.sticky-text strong { color: var(--text); }
.sticky-cta .btn-primary { padding: 12px 18px; font-size: 14px; flex-shrink: 0; }

/* ------------------------------------------------------------------ 푸터 */
.footer { border-top: 1px solid var(--line); margin-top: 34px; padding-block: 26px 20px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links button { font-size: 12.5px; color: var(--text-sub); }
.footer-links button:hover { color: var(--text); text-decoration: underline; }
.footer-biz { font-size: 11.5px; color: var(--text-muted); line-height: 1.75; }
.footer-disc {
  margin-top: 12px; font-size: 11.5px; color: var(--text-muted);
  background: rgba(255,255,255,.03); padding: 11px 13px; border-radius: var(--r-sm);
}

/* ------------------------------------------------------------------ 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(14px);
  background: rgba(20,27,42,.97); border: 1px solid var(--line-strong);
  color: var(--text); font-size: 13.5px; font-weight: 600;
  padding: 11px 18px; border-radius: 999px; z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 36px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------------------ 정보 모달 본문 */
.info-body { font-size: 13.5px; line-height: 1.8; color: var(--text-sub); white-space: pre-line; }
