/* 杭州与上控股有限公司 - 全站样式 */
:root {
  --ink: #22304f;
  --ink-2: #5a6478;
  --brand: #2b3a67;
  --brand-2: #1c2745;
  --gold: #b8862d;
  --gold-2: #d8a94e;
  --bg: #f5f6fa;
  --card: #ffffff;
  --line: #e3e6ee;
  --ok: #2e7d52;
  --warn: #b3591f;
  --err: #a33a3a;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(34, 48, 79, .07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }

/* ---------- 顶栏 ---------- */
.site-top { background: #fff; border-bottom: 1px solid var(--line); }
.site-top .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo .mark { width: 40px; height: 40px; flex: none; }
.logo .name { font-size: 17px; font-weight: 700; letter-spacing: 1px; color: var(--brand); line-height: 1.3; white-space: nowrap; }
.logo .name small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-2); letter-spacing: 2px; }
.nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink); transition: .15s; white-space: nowrap; }
.nav a:hover { background: #eef1f8; color: var(--brand); }
.nav a.on { color: var(--brand); font-weight: 600; background: #eef1f8; }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.top-actions .btn { padding: 8px 18px; font-size: 14px; white-space: nowrap; }

/* 模块切换条 */
.module-bar { background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.module-bar .wrap { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; gap: 12px; align-items: center; }
.module-bar a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); padding: 7px 18px; border-radius: 20px; font-size: 14px; border: 1px solid rgba(255,255,255,.22); transition: .15s; }
.module-bar a svg { width: 15px; height: 15px; }
.module-bar a.on { background: #fff; color: var(--brand); font-weight: 600; border-color: #fff; }
.module-bar a:not(.on):hover { color: #fff; background: rgba(255,255,255,.12); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; border-radius: 9px; padding: 10px 22px; font-size: 15px; font-weight: 600; transition: .15s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a4761f; }
.btn-ghost { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-danger { background: #fff; color: var(--err); border: 1px solid #ecc8c8; }
.btn-danger:hover { background: #fbf1f1; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 7px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- 首页 ---------- */
.hero { position: relative; background: linear-gradient(135deg, #1c2745 0%, #2b3a67 55%, #3d4f86 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(216,169,78,.22), transparent 65%); }
.hero .wrap { max-width: 1200px; margin: 0 auto; padding: 74px 24px 66px; position: relative; z-index: 1; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 3px; color: var(--gold-2); border: 1px solid rgba(216,169,78,.4); padding: 6px 16px; border-radius: 20px; margin-bottom: 22px; }
.hero h1 { font-size: 40px; line-height: 1.35; letter-spacing: 2px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p.sub { margin-top: 16px; max-width: 640px; color: rgba(255,255,255,.78); font-size: 16px; }
.hero .stats { display: flex; gap: 56px; margin-top: 36px; }
.hero .stats .s b { font-size: 30px; font-weight: 700; color: #fff; }
.hero .stats .s b span { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.6); margin-left: 4px; }
.hero .stats .s p { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: 1px; }

/* 双模块入口 */
.duo { max-width: 1200px; margin: -44px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 2; }
.duo .mod { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 30px 26px; position: relative; overflow: hidden; transition: .2s; }
.duo .mod:hover { transform: translateY(-3px); }
.duo .mod::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.duo .mod.m1::before { background: var(--brand); }
.duo .mod.m2::before { background: var(--gold); }
.duo .mod .tag { font-size: 12px; letter-spacing: 2px; color: var(--ink-2); }
.duo .mod h2 { font-size: 22px; margin: 8px 0 10px; }
.duo .mod p { color: var(--ink-2); font-size: 14px; min-height: 66px; }
.duo .mod .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.duo .mod .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.duo .mod .chips span { font-size: 12px; background: #f0f2f8; color: var(--ink-2); padding: 4px 12px; border-radius: 14px; }

/* 区块 */
.section { max-width: 1200px; margin: 0 auto; padding: 52px 24px 0; }
.section .head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.section .head h2 { font-size: 24px; letter-spacing: 1px; }
.section .head h2 i { font-style: normal; color: var(--gold); margin-right: 10px; font-size: 18px; }
.section .head a.more { font-size: 14px; color: var(--ink-2); }
.section .head a.more:hover { color: var(--brand); }

/* 作品卡片（首页横排） */
.works-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-3px); }
.work-card .cv { position: relative; aspect-ratio: 3/4; background: #edf0f6; overflow: hidden; }
.work-card .cv img { width: 100%; height: 100%; object-fit: cover; }
.work-card .cv .badge { position: absolute; top: 12px; left: 12px; background: rgba(28,39,69,.85); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 14px; letter-spacing: 1px; }
.work-card .cv .lock { position: absolute; inset: 0; background: rgba(28,39,69,.38); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 14px; }
.work-card .cv .lock svg { width: 30px; height: 30px; }
.work-card .bd { padding: 16px 18px 18px; }
.work-card .bd h3 { font-size: 17px; }
.work-card .bd .meta { font-size: 13px; color: var(--ink-2); margin-top: 6px; display: flex; justify-content: space-between; }
.work-card .bd .meta .vw { color: var(--gold); }

/* 信息卡片 */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.info-card:hover { transform: translateY(-3px); }
.info-card .cv { aspect-ratio: 16/9; overflow: hidden; background: #edf0f6; position: relative; }
.info-card .cv img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.info-card:hover .cv img { transform: scale(1.04); }
.info-card .cv .cat { position: absolute; top: 12px; left: 12px; background: rgba(184,134,45,.92); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 14px; }
.info-card .bd { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.info-card .bd h3 { font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.info-card .bd .sum { font-size: 13px; color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.info-card .bd .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-2); }
.info-card .bd .row .price { color: var(--warn); font-weight: 700; font-size: 15px; }
.info-card .bd .row .phone { font-family: Consolas, monospace; letter-spacing: .5px; }

/* ---------- 列表页通用 ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); }
.page-head .wrap { max-width: 1200px; margin: 0 auto; padding: 30px 24px 24px; }
.page-head h1 { font-size: 26px; letter-spacing: 1px; }
.page-head p { color: var(--ink-2); margin-top: 6px; font-size: 14px; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.crumbs a:hover { color: var(--brand); }

/* 信息大厅布局 */
.hall { max-width: 1200px; margin: 0 auto; padding: 26px 24px 60px; display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.side-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 0; position: sticky; top: 16px; }
.side-panel h3 { font-size: 14px; color: var(--ink-2); letter-spacing: 2px; padding: 0 20px 10px; border-bottom: 1px solid var(--line); }
.side-panel a.cat { display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 14px; color: var(--ink); border-left: 3px solid transparent; transition: .15s; }
.side-panel a.cat svg { width: 16px; height: 16px; color: var(--ink-2); }
.side-panel a.cat:hover { background: #f4f6fb; }
.side-panel a.cat.on { background: #eef1f8; color: var(--brand); font-weight: 600; border-left-color: var(--brand); }
.side-panel a.cat.on svg { color: var(--brand); }
.hall-main .bar { display: flex; justify-content: space-between; align-items: center; background: var(--card); border-radius: var(--radius); padding: 12px 20px; box-shadow: var(--shadow); margin-bottom: 18px; font-size: 14px; }
.hall-main .bar .sorts a { color: var(--ink-2); margin-left: 16px; }
.hall-main .bar .sorts a.on { color: var(--brand); font-weight: 600; }
.hall-main .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.pager button { min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.pager button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager button[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- 详情页 ---------- */
.detail-wrap { max-width: 1000px; margin: 0 auto; padding: 26px 24px 60px; }
.detail-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.detail-card .hero-img { height: 360px; overflow: hidden; background: #edf0f6; }
.detail-card .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 30px 36px 34px; }
.detail-body h1 { font-size: 24px; letter-spacing: .5px; }
.detail-tags { display: flex; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.detail-tags span { font-size: 13px; background: #f0f2f8; color: var(--ink-2); padding: 4px 14px; border-radius: 15px; }
.detail-tags span.pri { background: #fdf3e7; color: var(--warn); font-weight: 700; }
.detail-body h2.blk { font-size: 17px; margin: 26px 0 10px; padding-left: 12px; border-left: 4px solid var(--gold); }
.detail-body p.txt { color: var(--ink-2); font-size: 15px; }
.detail-body ul.pts { list-style: none; }
.detail-body ul.pts li { position: relative; padding: 6px 0 6px 24px; color: var(--ink-2); font-size: 15px; }
.detail-body ul.pts li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); }
.contact-box { margin-top: 28px; background: linear-gradient(135deg, #f0f3fa, #faf7f0); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.contact-box .info-line { font-size: 14px; color: var(--ink-2); }
.contact-box .info-line b { color: var(--ink); font-size: 18px; font-family: Consolas, monospace; letter-spacing: 1px; }
.contact-box .info-line .full { color: var(--ok); font-size: 16px; }
.lock-tip { display: inline-flex; align-items: center; gap: 6px; color: var(--err); font-size: 13px; }

/* ---------- 动漫详情 ---------- */
.anime-detail { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.anime-detail .cv { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.anime-detail .cv img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.anime-detail .bd { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; }
.anime-detail .bd h1 { font-size: 27px; }
.anime-detail .kv { margin: 18px 0; border-top: 1px solid var(--line); }
.anime-detail .kv .r { display: flex; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.anime-detail .kv .r b { width: 90px; flex: none; color: var(--ink-2); font-weight: 400; }
.read-panel { margin-top: 20px; background: #f4f6fb; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- 阅读器 ---------- */
.reader { background: #171c2b; min-height: 100vh; padding-bottom: 60px; }
.reader .rbar { position: sticky; top: 0; z-index: 5; background: rgba(23,28,43,.92); backdrop-filter: blur(6px); color: #dfe4ef; display: flex; align-items: center; justify-content: space-between; padding: 12px 26px; }
.reader .rbar .t { font-size: 15px; }
.reader .rbar .ops { display: flex; gap: 10px; align-items: center; }
.reader .rbar button { background: rgba(255,255,255,.1); color: #dfe4ef; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 7px 16px; font-size: 13px; }
.reader .rbar button:hover { background: rgba(255,255,255,.2); }
.reader .stage { max-width: 860px; margin: 22px auto 0; padding: 0 16px; }
.reader .stage img { width: 100%; border-radius: 8px; box-shadow: 0 6px 30px rgba(0,0,0,.5); background: #222839; min-height: 420px; object-fit: contain; }
.reader .pageno { text-align: center; color: #8f97ab; font-size: 13px; margin: 14px 0 22px; letter-spacing: 2px; }
.reader .navrow { max-width: 860px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; gap: 12px; }
.reader .navrow button { flex: 1; background: rgba(255,255,255,.08); color: #dfe4ef; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 13px 0; font-size: 15px; }
.reader .navrow button:hover:not([disabled]) { background: rgba(255,255,255,.16); }
.reader .navrow button[disabled] { opacity: .35; cursor: not-allowed; }
.reader .chap { max-width: 860px; margin: 0 auto; padding: 10px 16px 40px; }
.reader .chap .ch-title { color: #fff; font-size: 20px; margin: 26px 0 14px; padding-left: 12px; border-left: 4px solid var(--gold-2); }
.reader .chap .ch-text { color: #c6cddd; font-size: 16px; line-height: 2; white-space: pre-wrap; }
.reader .gate { max-width: 460px; margin: 90px auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 40px 36px; text-align: center; color: #dfe4ef; }
.reader .gate svg { width: 44px; height: 44px; color: var(--gold-2); margin-bottom: 14px; }
.reader .gate p { color: #9aa3b8; font-size: 14px; margin: 10px 0 22px; }

/* ---------- 表单页 ---------- */
.form-wrap { max-width: 660px; margin: 0 auto; padding: 34px 24px 70px; }
.form-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 36px; }
.form-card h1 { font-size: 22px; margin-bottom: 6px; }
.form-card .desc { color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label small { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; background: #fbfcfe; outline: none; transition: .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.field .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agree-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-2); margin: 6px 0 18px; }
.agree-line input { width: auto; margin-top: 4px; }
.agree-line a { color: var(--brand); text-decoration: underline; }
.form-err { background: #fdf1f1; border: 1px solid #f0d3d3; color: var(--err); border-radius: 9px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; display: none; }
.form-ok { background: #eff7f2; border: 1px solid #cde5d8; color: var(--ok); border-radius: 9px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; display: none; }
.form-foot { text-align: center; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.form-foot a { color: var(--brand); font-weight: 600; }

/* ---------- 个人中心 ---------- */
.uc { max-width: 1200px; margin: 0 auto; padding: 26px 24px 70px; display: grid; grid-template-columns: 268px 1fr; gap: 22px; align-items: start; }
.uc-side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.uc-side .who { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; padding: 24px 22px; display: flex; gap: 14px; align-items: center; }
.uc-side .who .av { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.uc-side .who .av svg { width: 26px; height: 26px; color: #fff; }
.uc-side .who .ph { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.uc-side .who .sub { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 2px; }
.uc-side .who .tags { display: flex; gap: 6px; margin-top: 6px; }
.uc-side .who .tags span { font-size: 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 2px 10px; }
.uc-side .who .tags span.vip { background: var(--gold); border-color: var(--gold); }
.uc-side .coins { display: flex; justify-content: space-between; align-items: center; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.uc-side .coins b { color: var(--gold); font-size: 19px; }
.uc-side a.mi { display: flex; align-items: center; gap: 11px; padding: 13px 22px; font-size: 14px; border-left: 3px solid transparent; color: var(--ink); }
.uc-side a.mi svg { width: 17px; height: 17px; color: var(--ink-2); }
.uc-side a.mi:hover { background: #f4f6fb; }
.uc-side a.mi.on { background: #eef1f8; color: var(--brand); font-weight: 600; border-left-color: var(--brand); }
.uc-side a.mi.on svg { color: var(--brand); }
.uc-main { min-height: 560px; }
.uc-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px; }
.uc-panel h2 { font-size: 18px; margin-bottom: 18px; }
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc-stats .st { background: #f4f2ec; border-radius: 12px; padding: 20px 8px; text-align: center; }
.uc-stats .st b { font-size: 26px; color: var(--ink); }
.uc-stats .st p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.uc-blk { margin-top: 26px; }
.uc-blk h3 { font-size: 16px; margin-bottom: 10px; }
.uc-blk p.txt { color: var(--ink-2); font-size: 14px; }
.quota-note { background: #f4f6fb; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--ink-2); }
.quota-note b { color: var(--warn); }
.uc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uc-table th { text-align: left; color: var(--ink-2); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.uc-table td { padding: 12px 8px; border-bottom: 1px solid #f0f2f7; vertical-align: middle; }
.st-pill { display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 12px; }
.st-pill.ok { background: #e8f4ee; color: var(--ok); }
.st-pill.pd { background: #fdf3e7; color: var(--warn); }
.st-pill.rj { background: #fdf1f1; color: var(--err); }
.op-cell button { margin-right: 6px; }
.uc-empty { text-align: center; color: var(--ink-2); padding: 34px 0 20px; font-size: 14px; }

/* ---------- 充值 ---------- */
.rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.rg-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; text-align: center; transition: .15s; position: relative; }
.rg-card:hover { border-color: var(--brand); }
.rg-card.rec::after { content: "超值"; position: absolute; top: -11px; right: 16px; background: var(--gold); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 12px; }
.rg-card h3 { font-size: 17px; }
.rg-card .pr { font-size: 30px; font-weight: 700; color: var(--warn); margin: 10px 0 2px; }
.rg-card .pr small { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.rg-card p.bf { font-size: 13px; color: var(--ink-2); min-height: 42px; margin-bottom: 12px; }
.notice-list { counter-reset: n; }
.notice-list li { position: relative; padding: 9px 0 9px 40px; color: var(--ink-2); font-size: 15px; }
.notice-list li::before { counter-increment: n; content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-size: 13px; color: var(--gold); font-weight: 700; font-family: Consolas, monospace; }

/* ---------- 后台 ---------- */
.admin-wrap { max-width: 1240px; margin: 0 auto; padding: 26px 24px 70px; }
.ad-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 22px; }
.ad-stats .st { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 18px 10px; text-align: center; }
.ad-stats .st b { font-size: 24px; color: var(--brand); }
.ad-stats .st.warn b { color: var(--warn); }
.ad-stats .st p { font-size: 12px; color: var(--ink-2); margin-top: 3px; }
.ad-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.ad-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 9px 20px; font-size: 14px; color: var(--ink-2); }
.ad-tabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.ad-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ad-table th { text-align: left; color: var(--ink-2); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ad-table td { padding: 11px 8px; border-bottom: 1px solid #f0f2f7; vertical-align: top; }
.ad-table td.t { max-width: 340px; }
.ad-table .ops button { margin: 2px 4px 2px 0; }

/* ---------- 弹层 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(23,28,43,.5); display: none; align-items: center; justify-content: center; z-index: 50; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 16px; width: min(520px, 92vw); padding: 28px 30px; max-height: 86vh; overflow: auto; }
.modal h3 { font-size: 18px; margin-bottom: 14px; }
.modal .m-ops { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--brand-2); color: rgba(255,255,255,.66); margin-top: 70px; }
.footer .wrap { max-width: 1200px; margin: 0 auto; padding: 40px 24px 26px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: 1px; margin-bottom: 12px; }
.footer p, .footer a { font-size: 13px; line-height: 2.1; }
.footer a:hover { color: #fff; }
.footer .links a { margin-right: 18px; }
.footer .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer .brand-line svg { width: 34px; height: 34px; flex: none; border-radius: 8px; }
.footer .brand-line b { color: #fff; font-size: 16px; letter-spacing: 1px; }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 12.5px; }
.footer .bottom .icp a { color: rgba(255,255,255,.55); margin-left: 14px; }
.footer .bottom .icp a:hover { color: #fff; }
.footer .netnovel { color: rgba(255,255,255,.55); }

/* ---------- 提示 ---------- */
#toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-16px); background: var(--brand-2); color: #fff; padding: 11px 26px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 26px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: .25s; z-index: 99; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .duo, .works-row, .info-grid, .hall-main .grid, .rg-grid { grid-template-columns: 1fr; }
  .hall { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .anime-detail { grid-template-columns: 1fr; }
  .uc { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero .stats { gap: 30px; flex-wrap: wrap; }
  .uc-stats, .ad-stats { grid-template-columns: repeat(2, 1fr); }
  .site-top .wrap { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .detail-card .hero-img { height: 210px; }
  .footer .cols { grid-template-columns: 1fr; gap: 18px; }
}
