:root {
  --jade: #2e8b78;
  --jade-dark: #226b5c;
  --jade-light: #e8f4f1;
  --gold: #c8963e;
  --ink: #1f2d2b;
  --muted: #7b8d8a;
  --line: #e3ebe9;
  --bg: #f4f8f7;
  --white: #ffffff;
  --danger: #d9534f;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(31, 45, 43, .05);
  --shadow-lg: 0 12px 34px rgba(31, 45, 43, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #f4f8f7 0%, #eef4f2 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--jade); text-decoration: none; }
a:hover { color: var(--jade-dark); }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .5px;
}

.brand .coin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #fdf8ee;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 1px;
  line-height: 1;
}

.topbar .spacer { flex: 1; }

/* ---------- 容器 ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 60px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.page-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .5px;
}

.page-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}

.btn:hover { border-color: #cfe0dc; box-shadow: var(--shadow); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
  box-shadow: 0 4px 12px rgba(46, 139, 120, .22);
}
.btn-primary:hover { background: var(--jade-dark); border-color: var(--jade-dark); color: #fff; }

.btn-ghost { background: transparent; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); background: #fdf3f3; }
.btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 8px; }

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

.card-pad { padding: 22px 24px; }

/* ---------- 搜索栏 ---------- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.toolbar input[type="text"],
.toolbar select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  background: #fbfdfc;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.toolbar input[type="text"] { min-width: 220px; flex: 1; max-width: 320px; }

.toolbar input[type="text"]:focus,
.toolbar select:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(46, 139, 120, .12);
  background: #fff;
}

/* ---------- 列表 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 18px;
}

.coin-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}

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

.coin-thumb {
  position: relative;
  height: 172px;
  background: linear-gradient(135deg, #eef6f4, #e2edea);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.coin-card:hover .coin-thumb img { transform: scale(1.05); }

.coin-thumb .empty {
  color: #b6c7c4;
  font-size: 12px;
  letter-spacing: 2px;
}

.coin-thumb .count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(31, 45, 43, .62);
  color: #fff;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.coin-body { padding: 14px 16px 8px; flex: 1; }

.coin-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
}

.coin-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}

.coin-meta {
  color: var(--muted);
  font-size: 12.5px;
  display: grid;
  gap: 3px;
}

.coin-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.coin-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #f1f6f5;
  align-items: center;
}

.coin-actions .grow { flex: 1; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.tag-同模伤 { background: #eaf3ff; color: #3672c4; }
.tag-固定版 { background: #fff3e0; color: #b5792a; }
.tag-批量假 { background: #fdeceb; color: #c1443f; }
.tag-其他 { background: #eeeff2; color: #6b7280; }

.tag-cat-古钱币 { background: var(--jade-light); color: var(--jade-dark); }
.tag-cat-铜元 { background: #fbeee0; color: #a5713a; }
.tag-cat-银元 { background: #eef1f5; color: #5c6b7d; }
.tag-cat-其他 { background: #eeeff2; color: #6b7280; }

/* ---------- 空状态 ---------- */
.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}

.empty-state .icon { font-size: 40px; opacity: .5; }
.empty-state h3 { color: var(--ink); font-weight: 500; margin: 14px 0 6px; }

/* ---------- 分页 ---------- */
.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.pager a, .pager span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.pager .current { background: var(--jade); border-color: var(--jade); color: #fff; }
.pager .disabled { color: #c3cfcd; background: #fafcfc; }

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 20px; }

.form-row > label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
  color: #354744;
}

.form-row .required::after { content: " *"; color: var(--danger); }

.form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fbfdfc;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.form-control:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(46, 139, 120, .12);
  background: #fff;
}

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

.hint { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* 类型选择 */
.type-picker { display: flex; gap: 10px; flex-wrap: wrap; }

.type-picker label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: #fbfdfc;
  transition: all .18s;
  font-size: 13px;
}

.type-picker input { display: none; }
.type-picker label:hover { border-color: #cfe0dc; }
.type-picker input:checked + span { color: var(--jade-dark); font-weight: 600; }
.type-picker label:has(input:checked) {
  border-color: var(--jade);
  background: var(--jade-light);
  box-shadow: 0 0 0 3px rgba(46, 139, 120, .10);
}

/* ---------- 富文本编辑器 ---------- */
.editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}

.editor:focus-within {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(46, 139, 120, .10);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: #fafcfc;
  border-bottom: 1px solid var(--line);
}

.editor-toolbar button {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  color: #47585a;
  font-family: inherit;
  transition: all .15s;
}

.editor-toolbar button:hover { background: #eef4f2; color: var(--jade-dark); }
.editor-toolbar .sep { width: 1px; background: var(--line); margin: 4px 5px; }

.editor-body {
  min-height: 220px;
  max-height: 520px;
  overflow-y: auto;
  padding: 16px 18px;
  outline: none;
  font-size: 14.5px;
  line-height: 1.85;
}

.editor-body:empty::before {
  content: attr(data-placeholder);
  color: #b0bfbd;
}

.editor-body img { max-width: 100%; border-radius: 8px; }
.editor-body blockquote {
  margin: 10px 0;
  padding: 6px 14px;
  border-left: 3px solid var(--jade);
  background: var(--jade-light);
  color: #43575a;
  border-radius: 0 8px 8px 0;
}
.editor-body h2 { font-size: 18px; }
.editor-body h3 { font-size: 16px; }
.editor-body table { border-collapse: collapse; }
.editor-body table td, .editor-body table th { border: 1px solid var(--line); padding: 6px 10px; }

/* ---------- 拖拽上传 ---------- */
.dropzone {
  border: 1.5px dashed #c6d9d5;
  border-radius: 12px;
  background: #fafdfc;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
}

.dropzone:hover { border-color: var(--jade); background: #f3faf8; }

.dropzone.dragover {
  border-color: var(--jade);
  background: var(--jade-light);
  box-shadow: 0 0 0 4px rgba(46, 139, 120, .10);
  transform: scale(1.005);
}

.dropzone .dz-icon { font-size: 28px; color: var(--jade); opacity: .75; }
.dropzone .dz-title { font-size: 14px; margin-top: 8px; color: #354744; }
.dropzone .dz-title b { color: var(--jade-dark); }
.dropzone .dz-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.upload-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.upload-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7fbfa;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  animation: fadeIn .25s ease;
}

.upload-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.upload-tools {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  opacity: 0;
  transition: opacity .18s;
}

.upload-item:hover .upload-tools { opacity: 1; }

.upload-item .crop,
.upload-item .remove {
  height: 22px;
  border: none;
  border-radius: 6px;
  background: rgba(31, 45, 43, .68);
  color: #fff;
  font-size: 11.5px;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  transition: background .18s;
  backdrop-filter: blur(3px);
}

.upload-item .remove { width: 22px; padding: 0; font-size: 14px; }
.upload-item .crop:hover { background: var(--jade); }
.upload-item .remove:hover { background: var(--danger); }

.upload-item .name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 7px;
  font-size: 10.5px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-item .state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .82);
  font-size: 12px;
  color: var(--jade-dark);
}

@keyframes fadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ---------- 详情页 ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
}

.meta-list { display: grid; gap: 12px; }

.meta-list .item { border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.meta-list .item:last-child { border-bottom: none; padding-bottom: 0; }
.meta-list .k { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.meta-list .v { font-size: 14px; word-break: break-all; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  background: #f3f8f7;
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}

.gallery figure:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 3px solid var(--jade);
  line-height: 1.2;
}

.rich-content { font-size: 14.5px; line-height: 1.9; word-break: break-word; }
.rich-content img { max-width: 100%; border-radius: 8px; }
.rich-content blockquote {
  margin: 10px 0; padding: 6px 14px; border-left: 3px solid var(--jade);
  background: var(--jade-light); border-radius: 0 8px 8px 0; color: #43575a;
}
.rich-content table { border-collapse: collapse; width: 100%; }
.rich-content table td, .rich-content table th { border: 1px solid var(--line); padding: 7px 11px; }
.rich-content p { margin: 0 0 10px; }

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 19, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  overflow: hidden;
  backdrop-filter: blur(3px);
}
.lightbox.show { display: flex; animation: fadeIn .2s ease; }

.lb-stage {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 78px;
  box-sizing: border-box;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  transform-origin: center center;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}
.lightbox img.zoomed { cursor: grab; }
.lightbox img.dragging { cursor: grabbing; }

.lightbox .close {
  position: absolute; top: 20px; right: 26px; color: #fff; font-size: 26px;
  cursor: pointer; line-height: 1; opacity: .8; z-index: 2;
}
.lightbox .close:hover { opacity: 1; }

.lb-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 26px;
  font-family: inherit;
  line-height: 1;
  padding: 0 0 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .18s, transform .18s;
  z-index: 2;
}
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }
.lb-nav.prev:hover { transform: translateX(-2px); }
.lb-nav.next:hover { transform: translateX(2px); }

.lb-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.lb-counter { color: rgba(255, 255, 255, .88); font-size: 13px; letter-spacing: .5px; }
.lb-hint { color: rgba(255, 255, 255, .48); font-size: 11.5px; }

/* ---------- 图片裁剪面板 ---------- */
.crop-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 20, 19, .72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 24px;
  backdrop-filter: blur(3px);
}

.crop-mask.show { display: flex; animation: fadeIn .2s ease; }

.crop-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-width: 94vw;
  max-height: 94vh;
  animation: fadeIn .2s ease;
}

.crop-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.crop-head .crop-name { font-weight: 400; font-size: 12px; color: var(--muted); }

.crop-head .crop-close {
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s;
}
.crop-head .crop-close:hover { color: var(--ink); }

.crop-body {
  padding: 20px;
  overflow: auto;
  display: flex;
  justify-content: center;
}

.crop-canvas {
  position: relative;
  display: inline-block;
  line-height: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.crop-canvas > img {
  display: block;
  max-width: min(780px, 78vw);
  max-height: 56vh;
  width: auto;
  height: auto;
  -webkit-user-drag: none;
}

.crop-box {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 9999px rgba(12, 20, 19, .5);
  cursor: move;
  touch-action: none;
}

.crop-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .38) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .38) 1px, transparent 1px);
  background-size: 33.334% 33.334%;
  background-position: -1px -1px;
}

.crop-handle {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  touch-action: none;
}

.crop-handle[data-dir="nw"] { left: 0; top: 0; transform: translate(-50%, -50%); cursor: nwse-resize; }
.crop-handle[data-dir="n"]  { left: 50%; top: 0; transform: translate(-50%, -50%); cursor: ns-resize; }
.crop-handle[data-dir="ne"] { left: 100%; top: 0; transform: translate(-50%, -50%); cursor: nesw-resize; }
.crop-handle[data-dir="e"]  { left: 100%; top: 50%; transform: translate(-50%, -50%); cursor: ew-resize; }
.crop-handle[data-dir="se"] { left: 100%; top: 100%; transform: translate(-50%, -50%); cursor: nwse-resize; }
.crop-handle[data-dir="s"]  { left: 50%; top: 100%; transform: translate(-50%, -50%); cursor: ns-resize; }
.crop-handle[data-dir="sw"] { left: 0; top: 100%; transform: translate(-50%, -50%); cursor: nesw-resize; }
.crop-handle[data-dir="w"]  { left: 0; top: 50%; transform: translate(-50%, -50%); cursor: ew-resize; }

.crop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}

.crop-size { font-size: 12.5px; color: var(--muted); }

/* ---------- 提示条 ---------- */
.flash {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 11px;
  margin-bottom: 18px;
  font-size: 13.5px;
  animation: fadeIn .25s ease;
}

.flash-success { background: #eaf7f2; color: #1f7a63; border: 1px solid #cbe9df; }
.flash-error { background: #fdf1f0; color: #b3453f; border: 1px solid #f3d6d4; }

/* ---------- 对话框 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 30, .45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  padding: 26px 28px;
  width: 360px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: fadeIn .2s ease;
}
.modal h3 { margin: 0 0 8px; font-size: 16px; }
.modal p { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.modal .actions { display: flex; gap: 10px; justify-content: center; }

/* ---------- 表单底部操作 ---------- */
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
}

/* ---------- 登录 / 注册 ---------- */
.auth-card {
  max-width: 420px;
  margin: 32px auto 0;
}

.auth-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .5px;
}

.auth-sub {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.auth-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-nav .who {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.auth-nav .who b { color: var(--ink); font-weight: 600; }

.badge-admin {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fdf3e3;
  color: #b5792a;
  border: 1px solid #f0dfc2;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .container { padding: 18px 16px 48px; }
  .topbar-inner { padding: 0 16px; }
}
