:root {
  --ink: #0b1220;
  --text: #24324a;
  --muted: #667085;
  --line: #e6eaf2;
  --bg: #f6f8fc;
  --surface: #fff;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #312e81;
  --brand-soft: #eef2ff;
  --ok: #059669;
  --danger: #dc2626;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

.top-strip { background: var(--ink); color: #94a3b8; font-size: 12.5px; }
.top-strip-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.top-links { display: flex; gap: 18px; }
.top-links a { color: #cbd5e1; }
.top-links a:hover { color: #fff; }

.site-head {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.head-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px rgba(79,70,229,.28);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-copy strong { font-size: 17px; color: var(--ink); }
.brand-copy small { font-size: 9.5px; letter-spacing: .16em; color: #94a3b8; }
.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a { color: #475467; font-size: 14.5px; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.site-search input {
  width: 190px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px;
  background: #f8fafc; outline: none;
}
.site-search input:focus { border-color: #a5b4fc; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; cursor: pointer; font-size: 22px; color: var(--ink); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; left: 20px; right: 20px; top: 64px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.mobile-panel a { padding: 10px 12px; border-radius: 8px; color: var(--text); }
.mobile-panel a:hover { background: var(--brand-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); cursor: pointer; transition: .18s ease; font-size: 14px;
}
.btn:hover { border-color: #c7d2fe; color: var(--brand); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; box-shadow: 0 10px 22px rgba(79,70,229,.24); }
.btn-primary:hover { color: #fff; filter: brightness(1.05); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-light { background: #fff; color: var(--brand-ink); border-color: #fff; }
.btn-light:hover { color: var(--brand); }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; }
.text-link:hover { text-decoration: none; }

/* hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(124,58,237,.5), transparent 32%),
    radial-gradient(circle at 8% 85%, rgba(56,189,248,.22), transparent 32%),
    linear-gradient(135deg, #0b1220 0%, #1e1b4b 52%, #312e81 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; align-items: center; padding: 84px 0 92px; }
.hero-copy h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; margin: 18px 0 20px; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4fc, #e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; color: #a5b4fc; font-size: 11.5px; letter-spacing: .18em; font-weight: 700; }
.eyebrow.dark { color: var(--brand); }
.hero-lede { color: #cbd5e1; font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 24px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; color: #94a3b8; font-size: 12.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.hero-visual { position: relative; min-height: 360px; }
.visual-card { position: absolute; background: rgba(255,255,255,.97); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px rgba(2,6,23,.38); }
.visual-main { right: 0; top: 20px; width: 340px; padding: 24px; }
.visual-main .pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; }
.visual-main h3 { font-size: 19px; margin: 12px 0 18px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 10px; background: #f8fafc; border-radius: 12px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #818cf8, #4f46e5); opacity: .9; }
.bars .bar-1 { height: 42%; } .bars .bar-2 { height: 66%; } .bars .bar-3 { height: 52%; }
.bars .bar-4 { height: 86%; } .bars .bar-5 { height: 73%; } .bars .bar-6 { height: 94%; }
.visual-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: 12.5px; }
.visual-meta strong { color: var(--ok); font-size: 20px; }
.visual-float { left: 0; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 16px 18px; width: 260px; }
.visual-float strong { display: block; font-size: 14px; }
.visual-float small { color: var(--muted); }
.dot-ok { width: 10px; height: 10px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 6px rgba(16,185,129,.13); }

.metric-band { background: #fff; border-bottom: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.metrics div { border-left: 2px solid var(--brand-soft); padding-left: 16px; }
.metrics strong { display: block; font-size: 27px; color: var(--ink); letter-spacing: -.02em; }
.metrics span { color: var(--muted); font-size: 13px; }

.section { padding: 78px 0; }
.section-muted { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 8px 0 8px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.compact { margin-bottom: 20px; }
.more { color: var(--brand); font-size: 13.5px; font-weight: 600; white-space: nowrap; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.feature-cover img { width: 100%; height: 154px; object-fit: cover; display: block; }
.feature-body { padding: 18px; }
.feature-tag { color: var(--brand); font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.feature-body h3 { font-size: 17px; margin: 8px 0 8px; }
.feature-body h3 a { color: var(--ink); }
.feature-body p { color: var(--muted); font-size: 13.5px; min-height: 42px; }

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solution-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; overflow: hidden; }
.solution-card::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--brand-soft); }
.solution-index { color: #c7d2fe; font-size: 34px; font-weight: 800; letter-spacing: -.05em; }
.solution-card h3 { font-size: 20px; margin: 10px 0; }
.solution-card h3 a { color: var(--ink); }
.solution-card p { color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: clamp(28px, 3.2vw, 38px); }
.split-copy p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #ecfdf5; color: #059669; font-size: 12px; margin-top: 3px; }
.split-visual { background: linear-gradient(160deg, #111827, #312e81); border-radius: 20px; padding: 30px; color: #fff; box-shadow: var(--shadow); }
.panel-row { display: grid; grid-template-columns: 90px 1fr 46px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.panel-row span { color: #cbd5e1; font-size: 13px; }
.panel-row strong { text-align: right; color: #a5b4fc; }
.progress { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #818cf8, #e9d5ff); }
.progress .p-88 { width: 88%; } .progress .p-76 { width: 76%; } .progress .p-92 { width: 92%; }
.panel-note { margin-top: 18px; color: #94a3b8; font-size: 12px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.case-body { padding: 18px; }
.case-body h3 { font-size: 18px; }
.case-body h3 a { color: var(--ink); }
.case-body p { color: var(--muted); font-size: 13.5px; }

.news-split { display: grid; grid-template-columns: 1.55fr .75fr; gap: 40px; align-items: start; }
.news-list { display: grid; }
.news-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item time { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.news-item h3 { font-size: 17px; margin: 0 0 4px; }
.news-item h3 a { color: var(--ink); }
.news-item p { color: var(--muted); font-size: 13.5px; margin: 0; }
.about-card { background: linear-gradient(160deg, #111827, #1e1b4b); color: #fff; border-radius: 20px; padding: 30px; }
.about-card h3 { color: #fff; font-size: 24px; margin-top: 10px; }
.about-card p { color: #cbd5e1; }
.about-card ul { padding-left: 18px; color: #cbd5e1; margin: 18px 0; }
.about-card .btn { margin-top: 6px; }

.cta-band { background: linear-gradient(120deg, #312e81, #4f46e5 60%, #7c3aed); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 54px 0; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-inner p { color: #e0e7ff; margin: 0; }

/* page banner / channel / article */
.page-banner { background: radial-gradient(circle at 88% 10%, rgba(124,58,237,.28), transparent 40%), linear-gradient(120deg, #0b1220, #1e1b4b); color: #fff; padding: 58px 0; }
.page-banner h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin: 8px 0 10px; }
.page-banner p { color: #cbd5e1; max-width: 720px; }
.page-banner .breadcrumb, .page-banner a { color: #a5b4fc; }
.compact-banner { padding: 46px 0; }
.search-large { display: flex; gap: 10px; margin-top: 18px; max-width: 640px; }
.search-large input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; outline: none; }
.search-large input::placeholder { color: #94a3b8; }

.channel-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 2px; }
.side-nav h3 { font-size: 14px; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.side-nav a { padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 14px; }
.side-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.side-cta { background: linear-gradient(160deg, #111827, #312e81); color: #fff; border-radius: var(--radius); padding: 22px; margin-top: 18px; display: grid; gap: 8px; }
.side-cta strong { color: #fff; }
.side-cta p { color: #cbd5e1; font-size: 13px; margin: 0; }
.channel-main { min-width: 0; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.article-cover img { width: 100%; height: 180px; object-fit: cover; display: block; }
.article-body { padding: 20px; }
.article-meta { color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.article-body h2 { font-size: 19px; margin-bottom: 8px; }
.article-body h2 a { color: var(--ink); }
.article-body p { color: var(--muted); font-size: 13.5px; }
.empty-state { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 56px 24px; text-align: center; }

.article-hero { background: linear-gradient(120deg, #0b1220, #1e1b4b); color: #fff; padding: 56px 0; }
.article-hero-inner { max-width: 940px; }
.article-kicker { color: #a5b4fc; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.article-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin: 12px 0; }
.article-lede { color: #cbd5e1; font-size: 17px; max-width: 780px; }
.article-info { display: flex; gap: 18px; flex-wrap: wrap; color: #94a3b8; font-size: 12.5px; margin-top: 14px; }
.article-info a { color: #a5b4fc; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding: 48px 0; align-items: start; }
.article-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; min-width: 0; }
.article-cover-full { width: 100%; border-radius: 12px; margin-bottom: 24px; }
.prose { font-size: 16px; color: #334155; }
.prose h2 { font-size: 24px; margin: 28px 0 12px; }
.prose h3 { font-size: 19px; margin: 22px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose img { border-radius: 10px; }
.prose blockquote { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--brand-soft); color: #3730a3; }
.article-side { display: grid; gap: 16px; }
.article-side .side-cta { margin-top: 0; }
.article-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { background: #f1f5f9; border-radius: 999px; padding: 3px 10px; color: var(--muted); font-size: 12.5px; }
.related { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.related h2 { font-size: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.related-grid a { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.related-grid a:hover { border-color: #c7d2fe; background: var(--brand-soft); }
.comments { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.comment-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.comment-list li { background: #f8fafc; border-radius: 10px; padding: 14px; }
.comment-list p { margin: 6px 0 0; color: var(--text); }
.comment-form { display: grid; gap: 12px; margin-top: 18px; }
.comment-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.comment-form input, .comment-form textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.comment-form .hp { display: none; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.page-prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.topic-intro { max-width: 780px; margin-bottom: 28px; color: var(--muted); }
.search-results { display: grid; gap: 12px; }
.search-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.search-item h3 { font-size: 18px; margin-bottom: 6px; }
.search-item p { color: var(--muted); margin: 0 0 6px; }

.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 30px 0; }
.pagination a, .pagination span { min-width: 36px; padding: 7px 10px; text-align: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a:hover { border-color: #c7d2fe; color: var(--brand); }

/* footer */
.site-foot { background: #0b1220; color: #94a3b8; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 38px; }
.foot-brand .brand-copy strong { color: #fff; }
.foot-brand .brand-copy small { color: #64748b; }
.foot-brand p { color: #94a3b8; font-size: 13.5px; margin-top: 16px; max-width: 320px; }
.foot-col h4 { color: #e2e8f0; font-size: 13px; letter-spacing: .08em; margin-bottom: 12px; }
.foot-col a, .foot-col p { display: block; color: #94a3b8; font-size: 13.5px; margin: 0 0 8px; }
.foot-col a:hover { color: #fff; }
.foot-partners { display: flex; flex-wrap: wrap; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(148,163,184,.14); color: #64748b; font-size: 12.5px; }
.foot-partners a { color: #94a3b8; }
.foot-partners a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(148,163,184,.14); font-size: 12.5px; color: #64748b; }

/* member pages */
.member-card { max-width: 460px; margin: 60px auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.member-card form { display: grid; gap: 12px; }
.member-card label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.member-card input, .member-card textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.profile-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.profile-avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 20px; }

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .mobile-menu { display: block; }
  .head-actions .site-search { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0; }
  .hero-visual { display: none; }
  .case-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .page-layout { grid-template-columns: 1fr; }
  .article-side { order: 2; }
}
@media (max-width: 760px) {
  .top-strip { display: none; }
  .head-inner { height: 64px; }
  .head-actions .btn { display: none; }
  .shell { width: calc(100% - 32px); }
  .section { padding: 52px 0; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .solution-grid, .case-grid, .article-grid { grid-template-columns: 1fr; }
  .split, .news-split, .channel-layout { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .article-main, .page-prose { padding: 22px; }
  .article-hero { padding: 42px 0; }
  .related-grid { grid-template-columns: 1fr; }
}

/* unified public form controls */
select, .site-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), .site-main textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d8dfea; border-radius: 10px;
  background: #fff; color: var(--text); outline: none; font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23667085' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.site-main input:focus, .site-main textarea:focus, .site-main select:focus {
  border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.site-main form button:not(.link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 18px rgba(79,70,229,.2);
}
.site-main form button:not(.link):hover { filter: brightness(1.05); }
.site-main form button:disabled { opacity: .55; cursor: default; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid label:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* member auth */
.auth-page { padding: 64px 0 80px; background:
  radial-gradient(circle at 12% 8%, rgba(79,70,229,.12), transparent 32%),
  radial-gradient(circle at 92% 90%, rgba(124,58,237,.10), transparent 34%), var(--bg); }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 44px; align-items: stretch; }
.auth-aside { background: linear-gradient(150deg, #0b1220, #1e1b4b 62%, #312e81); color: #fff; border-radius: 22px; padding: 42px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); }
.auth-aside h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 16px; }
.auth-aside p { color: #cbd5e1; }
.auth-benefits { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.auth-benefits li { display: flex; align-items: center; gap: 10px; color: #cbd5e1; }
.auth-benefits li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.16); color: #34d399; font-size: 12px; }
.auth-stats { display: flex; gap: 30px; margin-top: 18px; }
.auth-stats strong { display: block; font-size: 26px; color: #fff; }
.auth-stats span { color: #94a3b8; font-size: 12.5px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); align-self: center; width: 100%; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .member-form { margin-top: 22px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.compact-auth .auth-aside { min-height: 300px; }

.member-form { display: grid; gap: 14px; }
.member-form label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
.member-form label.hp { display: none; }
.member-form .btn, .member-form button { justify-self: start; }
.site-main .member-form .member-form-submit { width: 100%; justify-self: stretch; }
.member-form small { color: var(--muted); }

/* member dashboard */
.member-page { padding: 46px 0 76px; }
.member-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(150deg, #0b1220, #1e1b4b 60%, #312e81); color: #fff; border-radius: 22px; padding: 30px 34px; box-shadow: var(--shadow); }
.member-hero h1 { color: #fff; font-size: 28px; margin: 0 0 4px; }
.member-hero .muted { color: #94a3b8; }
.member-hero .profile-avatar { width: 64px; height: 64px; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; }
.member-hero .profile-head { margin: 0; }
.member-stats { display: flex; gap: 34px; }
.member-stats strong { display: block; color: #fff; font-size: 22px; }
.member-stats span { color: #94a3b8; font-size: 12px; }
.member-dashboard { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin-top: 22px; align-items: start; }
.member-side { display: grid; gap: 16px; }
.member-side .side-cta { margin: 0; }
.member-side .member-form { margin-top: 6px; }
.member-side .member-form button { width: 100%; }
.member-main { display: grid; gap: 16px; }
.member-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); }
.member-panel h2 { font-size: 18px; margin-bottom: 16px; }
.favorite-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.favorite-list li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.favorite-list li:last-child { border-bottom: 0; }
.favorite-list a { color: var(--text); }
.favorite-list a:hover { color: var(--brand); }
.favorite-list span { color: #cbd5e1; }
.hp { display: none; }

@media (max-width: 980px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-aside { padding: 28px; }
  .member-dashboard { grid-template-columns: 1fr; }
  .member-hero { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- article attachments ---------- */
.attachments { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line, #e2e8f0); border-radius: 14px; background: #f8fafc; }
.attachments h3 { margin: 0 0 10px; font-size: 16px; }
.attachments ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.attachments li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e2e8f0; }
.attachments li:last-child { border-bottom: 0; }
.attachments a { color: #4f46e5; font-weight: 600; }
.attachment-meta { color: #94a3b8; font-size: 12px; white-space: nowrap; }
.attachment-vip { color: #b45309; background: #fffbeb; border-radius: 999px; padding: 2px 7px; }

/* ---------- member slider captcha ---------- */
.member-captcha { border: 1px solid var(--line); border-radius: 12px; background: #f8faff; }
.member-captcha-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.member-captcha-label { display: inline-flex; align-items: center; gap: 6px; color: #475569; font-size: 13px; font-weight: 600; }
.member-captcha-state { margin-left: auto; color: var(--muted); font-size: 12px; }
.site-main .member-form .member-captcha-open { border: 1px solid #c7d2fe; border-radius: 8px; padding: 7px 12px; background: #eef2ff; color: var(--brand); font-size: 13px; cursor: pointer; }
.site-main .member-form .member-captcha-open:hover { background: #e0e7ff; filter: none; }
.member-captcha.is-verified { border-color: #a7f3d0; background: #f0fdf4; }
.member-captcha.is-verified .member-captcha-state { color: #047857; font-weight: 600; }
.member-captcha-noscript { margin: 0; padding: 0 12px 10px; color: var(--danger); font-size: 12px; }

.member-captcha-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; background: rgba(15,23,42,.58); backdrop-filter: blur(4px); }
.member-captcha-modal[hidden] { display: none !important; }
body.member-captcha-open { overflow: hidden; }
body.member-captcha-open .wy-im-btn,
body.member-captcha-open .wy-im-panel { display: none !important; }
.member-captcha-dialog { width: min(380px, 100%); border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(15,23,42,.4); overflow: hidden; }
.member-captcha-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #edf1f8; }
.member-captcha-dialog-head strong { font-size: 15px; color: var(--ink); }
.member-captcha-dialog-actions { display: flex; align-items: center; gap: 8px; }
.site-main .member-form .member-captcha-refresh { justify-self: auto; border: 0; background: none; color: var(--brand); font-size: 12px; cursor: pointer; padding: 0; }
.site-main .member-form .member-captcha-refresh:hover { background: none; color: var(--brand-2); text-decoration: underline; filter: none; }
.site-main .member-form .member-captcha-close { width: 28px; height: 28px; border: 0; border-radius: 7px; padding: 0; background: #f1f5f9; color: #64748b; font-size: 20px; line-height: 1; cursor: pointer; }
.site-main .member-form .member-captcha-close:hover { background: #e2e8f0; color: var(--ink); filter: none; }
.member-captcha-dialog-body { display: grid; gap: 10px; padding: 14px 16px 18px; }
.member-captcha-tip { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.member-captcha-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #e2e8f0; }
.member-captcha-image { display: block; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }
.member-captcha-thumb { position: absolute; left: 0; top: 0; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 2px 4px rgba(15,23,42,.45)); }
.member-captcha-track { position: relative; height: 40px; overflow: hidden; border: 1px solid #c7d2fe; border-radius: 9px; background: #eef2ff; touch-action: none; }
.member-captcha-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(79,70,229,.22), rgba(124,58,237,.3)); transition: width .08s linear; }
.site-main .member-form .member-captcha-handle { position: absolute; left: 0; top: 0; width: 46px; height: 100%; padding: 0; border: 0; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 18px; cursor: grab; touch-action: none; }
.site-main .member-form .member-captcha-handle:active { cursor: grabbing; }
.member-captcha-status { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.member-captcha.is-error .member-captcha-status { color: var(--danger); }
.member-captcha.is-verified .member-captcha-status { color: #047857; font-weight: 600; }
.member-captcha.is-verified .member-captcha-track { opacity: .65; }
