/* eploracle 反馈页样式 — /{lang}/feedback/
 * 视觉体系与 results.css 同族：白卡浅边 + 粉强调 + 金点缀。
 * 类型卡参考 J少截图：网格卡片 + 图标 + label，选中态粉边粉底。 */

.fb { padding: 40px 0 64px; }
.fb__wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.fb__crumb { margin: 0 0 16px; font-size: 13px; color: var(--text-secondary); }
.fb__crumb a { color: var(--text-secondary); }
.fb__crumb a:hover { color: var(--brand-pink); }
.fb__h1 {
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.02em;
  color: var(--text-primary); margin: 0 0 12px;
}
.fb__sub { margin: 0 0 28px; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }

.fb__form { display: flex; flex-direction: column; gap: 24px; }
.fb__types {
  border: 0; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.fb__type {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-card);
  cursor: pointer; text-align: left;
  font-family: inherit;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.fb__type:hover { border-color: var(--border-strong); }
.fb__type.is-selected {
  border-color: var(--brand-pink);
  background: var(--brand-pink-soft);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.10);
}
.fb__type-icon { color: var(--gold); display: inline-flex; }
.fb__type-icon svg { width: 22px; height: 22px; }
.fb__type.is-selected .fb__type-icon { color: var(--brand-pink); }
.fb__type-name { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.fb__type-desc { font-size: 12.5px; color: var(--text-tertiary); line-height: 1.5; }
.fb__label {
  font-weight: 600; font-size: 14px; color: var(--text-primary);
  margin: 0 0 10px; padding: 0;
}

.fb__field { display: flex; flex-direction: column; }
.fb__optional {
  font-weight: 400; font-size: 12px; color: var(--text-tertiary);
}
.fb__textarea, .fb__input {
  font-family: inherit; font-size: 14px; color: var(--text-primary);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 12px 14px; width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.fb__textarea:focus, .fb__input:focus {
  outline: none;
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.10);
}
.fb__textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.fb__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px; font-size: 12px; color: var(--text-tertiary);
}
.fb__hint { color: var(--danger); }

.fb__submit {
  align-self: flex-start;
  min-width: 180px;
}
.fb__note { margin: 4px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--text-tertiary); }
.fb__note--ok { color: var(--green); font-weight: 600; }
.fb__note--warn { color: var(--warning); font-weight: 600; }

@media (max-width: 479px) {
  .fb { padding: 28px 0 48px; }
  .fb__wrap { padding: 0 18px; }
  .fb__crumb { display: none; }
  .fb__sub { margin-bottom: 22px; }
  .fb__types { grid-template-columns: 1fr; gap: 10px; }
  .fb__type {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }
  .fb__type-desc { margin-left: auto; text-align: right; max-width: 44%; }
  .fb__submit { width: 100%; }
}

@media (min-width: 560px) {
  .fb__types { grid-template-columns: repeat(4, 1fr); }
}
