/* ============================================================
   山海灵境 · 全站样式
   ============================================================ */
:root {
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --ink: #1C2B3A;
  --ink2: #33475C;
  --muted: #66798C;
  --line: #E3E9F0;
  --soft: #EEF3F8;
  --soft2: #E3EDF6;
  --brand: #1E4B6E;
  --brand2: #2C6E9B;
  --brand-deep: #14304D;
  --accent: #E07B39;
  --accent2: #F2A65A;
  --rose: #E24A6A;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 40, 66, .07);
  --shadow-lg: 0 16px 44px rgba(20, 40, 66, .13);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.35; color: var(--ink); }
.ic { flex: none; vertical-align: middle; }

/* ============ 页头 ============ */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hd__main { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand__logo { height: 40px; width: auto; }
.hd-nav { flex: 1; display: flex; gap: 2px; min-width: 0; }
.hd-nav__a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 10px;
  color: var(--ink2); font-weight: 500; font-size: 14.5px;
  white-space: nowrap; transition: .2s;
}
.hd-nav__a:hover { color: var(--brand); background: var(--soft); }
.hd-nav__a.is-cur { color: var(--brand); background: var(--soft2); font-weight: 600; }
.hd-right { display: flex; align-items: center; gap: 14px; flex: none; }
.hd-acts { display: flex; align-items: center; gap: 8px; }
.hd-act {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink2);
  cursor: pointer; transition: .2s; white-space: nowrap;
}
.hd-act:hover { border-color: var(--brand2); color: var(--brand); }
.hd-act--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; border-color: transparent; font-weight: 600;
}
.hd-act--primary:hover { color: #fff; filter: brightness(1.08); }
.hd-corp { text-align: right; line-height: 1.25; border-left: 1px solid var(--line); padding-left: 14px; }
.hd-corp .lbl { display: block; font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.hd-corp .nm { display: block; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink2);
  cursor: pointer; place-items: center;
}
.hd-drawer { display: none; }

/* ============ 首屏 ============ */
.hero {
  position: relative; overflow: hidden; color: #F2F7FC;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(242, 166, 90, .22), transparent 60%),
    linear-gradient(158deg, var(--brand-deep) 0%, var(--brand) 52%, var(--brand2) 100%);
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 74px; }
.hero__grid {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px;
  align-items: center; padding: 62px 0 96px; position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .18em; color: #F7D9A8;
  border: 1px solid rgba(247, 217, 168, .45); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
}
.hero h1 { font-size: 40px; color: #fff; letter-spacing: .02em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent2); }
.hero__slogan { font-size: 17px; color: #C9DCEC; max-width: 30em; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px; padding: 12px 20px; min-width: 104px;
  backdrop-filter: blur(6px);
}
.stat b { display: block; font-size: 24px; font-family: var(--serif); color: #fff; }
.stat span { font-size: 12.5px; color: #BFD4E6; }
.hero__arts { position: relative; height: 430px; }
.hero__art {
  position: absolute; width: 196px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 22px 46px rgba(4, 16, 30, .45); border: 3px solid rgba(255, 255, 255, .82);
  background: #fff; transition: transform .35s;
}
.hero__art img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero__art:hover { transform: translateY(-8px) rotate(0deg) scale(1.03); z-index: 5; }
.hero__art--1 { left: 4%; top: 26px; transform: rotate(-7deg); }
.hero__art--2 { left: 34%; top: 0; transform: rotate(2deg); z-index: 3; }
.hero__art--3 { left: 62%; top: 34px; transform: rotate(8deg); }
.hero__art--4 { left: 22%; top: 216px; transform: rotate(4deg); z-index: 4; }
.hero__art--5 { left: 55%; top: 230px; transform: rotate(-5deg); }
.hero__glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 166, 90, .35), transparent 65%);
  right: 6%; top: 40%; filter: blur(10px);
}

/* ============ 区块 ============ */
.sec { padding: 58px 0 8px; }
.sec--band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 58px 0; margin-top: 58px; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.sec__title { display: flex; align-items: center; gap: 12px; font-size: 26px; }
.sec__title .ic { color: var(--accent); }
.sec__sub { font-size: 14px; color: var(--muted); margin-top: 6px; font-family: var(--sans); font-weight: 400; }
.sec__more { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--brand); font-weight: 600; flex: none; }
.sec__more:hover { color: var(--accent); }

/* ============ 卡片 ============ */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__cover { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--soft); }
.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__cover img { transform: scale(1.045); }
.card__badge {
  position: absolute; top: 10px; left: 10px; font-size: 12px; color: #fff;
  background: rgba(20, 48, 77, .8); padding: 3px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card__pages {
  position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, .93); color: var(--ink);
  padding: 3px 10px; border-radius: 999px;
}
.card__body { padding: 16px 16px 15px; display: flex; flex-direction: column; flex: 1; }
.card__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.chip--cat {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500;
  color: var(--brand); background: var(--soft); border-radius: 999px; padding: 3px 10px;
}
.card__title { font-size: 18.5px; margin-bottom: 5px; }
.card__meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card__lead {
  font-size: 13.5px; color: var(--ink2); line-height: 1.66; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__prog { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: none; cursor: pointer; transition: .2s; font-family: var(--sans);
}
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 8px 20px rgba(30, 75, 110, .28); }
.btn--primary:hover { filter: brightness(1.09); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); }
.btn--line { background: #fff; color: var(--brand); border: 1.5px solid var(--brand2); }
.btn--line:hover { background: var(--soft2); }
.btn--sm { padding: 7px 15px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; filter: none !important; }
.fav {
  width: 35px; height: 35px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  display: grid; place-items: center; cursor: pointer; transition: .2s;
}
.fav:hover { border-color: #F3C2CE; color: var(--rose); }
.fav.is-on { color: var(--rose); border-color: #F3C2CE; background: #FDF0F3; }
.fav.is-on .ic { fill: currentColor; }

/* ============ 特色 ============ */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; box-shadow: var(--shadow);
}
.feat__ic {
  width: 54px; height: 54px; border-radius: 15px; margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--soft), var(--soft2));
  color: var(--brand); display: grid; place-items: center;
}
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 13.5px; color: var(--muted); }

/* ============ 关于导览 ============ */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: stretch; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.about-card h3 { font-size: 21px; margin-bottom: 14px; }
.about-card p { color: var(--ink2); margin-bottom: 12px; }
.about-side { background: linear-gradient(150deg, var(--brand-deep), var(--brand2)); color: #E4EEF6; border-radius: var(--radius); padding: 34px; }
.about-side h3 { color: #fff; font-size: 19px; margin-bottom: 16px; }
.about-side li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); font-size: 14px; }
.about-side li:last-child { border-bottom: none; }
.about-side li .ic { color: var(--accent2); margin-top: 4px; }

/* ============ 子页头 ============ */
.pagehead {
  background:
    radial-gradient(700px 300px at 88% -20%, rgba(242, 166, 90, .2), transparent 60%),
    linear-gradient(150deg, var(--brand-deep), var(--brand) 60%, var(--brand2));
  color: #EAF2F9; padding: 40px 0 46px;
}
.pagehead__crumb { font-size: 13px; color: #A9C2D6; margin-bottom: 12px; }
.pagehead__crumb a:hover { color: #fff; }
.pagehead h1 { font-size: 30px; color: #fff; display: flex; align-items: center; gap: 12px; }
.pagehead p { color: #C2D6E6; font-size: 14.5px; margin-top: 10px; max-width: 46em; }
.main { flex: 1; padding: 40px 0 60px; }

/* ============ 筛选 ============ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink2);
  border-radius: 999px; padding: 7px 16px; font-size: 13.5px; cursor: pointer; transition: .2s;
}
.filters button.is-on, .filters button:hover { border-color: var(--brand2); color: var(--brand); background: var(--soft2); font-weight: 600; }

/* ============ 详情页 ============ */
.detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 38px; align-items: start; }
.detail__cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.detail__cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.detail__cover .btn { margin: 12px; width: calc(100% - 24px); }
.detail__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.detail h1 { font-size: 30px; margin-bottom: 10px; }
.detail__lead { font-size: 16px; color: var(--ink2); margin-bottom: 20px; font-family: var(--serif); }
.detail__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.fact b { display: block; font-size: 16px; font-family: var(--serif); color: var(--brand); }
.fact span { font-size: 12.5px; color: var(--muted); }
.detail__intro p { color: var(--ink2); margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.tags span {
  font-size: 12.5px; color: var(--accent); background: #FDF4EA;
  border: 1px solid #F6E2C8; border-radius: 999px; padding: 4px 13px;
}
.detail__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.side { display: grid; gap: 22px; }
.side__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side__box h3 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side__box h3 .ic { color: var(--accent); }
.side__row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.side__row:last-child { border-bottom: none; }
.side__row .k { color: var(--muted); flex: none; }
.side__row .v { text-align: right; color: var(--ink); overflow-wrap: anywhere; }
.rel { display: grid; gap: 12px; }
.rel a { display: flex; gap: 12px; align-items: center; }
.rel img { width: 58px; height: 74px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.rel b { display: block; font-size: 14.5px; font-family: var(--serif); }
.rel span { font-size: 12.5px; color: var(--muted); }
.rel a:hover b { color: var(--brand); }

/* ============ 漫画阅读器 ============ */
.rd { max-width: 760px; margin: 0 auto; }
.rd__bar {
  position: sticky; top: 68px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.rd__bar .t { font-family: var(--serif); font-weight: 600; font-size: 15.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd__bar .p { font-size: 13px; color: var(--muted); white-space: nowrap; }
.rd__imgbox { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.rd__imgbox img { width: 100%; height: auto; }
.rd__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 8px; }
.pnum { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.pnum input {
  width: 62px; text-align: center; padding: 8px 6px; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px; font-family: inherit; background: #fff;
}
.pnum input:focus { outline: 2px solid var(--soft2); border-color: var(--brand2); }
.rd__pbar { height: 6px; background: var(--soft2); border-radius: 999px; overflow: hidden; margin-top: 14px; }
.rd__pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent2)); border-radius: 999px; transition: width .25s; }
.rd__tip { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }

/* ============ 网文阅读器 ============ */
.nr { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 48px; }
.nr__crumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.nr__crumb a:hover { color: var(--brand); }
.nr__title { font-size: 25px; margin-bottom: 6px; }
.nr__meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.nr__text p { font-family: var(--serif); font-size: 16.5px; line-height: 2.05; text-indent: 2em; color: var(--ink2); margin-bottom: .4em; }
.nr__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.nr__sel { margin-top: 18px; text-align: center; }
.nr__sel select {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fff; color: var(--ink); max-width: 100%;
}

/* ============ 章节列表 ============ */
.chaps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chaps a {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  font-size: 14px; color: var(--ink2); transition: .2s;
}
.chaps a:hover { border-color: var(--brand2); color: var(--brand); background: var(--soft); }
.chaps a .ic { color: var(--accent); }
.chaps a b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 账号 / 认证 ============ */
.auth { max-width: 470px; margin: 46px auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); }
.auth__logo { text-align: center; margin-bottom: 24px; }
.auth__logo img { height: 42px; margin: 0 auto 14px; }
.auth h1 { font-size: 23px; text-align: center; margin-bottom: 6px; }
.auth__sub { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 11px 14px; font-size: 14.5px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 11px; background: #FBFCFE; color: var(--ink);
  transition: .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand2); background: #fff; box-shadow: 0 0 0 3px rgba(44, 110, 155, .12); }
.agree { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; cursor: pointer; }
.agree input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--brand); flex: none; cursor: pointer; }
.agree a { color: var(--brand); font-weight: 600; }
.agree a:hover { text-decoration: underline; }
.auth__foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.auth__foot a { color: var(--brand); font-weight: 600; }
.form-msg { font-size: 13px; border-radius: 10px; padding: 9px 14px; margin-bottom: 16px; display: none; }
.form-msg.is-err { display: block; background: #FDF0F2; color: #B2354F; border: 1px solid #F5D3DA; }
.form-msg.is-ok { display: block; background: #EDF7EF; color: #2E7D4F; border: 1px solid #D3EBD9; }

/* 个人中心 */
.acc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; align-items: start; }
.acc__card { background: linear-gradient(150deg, var(--brand-deep), var(--brand2)); color: #E6EFF6; border-radius: var(--radius); padding: 28px; text-align: center; }
.acc__ava { width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .4); display: grid; place-items: center; margin: 0 auto 14px; color: #fff; }
.acc__card b { display: block; font-size: 18px; color: #fff; font-family: var(--serif); }
.acc__card span { font-size: 12.5px; color: #B9CFDF; }
.acc__menu { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 18px; overflow: hidden; box-shadow: var(--shadow); }
.acc__menu button {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 13px 18px; font-size: 14px; color: var(--ink2); background: none; border: none;
  border-bottom: 1px solid var(--line); cursor: pointer; transition: .2s;
}
.acc__menu button:last-child { border-bottom: none; }
.acc__menu button.is-on, .acc__menu button:hover { color: var(--brand); background: var(--soft); font-weight: 600; }
.acc__pane { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); min-height: 420px; }
.acc__pane h2 { font-size: 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 9px; }
.acc__pane h2 .ic { color: var(--accent); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kv > div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kv b { display: block; font-size: 15px; font-family: var(--serif); color: var(--brand); }
.kv span { font-size: 12.5px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 14px; }
.empty .ic { color: #C4D0DC; margin-bottom: 10px; }
.empty a { color: var(--brand); font-weight: 600; }
.hist { display: grid; gap: 12px; }
.hist a { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.hist img { width: 46px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: none; }
.hist b { display: block; font-size: 14.5px; font-family: var(--serif); }
.hist span { font-size: 12.5px; color: var(--muted); }
.hist .g { flex: 1; min-width: 0; }
.hist .t { font-size: 12.5px; color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ============ 文档页（协议 / 合规） ============ */
.doc { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 46px 52px; }
.doc__crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.doc__crumb a:hover { color: var(--brand); }
.doc h1 { font-size: 27px; margin-bottom: 8px; }
.doc__meta { font-size: 13px; color: var(--muted); margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 18.5px; margin: 30px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent2); }
.doc h3 { font-size: 15.5px; margin: 18px 0 8px; color: var(--brand); }
.doc p { color: var(--ink2); margin-bottom: 10px; }
.doc ul, .doc ol { margin: 0 0 12px 0; }
.doc ul li, .doc ol li { color: var(--ink2); padding: 4px 0 4px 20px; position: relative; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); }
.doc ol { counter-reset: ol; }
.doc ol li { padding-left: 30px; }
.doc ol li::before {
  counter-increment: ol; content: counter(ol);
  position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--soft2); color: var(--brand); font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 13.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; color: var(--ink2); }
.doc th { background: var(--soft); color: var(--ink); font-weight: 600; }
.doc .note {
  background: var(--soft); border: 1px solid var(--soft2); border-radius: 12px;
  padding: 14px 18px; font-size: 13.5px; color: var(--ink2); margin: 14px 0;
}
.doc .note b { color: var(--brand); }
.doc__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.doc__nav a {
  font-size: 13px; color: var(--ink2); border: 1px solid var(--line); background: var(--bg);
  border-radius: 999px; padding: 6px 14px; transition: .2s;
}
.doc__nav a:hover, .doc__nav a.is-cur { border-color: var(--brand2); color: var(--brand); background: var(--soft2); font-weight: 600; }

/* ============ 问答 ============ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; font-family: var(--serif); list-style: none; display: flex; align-items: center; gap: 9px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent); }
.faq p { font-size: 14px; color: var(--ink2); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ============ 页脚 ============ */
.ft { background: var(--brand-deep); color: #B9CFDF; margin-top: 66px; }
.ft__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 52px 22px 36px; }
.ft__logo { height: 38px; width: auto; margin-bottom: 18px; }
.ft__intro { font-size: 13px; line-height: 1.85; margin-bottom: 18px; color: #A7BFD1; }
.ft__contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; padding: 4px 0; overflow-wrap: anywhere; }
.ft__contact .ic { color: var(--accent2); margin-top: 4px; }
.ft__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.ft__col a { display: block; font-size: 13px; padding: 5px 0; color: #A7BFD1; }
.ft__col a:hover { color: #fff; }
.ft__links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px;
}
.ft__links a { color: #C4D6E4; }
.ft__links a:hover { color: #fff; text-decoration: underline; }
.ft__links i { color: #4E6E88; font-style: normal; }
.ft__legal { text-align: center; padding: 6px 22px 34px; font-size: 12.5px; color: #8FA9BE; line-height: 2.1; }
.ft__legal a { color: #C4D6E4; }
.ft__legal a:hover { color: #fff; }
.ft__legal i { color: #4E6E88; font-style: normal; margin: 0 8px; }
.ft__legal p { margin: 0; }

/* ============ 提示 ============ */
.toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 99;
  transform: translateX(-50%) translateY(16px);
  background: rgba(20, 48, 77, .93); color: #fff; font-size: 13.5px;
  padding: 10px 24px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: .3s; box-shadow: 0 10px 30px rgba(10, 25, 40, .3);
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 返回顶部 ============ */
.totop {
  position: fixed; right: 26px; bottom: 30px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none;
  transition: .3s; box-shadow: 0 10px 24px rgba(30, 75, 110, .35);
}
.totop.is-show { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
body.reader .totop { display: none; }

/* ============ 响应式 ============ */
@media (max-width: 1180px) {
  .hero__art { width: 168px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .hd-corp { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 90px; }
  .hero__arts { height: 360px; max-width: 560px; }
  .hero__art--4, .hero__art--5 { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: minmax(0, 1fr) !important; }
  .detail > * { min-width: 0; }
  .detail__cover { max-width: 300px; }
  .acc { grid-template-columns: 1fr; }
  .ft__top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .hd-nav, .hd-acts { display: none; }
  .burger { display: grid; margin-left: auto; }
  .hd__main { gap: 14px; }
  .hd-drawer {
    display: none; border-top: 1px solid var(--line); background: #fff;
    padding: 12px 22px 18px;
  }
  .hd-drawer.is-open { display: block; }
  .hd-drawer nav { display: grid; gap: 4px; margin-bottom: 12px; }
  .hd-drawer .hd-nav__a { padding: 11px 14px; font-size: 15px; }
  .hd-drawer__acts { display: flex; gap: 10px; }
  .hd-drawer__acts .hd-act { flex: 1; justify-content: center; padding: 10px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { padding: 34px 26px; }
  .nr { padding: 32px 24px; }
  .chaps { grid-template-columns: 1fr; }
  .side__row { flex-direction: column; text-align: left; gap: 2px; }
  .side__row .v { text-align: left; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .hero__art { width: 138px; }
  .hero__art--3 { display: none; }
  .hero__arts { height: 300px; }
  .cards { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .auth { padding: 28px 22px; margin: 30px auto; }
  .ft__top { grid-template-columns: 1fr; gap: 24px; padding: 40px 16px 28px; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rd__bar { top: 60px; }
  .rd__ctrl { flex-wrap: wrap; }
  .doc { padding: 26px 18px; }
  .nr { padding: 24px 18px; }
  .nr__text p { font-size: 15.5px; }
}
