/* ==========================================================================
   张家界小牧童 · 旅游信息发布平台
   ========================================================================== */

/* 图标尺寸兜底：必须放在所有 .xxx svg 规则之前 */
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }
svg.i.i-s { width: 14px; height: 14px; vertical-align: -2px; }
svg.i.i-l { width: 30px; height: 30px; }

[hidden] { display: none !important; }

:root {
  --brand: #17695e;
  --brand-d: #0f4f46;
  --brand-l: #eaf3f0;
  --brand-l2: #d7e8e3;
  --accent: #c1853c;
  --accent-l: #fbf2e6;
  --ink: #1d2a27;
  --ink-2: #5a6b67;
  --ink-3: #8a9a96;
  --line: #e3ebe8;
  --line-2: #eef3f1;
  --bg: #f6faf8;
  --card: #ffffff;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(23, 105, 94, .05), 0 8px 24px -14px rgba(23, 60, 52, .22);
  --shadow-h: 0 4px 12px rgba(23, 105, 94, .09), 0 20px 40px -20px rgba(23, 60, 52, .3);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: .2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.wrap-n { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* ------------------------------- 按钮 ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--brand); color: #fff; font-size: 14.5px; font-weight: 600;
  transition: background .18s, box-shadow .18s, transform .18s; white-space: nowrap;
}
.btn:hover { background: var(--brand-d); box-shadow: 0 8px 18px -8px rgba(23, 105, 94, .6); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-l); box-shadow: none; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #a96f2c; box-shadow: 0 8px 18px -8px rgba(193, 133, 60, .7); }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15.5px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-danger { background: #fff; border-color: #e6cfc6; color: #a8503a; }
.btn-danger:hover { background: #fbf1ee; box-shadow: none; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ------------------------------- 页头 ------------------------------- */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.head-band { background: var(--brand-d); color: #cfe4de; font-size: 12.5px; }
.head-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 34px; }
.head-band .hb-r { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.hb-sep { width: 1px; height: 11px; background: rgba(255, 255, 255, .28); margin: 0 4px; font-style: normal; }
.head-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12.5px; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: .6px; color: var(--brand-d); line-height: 1.15; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: 2.4px; color: var(--ink-3); line-height: 1; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: .5; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1 1 auto; }
.nav a { padding: 8px 15px; border-radius: 8px; font-size: 15px; color: var(--ink-2); font-weight: 500; transition: .16s; }
.nav a:hover { color: var(--brand); background: var(--brand-l); }
.nav a.on { color: var(--brand); background: var(--brand-l); font-weight: 600; }
.head-account { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.ha-link { font-size: 14.5px; color: var(--ink-2); }
.ha-link:hover { color: var(--brand); }
.ha-sep { width: 1px; height: 13px; background: var(--line); }
.ha-btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0 17px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600;
}
.ha-btn:hover { background: var(--brand-d); }
.site-head .nav-toggle { display: none; }
.nav-mobile { display: none; }

/* ------------------------------- Hero ------------------------------- */
.hero { position: relative; overflow: hidden; background: #123f39; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(11, 53, 47, .93) 0%, rgba(13, 62, 55, .78) 42%, rgba(15, 70, 62, .42) 100%);
}
.hero__in { position: relative; padding: 74px 0 78px; color: #fff; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px; letter-spacing: .4px; color: #e3f1ed;
}
.hero h1 { font-size: 42px; line-height: 1.28; margin: 22px 0 0; letter-spacing: 1px; font-weight: 700; }
.hero h1 em { font-style: normal; color: #f0c78d; }
.hero p.lead { margin: 16px 0 0; max-width: 620px; font-size: 16px; line-height: 1.85; color: #cbe2dc; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero__acts .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .34); color: #fff; }
.hero__acts .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.hero__stat { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__stat div { display: flex; flex-direction: column; gap: 2px; }
.hero__stat b { font-size: 27px; font-weight: 700; letter-spacing: .5px; }
.hero__stat span { font-size: 13px; color: #a9c8c1; letter-spacing: .6px; }

/* ------------------------------- 区块 ------------------------------- */
.sec { padding: 62px 0; }
.sec-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.sec-head h2 { font-size: 26px; letter-spacing: .6px; position: relative; padding-left: 15px; }
.sec-head h2::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 3px; background: linear-gradient(180deg, var(--brand), #4f9c8c);
}
.sec-head p { margin: 9px 0 0 15px; font-size: 14.5px; color: var(--ink-2); }
.sec-more { font-size: 14.5px; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.sec-more:hover { color: var(--brand-d); }

/* ------------------------------- 类目 ------------------------------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 24px 12px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: .2s; text-align: center;
}
.cat:hover { border-color: var(--brand-l2); box-shadow: var(--shadow-h); transform: translateY(-3px); }
.cat__ico {
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-l); color: var(--brand);
}
.cat__ico svg.i { width: 25px; height: 25px; }
.cat b { font-size: 15px; font-weight: 600; }
.cat span { font-size: 12.5px; color: var(--ink-3); }
.cat:hover .cat__ico { background: var(--brand); color: #fff; }

/* ------------------------------- 卡片 ------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: .22s;
}
.lcard:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); border-color: var(--brand-l2); }
.lcard__img { position: relative; aspect-ratio: 3 / 2; background: var(--brand-l); overflow: hidden; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lcard:hover .lcard__img img { transform: scale(1.045); }
.lcard__cat {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 11px 0 9px;
  border-radius: 999px; background: rgba(255, 255, 255, .93); color: var(--brand-d);
  font-size: 12.5px; font-weight: 600; backdrop-filter: blur(4px);
}
.lcard__cat svg.i { width: 14px; height: 14px; }
.lcard__body { padding: 17px 18px 16px; display: flex; flex-direction: column; flex: 1 1 auto; }
.lcard__title {
  font-size: 16.5px; line-height: 1.5; font-weight: 600; margin-bottom: 11px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 49px; transition: color .16s;
}
.lcard:hover .lcard__title { color: var(--brand); }
.lcard__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-2); }
.lcard__meta span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 13px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-3);
}
.lf-pub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%; }
.lf-r { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); font-style: normal; }

/* ------------------------------- 信息大厅 ------------------------------- */
.page-head { padding: 34px 0 26px; background: #fff; border-bottom: 1px solid var(--line); }
.crumb { font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.crumb a:hover { color: var(--brand); }
.page-head h1 { font-size: 27px; margin: 12px 0 8px; letter-spacing: .6px; }
.page-head p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 24px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-2); transition: .16s;
}
.chip:hover { border-color: var(--brand-l2); color: var(--brand); background: var(--brand-l); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.chip svg.i { width: 15px; height: 15px; }
.searchbar { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.searchbar input {
  width: 210px; min-width: 0; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; outline: none; transition: .16s;
}
.searchbar input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23, 105, 94, .1); }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 14px; color: var(--ink-2); }
.result-line b { color: var(--brand); font-size: 16px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 38px; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 14px; transition: .16s;
}
.pager button:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.pager button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager button[disabled] { opacity: .4; cursor: default; }

.empty { text-align: center; padding: 66px 20px; color: var(--ink-3); }
.empty svg.i { width: 40px; height: 40px; color: var(--brand-l2); }
.empty p { margin: 14px 0 4px; font-size: 16px; color: var(--ink-2); }
.empty span { font-size: 13.5px; }

/* ------------------------------- 详情 ------------------------------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; padding: 30px 0 60px; }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dcard__head { padding: 26px 30px 22px; border-bottom: 1px solid var(--line-2); }
.dcard__head h1 { font-size: 26px; line-height: 1.42; letter-spacing: .4px; }
.dtags { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 14px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
}
.tag-cat { background: var(--brand-l); color: var(--brand-d); }
.tag-cat svg.i { width: 14px; height: 14px; }
.tag-soft { background: #f4f7f6; color: var(--ink-2); font-weight: 500; }
.tag-warn { background: #fdf4e8; color: #9b6a26; }
.tag-ok { background: var(--brand-l); color: var(--brand-d); }
.tag-bad { background: #fbf0ed; color: #a8503a; }
.dmeta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 15px; font-size: 13.5px; color: var(--ink-2); }
.dmeta span { display: inline-flex; align-items: center; gap: 6px; }
.dcover { background: var(--brand-l); }
.dcover img { width: 100%; max-height: 460px; object-fit: cover; }
.dbody { padding: 26px 30px 30px; }
.dlead {
  padding: 16px 18px; background: var(--brand-l); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-s) var(--radius-s) 0; color: #234a44; font-size: 15px; line-height: 1.9;
}
.dbody h2 {
  font-size: 17.5px; margin: 30px 0 14px; padding-left: 13px; position: relative;
}
.dbody h2::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 2px; background: var(--brand); }
.dbody p { margin: 0 0 15px; font-size: 15.5px; line-height: 1.95; color: #2c3a37; text-indent: 0; }
.dsteps { counter-reset: st; margin: 0 0 6px; padding: 0; list-style: none; }
.dsteps li {
  position: relative; padding: 0 0 17px 40px; font-size: 15.5px; line-height: 1.95; color: #2c3a37;
}
.dsteps li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-l); color: var(--brand-d); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.dsteps li::after {
  content: ''; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 1px; background: var(--line);
}
.dsteps li:last-child { padding-bottom: 0; }
.dsteps li:last-child::after { display: none; }

.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 18px; }
.sbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sbox__head {
  display: flex; align-items: center; gap: 9px; padding: 15px 20px; border-bottom: 1px solid var(--line-2);
  font-size: 15px; font-weight: 600; color: var(--brand-d);
}
.sbox__head svg.i { color: var(--brand); }
.sbox__body { padding: 18px 20px 20px; }
.pub-row { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px dashed var(--line); }
.pub-ava {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--brand-l);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
}
.pub-ava svg.i { width: 21px; height: 21px; }
.pub-row b { display: block; font-size: 15px; }
.pub-row span { font-size: 12.5px; color: var(--ink-3); }
.contact-line { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line-2); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg.i { color: var(--brand); margin-top: 4px; }
.contact-line .k { color: var(--ink-3); font-size: 13px; display: block; }
.contact-line .v { color: var(--ink); font-weight: 600; letter-spacing: .3px; }
.contact-phone { font-size: 20px; font-weight: 700; color: var(--brand-d); letter-spacing: 1px; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }
.lock-note {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 13px;
  background: var(--accent-l); border-radius: var(--radius-s); font-size: 13px; color: #8b6326;
}
.lock-note a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.lock-note svg.i { color: var(--accent); }
.snote { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.snote svg.i { color: var(--brand); margin-top: 3px; }
.snote + .snote { margin-top: 12px; }

/* ------------------------------- 表单 ------------------------------- */
.form-wrap { max-width: 860px; margin: 0 auto; padding: 34px 0 66px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px 34px; }
.fcard + .fcard { margin-top: 20px; }
.fcard > h2 { font-size: 18px; margin-bottom: 5px; }
.fcard > h2 + p { margin: 0 0 22px; font-size: 13.5px; color: var(--ink-3); }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.field > label .req { color: #b4593f; margin-left: 3px; }
.field .hint { margin-top: 7px; font-size: 12.5px; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fdfefe; outline: none; transition: .16s; font-size: 15px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23, 105, 94, .09); background: #fff; }
.textarea { min-height: 132px; resize: vertical; line-height: 1.85; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6b67' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checks { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.7; }
.checks + .checks { margin-top: 11px; }
.checks input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--brand); flex: 0 0 17px; cursor: pointer; }
.checks a { color: var(--brand); font-weight: 600; }
.checks a:hover { text-decoration: underline; }
.form-acts { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.uploader { display: flex; align-items: center; gap: 16px; }
.up-box {
  width: 168px; height: 112px; border-radius: var(--radius-s); border: 1px dashed var(--brand-l2);
  background: var(--brand-l); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--brand); font-size: 13px; cursor: pointer; overflow: hidden; flex: 0 0 168px;
}
.up-box img { width: 100%; height: 100%; object-fit: cover; }
.up-box svg.i { width: 22px; height: 22px; }
.alert { padding: 12px 15px; border-radius: var(--radius-s); font-size: 14px; margin-bottom: 18px; }
.alert-err { background: #fbf0ed; color: #a8503a; border: 1px solid #f0d9d2; }
.alert-ok { background: var(--brand-l); color: var(--brand-d); border: 1px solid var(--brand-l2); }
.alert-info { background: #f4f8f7; color: var(--ink-2); border: 1px solid var(--line); }

/* ------------------------------- 登录注册 ------------------------------- */
.auth { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 109px); }
.auth__side { position: relative; background: #11463f; overflow: hidden; }
.auth__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.auth__side .veil { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11, 53, 47, .9), rgba(15, 74, 65, .62)); }
.auth__txt { position: relative; padding: 62px 56px; color: #fff; }
.auth__txt h2 { font-size: 30px; line-height: 1.4; letter-spacing: .8px; }
.auth__txt p { margin: 16px 0 0; color: #bcd8d2; font-size: 15px; line-height: 1.9; max-width: 400px; }
.auth__list { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 15px; }
.auth__list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: #d6e8e4; }
.auth__ico { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: rgba(255, 255, 255, .13); display: flex; align-items: center; justify-content: center; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 50px 30px; background: #fff; }
.auth__box { width: 100%; max-width: 396px; }
.auth__box h1 { font-size: 25px; letter-spacing: .5px; }
.auth__box .sub { margin: 9px 0 28px; font-size: 14.5px; color: var(--ink-3); }
.auth__foot { margin-top: 22px; font-size: 14px; color: var(--ink-2); text-align: center; }
.auth__foot a { color: var(--brand); font-weight: 600; }

/* ------------------------------- 个人中心 ------------------------------- */
.acct { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 24px; align-items: start; padding: 30px 0 66px; }
.side-menu { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 18px; }
.side-user { padding: 22px 20px; border-bottom: 1px solid var(--line-2); text-align: center; }
.side-ava {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 17px; background: var(--brand-l);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
}
.side-ava svg.i { width: 27px; height: 27px; }
.side-user b { display: block; font-size: 16px; }
.side-user span { font-size: 12.5px; color: var(--ink-3); }
.side-nav { padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); }
.side-nav a:hover { background: var(--brand-l); color: var(--brand); }
.side-nav a.on { background: var(--brand); color: #fff; font-weight: 600; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px 20px; }
.stat b { display: block; font-size: 27px; font-weight: 700; color: var(--brand-d); line-height: 1.25; }
.stat span { font-size: 13px; color: var(--ink-3); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 22px; border-bottom: 1px solid var(--line-2); }
.panel__head h2 { font-size: 16.5px; }
.panel__body { padding: 20px 22px 24px; }
.panel__body.p0 { padding: 0; }

/* ------------------------------- 表格 ------------------------------- */
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
table.data th {
  text-align: left; font-weight: 600; color: var(--ink-2); font-size: 13px; letter-spacing: .3px;
  padding: 12px 14px; background: #fafcfb; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.data th.nw, table.data td.nw { white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #fbfdfc; }
table.data th:first-child, table.data td:first-child { padding-left: 20px; }
table.data th:last-child, table.data td:last-child { padding-right: 20px; }
.cell-title { font-weight: 600; font-size: 14.5px; }
.cell-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.row-actions { display: flex; gap: 8px; flex-wrap: nowrap; }
.row-actions button, .row-actions a {
  height: 30px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; white-space: nowrap; transition: .16s;
}
.row-actions button:hover, .row-actions a:hover { border-color: var(--brand); color: var(--brand); }
.row-actions .ok { background: var(--brand); border-color: var(--brand); color: #fff; }
.row-actions .ok:hover { background: var(--brand-d); color: #fff; }
.row-actions .no { color: #a8503a; border-color: #e8d5cf; }
.row-actions .no:hover { background: #fbf1ee; border-color: #d9b7ad; color: #8f3f2b; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 25px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.st-pending { background: #fdf4e8; color: #9b6a26; }
.st-approved { background: var(--brand-l); color: var(--brand-d); }
.st-rejected { background: #fbf0ed; color: #a8503a; }

/* ------------------------------- 后台 ------------------------------- */
.adm { display: grid; grid-template-columns: 214px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px 0 66px; }
.adm > * { min-width: 0; }
.adm-side { background: #11463f; border-radius: var(--radius); overflow: hidden; position: sticky; top: 18px; }
.adm-brand { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 10px; }
.adm-brand b { color: #fff; font-size: 15px; letter-spacing: .5px; }
.adm-brand span { display: block; font-size: 11.5px; color: #8fb5ad; letter-spacing: 1.6px; }
.adm-nav { padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.adm-nav a, .adm-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 13px; border-radius: 9px;
  font-size: 14.5px; color: #bdd6d0; background: none; border: 0; text-align: left; transition: .16s;
}
.adm-nav a:hover, .adm-nav button:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.adm-nav .on { background: rgba(255, 255, 255, .15); color: #fff; font-weight: 600; }
.adm-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.adm-tabs button {
  height: 36px; padding: 0 15px; border-radius: 9px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-2); transition: .16s;
}
.adm-tabs button:hover { border-color: var(--brand-l2); color: var(--brand); }
.adm-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ------------------------------- 内容页 ------------------------------- */
.doc { max-width: 880px; margin: 0 auto; padding: 34px 0 70px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 44px 46px; }
.doc-card h1 { font-size: 27px; letter-spacing: .5px; margin-bottom: 10px; }
.doc-meta { font-size: 13px; color: var(--ink-3); padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 28px; }
.doc-card h2 { font-size: 18px; margin: 32px 0 13px; padding-left: 13px; position: relative; }
.doc-card h2::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 2px; background: var(--brand); }
.doc-card h3 { font-size: 15.5px; margin: 22px 0 9px; color: var(--brand-d); }
.doc-card p { margin: 0 0 13px; font-size: 15px; line-height: 1.95; color: #2c3a37; }
.doc-card ul, .doc-card ol { margin: 0 0 15px; padding-left: 22px; }
.doc-card li { font-size: 15px; line-height: 1.95; color: #2c3a37; margin-bottom: 7px; }
.doc-card .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.doc-card .kv > div { padding: 14px 16px; background: #fafcfb; border: 1px solid var(--line-2); border-radius: var(--radius-s); }
.doc-card .kv .k { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.doc-card .kv .v { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ------------------------------- 关于页 ------------------------------- */
.about-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 48px 0 44px; }
.about-hero h1 { font-size: 30px; letter-spacing: .8px; }
.about-hero p { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.9; max-width: 780px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.fact { padding: 22px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.fact b { display: block; font-size: 24px; color: var(--brand-d); letter-spacing: .4px; }
.fact span { font-size: 13px; color: var(--ink-3); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: fl; }
.flow__i { position: relative; padding: 26px 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.flow__i::before {
  counter-increment: fl; content: counter(fl, decimal-leading-zero);
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--brand-l); color: var(--brand-d); font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.flow__i h4 { font-size: 16px; margin-bottom: 8px; }
.flow__i p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.note-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note-i { display: flex; gap: 13px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.note-i .ni-ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: var(--brand-l); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.note-i .ni-ico svg.i { width: 20px; height: 20px; }
.note-i h4 { font-size: 15.5px; margin-bottom: 5px; }
.note-i p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }

/* ------------------------------- 页脚 ------------------------------- */
.site-foot { background: #0e3b35; color: #a9c8c1; margin-top: 10px; }
.foot-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 34px; padding: 52px 0 40px; }
.foot-col h4 { color: #fff; font-size: 18px; margin: 0 0 14px; letter-spacing: .6px; }
.foot-col h5 { color: #fff; font-size: 14.5px; margin: 0 0 16px; letter-spacing: .5px; }
.foot-brand .logo-mark { margin-bottom: 16px; }
.foot-brand p { margin: 0; font-size: 13.5px; line-height: 1.95; color: #96b8b1; }
.foot-col a { display: block; font-size: 14px; color: #a9c8c1; padding: 5px 0; transition: .16s; }
.foot-col a:hover { color: #fff; padding-left: 4px; }
.foot-contact p { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 11px; font-size: 13.5px; line-height: 1.75; color: #a9c8c1; }
.foot-contact svg.i { color: #6f9e95; margin-top: 4px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding-top: 12px; padding-bottom: 12px; }
.copy { font-size: 12.5px; color: #7fa79f; }
.icp { font-size: 12.5px; color: #8db4ac; }
.icp:hover { color: #fff; }

/* ------------------------------- 404 ------------------------------- */
.nf { text-align: center; padding: 90px 20px 110px; }
.nf .code { font-size: 74px; font-weight: 700; color: var(--brand-l2); letter-spacing: 4px; line-height: 1; }
.nf h1 { font-size: 23px; margin: 20px 0 10px; }
.nf p { color: var(--ink-2); margin: 0 0 26px; }

/* ------------------------------- 响应式 ------------------------------- */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .facts, .flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .acct { grid-template-columns: minmax(0, 1fr); }
  .side-menu { position: static; }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: static; }
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth__side { display: none; }
}

@media (max-width: 860px) {
  .site-head .nav { display: none; }
  .site-head .head-account { display: none; }
  .site-head .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--brand-d);
  }
  .nav-mobile {
    display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 12px 12px;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile a { display: block; padding: 12px 12px; border-radius: 9px; font-size: 15px; color: var(--ink-2); }
  .nav-mobile a:hover { background: var(--brand-l); color: var(--brand); }
  .head-inner { height: 66px; gap: 12px; }
  .brand-name { font-size: 16.5px; }
  .logo-mark { width: 37px; height: 37px; flex-basis: 37px; }
  .brand-sub { font-size: 10px; letter-spacing: 1.6px; gap: 5px; }
  .brand-sub::before { flex-basis: 10px; width: 10px; }
  .head-band .hb-c { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .head-band .wrap { height: auto; min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
  .head-band .hb-r { display: none; }
  .hero__in { padding: 52px 0 56px; }
  .hero h1 { font-size: 29px; }
  .hero p.lead { font-size: 14.5px; }
  .hero__stat { gap: 26px; margin-top: 32px; }
  .hero__stat b { font-size: 22px; }
  .sec { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head h2 { font-size: 22px; }
  .doc-card { padding: 28px 22px 34px; }
  .fcard { padding: 24px 20px 28px; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .note-list { grid-template-columns: 1fr; }
  .dcard__head, .dbody { padding-left: 20px; padding-right: 20px; }
  .foot-main { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 30px; }
  .foot-bottom .wrap { flex-direction: column; align-items: flex-start; gap: 6px; justify-content: center; min-height: 0; padding-top: 16px; padding-bottom: 16px; }
}

@media (max-width: 680px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .facts, .flow { grid-template-columns: 1fr; }
  .filter { padding: 14px; }
  .searchbar { flex: 1 1 100%; }
  .searchbar input { width: 100%; flex: 1 1 auto; min-width: 0; }
  .page-head h1 { font-size: 22px; }
  .about-hero h1 { font-size: 23px; }
  .doc-card h1 { font-size: 22px; }
  .hero h1 { font-size: 24px; }
  .card-grid-1 { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wrap, .wrap-n { padding: 0 15px; }
  .cats { gap: 10px; }
  .cat { padding: 18px 8px 16px; }
  .cat__ico { width: 44px; height: 44px; }
  .hero__acts .btn { flex: 1 1 100%; }
}
