/* 活动网 样式表：一起活动，分享人生 */

:root {
  --brand: #b5471f;
  --brand-deep: #93380f;
  --brand-soft: #f6ece5;
  --teal: #1f6f63;
  --teal-soft: #eaf2f0;
  --ink: #2b3238;
  --ink-2: #5a6472;
  --ink-3: #8b949f;
  --line: #e5e0da;
  --bg: #f5f3f1;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(43, 50, 56, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.4;
  font-weight: 600;
}

p {
  margin: 0 0 10px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
  transition: all 0.18s ease;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(243, 236, 231, 0.4);
  color: #efe7e1;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #f7f2ee;
}

.btn-light {
  background: #f0e6df;
  border-color: #f0e6df;
  color: #7d3419;
}

.btn-light:hover {
  background: #e5d8ce;
  color: #7d3419;
}

.btn-danger-outline {
  background: #fff;
  border-color: #e3cec9;
  color: #b03a2e;
}

.btn-danger-outline:hover {
  background: #faf2f0;
  color: #b03a2e;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 16px;
}

/* ---------- 表单 ---------- */

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.18s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand);
}

.required {
  color: #b03a2e;
}

.form-tip {
  font-size: 13px;
  color: var(--ink-3);
}

.code-row {
  display: flex;
  gap: 8px;
}

.code-row input {
  flex: 1;
}

.comment-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 90px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

.comment-textarea:focus {
  border-color: var(--brand);
}

/* ---------- 顶部导航 ---------- */

.site-header {
  background: linear-gradient(120deg, #8f3a1c 0%, #a84524 48%, #7d3419 100%);
  color: #f3ece7;
  box-shadow: 0 2px 10px rgba(125, 52, 25, 0.16);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #f5efe9;
}

.site-logo:hover {
  text-decoration: none;
  color: #f5efe9;
}

.hd-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 17px;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  color: rgba(243, 236, 231, 0.85);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 15px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #f7f2ee;
}

.main-nav a.active {
  background: #efe4dc;
  color: #7d3419;
  font-weight: 600;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.welcome-text {
  font-size: 14px;
  color: #efe7e1;
}

.welcome-text .nick {
  font-weight: 600;
}

.my-info-link {
  color: #efe7e1;
  font-size: 14px;
  border-bottom: 1px dashed rgba(239, 231, 225, 0.5);
}

.my-info-link:hover {
  text-decoration: none;
  color: #f7f2ee;
}

.pm-badge {
  display: inline-block;
  min-width: 18px;
  padding: 0 5px;
  margin-left: 4px;
  background: #c2703c;
  color: #fff5ef;
  border-radius: 9px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

/* ---------- 主体 ---------- */

.page-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 16px 40px;
}

/* ---------- 首页主题区 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 42px 34px;
  margin-bottom: 26px;
  color: var(--ink);
  background: linear-gradient(135deg, #f7eee7 0%, #f3eae3 42%, #eaf2f0 100%);
  border: 1px solid #e9dcd2;
  box-shadow: 0 6px 20px rgba(125, 52, 25, 0.06);
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(181, 71, 31, 0.05);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 34px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #8f3a1c;
}

.hero .slogan-main {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--brand-deep);
  margin-bottom: 14px;
}

.hero .slogan-sub {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-tag {
  background: #fff;
  border: 1px solid #e6d8cc;
  color: var(--ink-2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #7d3419;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- 区块标题 ---------- */

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 19px;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--brand);
}

.section-title .sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
}

/* ---------- 活动列表 ---------- */

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  border-left: 4px solid var(--brand);
}

.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 48, 62, 0.13);
}

.activity-card-body {
  padding: 16px 18px;
}

.activity-card-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.activity-card-title:hover {
  color: var(--brand-deep);
  text-decoration: none;
}

.activity-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.meta-time::before {
  content: "🕒 ";
}

.meta-location::before {
  content: "📍 ";
}

.activity-summary {
  color: var(--ink-2);
  font-size: 14px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.author-nick {
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 500;
}

.author-nick:hover {
  color: var(--brand-deep);
}

.activity-card-stats {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

.badge-author {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 4px;
  padding: 0 6px;
  font-size: 12px;
  margin-left: 6px;
}

/* ---------- 分页 ---------- */

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.pager a {
  text-decoration: none;
}

.pager button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 6px 13px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  font-family: inherit;
}

.pager button:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.pager button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.pager button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- 活动详情 ---------- */

.detail-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin-bottom: 20px;
}

.detail-title {
  font-size: 25px;
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  background: var(--brand-soft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.detail-meta-item strong {
  color: var(--ink);
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b5471f, #1f6f63);
  color: #f7f2ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  flex-shrink: 0;
}

.author-info h2 {
  font-size: 17px;
  margin-bottom: 2px;
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

/* 富文本正文 */
.rich-content {
  font-size: 15.5px;
  color: var(--ink);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.rich-content p {
  margin: 0 0 12px;
}

.rich-content h1,
.rich-content h2,
.rich-content h3 {
  margin: 18px 0 10px;
}

.rich-content h2 {
  font-size: 19px;
}

.rich-content h3 {
  font-size: 17px;
}

.rich-content ul,
.rich-content ol {
  margin: 0 0 12px;
  padding-left: 24px;
}

.rich-content li {
  margin-bottom: 5px;
}

.rich-content blockquote {
  margin: 0 0 12px;
  padding: 8px 14px;
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  color: var(--ink-2);
}

.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.rich-content a {
  color: var(--brand-deep);
  text-decoration: underline;
}

.rich-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

.rich-content th,
.rich-content td {
  border: 1px solid var(--line);
  padding: 6px 10px;
}

.rich-content pre {
  background: #f5f2ef;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
}

.rich-content code {
  background: #f5f2ef;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13.5px;
}

/* ---------- 评论 ---------- */

.comment-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
}

.comment-form {
  margin-bottom: 20px;
}

.comment-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.comment-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
}

.comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c58a68, #a9431d);
  color: #fdf6f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.comment-content {
  font-size: 15px;
  color: var(--ink);
  padding-left: 38px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.comment-foot {
  padding-left: 38px;
  margin-top: 6px;
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

.comment-link-btn {
  background: none;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  font-family: inherit;
}

.comment-link-btn:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.comment-link-btn.danger:hover {
  color: #b03a2e;
}

.reply-list {
  margin: 10px 0 0 38px;
  padding: 10px 14px;
  background: #faf7f4;
  border-radius: 8px;
  border-left: 3px solid var(--teal);
}

.reply-item {
  padding: 8px 0;
  border-bottom: 1px dashed #eae2da;
}

.reply-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reply-item:first-child {
  padding-top: 0;
}

.reply-content {
  font-size: 14.5px;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.reply-to {
  color: var(--brand-deep);
}

.reply-form {
  margin: 10px 0 0 38px;
  padding: 12px 14px;
  background: var(--brand-soft);
  border-radius: 8px;
}

.reply-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

/* ---------- 富文本编辑器 ---------- */

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 6px;
  background: #faf7f4;
}

.editor-btn {
  min-width: 32px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  padding: 0 8px;
  font-family: inherit;
}

.editor-btn:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-deep);
}

.editor-area {
  width: 100%;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  padding: 12px 14px;
  outline: none;
  font-size: 15.5px;
  line-height: 1.7;
  background: #fff;
  overflow-y: auto;
}

.editor-area:focus {
  border-color: var(--brand);
}

.editor-area:empty::before {
  content: attr(data-placeholder);
  color: var(--ink-3);
}

.editor-area ul,
.editor-area ol {
  margin: 0 0 10px;
  padding-left: 24px;
}

.editor-area blockquote {
  margin: 0 0 10px;
  padding: 6px 12px;
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
}

.editor-count {
  text-align: right;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ---------- 我的信息 ---------- */

.info-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.info-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  font-family: inherit;
}

.info-tab:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.info-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.info-tab-content {
  display: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.info-tab-content.show {
  display: block;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 90px;
  color: var(--ink-3);
  font-size: 14px;
  flex-shrink: 0;
}

.info-value {
  flex: 1;
  font-size: 15px;
}

.info-value input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.info-value input:focus {
  border-color: var(--brand);
}

.my-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.my-item:last-child {
  border-bottom: none;
}

.my-item-title {
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 4px;
}

.my-item-meta {
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.my-item-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.my-item-content {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 4px;
}

/* ---------- 提示与空态 ---------- */

.empty-tip {
  text-align: center;
  color: var(--ink-3);
  padding: 26px 10px;
  font-size: 14px;
}

.loading-tip {
  text-align: center;
  color: var(--ink-3);
  padding: 26px 10px;
  font-size: 14px;
}

#globalToast {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) translateY(16px);
  background: rgba(36, 48, 62, 0.92);
  color: #fff;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 3000;
  max-width: 86vw;
  text-align: center;
}

#globalToast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 弹窗 ---------- */

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(24, 32, 42, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
  overflow-y: auto;
}

.modal-mask.show {
  display: flex;
}

.modal-box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  margin: auto;
}

.modal-box-wide {
  max-width: 620px;
}

.modal-box h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--ink);
}

/* ---------- 私信 ---------- */

.pm-view-header {
  margin-bottom: 12px;
}

.pm-title {
  font-size: 16px;
  font-weight: 600;
}

.pm-messages {
  height: 320px;
  overflow-y: auto;
  background: #faf7f4;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.pm-message {
  margin-bottom: 12px;
}

.pm-bubble {
  display: inline-block;
  max-width: 78%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14.5px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.pm-message.mine {
  text-align: right;
}

.pm-message.mine .pm-bubble {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pm-time {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 3px;
}

.pm-send-area {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.pm-send-area textarea {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  min-height: 58px;
  resize: vertical;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
}

.pm-send-area textarea:focus {
  border-color: var(--brand);
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 24px 16px 28px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.friend-links {
  margin-bottom: 14px;
}

.friend-links h4 {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
}

.friend-links-list a {
  color: var(--ink-2);
}

.friend-links-list a:hover {
  color: var(--brand-deep);
}

.footer-info {
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.9;
}

.footer-info a {
  color: var(--ink-3);
}

/* ---------- 移动端适配 ---------- */

@media (max-width: 720px) {
  .header-inner {
    padding: 10px 12px;
    gap: 8px 12px;
  }

  .site-logo {
    font-size: 17px;
  }

  .hd-logo-mark {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 5px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .top-actions {
    order: 2;
    margin-left: auto;
  }

  .auth-area {
    order: 4;
    margin-left: 0;
  }

  .page-main {
    padding: 16px 12px 32px;
  }

  .hero {
    padding: 28px 18px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero .slogan-main {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .hero-stats {
    gap: 18px;
  }

  .detail-card,
  .comment-section,
  .info-tab-content {
    padding: 16px 14px;
  }

  .detail-title {
    font-size: 21px;
  }

  .comment-content,
  .comment-foot {
    padding-left: 0;
  }

  .reply-list,
  .reply-form {
    margin-left: 8px;
  }

  .comment-avatar {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .pager button {
    padding: 5px 11px;
    font-size: 13px;
  }

  .modal-box {
    padding: 20px 16px;
  }
}
