/* ==========================================================
   components/feedback.css — 안내 · 상태 표시
   .notice(알림) · .disclaimer(필수 고지) · .empty(빈 상태) · .sk(스켈레톤)
   · .toast · .faq(자주 묻는 질문)
   ========================================================== */

/* ---------- 알림 ---------- */
.notice {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: var(--r-md);
  font-size: 13.5px; line-height: 1.65; font-weight: 500;
}
.notice > .ico { width: 18px; height: 18px; margin-top: 2px; }
.notice b { font-weight: 800; }
.notice-warn { background: var(--warn-soft); color: var(--warn-deep); border: 1px solid var(--warn-line); }
.notice-mute { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.notice-paper { background: var(--paper); color: #6A5226; border: 1px solid var(--paper-line); }

/* ---------- 필수 고지 문구 ---------- */
.disclaimer {
  display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
}
.disclaimer > .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--ink-4); }
.disclaimer a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 빈 상태 ---------- */
.empty {
  display: grid; justify-items: center; gap: 6px; padding: 36px 20px; text-align: center;
  border-radius: var(--r-lg); background: var(--surface-2); border: 1px dashed #DCE1EA;
}
.empty-ico {
  width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; display: grid; place-items: center;
  background: #fff; color: var(--ink-4); box-shadow: var(--shadow-1);
}
.empty-ico .ico { width: 28px; height: 28px; }
.empty b { font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.empty p { max-width: 28em; font-size: 14px; color: var(--ink-3); }
.empty .btn { margin-top: 10px; }

/* ---------- 스켈레톤 ---------- */
.sk {
  background: linear-gradient(90deg, #EEF1F6 25%, #F6F8FB 37%, #EEF1F6 63%);
  background-size: 400px 100%; border-radius: 12px; animation: shimmer 1.4s linear infinite;
}
.sk-list { display: grid; gap: 8px; }

/* ---------- 토스트 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: var(--navy); color: #fff; box-shadow: 0 16px 40px -12px rgba(22, 33, 62, .5);
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-ico { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); }
.toast-ico.warn { background: var(--warn); }

/* ---------- 자주 묻는 질문 ---------- */
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .15s; }
.faq details[open] { border-color: #D8DCF8; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 16px;
  font-size: 15px; font-weight: 800; letter-spacing: -.02em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chev { width: 18px; height: 18px; color: var(--ink-4); transition: transform .2s; }
.faq details[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 16px 16px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.faq-a a { font-weight: 700; color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
