/* ============================================================
   拾光匣LocalVault 官网样式
   配色与应用主题保持一致：深蓝黑底 + 金色强调
   由 application/index/view/public/base.html 引入，全站共用一份
   ============================================================ */

:root {
    --bg: #0b0d12;
    --bg2: #11141b;
    --bg3: #171b24;
    --card: #141822;
    --card2: #1b2029;
    --line: #262c38;
    --line2: #323a4a;
    --tx: #e6e8ee;
    --tx2: #a8b0c0;
    --tx3: #6f7889;
    --gold: #d9a94e;
    --gold2: #f2cd82;
    --gold-dim: rgba(217, 169, 78, .14);
    --green: #4caf7d;
    --red: #e05252;
    --blue: #5b9cf8;
    --purple: #a97bf0;
    --r: 10px;
    --wrap: 1180px;
    --shadow: 0 6px 24px rgba(0, 0, 0, .45);
    --head-h: 66px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--tx);
    font: 15px/1.75 "Microsoft YaHei", "PingFang SC", "Segoe UI", -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .18s; }
a:hover { color: var(--gold2); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; letter-spacing: .3px; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--bg3);
    border: 1px solid var(--line);
    color: var(--gold2);
    word-break: break-all;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.wrap.art-wrap { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.4;
    transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn svg { width: 19px; height: 19px; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #b9852f);
    color: #1b1408;
    box-shadow: 0 6px 20px rgba(217, 169, 78, .24);
}
.btn-gold:hover { color: #17110a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 169, 78, .34); }
.btn-line { background: var(--gold-dim); border-color: rgba(217, 169, 78, .4); color: var(--gold2); }
.btn-line:hover { background: rgba(217, 169, 78, .22); transform: translateY(-2px); color: var(--gold2); }
.btn-ghost { background: var(--card); border-color: var(--line2); color: var(--tx2); }
.btn-ghost:hover { color: var(--tx); border-color: var(--gold); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-off { background: var(--bg3); border-color: var(--line); color: var(--tx3); cursor: not-allowed; box-shadow: none; }

/* ---------- 页头 ---------- */
.site-head {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--head-h);
    background: rgba(11, 13, 18, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(11, 13, 18, .95); }
.head-in { display: flex; align-items: center; height: var(--head-h); gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--tx); flex: none; }
.brand:hover { color: var(--tx); }
.brand-mark {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(217, 169, 78, .3);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 16px; }
.brand-txt i { font-style: normal; font-size: 10px; letter-spacing: 2.4px; color: var(--tx3); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.site-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--tx2);
    font-size: 15px;
}
.site-nav a:hover { color: var(--tx); background: var(--bg3); }
.site-nav a.on { color: var(--gold2); background: var(--gold-dim); }

.head-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle {
    display: none;
    width: 38px; height: 34px;
    padding: 0;
    background: var(--card);
    border: 1px solid var(--line2);
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--tx2); transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero-glow {
    position: absolute;
    left: 50%; top: -260px;
    width: 1100px; height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(217, 169, 78, .16), rgba(217, 169, 78, 0) 62%);
    pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--gold2);
    background: var(--gold-dim);
    border: 1px solid rgba(217, 169, 78, .28);
    margin-bottom: 18px;
}
.hero h1 { font-size: 46px; margin-bottom: 14px; }
.hero .lead { color: var(--tx2); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; color: var(--tx3); font-size: 14px; }
.hero-facts li { position: relative; padding-left: 18px; }
.hero-facts li::before {
    content: "";
    position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

/* CSS 绘制的产品窗口 */
.hero-art { position: relative; }
.win {
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg3); border-bottom: 1px solid var(--line); }
.wdot { width: 10px; height: 10px; border-radius: 50%; }
.wdot.r { background: #e05252; }
.wdot.y { background: #d9a94e; }
.wdot.g { background: #4caf7d; }
.win-name { margin-left: 8px; font-size: 12px; color: var(--tx3); }
.win-body { display: flex; min-height: 300px; }
.win-side { flex: none; width: 92px; padding: 12px 8px; background: #0e1118; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.side-item { padding: 7px 9px; border-radius: 7px; font-size: 12px; color: var(--tx3); }
.side-item.on { background: var(--gold-dim); color: var(--gold2); }
.win-main { flex: 1; padding: 14px; min-width: 0; }
.win-crumb { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 12px; }
.crumb-path { color: var(--tx2); }
.crumb-num { color: var(--tx3); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.t { display: block; aspect-ratio: 4 / 3; border-radius: 7px; background: var(--card2); border: 1px solid var(--line); }
.t1 { background: linear-gradient(140deg, #2b3b52, #1b2532); }
.t2 { background: linear-gradient(140deg, #3d3450, #221d2e); }
.t3 { background: linear-gradient(140deg, #2f4438, #1a2720); }
.t4 { background: linear-gradient(140deg, #4a3a2a, #251e16); }
.t5 { background: linear-gradient(140deg, #26404a, #15252b); }
.t6 { background: linear-gradient(140deg, #43324a, #231a28); }
.t7 { background: linear-gradient(140deg, #2d3d44, #18242a); }
.t8 { background: linear-gradient(140deg, #4a4230, #26221a); }
.t9 { background: linear-gradient(140deg, #333f55, #1c2330); }
.t10 { background: linear-gradient(140deg, #2c4a3e, #182821); }
.t11 { background: linear-gradient(140deg, #463244, #241a23); }
.t12 { background: linear-gradient(140deg, #3a4252, #1f242e); }
.win-foot { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; color: var(--tx3); }
.foot-right { margin-left: auto; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(76, 175, 125, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.float-card {
    position: absolute;
    right: -14px;
    padding: 11px 15px;
    border-radius: 11px;
    background: rgba(27, 32, 41, .95);
    border: 1px solid var(--line2);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    animation: floaty 6s ease-in-out infinite;
}
.float-card b { font-size: 13px; color: var(--gold2); }
.float-card span { font-size: 12px; color: var(--tx2); }
.float-card.f1 { top: -18px; }
.float-card.f2 { bottom: -14px; right: auto; left: -10px; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- 通用区块 ---------- */
.sec { padding: 82px 0; }
.sec.tight { padding: 46px 0 72px; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-hd { max-width: 680px; margin-bottom: 38px; }
.sec-hd h2 { margin-bottom: 10px; }
.sec-hd p { color: var(--tx2); margin: 0; }
.hd-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.more { font-size: 14px; white-space: nowrap; }

.page-hd { padding: 52px 0 8px; }
.page-hd h1 { font-size: 34px; margin-bottom: 8px; }
.page-hd p { color: var(--tx2); max-width: 720px; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 24px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 169, 78, .45); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--tx2); font-size: 14px; margin: 0; }
.card .ico {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: var(--gold-dim);
    color: var(--gold);
    margin-bottom: 16px;
}
.card .ico svg { width: 23px; height: 23px; }
.card.mini { padding: 20px 22px; }
.card.mini h4 { font-size: 16px; margin-bottom: 6px; color: var(--gold2); }
.card.mini p { font-size: 14px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--tx2); font-size: 14px; }
.ticks li::before {
    content: "";
    position: absolute; left: 0; top: 8px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}
.ticks.big li { font-size: 15px; margin-bottom: 12px; padding-left: 26px; }

/* ---------- 内置浏览器横条 ---------- */
.wide {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(140deg, #161b26, #10131a);
    border: 1px solid var(--line);
}
.wide-txt h3 { font-size: 22px; }
.wide-txt p { color: var(--tx2); }
.bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: var(--bg3); border: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.bdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.burl { margin-left: 8px; font-size: 12px; color: var(--tx3); }
.sniff { padding: 10px; background: var(--bg2); border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px; }
.srow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; font-size: 12px; color: var(--tx2); }
.srow i { width: 16px; height: 16px; flex: none; border-radius: 4px; border: 1px solid var(--line2); background: var(--card2); }
.srow em { font-style: normal; }
.srow b { margin-left: auto; font-weight: 400; color: var(--tx3); }
.srow.pick { background: var(--gold-dim); color: var(--gold2); }
.srow.pick i { border-color: var(--gold); background: var(--gold); }

/* ---------- 对比表 / 历史版本表 ---------- */
.tablewrap { margin-top: 26px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }
thead th, table.cmp tr:first-child th { color: var(--tx3); font-weight: 600; font-size: 13px; background: var(--bg3); }
table.cmp td:first-child, table.cmp th:first-child { color: var(--tx2); width: 160px; }
table.cmp td:nth-child(3) { color: var(--gold2); }
table.hist td { vertical-align: middle; }
table.hist .ver { color: var(--gold2); font-weight: 700; white-space: nowrap; }
table.hist .dl a { margin-right: 12px; white-space: nowrap; }
.none { color: var(--tx3); font-size: 13px; }

/* ---------- 线上体系 ---------- */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.two-txt > p { color: var(--tx2); }
.two-txt .btn { margin-top: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 18px; box-shadow: var(--shadow); }
.stat-row { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--tx2); }
.stat-row:last-child { border-bottom: none; }
.stat-row b { margin-left: auto; color: var(--tx); font-size: 17px; }
.stat-row .up { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: rgba(76, 175, 125, .16); color: var(--green); }
.medals { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.medal {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 19px;
    color: var(--tx3);
    background: var(--bg3);
    border: 1px dashed var(--line2);
}
.medal.on { color: var(--gold2); border: 1px solid rgba(217, 169, 78, .45); background: var(--gold-dim); box-shadow: 0 0 14px rgba(217, 169, 78, .18); }
.medals-hint { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--tx3); }

/* ---------- 公告卡 ---------- */
.card.note { display: flex; flex-direction: column; gap: 6px; color: var(--tx); }
.card.note:hover { color: var(--tx); }
.note-tag { font-size: 12px; color: var(--gold); }
.card.note p { flex: 1; }
.card.note time { font-size: 12px; color: var(--tx3); }

/* ---------- FAQ ---------- */
.qa { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; overflow: hidden; }
.qa summary { padding: 15px 20px; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 42px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
    content: "+";
    position: absolute; right: 20px; top: 12px;
    color: var(--gold); font-size: 20px; line-height: 1;
    transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa[open] summary { color: var(--gold2); border-bottom: 1px solid var(--line); }
.qa p { padding: 15px 20px 18px; margin: 0; color: var(--tx2); font-size: 14px; }

/* ---------- 结尾条 ---------- */
.cta { padding: 68px 0; background: linear-gradient(120deg, #141822, #1b1710 60%, #141822); border-top: 1px solid var(--line); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta p { margin: 0; color: var(--tx2); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 下载页 ---------- */
.pkg { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.pkg-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.pkg-hd h3 { margin: 0; font-size: 20px; }
.pkg-size { font-size: 13px; color: var(--gold2); white-space: nowrap; }
.pkg-note { color: var(--tx2); font-size: 14px; flex: 1; }
.hash { margin: 22px 0 0; font-size: 13px; color: var(--tx3); }
.steps { margin-top: 30px; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.steps h3 { color: var(--gold2); }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { counter-increment: st; display: flex; align-items: baseline; gap: 12px; padding: 9px 0; color: var(--tx2); font-size: 14px; }
.steps li::before { content: counter(st); width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gold-dim); color: var(--gold2); font-size: 12px; font-weight: 700; }
.steps li b { color: var(--tx); flex: none; }
.notes-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.notes-box h3 { display: flex; align-items: baseline; gap: 12px; color: var(--gold2); }
.notes-box h3 span { font-weight: 400; font-size: 13px; color: var(--tx3); }
.md { color: var(--tx2); font-size: 14px; white-space: normal; }

/* ---------- 更新日志 ---------- */
.logline { position: relative; padding-left: 26px; }
.logline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.log { position: relative; padding-bottom: 30px; }
.log::before { content: ""; position: absolute; left: -25px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.log header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.lg-ver { color: var(--gold2); font-size: 18px; }
.log time { color: var(--tx3); font-size: 13px; }

/* ---------- 公告列表 ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--tx2); background: var(--card); border: 1px solid var(--line); }
.tab:hover { color: var(--tx); border-color: var(--line2); }
.tab.on { color: #1b1408; background: linear-gradient(135deg, var(--gold), #c89539); border-color: transparent; font-weight: 600; }
.nlist { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.nrow { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); color: var(--tx); }
.nrow:last-child { border-bottom: none; }
.nrow:hover { background: var(--bg3); color: var(--tx); }
.nrow-main { min-width: 0; flex: 1; }
.nrow h3 { margin: 0 0 4px; font-size: 17px; }
.nrow p { margin: 0 0 8px; color: var(--tx2); font-size: 14px; }
.topmark { margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 400; background: var(--gold-dim); color: var(--gold2); vertical-align: 2px; }
.nmeta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--tx3); flex-wrap: wrap; }
.ntag { padding: 2px 9px; border-radius: 6px; background: rgba(91, 156, 248, .14); color: var(--blue); }
.ntags { color: var(--tx3); }
.narrow { flex: none; color: var(--gold); font-size: 18px; }
.pager { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 26px; font-size: 14px; }
.pg { padding: 8px 16px; border-radius: 9px; background: var(--card); border: 1px solid var(--line); color: var(--tx2); }
.pg:hover { color: var(--gold2); border-color: rgba(217, 169, 78, .4); }
.pg-cur { color: var(--tx3); }
.pg-total { color: var(--tx3); margin-left: auto; font-size: 13px; }

/* ---------- 公告详情 ---------- */
.art-main { min-width: 0; }
.art-hd { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.art-hd h1 { font-size: 30px; margin: 10px 0 12px; }
.art-sum { color: var(--tx2); font-size: 16px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--bg2); border-radius: 0 10px 10px 0; }
.article { font-size: 15px; line-height: 1.9; color: #d8dce6; word-break: break-word; }
.article img { border-radius: 10px; margin: 12px 0; height: auto; }
.article h1, .article h2, .article h3, .article h4 { margin: 1.4em 0 .6em; color: var(--tx); }
.article h2 { font-size: 22px; }
.article h3 { font-size: 18px; }
.article p { margin: 0 0 1em; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--gold); text-decoration: underline; }
.article blockquote { margin: 1em 0; padding: 10px 18px; border-left: 3px solid var(--gold); background: var(--bg2); color: var(--tx2); }
.article pre, .article code { background: var(--bg3); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.article pre { padding: 14px 16px; overflow-x: auto; }
.article table { border: 1px solid var(--line); margin: 1em 0; }
.article th, .article td { border: 1px solid var(--line); }
.art-link { margin-top: 24px; }
.back-line { margin-top: 26px; font-size: 14px; }
.art-side { position: sticky; top: calc(var(--head-h) + 24px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.art-side h4 { font-size: 15px; color: var(--gold2); margin-bottom: 12px; }
.side-note { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--tx2); font-size: 14px; }
.side-note:hover { color: var(--gold2); }
.side-note time { font-size: 12px; color: var(--tx3); }
.side-more { display: block; margin-top: 16px; font-size: 14px; }

/* ---------- 反馈页 ---------- */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.fb-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.alert { padding: 12px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert.ok { background: rgba(76, 175, 125, .12); border: 1px solid rgba(76, 175, 125, .4); color: #8ad4ac; }
.alert.bad { background: rgba(224, 82, 82, .12); border: 1px solid rgba(224, 82, 82, .4); color: #f09a9a; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; color: var(--tx2); margin-bottom: 8px; }
.field > label i { color: var(--red); font-style: normal; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type=text], textarea, select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--bg2);
    border: 1px solid var(--line2);
    color: var(--tx);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s, box-shadow .18s;
}
input[type=text]:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
::placeholder { color: #5a6273; }
.hint { margin: 7px 0 0; font-size: 12px; color: var(--tx3); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; padding: 7px 15px; border-radius: 999px; font-size: 14px; color: var(--tx2); background: var(--bg2); border: 1px solid var(--line2); cursor: pointer; transition: all .18s; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip:hover { color: var(--tx); border-color: var(--gold); }
.chip.on { color: #1b1408; background: linear-gradient(135deg, var(--gold), #c89539); border-color: transparent; font-weight: 600; }
.via { display: flex; gap: 10px; margin-bottom: 10px; }
.radio { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 9px; background: var(--bg2); border: 1px solid var(--line2); font-size: 13px; color: var(--tx2); cursor: pointer; }
.radio input { accent-color: var(--gold); margin: 0; }
.radio:has(input:checked) { border-color: var(--gold); color: var(--gold2); }
.radio.on { border-color: var(--gold); color: var(--gold2); }
.acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.quiet { font-size: 12px; color: var(--tx3); }
.hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.side-card h3 { font-size: 16px; color: var(--gold2); margin-bottom: 12px; }
.side-card p { font-size: 14px; color: var(--tx2); margin: 0 0 10px; }
.flow { list-style: none; counter-reset: fl; margin: 0 0 12px; padding: 0; }
.flow li { counter-increment: fl; display: flex; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 14px; color: var(--tx2); }
.flow li::before { content: counter(fl); width: 21px; height: 21px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg3); border: 1px solid var(--line2); color: var(--gold2); font-size: 11px; }
.flow li b { color: var(--tx); flex: none; }
.queue { font-size: 13px; color: var(--tx3); background: var(--bg2); border-radius: 9px; padding: 10px 14px; margin: 0; }
.contact { font-size: 13px; color: var(--tx2); padding-top: 12px; border-top: 1px dashed var(--line); }

/* ---------- 首页九屏 ---------- */
/* 粒子背景由 site.js 自己画，不引外部库；画布不接事件，文字压在它上面 */
.hero-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: .55;
    pointer-events: none;
}

.kicker {
    display: block;
    margin-bottom: 12px;
    font: 12px/1.5 Consolas, "Courier New", monospace;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--gold);
}
.hero-txt .kicker { margin-bottom: 14px; }
.sec-hd .kicker { margin-bottom: 14px; }

.vault {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #070910;
    box-shadow: var(--shadow);
}
.hero-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 14px 0 0; padding: 0; font-size: 12px; color: var(--tx3); }
.hero-legend li { display: flex; align-items: center; gap: 6px; }
.lg-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--line2); }
.lg-dot.img { background: var(--blue); }
.lg-dot.vid { background: var(--purple); }
.lg-dot.aud { background: var(--green); }
.lg-dot.doc { background: var(--gold); }

.scroll-cue { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; margin: 10px auto 0; max-width: var(--wrap); font-size: 13px; color: var(--tx3); }
.scroll-cue:hover { color: var(--gold2); }
.scroll-cue i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: drop 1.9s ease-in-out infinite; }
@keyframes drop {
    0%, 100% { transform: rotate(45deg) translate(-2px, -2px); opacity: .55; }
    50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

.nums { padding: 42px 0 46px; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 16px; }
.num { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(150deg, #171c26, #10131a); }
.num::before { content: ""; position: absolute; left: 18px; top: 0; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(217, 169, 78, 0)); }
.num-v { display: block; font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--gold2); font-variant-numeric: tabular-nums; }
.num-l { display: block; margin-top: 4px; font-size: 14px; color: var(--tx); }
.num-n { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--tx3); }
.nums-hint { margin: 0; text-align: center; font-size: 13px; color: var(--tx3); }

/* 吸顶页头和导览条会压住锚点落点，跳转时预留出这两段高度 */
.hero, .nums, .sec { scroll-margin-top: calc(var(--head-h) + 56px); }

/* 锚点导览条：吸在页头下面，横向可滚，当前屏高亮 */
.chipbar {
    position: sticky;
    top: var(--head-h);
    z-index: 40;
    padding: 9px 0;
    background: rgba(11, 13, 18, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.chipbar-in { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chipbar-in::-webkit-scrollbar { display: none; }
.chipbar .chip { flex: none; padding: 6px 14px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.chipbar .chip:hover { color: var(--gold2); border-color: rgba(217, 169, 78, .45); background: var(--gold-dim); }
.chipbar .chip.on { color: #1b1408; background: linear-gradient(135deg, var(--gold), #c89539); border-color: transparent; font-weight: 600; }
.chip-dl { flex: none; padding: 6px 14px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: #1b1408; background: linear-gradient(135deg, var(--gold), #c89539); }
.chip-dl:hover { color: #17110a; transform: translateY(-1px); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.tags li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--tx3); background: var(--bg3); }
.card:hover .tags li, .tech:hover .tags li { color: var(--tx2); border-color: var(--line2); }

.tech-grid { gap: 18px; }
.tech { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: transform .2s, border-color .2s; }
.tech:hover { transform: translateY(-3px); border-color: rgba(217, 169, 78, .4); }
.tech h4 { margin-bottom: 8px; font-size: 16px; color: var(--gold2); }
.tech p { margin: 0; font-size: 14px; color: var(--tx2); }

.flow-col { gap: 40px; align-items: start; }
.flow-steps .sec-hd { margin-bottom: 22px; }
.fsteps { list-style: none; margin: 0; padding: 0; }
.fsteps li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.fsteps li:last-child { border-bottom: none; }
.step-n { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(217, 169, 78, .35); border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--gold2); background: var(--gold-dim); }
.fsteps h4 { margin: 2px 0 4px; font-size: 15px; color: var(--tx); }
.fsteps p { margin: 0; font-size: 14px; color: var(--tx2); }
.flow-art .win-body { min-height: 348px; }
.flow-note { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; font-size: 12px; color: var(--tx3); }

.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.news-side .grid-3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.vercard {
    position: sticky;
    top: calc(var(--head-h) + 60px);
    padding: 22px;
    border: 1px solid var(--line2);
    border-radius: 16px;
    background: linear-gradient(160deg, #1a2029, #12151d);
    box-shadow: var(--shadow);
}
.ver-hd { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ver-tag { display: inline-block; padding: 3px 10px; border: 1px solid rgba(217, 169, 78, .3); border-radius: 999px; font-size: 11px; letter-spacing: 1px; color: var(--gold2); background: var(--gold-dim); }
.ver-hd h3 { margin: 10px 0 2px; font-size: 24px; color: var(--tx); }
.ver-hd time { font-size: 12px; color: var(--tx3); }
.ver-notes { margin: 14px 0 0; max-height: 148px; overflow-y: auto; font-size: 13px; line-height: 1.7; color: var(--tx2); white-space: pre-line; }
.ver-meta { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); font-size: 13px; }
.ver-meta li { display: flex; justify-content: space-between; gap: 12px; color: var(--tx3); }
.ver-meta b { text-align: right; font-weight: 600; color: var(--tx); }
.ver-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ver-btns .btn { flex: 1 1 auto; padding: 9px 14px; font-size: 13px; }

.empty h3 { margin-bottom: 6px; font-size: 17px; color: var(--tx2); }
.empty p { margin: 0 0 14px; }

/* ---------- 空状态 ---------- */
.empty {
    padding: 46px 26px;
    border: 1px dashed var(--line2);
    border-radius: 14px;
    background: var(--bg2);
    color: var(--tx3);
    text-align: center;
    font-size: 14px;
}

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); background: #090b10; padding: 56px 0 22px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.foot-brand .brand { margin-bottom: 14px; }
.foot-desc { color: var(--tx3); font-size: 13px; margin: 0; max-width: 340px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 { font-size: 14px; margin: 0 0 6px; color: var(--tx); }
.foot-col a, .foot-line { font-size: 13px; color: var(--tx3); }
.foot-col a:hover { color: var(--gold2); }
.foot-line { white-space: pre-line; }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 0; font-size: 12px; color: var(--tx3); }
.foot-icp { display: flex; gap: 16px; }
.foot-icp a { color: var(--tx3); }
.foot-icp a:hover { color: var(--gold2); }
.foot-note { padding-top: 12px; font-size: 12px; color: #4f5766; white-space: pre-line; }

/* ---------- 出场动画 ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* 打印/导出 PDF 时没有滚动，出场动画会把内容留在透明态 */
@media print {
    .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .hero-in, .two-col, .wide, .flow-col { grid-template-columns: 1fr; gap: 40px; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fb-grid { grid-template-columns: 1fr; }
    .wrap.art-wrap { grid-template-columns: 1fr; }
    .art-side { position: static; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 38px; }
    .news-grid { grid-template-columns: 1fr; }
    .vercard { position: static; }
    .vault { border-radius: 14px; }
}

@media (max-width: 720px) {
    .site-nav {
        position: absolute;
        left: 0; right: 0; top: var(--head-h);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 24px 16px;
        background: var(--bg2);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 14px; border-radius: 8px; }
    .nav-toggle { display: flex; }
    .head-cta .btn { display: none; }
    .grid-2, .grid-3, .field-row { grid-template-columns: 1fr; }
    .sec { padding: 56px 0; }
    .hero { padding: 44px 0 60px; }
    .hero h1 { font-size: 30px; }
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    .page-hd h1 { font-size: 26px; }
    .hd-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .win-side { width: 74px; }
    .float-card { display: none; }
    .cta-in, .foot-bar { flex-direction: column; align-items: flex-start; }
    .fb-form, .pkg, .wide { padding: 20px; }
    .pg-total { display: none; }
    .nums { padding: 30px 0 34px; }
    .num { padding: 15px; }
    .num-v { font-size: 25px; }
    .num-n { font-size: 11px; }
    .tech, .vercard { padding: 18px; }
    .fsteps li { padding: 12px 0; }
    .scroll-cue { font-size: 12px; }
    .ver-btns .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
    .wrap { padding: 0 16px; }
    .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; transition: none; }
    .float-card, .dot-live, .scroll-cue i { animation: none; }
    .btn, .card, .tech { transition: none; }
}
