/*
 * [INPUT]: thanks.html的公开联系/愿景/支持者，品牌与导航基线
 * [OUTPUT]: 致谢页联系链接与响应式卡片/留言，系统字体回退保留彩色emoji
 * [POS]: public 的致谢页专属样式；在共享样式之后加载，规则限定于致谢页
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */

/* ==== 页面延续工作台宽度与品牌，保留系统彩色 emoji 回退 ==== */
.thanks-page {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.thanks-page .thanks-current { color: var(--blue); background: #edf3ff; border-color: #dce6fc; }
.thanks-heading { margin-bottom: 26px; }
.thanks-contact { margin-top: 10px; font-size: 13px; line-height: 1.8; color: #687991; }
.thanks-contact a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.thanks-page .thanks-vision { padding: 24px 28px; border-left: 3px solid #91afea; }
.thanks-vision p { margin-top: 10px; max-width: 760px; color: #687991; font-size: 14px; line-height: 1.95; }
.thanks-supporters { margin-top: 34px; }
.thanks-supporters .section-bar { margin-bottom: 16px; }

/* ==== 名称与金额同组；留言保留原文，长内容在卡片内自然换行 ==== */
.supporter-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.supporter-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 26px; padding: 26px 28px; }
.supporter-details { min-width: 0; }
.supporter-details h3 { font-size: 15px; line-height: 1.7; font-weight: 600; overflow-wrap: anywhere; }
.supporter-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; color: #5278bf; }
.supporter-amount .muted { font-size: 11px; }
.supporter-message { min-width: 0; margin: 0; padding: 5px 0 5px 26px; border-left: 1px solid var(--border); }
.supporter-message p { font-size: 14px; line-height: 1.95; color: #5e6e87; overflow-wrap: anywhere; white-space: pre-wrap; }
.thanks-note { margin-top: 28px; padding: 0 4px; color: #7b879a; }
.thanks-note h2 { margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.thanks-note p { font-size: 12px; line-height: 1.9; }
.thanks-note p + p { margin-top: 4px; }

/* ==== 小屏以纵向名片展示，避免昵称与 emoji 留言相互挤压 ==== */
@media (max-width: 600px) {
  .thanks-container { padding-top: 30px; }
  .thanks-heading h1 { font-size: 25px; }
  .thanks-page .thanks-vision { padding: 20px; }
  .thanks-vision p { font-size: 13px; }
  .supporter-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 20px; }
  .supporter-details { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
  .supporter-amount { margin-top: 0; }
  .supporter-message { padding: 0 0 0 14px; }
  .supporter-message p { font-size: 13px; }
}
