:root {
  --navy-950: #07172f;
  --navy-900: #0a2450;
  --navy-800: #103a78;
  --blue-600: #1463df;
  --blue-700: #0d4fbd;
  --aqua-600: #008d7c;
  --aqua-100: #dff8f3;
  --blue-100: #eaf1fe;
  --ink: #10213e;
  --muted: #60708b;
  --line: #dce5f1;
  --bg: #f8faff;
  --surface: #ffffff;
  --surface-soft: #f1f5fb;
  --danger: #c83443;
  --shadow-sm: 0 2px 8px rgba(14, 36, 77, .05);
  --shadow: 0 16px 40px rgba(14, 36, 77, .09);
  --shadow-lg: 0 28px 72px rgba(7, 23, 47, .2);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --primary: var(--blue-600);
  --primary-dark: var(--blue-700);
  --bg-soft: var(--surface-soft);
  --accent: var(--aqua-600);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-mark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--ink);
  line-height: 1;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .3px;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--blue-100);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: 30px;
  margin: 0 0 8px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  color: #fff;
  padding: 64px 0;
}

.page-hero h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.page-hero p {
  margin: 0;
  color: #D6E4FF;
  max-width: 680px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(255, 255, 255, .22);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
  background: transparent;
}

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

.btn-solid:hover {
  background: var(--primary-dark);
  color: #fff;
}

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

/* ---------- 首页 Hero ---------- */
.hero {
  color: #fff;
  padding: 96px 0 88px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin: 18px 0 6px;
  letter-spacing: 2px;
}

.hero .tagline {
  font-size: 20px;
  color: #D6E4FF;
  margin: 0 0 10px;
}

.hero .subline {
  color: #AFC8F2;
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta span {
  font-size: 13px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 6px 14px;
  color: #D6E4FF;
}

/* ---------- 服务卡片 ---------- */
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 14px;
}

.card .service-class {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  background: var(--blue-100);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
}

/* ---------- 资讯列表 ---------- */
.article-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.article-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.article-date {
  flex: 0 0 76px;
  text-align: center;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 10px 4px;
}

.article-date .day {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.article-date .mon {
  font-size: 12px;
  color: var(--muted);
}

.article-body .tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
}

.article-body h3 {
  margin: 2px 0 6px;
  font-size: 18px;
}

.article-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- 论坛 ---------- */
.forum-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.thread-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.thread-table th,
.thread-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.thread-table th {
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.thread-table tr:last-child td {
  border-bottom: 0;
}

.thread-title {
  font-weight: 700;
  color: var(--ink);
}

.thread-title {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.thread-title:hover {
  color: var(--primary);
}

.thread-title small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.thread-meta {
  color: var(--muted);
  font-size: 13px;
}

.tag-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.tag-cat.announce { background: var(--blue-100); color: var(--primary); }
.tag-cat.industry { background: #E6F9F5; color: #008B78; }
.tag-cat.tech { background: #F3EDFF; color: #6B46C1; }
.tag-cat.suggest { background: #FFF3E0; color: #C77700; }

.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFF3E0;
  color: #C77700;
  margin-left: 6px;
}

.status-badge.rejected {
  background: #FDECEC;
  color: #E5484D;
}

.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------- 论坛交互区 ---------- */
.auth-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

.hidden {
  display: none !important;
}

.detail-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 12px;
}

.thread-content {
  white-space: pre-wrap;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.reply-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
}

.reply-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: var(--muted);
}

.tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.msg-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
  cursor: pointer;
}

.msg-item.unread {
  border-left: 4px solid var(--primary);
}

.msg-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 68, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 380px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(10, 31, 68, .25);
  position: relative;
}

.modal h3 {
  margin-top: 0;
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0;
}

.agree-row input {
  width: auto;
  margin: 0;
}

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

.sms-row input {
  flex: 1;
}

.sms-row .btn {
  flex: 0 0 auto;
  padding: 11px 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

/* ---------- 表单 ---------- */
.form-card {
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 99, 229, .12);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- 表格（商标信息） ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: var(--bg-soft);
  width: 180px;
  font-size: 14px;
  color: var(--muted);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- 联系卡片 ---------- */
.contact-card {
  text-align: center;
  padding: 26px 18px;
}

.contact-card h3 {
  font-size: 16px;
  margin: 10px 0 4px;
}

.contact-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- 页脚 ---------- */
.site-footer {
  color: #C6D4EA;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  padding: 52px 20px 36px;
}

.footer-grid h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-grid p {
  font-size: 14px;
  margin: 0 0 8px;
}

.footer-links a {
  display: block;
  color: #C6D4EA;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  color: #8FA4C6;
}

.footer-bottom p {
  margin: 4px 0;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 体验系统覆写 ---------- */
::selection {
  background: #cfe0ff;
  color: var(--navy-950);
}

body {
  background:
    radial-gradient(circle at 85% -10%, rgba(20, 99, 223, .08), transparent 28rem),
    var(--bg);
}

:focus-visible {
  outline: 3px solid rgba(20, 99, 223, .35);
  outline-offset: 3px;
}

.site-header {
  background: rgba(248, 250, 255, .82);
  border-bottom-color: rgba(220, 229, 241, .78);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-950), var(--blue-600));
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(20, 99, 223, .22);
}

.brand-name {
  font-size: 15px;
  letter-spacing: .1px;
}

.site-nav a {
  position: relative;
  border-bottom: 0;
  color: #40506b;
}

.site-nav a::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 690px;
  margin: 0 auto 42px;
}

.section-head h2 {
  color: var(--navy-950);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.6px;
}

.section-head .kicker {
  color: var(--aqua-600);
  background: var(--aqua-100);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  background:
    radial-gradient(circle at 88% 24%, rgba(0, 218, 185, .22), transparent 24rem),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
}

.page-hero::after {
  position: absolute;
  inset: auto -12% -180px auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
}

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

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.card,
.article-item {
  border-color: rgba(220, 229, 241, .9);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 30px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card:hover {
  border-color: #c4d7f5;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.btn {
  min-height: 44px;
  padding: 10px 21px;
  border-radius: var(--radius-sm);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn-solid {
  box-shadow: 0 9px 18px rgba(20, 99, 223, .2);
}

.btn-solid:hover {
  box-shadow: 0 12px 24px rgba(20, 99, 223, .28);
}

.btn-ghost {
  background: rgba(255, 255, 255, .72);
}

.btn-ghost:hover {
  border-color: #b8cbe6;
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 112px;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 220, 186, .3), transparent 22rem),
    radial-gradient(circle at 20% 110%, rgba(57, 126, 255, .38), transparent 30rem),
    linear-gradient(125deg, var(--navy-950), var(--navy-900) 66%, var(--blue-600));
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -260px;
  right: -110px;
  width: 590px;
  height: 590px;
}

.hero::after {
  bottom: -350px;
  left: -140px;
  width: 600px;
  height: 600px;
}

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

.hero h1 {
  font-size: clamp(48px, 8vw, 78px);
  letter-spacing: 5px;
}

.hero .tagline {
  font-size: clamp(18px, 2.5vw, 23px);
}

.hero-meta span {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.service-icon {
  background: linear-gradient(135deg, #e7efff, #e4fbf6);
  border: 1px solid rgba(20, 99, 223, .1);
}

.article-item {
  border-radius: var(--radius);
}

.article-item:hover {
  border-color: #c4d7f5;
  box-shadow: var(--shadow);
}

.article-date {
  background: linear-gradient(145deg, #edf4ff, #f4fbfa);
}

.chip,
.tab {
  min-height: 36px;
  border-radius: var(--radius-sm);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.thread-table {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.thread-table tbody tr {
  transition: background .18s ease;
}

.thread-table tbody tr:hover {
  background: #f7faff;
}

.thread-table th.thread-subject {
  width: 52%;
}

.empty-state {
  text-align: center;
  padding: 24px 0;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin: 14px 0 18px;
  padding: 4px;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
}

.auth-tab {
  flex: 1;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.auth-tab.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(14, 36, 77, .12);
}

.auth-tab:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.auth-switch {
  text-align: center;
  margin-top: 12px;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  min-height: 46px;
  border-color: #cfdcec;
  background: rgba(255, 255, 255, .92);
}

.form-group textarea {
  min-height: auto;
}

.modal {
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.site-footer {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.section-action {
  margin-top: 30px;
  text-align: center;
}

.card-link {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-weight: 700;
}

.card-link a::after {
  display: inline-block;
  margin-left: 5px;
  content: "→";
  transition: transform .18s ease;
}

.card-link a:hover::after {
  transform: translateX(3px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-description,
.contact-qr-note {
  margin-bottom: 0 !important;
}

.contact-qr-note {
  margin-bottom: 12px !important;
}

.contact-qr {
  display: block;
  width: min(180px, 100%);
  height: auto;
  margin: 0 auto;
  border: 8px solid #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.report-card {
  margin-bottom: 24px;
  background: linear-gradient(110deg, #fff, #f3fbfa);
}

.report-card h3,
.form-card h3 {
  margin-top: 0;
}

.pagination-bar,
.pagination-size,
.pagination-nav {
  display: flex;
}

.pagination-bar {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pagination-size,
.pagination-nav {
  gap: 8px;
}

.page-size-select {
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
}

.compose-card {
  margin-top: 32px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

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

  .hero {
    padding: 72px 0 64px;
  }

  .page-hero {
    padding: 60px 0 52px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 48px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .page-hero {
    padding: 48px 0 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .article-item {
    flex-direction: column;
  }

  .forum-toolbar {
    align-items: stretch;
  }

  .auth-area {
    width: 100%;
    justify-content: space-between;
  }

  .forum-feed-table,
  .forum-feed-table tbody,
  .forum-feed-table tr,
  .forum-feed-table td {
    display: block;
    width: 100%;
  }

  .forum-feed-table {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .forum-feed-table thead {
    display: none;
  }

  .forum-feed-table tr {
    position: relative;
    margin-bottom: 12px;
    padding: 17px 17px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .forum-feed-table td {
    min-height: 0;
    padding: 4px 0;
    border: 0;
  }

  .forum-feed-table td.thread-subject {
    padding-bottom: 12px;
  }

  .forum-feed-table td:not(.thread-subject) {
    display: inline-flex;
    width: auto;
    margin-right: 12px;
    color: var(--muted);
    font-size: 12px;
  }

  .forum-feed-table td:not(.thread-subject)::before {
    margin-right: 4px;
    color: #8190a7;
    content: attr(data-label) "：";
  }

  .forum-feed-table td[data-label="分类"]::before {
    display: none;
  }

  .thread-title {
    font-size: 16px;
    line-height: 1.55;
  }

  .pagination-bar,
  .pagination-size,
  .pagination-nav {
    align-items: center;
  }

  .pagination-bar {
    flex-direction: column;
    gap: 12px;
  }

  .pagination-nav {
    width: 100%;
    justify-content: space-between;
  }

  .compose-card {
    margin-top: 24px;
  }
}
