@charset "utf-8";
/* 首页改版 v7「墨线卷宗 / Ink & Ledger」：转化优先 + 账本卷宗视觉，作用域限定 .hh（仅首页加载）；
   设计令牌与 .hh-btn/.hh-list 等共享组件见 hl_tokens.css，需先于本文件加载 */

.hh { max-width: 1200px; margin: 0 auto; padding: 0 16px 32px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
/* P3 对比度：浅底辅助文字与琥珀文字压深到 WCAG AA 4.5:1；只覆盖首页作用域，
   避免影响论坛/插件页在深色背景上的同名令牌用法 */
.hh { --ink-3: #5C7184; --amber: #95600F; --cyan: #95600F; }
.hh a { color: var(--ink); text-decoration: none; }
.hh a:hover { color: var(--blue); text-decoration: none; }
.hh a:focus-visible, .hh-tablewrap:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
.hh h1, .hh h2, .hh h3 { margin: 0; font-weight: 700; color: var(--ink); }
.hh img { display: block; max-width: 100%; height: auto; }
.hh ul { margin: 0; padding: 0; list-style: none; }

/* 双栏区块栅格 */
.hh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.hh-grid2 > .hh-sec { min-width: 0; }

/* 区块外壳：冷灰描边 + 极浅投影，替代圆胖门户卡片；min-width:0 防止宽表撑破栅格列 */
.hh-sec { margin-top: 24px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 20px; box-shadow: 0 1px 2px rgba(10,28,46,.04); }
.hh-primary { border-color: #CBD5DF; box-shadow: 0 6px 24px -12px rgba(10,28,46,.24); }
.hh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.hh-head h2 { font-size: 19px; }
.hh-head .hh-sub { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.hh-head h2 .hh-sub { margin-left: 8px; font-weight: 400; letter-spacing: 0; }
.hh-more { font-size: 13px; color: var(--blue); white-space: nowrap; }

/* 首屏：墨蓝卷宗底 + 账本竖纹，左文案右指标 */
.hh-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 340px); gap: 8px 36px; align-items: center;
	position: relative; overflow: hidden; margin-top: 20px; padding: 34px 38px; border-radius: 8px; color: #fff;
	background: radial-gradient(900px 420px at 88% -18%, rgba(233,168,59,.2), transparent 62%),
		linear-gradient(150deg, #0A1C2E 0%, #0B2A42 48%, #14456B 100%); }
.hh-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(233,168,59,.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15) 78%, transparent);
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15) 78%, transparent); }
.hh-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1;
	background: linear-gradient(90deg, #E9A83B, #D68F1E 55%, rgba(169,108,20,.35)); }
.hh-hero > * { position: relative; }
.hh-kicker { margin: 0 0 10px; font: 700 11px/1 var(--mono); letter-spacing: 2.5px; color: var(--amber-l); }
.hh-hero h1 { font-size: 32px; line-height: 1.35; letter-spacing: .5px; color: #fff; }
.hh-hero h1 span { font-size: 17px; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: 1px; }
.hh-hero .hh-lead { margin: 14px 0 0; max-width: 640px; font-size: 14px; color: rgba(255,255,255,.8); }
.hh-hero .hh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.hh-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; padding: 20px 24px; border: 1px solid rgba(233,168,59,.26); border-radius: 8px; background: rgba(10,28,46,.42); }
.hh-stats dt { font-size: 12px; color: rgba(255,255,255,.56); }
.hh-stats dd { margin: 2px 0 0; font: 700 24px/1.25 var(--mono); font-variant-numeric: tabular-nums; color: #fff; }
.hh-stats div:last-child { grid-column: 1 / -1; }
.hh-stats div:last-child dd { font-size: 14px; padding-top: 8px; }

/* CTA 按钮变体尺寸（基础样式在 hl_tokens.css） */

/* 四步流程 */
.hh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.hh-step { position: relative; padding: 16px 16px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
.hh-step i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; font: 700 13px/1 var(--mono); font-style: normal; color: var(--amber); background: var(--amber-bg); border: 1px solid #E8D9B4; }
.hh-step h3 { font-size: 15px; }
.hh-step p { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }
.hh-step:not(:last-child)::after { content: "\203A"; position: absolute; top: 50%; right: -11px; transform: translateY(-50%); font: 400 20px/1 sans-serif; color: #B7C3CE; z-index: 1; }

/* 公告 */
.hh-notice { padding: 12px 16px; margin-top: 18px; background: var(--amber-bg); border: 1px solid #E8D9B4; border-radius: 6px; font-size: 13px; }
.hh-notice b { color: var(--amber); margin-right: 6px; }

/* 头条 */
.hh-feature { display: flex; flex-direction: column; margin-bottom: 6px; padding: 12px 16px; background: var(--bg); border-left: 3px solid var(--cyan); border-radius: 0 6px 6px 0; }
.hh-feature h3 { font-size: 17px; line-height: 1.5; }
.hh-feature .hh-sum { margin: 8px 0 0; color: var(--ink-2); flex: 1; }
.hh-meta { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.hh-meta a { color: var(--blue); }

/* 多栏（列表行样式 .hh-list 在 hl_tokens.css） */
.hh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hh-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hh-coltitle { font-size: 15px; padding-left: 9px; border-left: 3px solid var(--amber); line-height: 1.4; margin-bottom: 4px; }
.hh-coltitle a { color: var(--ink); }
.hh-coltitle a:hover { color: var(--amber); }
/* 网格子项默认 min-width:auto，nowrap 的长标题/日期会把列撑破卡片 */
.hh-two > *, .hh-three > *, .hh-top > *, .hh-cards > *, .hh-voice > *, .hh-col, .hh-list li { min-width: 0; }

/* 平台对照表：转化主阵地 */
.hh-scrollhint { display: none; margin: 0 0 8px; font-size: 12px; color: var(--ink-2); }
@media (max-width: 1080px) { .hh-scrollhint { display: block; } }
.hh-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hh-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 960px; }
.hh-table th, .hh-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.hh-table thead th { background: #EDF1F5; color: var(--ink); font-weight: 700; white-space: nowrap; border-bottom: 2px solid #CBD5DF; }
.hh-table tbody tr:hover { background: #F7F9FB; }
.hh-pt { font-weight: 700; color: var(--ink); }
.hh-logo { float: left; width: 34px; height: 34px; margin-right: 10px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font: 700 12px/1 var(--mono); letter-spacing: .5px; color: #fff !important; background: linear-gradient(135deg, #14456B, #0B2A42); }
.hh-ptname { display: block; overflow: hidden; font-size: 14px; line-height: 1.35; }
.hh-ptname a { color: var(--ink); }
.hh-ptname a:hover { color: var(--amber); }
.hh-ptname small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.hh-reg { font-size: 12px; color: var(--ink-2); max-width: 150px; }
.hh-table .hh-fy { color: var(--amber); font-weight: 700; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hh-table td { font-variant-numeric: tabular-nums; }
.hh-num { font-family: var(--mono); color: var(--ink-3); }
.hh-pill { display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 12px; white-space: nowrap; background: #F2F5F8; color: var(--ink-3); }
.hh-pill.on { background: var(--amber-bg); color: var(--amber); font-weight: 700; }
.hh-score { display: inline-block; min-width: 34px; padding: 1px 7px; border-radius: 4px; background: #0B2A42; color: #E9A83B; font: 700 12px/1.7 var(--mono); text-align: center; }
.hh-act { white-space: nowrap; }
.hh-detail { display: block; margin-top: 4px; font-size: 12px; color: var(--blue); }
.hh-tablefoot { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.hh-tablefoot a { color: var(--blue); }

/* 活动卡 */
.hh-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hh-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--card); }
.hh-card .hh-cbody { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.hh-card h3 { font-size: 14px; line-height: 1.45; height: 41px; overflow: hidden; }
/* 标题定高、状态行贴底，各卡元信息保持同一水平线 */
.hh-card .hh-meta { margin-top: auto; padding-top: 8px; font-size: 12px; }
/* 预留图片高度，避免懒加载时的布局抖动 */
.hh-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--bg); }
.hh-nopic { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--bg); color: var(--ink-3); font-size: 14px; }
.hh-state { display: inline-block; padding: 1px 6px; margin-right: 6px; border-radius: 3px; font-size: 11px; background: #F2F5F8; color: var(--ink-3); }
.hh-state.on { background: var(--amber-bg); color: var(--amber); font-weight: 700; }

/* 口碑：信任背书 */
.hh-voice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hh-voice figure { display: flex; flex-direction: column; margin: 0; }
.hh-voice blockquote { margin: 0; padding: 14px; background: var(--bg); border-left: 3px solid var(--cyan); border-radius: 0 6px 6px 0; font-size: 13px; color: var(--ink-2); flex: 1; }
.hh-voice figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.hh-voice figcaption a { color: var(--blue); }

/* 页尾转化位 */
.hh-final { position: relative; overflow: hidden; margin-top: 28px; padding: 30px 24px 32px; text-align: center; border-radius: 8px; color: #fff;
	background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 28px),
		radial-gradient(520px 200px at 50% -40%, rgba(233,168,59,.2), transparent 66%),
		linear-gradient(150deg, #0A1C2E, #0B2A42 52%, #14456B); }
.hh-final::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, #E9A83B, #D68F1E 55%, rgba(169,108,20,.35)); }
.hh-final h2 { color: #fff; font-size: 22px; }
.hh-final p { margin: 10px 0 18px; color: rgba(255,255,255,.66); }
.hh-final .hh-btn { margin-top: 4px; }

/* 枢纽与友链：降权为次要区 */
.hh-minor { background: transparent; border: 0; box-shadow: none; padding: 12px 4px 0; }
.hh-minor .hh-head { border-bottom: 0; padding-bottom: 4px; margin-bottom: 8px; }
.hh-minor .hh-head h2 { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.hh-hub { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hh-hub a { font-size: 13px; color: var(--ink-3); }
.hh-hub a:hover { color: var(--amber); }
.hh-friend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.hh-friend a { color: var(--ink-3); }

/* 风险区保留红色语义 */
.hh-risk .hh-head h2::after { content: "风险提示"; margin-left: 8px; padding: 1px 7px; border-radius: 3px; font-size: 11px; font-weight: 400; color: #c8102e; background: #fdecee; vertical-align: 2px; }
.hh-risk .hh-list .hh-t:hover { color: #c8102e; }

/* 悬浮转化条 */
.hh-float { position: fixed; right: 22px; bottom: 26px; z-index: 999; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px;
	background: linear-gradient(150deg, rgba(10,28,46,.96), rgba(20,69,107,.94)); border: 1px solid rgba(233,168,59,.28);
	box-shadow: 0 14px 34px -10px rgba(10,28,46,.55); opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.hh-float.show { opacity: 1; transform: none; visibility: visible; }
.hh-float .hh-btn { padding: 9px 20px; font-size: 14px; }
.hh-float-x { font-size: 13px; color: rgba(255,255,255,.62) !important; white-space: nowrap; }
.hh-float-x:hover { color: #E9A83B !important; }

@media (max-width: 900px) {
	.hh-hero { grid-template-columns: 1fr; }
	.hh-stats { grid-template-columns: repeat(4, 1fr); }
	.hh-stats div:last-child { grid-column: auto; }
	.hh-grid2 { grid-template-columns: 1fr; }
	.hh-two, .hh-top, .hh-three, .hh-voice { grid-template-columns: 1fr; }
	.hh-steps { grid-template-columns: repeat(2, 1fr); }
	.hh-step::after { display: none; }
}
@media (max-width: 640px) {
	.hh { padding: 0 12px 24px; }
	.hh-hero { padding: 22px 18px 24px; }
	.hh-hero h1 { font-size: 23px; }
	.hh-hero h1 span { font-size: 14px; }
	.hh-sec { padding: 15px 14px 16px; }
	.hh-cards { grid-template-columns: 1fr; }
	.hh-stats { grid-template-columns: repeat(2, 1fr); gap: 10px 16px; padding: 14px 16px; }
	.hh-stats dd { font-size: 19px; }
	.hh-steps { grid-template-columns: 1fr; gap: 10px; }
	.hh-float { right: 12px; left: 12px; bottom: 12px; justify-content: space-between; }
	.hh-float .hh-btn { flex: 1; text-align: center; }
}

/* 2026-10-10 无进行中活动时，活动区降级为往期活动入口 */
.hh-evempty { margin: 0; padding: 18px 16px; background: var(--bg); border: 1px dashed var(--line); border-radius: 10px; font-size: 14px; color: var(--ink-3); }
.hh-evempty a { color: var(--amber); font-weight: 600; text-decoration: none; }
