/* ==================== 尊雀网 · 敬古藏珍 ====================
   颜色 / 字体 / 卡片语言对齐 made321.com：
   主橙 #ff6a00 / 深 #e35d00 / 墨字 #222 / 浅灰线 #eee / 浅底 #f6f8fa
   字体：-apple-system / Segoe UI / Roboto / Noto Sans SC
   按钮 8px 圆角、卡片 8px 圆角 + hover 阴影（与 made321 一致） */
:root {
  --brand: #C79A3B; --brand-dark: #9f7826; --brand2: #dfc27a;
  --ink: #222; --mut: #888; --line: #e8e8e8; --bg: #f6f8fa;
  --ok: #16a34a; --warn: #d97706;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans SC', sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; outline: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- 头部（白底，同 made321） ---------- */
.top { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.top-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 34px; width: 34px; display: block; }
.logo b { font-size: 21px; font-weight: 800; color: var(--brand); letter-spacing: -0.3px; }
.logo small { color: var(--mut); font-size: 12px; font-weight: 500; margin-left: 2px; }
.nav { display: flex; gap: 2px; flex: 1; position: relative; }
.nav > a, .nav > .nav-drop > a { padding: 8px 15px; font-size: 17.5px; color: #222; white-space: nowrap; border-bottom: 3px solid transparent; display: block; }
.nav > a.on, .nav > .nav-drop > a.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }
.nav > a:hover, .nav > .nav-drop > a:hover { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop > a::after { content: '▾'; font-size: 11px; margin-left: 4px; color: var(--mut); }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 210px; box-shadow: 0 8px 24px rgba(0,0,0,.16); border-radius: 0 0 8px 8px; z-index: 60; max-height: 72vh; overflow-y: auto; padding: 4px 0; }
.nav-drop:hover .nav-menu, .nav-drop.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 9px 18px; color: #333; font-size: 14px; border-bottom: 1px solid #f5f5f5; }
.nav-menu a:last-child { border-bottom: 0; }
.nav-menu a:hover { background: #fff4ec; color: var(--brand); }
.top-r { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-sw { display: flex; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; font-size: 12px; }
.lang-sw button { padding: 4px 10px; color: #555; background: #fff; }
.lang-sw button.on { background: var(--brand); color: #fff; font-weight: 700; }

/* ---------- 按钮（同 made321：8px 圆角） ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 8px; padding: 11px 22px; font-size: 15px; font-weight: 600; border: 1px solid var(--brand); background: #fff; color: var(--brand); transition: transform .12s ease, box-shadow .12s ease, background .15s ease; }
.btn:hover { box-shadow: 0 4px 14px rgba(255,106,0,.2); }
.btn:active { transform: scale(.94); }
.btn.primary, .btn.red { background: var(--brand); color: #fff; }
.btn.red:hover { background: var(--brand-dark); }
.btn.ink { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.gold { background: #fff; border-color: var(--brand); color: var(--brand); }
.btn.line { border-color: #ccc; color: #444; background: #fff; }
.btn.line:hover { border-color: var(--brand); color: var(--brand); box-shadow: none; }
.btn.sm { padding: 8px 15px; font-size: 13.5px; height: auto; }
.btn.dis { opacity: .5; cursor: not-allowed; }
.burger { display: none; width: 40px; height: 40px; font-size: 22px; color: #333; }

/* ---------- 搜索框：加高一倍（桌面 88px），无分类下拉 ---------- */
.search-bar { display: flex; height: 88px; background: #fff; border: 2px solid var(--brand); border-radius: 6px; overflow: hidden; }
.search-in { flex: 1; border: 0; padding: 0 20px; font-size: 17px; min-width: 0; }
.search-in::placeholder { color: #b5b5b5; }
.photo-btn { width: 64px; border-left: 1px solid #eee; display: grid; place-items: center; font-size: 22px; color: #666; flex: none; background: #fff; }
.search-go { width: 120px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 700; flex: none; }
.search-go:hover { background: var(--brand-dark); }

/* ---------- 通用 ---------- */
.sec { margin-top: 34px; }
.sec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font-size: 22px; font-weight: 800; letter-spacing: 0; }
.sec-h .no { font-size: 12px; color: var(--brand); font-weight: 700; letter-spacing: .1em; }
.sec-h .more { margin-left: auto; font-size: 13px; color: var(--brand); }
.sec-h .more:hover { color: var(--brand-dark); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.mut { color: var(--mut); }
.small { font-size: 13px; }
.tag { display: inline-block; padding: 2px 10px; font-size: 12px; background: #f2f4f7; color: #555; border-radius: 999px; margin-right: 6px; transition: .12s; }
a.tag:hover { border-color: var(--brand); color: var(--brand); background: #fff4ec; }
.tag.gd { background: #fff0e4; color: var(--brand); font-weight: 700; }
.tag.rd { background: var(--brand); color: #fff; }
.tag.gr { background: var(--ok); color: #fff; }
.notice-strip { background: #fff0e4; color: var(--brand-dark); font-size: 13px; padding: 8px 20px; text-align: center; }
.warn-strip { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; color: #9a5b12; font-size: 13px; padding: 10px 16px; margin-top: 14px; }

/* ---------- 首页 hero（橙渐变横幅，同 made321 hero-banner） ---------- */
/* hero：浅灰底（比正文底色深一点）+ 居中 + 毛笔元素 */
.hero { background: #e9edf2; border-bottom: 1px solid #dde3ea; padding: 44px 0 48px; color: #2b2f36; }
.hero-c { text-align: center; }
.hero-c .hero-search, .hero-c .hero-ctas { margin-left: auto; margin-right: auto; }
.hero h1 { color: #1c2027; font-size: 42px; font-weight: 800; letter-spacing: .04em;
  text-shadow: 0 1px 0 #ffffff, 0 3px 3px rgba(28,32,39,.28), 0 8px 18px rgba(28,32,39,.22); }
.hero h1 em { color: var(--brand-dark); font-style: normal; }
.hero .hero-d1 { color: #2b3038; font-size: 16.5px; font-weight: 700; margin: 14px auto 0; text-shadow: 0 1px 0 #fff; }
.hero .hero-d2 { color: #4a5160; font-size: 14.5px; margin: 6px auto 0; }
.hero p, .hero h1 { margin-left: auto; margin-right: auto; }

/* 毛笔涂抹底（黑墨笔触，字在上层） */
.brush-el { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 48' preserveAspectRatio='none'%3E%3Cpath d='M5 10 C 22 3, 44 7, 66 5 C 98 2, 140 6, 168 4 C 188 3, 212 7, 216 12 L 218 34 C 206 42, 182 38, 156 41 C 124 44, 84 40, 52 43 C 30 45, 12 42, 4 37 Z' fill='%231d1d1d'/%3E%3Ccircle cx='217' cy='14' r='2.2' fill='%231d1d1d'/%3E%3Ccircle cx='219' cy='20' r='1.4' fill='%231d1d1d'/%3E%3Ccircle cx='3' cy='30' r='1.8' fill='%231d1d1d'/%3E%3Ccircle cx='214' cy='38' r='1.5' fill='%231d1d1d'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  border: 0 !important; box-shadow: 3px 5px 12px rgba(20,20,20,.35); color: #f3ead6; }
.hero .btn.red, .hero .btn.gold, .hero .btn.line {
  background: #d7dce3 !important; border: 0 !important; color: #2b2f36 !important;
  border-radius: 999px !important; box-shadow: 0 3px 8px rgba(40,46,56,.18); font-weight: 700; padding: 12px 30px; }
.hero .btn.red:hover, .hero .btn.gold:hover, .hero .btn.line:hover { background: #c6cdd8 !important; box-shadow: 0 5px 12px rgba(40,46,56,.22); }
.hero-ctas { justify-content: center; }

/* 红线卡：方形灰底 + 汉代龙纹暗影 */
.redline { position: relative; background: #d9dee5; border: 0 !important; padding: 18px 16px;
  box-shadow: 0 3px 8px rgba(40,46,56,.16); overflow: hidden; }
.redline::before { content: ''; position: absolute; right: -14px; bottom: -16px; width: 132px; height: 132px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23aab3bf' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M34 26 C 62 34, 70 56, 52 66 C 34 76, 38 94, 64 100'/%3E%3Cpath d='M34 26 C 22 30, 14 22, 22 14 C 30 8, 40 12, 40 20'/%3E%3Cpath d='M30 12 L 24 2'/%3E%3Cpath d='M38 10 L 36 0'/%3E%3Ccircle cx='30' cy='21' r='1.6' fill='%23aab3bf'/%3E%3Cpath d='M64 100 C 78 106, 86 96, 76 90'/%3E%3Cpath d='M50 66 C 58 62, 66 64, 68 72'/%3E%3Cpath d='M46 82 C 54 78, 62 80, 64 88'/%3E%3Cpath d='M88 30 C 94 24, 104 26, 104 34 C 104 40, 96 42, 92 38'/%3E%3Cpath d='M14 74 C 8 68, 0 72, 2 80 C 4 86, 12 86, 14 82'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .55; pointer-events: none; }
.redline b { position: relative; color: #8f6f1f; text-shadow: 0 1px 0 #fff; }
.redline span { position: relative; color: #3d434d; }
.hero h1 { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: 0; line-height: 1.3; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p { margin-top: 10px; max-width: 720px; color: #555; font-size: 14.5px; }
.hero-search { margin-top: 22px; max-width: 760px; }
.hero-ctas { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.redlines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.redline { padding: 20px 18px; }
.redline b { display: block; font-size: 14px; color: var(--brand); margin-bottom: 4px; }
.redline span { font-size: 12.5px; color: #777; line-height: 1.5; display: block; }

/* 类目卡（圆角卡片，同 made321 cattile） */
.cat-card { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; transition: .15s; cursor: pointer; }
.cat-card:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.cat-ic { width: 46px; height: 46px; flex: none; }
.cat-card b { display: block; font-size: 15px; }
.cat-card span { font-size: 12px; color: var(--mut); }
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* 藏品卡（同 made321 pcard） */
.pcard { background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.pcard:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); border-color: transparent; }
.pcard .pimg { position: relative; aspect-ratio: 4/3; background: #f0f2f5; overflow: hidden; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pimg .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: #c9cdd4; }
.pcard .pbody { padding: 12px 14px; }
.pcard .ttl { font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.pcard .meta { margin-top: 7px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #888; }
.pcard .av { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }

/* ---------- 发现 ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tabs button { padding: 10px 18px; font-size: 15px; font-weight: 600; color: #777; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.dis-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 22px; margin-top: 18px; align-items: start; }
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sidebox { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.sidebox h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.rank-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; border-bottom: 1px dashed #f0f0f0; }
.rank-row:last-child { border: 0; }
.rank-row .n { color: var(--brand); font-weight: 700; width: 18px; }
.ad-slot { border: 1px dashed #ccc; border-radius: 8px; padding: 12px; text-align: center; font-size: 12px; color: var(--mut); position: relative; }
.ad-slot::before { content: '广告'; position: absolute; left: 0; top: 0; background: #f2f4f7; color: #777; font-size: 10px; padding: 1px 6px; border-radius: 0 0 6px 0; }

/* ---------- 详情页 ---------- */
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; margin-top: 18px; align-items: start; }
.d-gallery .main { aspect-ratio: 1/1; background: #f0f2f5; border: 1px solid var(--line); border-radius: 8px; position: relative; overflow: hidden; }
.d-gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.d-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.d-thumbs button { width: 62px; height: 62px; border: 2px solid var(--line); border-radius: 8px; padding: 0; overflow: hidden; background: #f0f2f5; }
.d-thumbs button.on { border-color: var(--brand); }
.d-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-info h1 { font-size: 24px; line-height: 1.35; font-weight: 800; }
.d-meta { margin-top: 14px; border-top: 2px solid var(--brand); background: #fff; border-radius: 0 0 8px 8px; }
.d-meta .row { display: flex; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.d-meta .row b { width: 92px; flex: none; color: #888; font-weight: 400; }
.d-acts { display: flex; gap: 10px; margin-top: 16px; }
.d-sec { margin-top: 26px; }
.d-sec h3 { font-size: 17px; font-weight: 700; border-left: 4px solid var(--brand); padding-left: 10px; margin-bottom: 12px; }
.result-card { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.result-card .verdict { display: inline-block; padding: 3px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; background: var(--ok); }
.result-card .verdict.v2 { background: var(--warn); }
.result-card .verdict.v3 { background: var(--brand-dark); }
.result-card .verdict.v4 { background: #999; }
.result-card .who { margin-top: 8px; font-size: 13px; color: #888; }
.result-card .basis { margin-top: 10px; font-size: 14px; line-height: 1.7; }
.cmt-box { display: flex; gap: 10px; margin: 12px 0; }
.cmt-box textarea { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; height: 76px; resize: vertical; background: #fff; }
.cmt { padding: 11px 0; border-bottom: 1px solid #f0f0f0; }
.cmt .who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #888; }
.cmt .txt { margin-top: 4px; font-size: 14.5px; }

/* ---------- 发布 ---------- */
.pub-wrap { max-width: 760px; margin: 20px auto; }
.pub-step { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; margin-bottom: 16px; }
.pub-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.pub-step h3 i { width: 24px; height: 24px; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; flex: none; }
.fld { margin-bottom: 14px; }
.fld label { display: block; font-size: 13px; color: #777; margin-bottom: 5px; }
.fld input[type=text], .fld input[type=email], .fld input[type=password], .fld select, .fld textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; transition: border-color .15s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brand); }
.fld textarea { height: 120px; resize: vertical; }
.fld .hint { font-size: 12px; color: var(--mut); margin-top: 4px; }
.img-up { display: flex; gap: 10px; flex-wrap: wrap; }
.img-up .cell { width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 8px; position: relative; overflow: hidden; background: #f0f2f5; }
.img-up .cell img { width: 100%; height: 100%; object-fit: cover; }
.img-up .cell .x { position: absolute; right: 0; top: 0; background: rgba(0,0,0,.55); color: #fff; width: 20px; height: 20px; font-size: 12px; line-height: 20px; text-align: center; border-radius: 0 0 0 6px; }
.img-up .add { width: 92px; height: 92px; border: 1.5px dashed #ccc; border-radius: 8px; display: grid; place-items: center; font-size: 12px; color: var(--mut); cursor: pointer; }
.img-up .add:hover { border-color: var(--brand); color: var(--brand); }
.chk { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; }
.chk input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.quota-bar { background: #fff0e4; color: var(--brand-dark); border-radius: 8px; padding: 12px 18px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.quota-bar b { color: var(--brand); }

/* ---------- 鉴定 ---------- */
.exp-card { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.exp-card .av { width: 54px; height: 54px; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; flex: none; }
.exp-card b { font-size: 16px; }
.exp-card .scope { font-size: 13px; color: #555; margin-top: 4px; }
.exp-card .foot { margin-top: 8px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.experts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ---------- 我的 / 表单页 ---------- */
/* ---------- 会员中心（主页 + 后台） ---------- */
.me-page { margin-top: 18px; }
.me-head { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); padding: 20px 22px; flex-wrap: wrap; }
.me-ava { width: 66px; height: 66px; flex: none; background: #d9dee5; overflow: hidden; display: grid; place-items: center; }
.me-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-ava span { font-size: 28px; font-weight: 800; color: #8b9199; }
.me-ava.sm { width: 56px; height: 56px; } .me-ava.sm span { font-size: 24px; }
.me-ava.big { width: 96px; height: 96px; } .me-ava.big span { font-size: 40px; }
.me-id { flex: 1; min-width: 200px; }
.me-nick { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.me-rn { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border: 1px solid currentColor; }
.me-rn.ok { color: #1a7f45; } .me-rn.rev { color: var(--brand-dark); } .me-rn.no { color: #999; }
.me-sub { font-size: 13px; color: #777; margin-top: 5px; }
.me-bio { font-size: 13.5px; color: #4a5160; margin-top: 7px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.me-acts { display: flex; gap: 8px; flex: none; }
.me-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.me-stats a, .me-stats > a { display: block; background: #fff; padding: 14px 10px; text-align: center; transition: .12s; }
.me-stats a:hover { background: #fafbfc; }
.me-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--brand-dark); }
.me-stats span { font-size: 12px; color: #888; }
.me-wrap { display: grid; grid-template-columns: 208px 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.me-nav { border: 1px solid var(--line); background: #fff; }
.me-nav-t { padding: 12px 18px; font-size: 12px; letter-spacing: .1em; color: #999; border-bottom: 1px solid var(--line); background: #fafbfc; }
.me-nav a { display: flex; align-items: center; padding: 12px 18px; font-size: 14.5px; border-bottom: 1px solid #f2f4f7; color: #333; }
.me-nav a:last-child { border-bottom: 0; }
.me-nav a i { margin-left: auto; font-style: normal; font-size: 12px; color: #999; }
.me-nav a:hover { background: #f7f9fb; }
.me-nav a.on { background: #e6e9ee; color: #1f242b; font-weight: 700; border-left: 3px solid var(--brand); padding-left: 15px; }
.me-nav a.on i { color: #555; }
.me-body { min-width: 0; }
.me-card { padding: 22px 24px; }
.me-h3 { font-size: 15px; font-weight: 800; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #eef1f5; }
.me-h3:first-child { margin-top: 0; }
.me-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.me-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.role-grid label.on { border-color: var(--brand); background: #fdf8ec; }
.role-grid label.on span { color: var(--brand-dark); font-weight: 700; }

/* 会员公开主页 */
.up-wrap { margin-top: 18px; }
.up-hero { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 26px 26px; flex-wrap: wrap; }
.up-main { flex: 1; min-width: 220px; }
.up-main h1 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.up-meta { font-size: 13px; color: #777; margin-top: 6px; }
.up-bio { font-size: 14px; color: #3d434d; margin-top: 10px; line-height: 1.7; }
.up-tags { margin-top: 10px; }
.up-stat { display: flex; gap: 22px; margin-top: 12px; font-size: 13px; color: #777; }
.up-stat b { font-size: 18px; color: var(--brand-dark); margin-right: 4px; }
.auth-box { max-width: 430px; margin: 44px auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 30px 26px; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.auth-box h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.auth-box .sub { font-size: 13px; color: #888; margin-bottom: 18px; }
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.role-grid label { border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 8px 2px; font-size: 13px; cursor: pointer; display: block; transition: .12s; }
.role-grid input { display: none; }
.role-grid input:checked + span { color: var(--brand); font-weight: 700; }
.role-grid label:has(input:checked) { border-color: var(--brand); background: #fff4ec; }

/* ---------- 后台 ---------- */
.adm-wrap { max-width: 1180px; margin: 20px auto; }
.adm-tabs { display: flex; gap: 4px; background: var(--brand); padding: 8px 8px 0; flex-wrap: wrap; border-radius: 8px 8px 0 0; }
.adm-tabs button { padding: 9px 16px; color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; }
.adm-tabs button:hover { background: rgba(255,255,255,.16); }
.adm-tabs button.on { background: #e6e9ee; color: #2b2f36; }
.adm-body { border: 1px solid var(--line); border-top: 0; background: #fff; border-radius: 0 0 8px 8px; padding: 18px; min-height: 300px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; background: #f6f8fa; padding: 8px 10px; font-size: 12.5px; color: #666; white-space: nowrap; }
.tbl td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.tbl img.thumb { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; }
.st-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st-pill.live { background: var(--ok); color: #fff; }
.st-pill.review { background: #fff0e4; color: var(--brand-dark); }
.st-pill.rejected, .st-pill.unpaid, .st-pill.rejected2 { background: var(--brand-dark); color: #fff; }
.st-pill.hidden { background: #999; color: #fff; }
.st-pill.sent { background: #3a6ea5; color: #fff; }
.st-pill.done { background: #16a34a; color: #fff; }
.stat-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.stat-cards div { border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; background: #fff; }
.stat-cards b { display: block; font-size: 24px; color: var(--brand); }
.stat-cards span { font-size: 12px; color: var(--mut); }
.word-edit textarea { width: 100%; height: 130px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 13px; }

/* ---------- 页脚（浅色，去掉黑底） ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); color: #555; margin-top: 60px; padding: 40px 0 30px; font-size: 13px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--ink); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.footer .cols a:hover { color: var(--brand); }
.footer .decl { border-top: 1px solid #eee; margin-top: 26px; padding-top: 16px; line-height: 1.8; color: #777; }
.footer .decl b { color: var(--brand-dark); }
.copyr { text-align: center; margin-top: 20px; color: #999; font-size: 12px; }

.empty { text-align: center; padding: 46px 20px; color: var(--mut); }
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 8px; font-size: 14px; z-index: 99; max-width: 86vw; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--brand-dark); }
.modal-ov { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal-box { background: #fff; border-radius: 10px; max-width: 520px; width: 100%; max-height: 86vh; overflow: auto; padding: 24px; }
.modal-box h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.doc { max-width: 820px; margin: 24px auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 36px 40px; }
.doc h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.doc h2 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; border-left: 4px solid var(--brand); padding-left: 10px; }
.doc p, .doc li { font-size: 14.5px; line-height: 1.9; margin-bottom: 8px; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.pager button { min-width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; color: #444; }
.pager button:hover { border-color: var(--brand); color: var(--brand); }
.pager button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager .pg-dot { border: 0; background: none; color: #999; }
.uploading { pointer-events: none; opacity: .6; }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .grid, .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .redlines { grid-template-columns: repeat(2, 1fr); }
  .dis-wrap { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .me-wrap { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .burger { display: block; }
  .nav { position: fixed; top: 62px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 20px; display: none; z-index: 49; box-shadow: 0 12px 24px rgba(0,0,0,.12); }
  .nav.open { display: flex; }
  .nav > a, .nav > .nav-drop > a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 16px; }
  .nav-menu { position: static; box-shadow: none; border: 0; display: none; padding-left: 12px; max-height: none; }
  .nav-drop.open .nav-menu { display: block; }
  .top-r .btn.pub-btn { display: none; }
}
@media (max-width: 640px) {
  /* 手机端搜索框不加高 */
  .search-bar { height: 62px; }
  .search-in { padding: 0 14px; font-size: 15px; }
  .search-go { width: 84px; font-size: 15px; }
  .photo-btn { width: 48px; }
  .hero h1 { font-size: 24px; }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .doc { padding: 22px 18px; }
  .grid.g3 { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- 返回按钮（除首页外） ---------- */
.backbar { margin-top: 14px; }
.btn-back { display: inline-flex; align-items: center; gap: 4px; padding: 8px 18px; background: #fff; border: 1px solid var(--line); color: #555; font-size: 13.5px; transition: .12s; }
.btn-back:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 全站直角化 ---------- */
.btn, .btn.sm, .pcard, .cat-card, .card, .search-bar, .search-go, .photo-btn, .pager button,
.tag, .st-pill, .stat-cards div, .auth-box, .me-nav, .adm-tabs button, .adm-body, .toast,
.modal-box, .doc, .role-grid label, .img-up .cell, .img-up .add, .quota-bar, .result-card,
.d-gallery .main, .d-thumbs button, .sidebox, .exp-card, .warn-strip, .nav-menu,
.fld input, .fld select, .fld textarea, .cmt-box textarea, .ad-slot, .pub-step,
.lang-sw, .tbl img.thumb, .word-edit textarea, .hero .btn { border-radius: 0 !important; }

@media (max-width: 900px) {
  .me-stats { grid-template-columns: repeat(3, 1fr); }
  .me-wrap { grid-template-columns: 1fr; }
  .me-grid2 { grid-template-columns: 1fr; }
  .me-head { padding: 16px; }
  .me-acts { width: 100%; }
  .me-acts .btn { flex: 1; }
}
