/* 피드백 버튼 (src/web/static/feedback.js) — 오른쪽 아래 동그란 버튼 + 작은 입력 창. 색은 base.css 토큰만 (라이트·다크 자동) */
.fb-fab { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .15s var(--ease); }
.fb-fab:hover { transform: translateY(-1px); }
.fb-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fb-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fb-fab[aria-expanded="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
body.fb-on .site-foot { padding-bottom: 72px; }          /* 맨 아래 정책 링크가 버튼에 가리지 않게 */

.fb-pop { position: fixed; z-index: 41; right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 60px); width: min(340px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 16px; animation: fb-in .15s var(--ease); }
.fb-pop[hidden] { display: none; }
@keyframes fb-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .fb-pop { animation: none; } .fb-fab { transition: none; } }
.fb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.fb-head b { font-size: 16px; color: var(--ink); }
.fb-x { width: 32px; height: 32px; margin: -6px -8px -6px 0; border: 0; background: none; color: var(--mute); font-size: 20px; line-height: 1; cursor: pointer; border-radius: var(--r); }
.fb-x:hover { background: var(--surface-2); }
.fb-p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fb-ta { display: block; width: 100%; box-sizing: border-box; min-height: 112px; resize: vertical; padding: 10px 12px; font: inherit; font-size: 15px;
  line-height: 1.5; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.fb-ta:focus { outline: none; border-color: var(--accent); }
.fb-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.fb-n { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.fb-err { font-size: 13px; color: var(--bad); }
.fb-row .btn { height: 38px; padding: 0 18px; }
.fb-done { margin: 6px 0 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.fb-pop .btn.wide { width: 100%; justify-content: center; height: 40px; }
