/* ============================================================
   留言板 · 共享样式
   配色：青绿 + 暖橙点缀（米白底），响应式适配桌面 / 移动端
   ============================================================ */

:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #1c1917;
  --ink-2: #57534e;
  --ink-3: #a8a29e;
  --line: #e7e5e0;
  --line-strong: #d6d3cd;

  --primary: #0f766e;
  --primary-strong: #115e59;
  --primary-soft: #ccfbf1;
  --primary-softer: #f0fdfa;
  --accent: #ea580c;
  --accent-soft: #ffedd5;

  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --ok: #16a34a;
  --ok-soft: #f0fdf4;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 8px 24px rgba(28, 25, 23, .06);
  --shadow-lg: 0 4px 12px rgba(28, 25, 23, .08), 0 20px 48px rgba(28, 25, 23, .10);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(15, 118, 110, .08), transparent 60%),
    radial-gradient(900px 420px at -10% 8%, rgba(234, 88, 12, .06), transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: 14px;
  line-height: 1;
}

input, textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  background: #fff;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input::placeholder, textarea::placeholder { color: var(--ink-3); }

input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(15, 118, 110, .14);
  background: #fff;
}

textarea { resize: vertical; min-height: 120px; }

.field.invalid input,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3.5px rgba(220, 38, 38, .10);
  background: #fffafa;
}

/* ---------- 布局骨架 ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.main { flex: 1; padding: 32px 0 56px; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: linear-gradient(120deg, #134e4a 0%, #0f766e 55%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .25) inset, 0 10px 30px rgba(19, 78, 74, .22);
  position: sticky; top: 0; z-index: 50;
}

.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 13px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid; place-items: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.brand h1 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: .2px; line-height: 1.25; }
.brand p { margin: 2px 0 0; font-size: 12px; opacity: .82; }

.topbar-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.link-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px;
  padding: 8px 15px;
  transition: background .18s ease, transform .18s ease;
}
.link-pill:hover { background: rgba(255, 255, 255, .24); text-decoration: none; transform: translateY(-1px); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.card-head h2 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-head .hint { font-size: 12px; color: var(--ink-3); font-weight: 400; }

.card-body { padding: 22px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field > label .req { color: var(--danger); margin-left: 2px; }

.err-msg {
  font-size: 12px; color: var(--danger);
  display: none; align-items: center; gap: 4px;
}
.field.invalid .err-msg { display: inline-flex; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  transition: background .18s ease, transform .16s ease, box-shadow .18s ease, border-color .18s ease;
  user-select: none;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(15, 118, 110, .30); }
.btn-primary:hover { background: var(--primary-strong); box-shadow: 0 6px 18px rgba(15, 118, 110, .34); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(234, 88, 12, .26); }
.btn-accent:hover { background: #c2410c; }

.btn-danger { background: var(--danger); color: #fff; box-shadow: 0 4px 14px rgba(220, 38, 38, .26); }
.btn-danger:hover { background: #b91c1c; }

.btn-ghost {
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); background: #fafaf9; }

.btn-soft { background: var(--danger-soft); color: var(--danger); }
.btn-soft:hover { background: #fee2e2; }

.btn-sm { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 留言列表 ---------- */
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 16px; gap: 12px;
}
.section-title h2 { margin: 0; font-size: 17px; font-weight: 700; }
.section-title .count {
  font-size: 12.5px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); padding: 4px 11px; border-radius: 999px;
}

.empty {
  text-align: center; padding: 52px 20px; color: var(--ink-3);
}
.empty .empty-icon { font-size: 40px; margin-bottom: 10px; opacity: .7; }
.empty p { margin: 0; font-size: 14px; }

.msg-list { display: flex; flex-direction: column; gap: 16px; }

.msg-item { animation: rise .35s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg-card { padding: 20px 22px; }

.msg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 2px 8px rgba(15, 118, 110, .25);
}
.avatar.accent { background: linear-gradient(135deg, #ea580c, #f59e0b); }

.msg-meta { min-width: 0; flex: 1; }
.msg-name { font-weight: 700; font-size: 15px; word-break: break-all; }
.msg-time { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

.msg-body { font-size: 14.5px; color: var(--ink); word-break: break-word; white-space: pre-wrap; margin: 0 0 12px; }

.msg-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--line); padding-top: 11px; gap: 10px;
}

.comment-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  padding: 6px 4px; border-radius: 8px;
  transition: color .15s ease;
}
.comment-toggle:hover { color: var(--primary-strong); text-decoration: none; }
.comment-toggle .caret { display: inline-block; transition: transform .22s ease; }
.comment-toggle.open .caret { transform: rotate(180deg); }

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

/* 评论区块 */
.comments-wrap { display: none; margin-top: 14px; }
.comments-wrap.open { display: block; animation: rise .28s ease both; }

.comments-box {
  background: var(--primary-softer);
  border: 1px solid #d7f0e8;
  border-radius: 12px;
  padding: 14px 16px;
}

.comments-box h3 { margin: 0 0 10px; font-size: 13px; color: var(--primary-strong); }

.comment-item {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid rgba(15, 118, 110, .10);
  font-size: 13.5px;
}
.comment-item:last-child { border-bottom: none; padding-bottom: 2px; }

.comment-avatar {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
}
.comment-content { min-width: 0; flex: 1; }
.comment-name { font-weight: 600; font-size: 13px; }
.comment-text { word-break: break-word; white-space: pre-wrap; margin-top: 1px; }
.comment-time { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

.comment-form { display: flex; gap: 10px; margin-top: 12px; }
.comment-form input {
  border-radius: 999px; padding: 9px 16px; font-size: 13px;
  border-color: #cbe8df;
}
.comment-form .btn { flex: none; border-radius: 999px; padding: 9px 18px; }

/* ---------- 管理页 ---------- */
.admin-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.stat-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-pill {
  flex: 1; min-width: 150px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow);
}
.stat-pill .num { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat-pill .label { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.stat-pill.danger .num { color: var(--danger); }

.admin-item { padding: 18px 22px; }
.admin-item + .admin-item { border-top: 1px solid var(--line); }

.admin-badge {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 3px 9px; border-radius: 999px;
  margin-left: 8px; vertical-align: 2px;
}

.contact-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-2);
  background: #fafaf9; border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px; margin-top: 6px;
}

.comments-admin {
  margin-top: 12px; background: #fbfaf8;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.comments-admin .ca-title { font-size: 12px; font-weight: 700; color: var(--ink-3); margin: 0 0 8px; }
.ca-item { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.ca-item:last-child { border-bottom: none; }
.ca-item .ca-body { flex: 1; min-width: 0; }
.ca-item .ca-text { word-break: break-word; white-space: pre-wrap; }
.ca-item .ca-meta { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 底部 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
  padding: 18px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer .beian { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--ink-3); }
.footer .beian:hover { color: var(--primary); text-decoration: none; }
.footer .dot { margin: 0 6px; opacity: .6; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none; width: min(92vw, 420px);
}

.toast {
  display: flex; align-items: center; gap: 9px;
  background: #1c1917; color: #fff;
  padding: 11px 18px; border-radius: 12px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  animation: toastIn .28s cubic-bezier(.2, .9, .3, 1.2) both;
  max-width: 100%;
}
.toast.hide { animation: toastOut .25s ease both; }

.toast.ok { background: #14532d; }
.toast.ok .toast-ico { color: #4ade80; }
.toast.err { background: #7f1d1d; }
.toast.err .toast-ico { color: #f87171; }
.toast.warn { background: #78350f; }
.toast.warn .toast-ico { color: #fbbf24; }

.toast-ico { font-size: 15px; line-height: 1; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-14px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-10px) scale(.96); }
}

/* ---------- 确认对话框 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(28, 25, 23, .45);
  backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-mask.show { display: flex; animation: fadeIn .18s ease both; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: min(420px, 100%);
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn .24s cubic-bezier(.2, .9, .3, 1.15) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head { display: flex; align-items: center; gap: 10px; padding: 18px 22px 0; }
.modal-ico {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 18px;
}
.modal-ico.danger { background: var(--danger-soft); color: var(--danger); }
.modal-ico.warn { background: var(--accent-soft); color: var(--accent); }
.modal-title { font-size: 16px; font-weight: 700; margin: 0; }

.modal-body { padding: 12px 22px 6px; font-size: 14px; color: var(--ink-2); }
.modal-body strong { color: var(--ink); }

.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .layout {
    grid-template-columns: 1fr !important;
  }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .container { width: min(100% - 28px, 1080px); }
  .main { padding: 20px 0 40px; }
  .card-body { padding: 18px; }
  .msg-card { padding: 16px 16px; }
  .comment-form { flex-direction: column; }
  .comment-form .btn { width: 100%; }
  .brand p { display: none; }
  .topbar-actions .link-pill { padding: 8px 12px; font-size: 12.5px; }
}

@media (max-width: 460px) {
  .brand h1 { font-size: 16.5px; }
  .brand-mark { width: 36px; height: 36px; font-size: 17px; border-radius: 11px; }
  .msg-head { flex-wrap: wrap; }
  .stat-pill { min-width: 100%; }
}

/* ---------- 无障碍 ---------- */
:focus-visible {
  outline: 2.5px solid rgba(15, 118, 110, .55);
  outline-offset: 2px;
}

/* ---------- 图片上传（留言页） ---------- */
.upload-area {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; text-align: center;
  background: #fcfcfb;
  transition: border-color .18s ease, background .18s ease;
}
.upload-area:hover { border-color: var(--primary); background: var(--primary-softer); }
.upload-area.drag { border-color: var(--accent); background: var(--accent-soft); }
.upload-plus {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--primary-soft); color: var(--primary);
  font-size: 22px; font-weight: 700; display: grid; place-items: center;
}
.upload-tip { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.upload-tip em { font-style: normal; font-size: 12px; color: var(--ink-3); }

.img-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.img-preview {
  position: relative; width: 84px; height: 84px; border-radius: 10px;
  overflow: hidden; border: 1px solid var(--line);
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview .img-remove {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px;
  display: grid; place-items: center; cursor: pointer; line-height: 1;
}
.img-preview .img-remove:hover { background: var(--danger); }

/* ---------- 留言图片 ---------- */
.msg-images { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.msg-img {
  width: 128px; height: 96px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); cursor: zoom-in;
  transition: transform .16s ease, box-shadow .16s ease;
}
.msg-img:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- 图片灯箱 ---------- */
.lightbox-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 18, 16, .88); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.lightbox-mask.show { display: flex; animation: fadeIn .18s ease both; }
.lightbox-mask img {
  max-width: 100%; max-height: 92vh; border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  animation: modalIn .24s cubic-bezier(.2, .9, .3, 1.15) both;
}

/* ---------- 后台登录 ---------- */
.login-mask {
  position: fixed; inset: 0; z-index: 400;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(13, 148, 136, .5), transparent 60%),
    linear-gradient(150deg, #134e4a, #0d9488);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.login-mask.show { display: flex; animation: fadeIn .2s ease both; }
.login-card {
  width: min(360px, 100%); background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 28px 26px 22px;
  animation: modalIn .28s cubic-bezier(.2, .9, .3, 1.15) both;
}
.login-head { font-size: 18px; font-weight: 800; text-align: center; }
.login-sub { font-size: 13px; color: var(--ink-3); text-align: center; margin: 6px 0 18px; }
.login-card form { display: flex; flex-direction: column; gap: 12px; }
.login-hint { font-size: 12px; color: var(--ink-3); text-align: center; margin: 14px 0 0; }

.login-status {
  font-size: 13px; font-weight: 600; text-align: center;
  min-height: 20px; line-height: 1.4; padding: 0 2px;
}
.login-status.ok { color: var(--ok); }
.login-status.err { color: var(--danger); }
.login-status.loading { color: var(--ink-3); }

.pwd-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }

/* ---------- 用户栏（顶栏） ---------- */
.user-bar { display: flex; align-items: center; gap: 10px; }
.user-guest { display: flex; align-items: center; gap: 8px; }
.user-info { display: flex; align-items: center; gap: 8px; }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; flex: none;
}
.user-name { font-size: 13.5px; font-weight: 600; color: #fff; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-logout { padding: 6px 12px; font-size: 12px; }
.link-accent { background: rgba(234, 88, 12, .85); border-color: rgba(255, 255, 255, .35); }
.link-accent:hover { background: rgba(234, 88, 12, 1); }

/* ---------- 登录/注册弹窗 ---------- */
.auth-mask {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(28, 25, 23, .5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity .2s ease;
}
.auth-mask.show { opacity: 1; }
.auth-modal {
  width: min(380px, 100%); background: #fff; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  padding: 24px 24px 20px; position: relative;
  animation: modalIn .28s cubic-bezier(.2, .9, .3, 1.15) both;
}
.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #f5f5f4; color: var(--ink-3);
  font-size: 14px; display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.auth-close:hover { background: #e7e5e4; color: var(--ink); }
.auth-tabs {
  display: flex; gap: 0; margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}
.auth-tab {
  flex: 1; padding: 10px 0; font-size: 14px; font-weight: 600;
  color: var(--ink-3); background: transparent;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .15s ease, border-color .15s ease;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-tab:hover { color: var(--ink-2); }
.auth-status {
  font-size: 13px; font-weight: 600; text-align: center;
  min-height: 20px; line-height: 1.4; margin-bottom: 12px;
}
.auth-status.ok { color: #16a34a; }
.auth-status.err { color: var(--danger); }
.auth-status.info { color: var(--ink-3); }
.auth-head {
  font-size: 18px; font-weight: 700; color: var(--ink);
  text-align: center; margin-bottom: 4px;
}
.auth-subtitle {
  font-size: 13px; color: var(--danger); text-align: center;
  margin-bottom: 16px; line-height: 1.5;
}
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form .field { gap: 5px; }
.auth-form .btn { margin-top: 4px; }

/* ---------- 未登录提示（留言表单区） ---------- */
.login-required {
  text-align: center; padding: 32px 16px 24px;
}
.lr-icon { font-size: 36px; margin-bottom: 10px; }
.lr-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.lr-desc { font-size: 13px; color: var(--ink-3); margin: 0 0 18px; }
.lr-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lr-btns .btn { padding: 10px 20px; font-size: 13.5px; }

/* ---------- 评论区登录提示 ---------- */
.comment-login-hint {
  font-size: 12.5px; color: var(--ink-3);
  padding: 8px 4px 2px; text-align: center;
}
.comment-login-hint a { color: var(--primary); font-weight: 600; text-decoration: underline; }
