/* ==========================================================
   首页专用样式（2026-11-18 改版）
   作用域统一挂在 .hp 下，不污染 style.css 里的其他页面
   ========================================================== */

/* 首页无侧栏，正文占满 940 容器（覆盖 style.css 的 620px 窄栏规则） */
body.home:not(.has-side) .main-col{ width:100%; max-width:none; margin:0; }

.hp{
	--blue:#3674FF;
	--blue-dark:#2456cc;
	--blue-soft:#EEF3FF;
	--ink:#17181c;
	--ink-2:#5b6070;
	--ink-3:#6f7686;
	--line:#eceef2;
	--white:#fff;
	--r:12px;
	--sh:0 1px 2px rgba(20,25,40,.04),0 6px 18px rgba(20,25,40,.045);
}

/* ═══ 姓名区 ═══ */
.hp .hero-l{ display:flex; align-items:flex-start; gap:18px; min-width:0; padding:30px 0 22px; }
.hp .hero-l .ava{ margin-top:2px; position:relative; }
.hp .hero-l .ava::after{ content:""; position:absolute; inset:-5px; border-radius:50%; border:1px solid #dbe6ff; pointer-events:none; }
.hp .ava{
	width:72px; height:72px; border-radius:50%; flex-shrink:0;
	padding:2px; box-sizing:border-box;
	background:linear-gradient(140deg,#3674ff,#7ea8ff 42%,#dbe7ff);
	box-shadow:0 8px 24px rgba(54,116,255,.20);
	color:#fff; display:flex; align-items:center; justify-content:center;
	font-size:24px; font-weight:600; letter-spacing:1px;
}
.hp .ava img{
	width:100%; height:100%; box-sizing:border-box; object-fit:cover;
	border-radius:50%; display:block; border:2px solid #fff; background:#fff;
}
.hp .who .head{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hp .who h1{ font-size:34px; font-weight:700; letter-spacing:-.6px; line-height:1.15; color:var(--ink); margin:0; }
.hp .who .role{
	display:inline-block; font-size:11.5px; color:#3b6fe0; font-weight:600; margin:0;
	padding:4px 11px; background:#eef3ff; border:1px solid #dbe6ff; border-radius:20px;
	letter-spacing:.3px; line-height:1.4;
}
.hp .who .slogan{ font-size:15px; color:var(--ink-2); margin-top:10px; letter-spacing:.2px; line-height:1.75; }
.hp .who .slogan span{ display:inline-block; }
.hp .who .slogan b{ color:var(--blue); font-weight:600; }
.hp .who .douyin{ margin-top:8px; font-size:12.5px; color:var(--ink-3); letter-spacing:.3px; }
.hp .who .douyin a{ color:#3355bb; text-decoration:none; letter-spacing:0; }
.hp .who .douyin a:hover{ text-decoration:underline; }
.hp .who .about-link{
	display:inline-block; margin-top:12px; margin-right:16px;
	font-size:12.5px; letter-spacing:.2px; color:#3b6fe0; text-decoration:none;
}
.hp .who .about-link:hover{ text-decoration:underline; }
.hp .who .msgbtn{
	display:inline-block; margin-top:12px; padding:6px 16px;
	font-size:12.5px; letter-spacing:.2px; color:#fff; text-decoration:none;
	background:var(--blue); border:1px solid var(--blue); border-radius:7px; transition:.2s;
	box-shadow:0 3px 10px rgba(54,116,255,.22);
}
.hp .who .msgbtn:hover{ background:var(--blue-dark); border-color:var(--blue-dark); color:#fff; transform:translateY(-1px); }
.hp .hero-r{ position:relative; padding-top:30px; text-align:right; display:flex; flex-direction:column; align-items:stretch; }
.hp .hero-r .stats{
	display:flex; align-items:center; justify-content:space-between; gap:0;
	background:#f6f8fd; border:1px solid #e6ecf8; border-radius:12px;
	padding:18px 14px;
}
.hp .hero-r .stat{ flex:1; min-width:0; padding:2px 0; text-align:center; text-decoration:none; color:inherit; border-radius:8px; transition:background .18s; }
.hp .hero-r .stat:hover{ background:#eaf1ff; }
.hp .hero-r .stat:hover b{ color:#2b5ed4; }
.hp .hero-r .stat .sv{ display:block; min-width:0; }
.hp .hero-r .stat b{ display:block; font-size:24px; font-weight:600; color:#3b6fe0; letter-spacing:-.3px; line-height:1.1; }
.hp .hero-r .stat em{ display:block; font-size:11.5px; font-style:normal; color:#6b7280; letter-spacing:.5px; margin-top:5px; }
.hp .hero-r .sep{ width:1px; height:34px; background:#dfe6f5; flex-shrink:0; }

/* ═══ 最多阅读：序号 + 标题单行省略 + 浏览量 ═══ */
.hp .hot{ counter-reset:hrank; }
.hp .hot .nh .hsub{ margin-left:2px; font-size:11px; font-weight:400; color:var(--ink-3); letter-spacing:.2px; }
.hp .hot .hrow{ display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:9px; font-size:13.5px; color:var(--ink-2); text-decoration:none; counter-increment:hrank; transition:.16s; }
.hp .hot .hrow:hover{ background:var(--blue-soft); color:var(--blue); }
.hp .hot .hidx{
	width:19px; height:19px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
	font-size:10.5px; font-weight:700; color:#9aa4b8; background:#f1f3f7;
	border-radius:6px; font-variant-numeric:tabular-nums; align-self:center; transition:.16s;
}
.hp .hot .hidx::before{ content:counter(hrank); }
/* 注意：容器首个子元素是标题行 div.nh，必须用 nth-of-type 按 a 标签计数，nth-child 会数错 */
/* 前三名用实心金银铜奖牌 + 白字，与 4/5 名淡灰底形成强对比 */
.hp .hot .hrow:nth-of-type(1) .hidx{ background:linear-gradient(135deg,#f3b83f,#dd8c12); color:#fff; box-shadow:0 2px 5px rgba(221,140,18,.3); }
.hp .hot .hrow:nth-of-type(2) .hidx{ background:linear-gradient(135deg,#b6c1d2,#8d9bb0); color:#fff; box-shadow:0 2px 5px rgba(141,155,176,.3); }
.hp .hot .hrow:nth-of-type(3) .hidx{ background:linear-gradient(135deg,#d69a6b,#b9703d); color:#fff; box-shadow:0 2px 5px rgba(185,112,61,.3); }
/* 普通名次 hover 变蓝；前三名 hover 只提亮，保持奖牌色 */
.hp .hot .hrow:nth-of-type(n+4):hover .hidx{ color:#fff; background:var(--blue); }
.hp .hot .hrow:nth-of-type(-n+3):hover .hidx{ filter:brightness(1.12); }
.hp .hot .htitle{ flex:1; min-width:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.45; font-weight:500; }
.hp .hot .hcnt{ font-size:11px; color:var(--ink-3); flex-shrink:0; font-variant-numeric:tabular-nums; }
.hp .hot .hrow:hover .hcnt{ color:var(--blue); }
.hp .empty-tip a{ color:var(--blue); text-decoration:none; }
.hp .empty-tip a:hover{ text-decoration:underline; }

/* ═══ 主网格：左右两栏各自独立 flex，互不撑高 ═══ */
.hp .grid{ display:flex; align-items:flex-start; gap:20px; }
.hp .left{ flex:1.72; min-width:0; display:flex; flex-direction:column; gap:20px; }

/* ── 文章 ── */
.hp .panel{ background:var(--white); border-radius:var(--r); box-shadow:var(--sh); }
/* 精选与最新做明显区分：精选=暖金编辑推荐，最新=蓝色时间流 */
.hp .panel.pick{
	background:linear-gradient(180deg,#fffdf8 0%,#fff 62%);
	border:1px solid #f2e3c8;
	position:relative;
}
.hp .panel.pick::before{
	content:"✦"; position:absolute; top:18px; right:22px;
	font-size:18px; line-height:1; color:#d6a24a; opacity:.8;
}
.hp .panel.pick .sec-h h2{ color:#9a6a20; }
.hp .panel.pick .sec-h .line{ background:#f0e2ca; }
.hp .panel.pick .art .rec{
	background:linear-gradient(135deg,#f5b544,#e8961c); color:#fff; font-weight:700;
	box-shadow:0 2px 6px rgba(232,150,28,.3); padding:2px 8px;
}
.hp .panel.pick .art::before{ background:#e0a94b; }
.hp .arts{ padding:24px 24px 20px; }
.hp .sec-h{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.hp .sec-h h2{ font-size:16px; font-weight:600; letter-spacing:.6px; color:var(--ink); margin:0; }
.hp .sec-h .cnt{ font-size:11px; color:var(--ink-3); letter-spacing:.3px; }
.hp .sec-h .line{ flex:1; height:1px; background:var(--line); }

.hp .art{ display:block; padding:18px 0 17px; position:relative; border-bottom:1px solid #f4f5f8; transition:.2s; text-decoration:none; color:inherit; }
.hp .art:last-child{ border-bottom:0; padding-bottom:4px; }
.hp .art::before{
	content:""; position:absolute; left:-24px; top:20px; bottom:16px; width:3px;
	background:var(--blue); border-radius:0 3px 3px 0;
	transform:scaleY(0); transform-origin:top; transition:transform .22s;
}
.hp .art:hover::before{ transform:scaleY(1); }
.hp .art:hover h3{ color:var(--blue); }
.hp .art .meta{ display:flex; align-items:center; gap:8px; margin-bottom:6px; }
/* 读文章序号：counter 自动生成，精选卡不加 */
.hp .panel:not(.pick) .arts{ counter-reset:artno; }
.hp .panel:not(.pick) .art{ counter-increment:artno; }
.hp .art .anum{ display:none; }
.hp .panel:not(.pick) .art .anum{
	display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px;
	padding:0 4px; font-size:10px; font-weight:700; color:#b07b2a;
	background:#fdf2df; border:1px solid #f2dfbb; border-radius:5px; font-variant-numeric:tabular-nums; transition:.18s;
}
.hp .panel:not(.pick) .art .anum::before{ content:counter(artno); }
/* hover 时与精选徽标同款金色渐变，精选卡与读文章卡金色呼应 */
.hp .panel:not(.pick) .art:hover .anum{ background:linear-gradient(135deg,#f5b544,#e8961c); color:#fff; border-color:transparent; box-shadow:0 2px 6px rgba(232,150,28,.3); }
.hp .art .meta .date{ font-size:11px; color:var(--ink-3); letter-spacing:.6px; font-variant-numeric:tabular-nums; }
.hp .art .meta .pill{ font-size:10px; letter-spacing:.5px; padding:1.5px 6px; border-radius:4px; background:var(--blue-soft); color:var(--blue); font-weight:500; }
.hp .art .meta .rec{ font-size:10px; letter-spacing:.5px; padding:1.5px 6px; border-radius:4px; background:#fff2e4; color:#b57333; font-weight:500; }
.hp .art h3{ font-size:18px; line-height:1.52; font-weight:600; letter-spacing:-.1px; transition:color .18s; margin:0; }
.hp .art p{
	font-size:14px; color:var(--ink-2); line-height:1.76; margin:7px 0 0;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.hp .arts-foot{ padding:14px 24px 0; border-top:1px solid #f4f5f8; }
.hp .arts-foot a{ font-size:13px; color:var(--blue); font-weight:500; display:inline-flex; align-items:center; gap:6px; padding:4px 0; text-decoration:none; }
.hp .arts-foot a:hover{ color:var(--blue-dark); }
.hp .empty-tip{ font-size:13px; color:var(--ink-3); padding:16px 0; }

/* ── 右栏 ── */
.hp .right{ display:flex; flex-direction:column; gap:18px; flex:1; min-width:0; }

/* 笔记本卡 */
.hp .notes{ background:var(--white); border-radius:var(--r); padding:18px 16px 12px; box-shadow:var(--sh); }
.hp .notes .nh{ display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.hp .notes .nh h2{ font-size:15px; font-weight:600; letter-spacing:.6px; color:var(--ink); margin:0; }
.hp .notes .nh span{ margin-left:auto; font-size:11.5px; color:var(--ink-3); }
.hp .notes .nh .nall-t{ margin-left:auto; font-size:11.5px; color:var(--ink-3); text-decoration:none; transition:.2s; }
.hp .notes .nh .nall-t:hover{ color:var(--blue); }
.hp .nbook{ display:flex; align-items:center; gap:9px; padding:9px 10px; border-radius:9px; font-size:13.5px; color:var(--ink-2); transition:.16s; text-decoration:none; }
.hp .nbook:hover{ background:var(--blue-soft); color:var(--blue); }
.hp .nbook .nico{ width:5px; height:5px; border-radius:50%; background:#c8d0e0; flex-shrink:0; transition:.16s; }
.hp .nbook:hover .nico{ background:var(--blue); }
.hp .nbook .nname{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; }
.hp .nbook .ncnt{ font-size:11px; color:var(--ink-3); font-variant-numeric:tabular-nums; flex-shrink:0; }
.hp .nbook:hover .ncnt{ color:var(--blue); }
/* 翻笔记：笔记本数字徽章化（方案A），仅作用于 books 卡，不影响文章分类 */
.hp .notes.books .nbook{ gap:10px; padding:10px 12px; margin-bottom:4px; background:linear-gradient(135deg,#f7f9ff,#fbfcff); border:1px solid #edf1fb; border-radius:10px; color:#334155; }
.hp .notes.books .nbook:hover{ background:linear-gradient(135deg,#eef3ff,#f6f9ff); border-color:#dbe6fb; color:var(--blue); }
.hp .notes.books .nbook .nico{ width:7px; height:7px; background:#5b86e5; box-shadow:0 0 0 3px #e4ecff; }
.hp .notes.books .nbook:hover .nico{ background:var(--blue); box-shadow:0 0 0 3px #d6e4ff; }
.hp .notes.books .nbook .nname{ font-weight:600; }
.hp .notes.books .nbook .ncnt{ font-size:11px; font-weight:700; color:#3b6fe0; background:#e7efff; border-radius:20px; padding:2px 9px; min-width:30px; text-align:center; }
.hp .notes.books .nbook:hover .ncnt{ background:var(--blue); color:#fff; }
.hp .notes .nall{ display:block; margin-top:10px; padding:10px 10px 2px; font-size:12.5px; color:var(--blue); border-top:1px solid #f4f5f8; font-weight:500; text-decoration:none; }
/* 最新笔记：淡蓝内嵌子卡，与上方笔记本列表分区。给搜索引擎从首页进入 note/detail 的入口 */
.hp .nlatest{ background:linear-gradient(135deg,#f5f8ff,#f0f5ff); border:1px solid #e6edff; border-radius:10px; padding:4px 4px 6px; margin-top:12px; }
.hp .nlatest .nl-title{ display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--blue); font-weight:600; padding:7px 8px 4px; letter-spacing:.3px; }
.hp .nlatest .nl-dot{ width:6px; height:6px; border-radius:50%; background:var(--blue); }
.hp .nlatest .nl-tail{ margin-left:auto; font-size:10px; color:#9aa8c8; font-weight:400; }
.hp .notes .nlink{ display:flex; align-items:center; gap:9px; padding:6px 9px; border-radius:8px; font-size:12.8px; color:var(--ink-2); text-decoration:none; transition:.16s; }
.hp .notes .nlink:hover{ background:#e6edff; color:var(--blue); }
.hp .notes .nlink .nico{ width:5px; height:5px; border-radius:50%; background:#a9bde8; flex-shrink:0; transition:.16s; }
.hp .notes .nlink:hover .nico{ background:var(--blue); }
.hp .notes .nlink .ntitle{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* 工具卡 */
.hp .tools{
	background:linear-gradient(160deg,#eef3ff 0%,#f4f8ff 55%,#f7f9ff 100%);
	border-radius:var(--r); padding:20px 18px 16px;
}
.hp .tools .th{ display:flex; align-items:center; gap:8px; margin-bottom:3px; }
.hp .tools .th h2{ font-size:14px; font-weight:600; letter-spacing:.5px; color:#2b3f66; margin:0; }
.hp .tools .th .cnt{ margin-left:auto; font-size:11px; color:#64748f; }
.hp .tools .tsub{ font-size:11.5px; color:#64748f; line-height:1.6; margin:0 0 12px; }
.hp .tgrid{ display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.hp .ta{
	background:#fff; border-radius:10px; padding:14px 10px 12px;
	display:flex; flex-direction:column; align-items:center; gap:7px;
	box-shadow:0 1px 2px rgba(23,42,90,.06),0 4px 10px rgba(23,42,90,.055);
	transition:.18s; text-decoration:none;
}
.hp .ta:hover{ transform:translateY(-2px); box-shadow:0 4px 8px rgba(23,42,90,.09),0 12px 22px rgba(23,42,90,.09); }
.hp .ta svg{ width:24px; height:24px; color:var(--blue); }
.hp .ta span{ font-size:13px; color:#37455f; letter-spacing:.2px; white-space:nowrap; }
.hp .tools .tfoot{ margin-top:12px; display:flex; align-items:center; justify-content:space-between; }
.hp .tools .tfoot a{ font-size:12.5px; color:var(--blue); font-weight:500; text-decoration:none; }
.hp .tools .tfoot em{ font-style:normal; font-size:11px; color:#64748f; }

/* 软件卡：浅蓝底 + 蓝描边，与"用工具"卡同一浅蓝体系，不再突兀 */
.hp .soft{
	border-radius:var(--r); padding:22px 19px 18px; color:#2b3f66; position:relative; overflow:hidden;
	background:linear-gradient(160deg,#eef3ff 0%,#f4f8ff 55%,#f7f9ff 100%);
	border:1px solid #dfe8fb;
	box-shadow:var(--sh);
}
.hp .soft::after{ content:""; position:absolute; right:-46px; top:-56px; width:150px; height:150px; border-radius:50%; background:rgba(59,111,224,.05); pointer-events:none; }
.hp .soft::before{ content:""; position:absolute; right:-12px; bottom:-64px; width:120px; height:120px; border-radius:50%; background:rgba(59,111,224,.04); pointer-events:none; }
.hp .soft .sh{ display:flex; align-items:center; gap:8px; font-size:12.5px; letter-spacing:1.2px; color:#64748f; }
.hp .soft .sh svg{ width:17px; height:17px; }
.hp .soft .srow{ display:flex; align-items:center; gap:11px; margin:14px 0 0; position:relative; z-index:2; }
.hp .soft .slogo{
	width:44px; height:44px; border-radius:11px; background:#fff; color:#2f62f0;
	display:flex; align-items:center; justify-content:center;
	font-size:19px; font-weight:700; flex-shrink:0;
	border:1px solid #dfe8fb;
	box-shadow:0 2px 6px rgba(23,42,90,.07);
}
.hp .soft .slogo img{ width:100%; height:100%; object-fit:contain; border-radius:11px; display:block; }
.hp .soft .sname{ font-size:17px; font-weight:700; letter-spacing:.3px; line-height:1.3; color:#2b3f66; }
.hp .soft .sname i{ font-style:normal; font-size:11.5px; font-weight:400; color:#64748f; margin-left:5px; letter-spacing:.3px; }
.hp .soft .stag{ font-size:12px; color:#64748f; margin-top:2px; letter-spacing:.4px; }
.hp .soft .sdesc{ font-size:13px; line-height:1.75; color:#475569; margin:13px 0 0; position:relative; z-index:2; }
.hp .soft .schips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:11px; position:relative; z-index:2; }
.hp .soft .schips i{
	font-style:normal; font-size:11px; padding:2px 9px; border-radius:20px;
	background:#fff; border:1px solid #dfe8fb; color:#3b6fe0; letter-spacing:.3px;
}
.hp .soft .sbtn{
	display:block; margin-top:16px; text-align:center;
	background:var(--blue); color:#fff; font-size:14px; font-weight:700; letter-spacing:.6px;
	padding:11px 0; border-radius:9px; position:relative; z-index:2;
	box-shadow:0 4px 12px rgba(59,111,224,.24); transition:.18s; text-decoration:none;
}
.hp .soft .sbtn:hover{ background:#2b5ed4; transform:translateY(-1px); }
.hp .soft .sghost{
	display:block; text-align:center; margin-top:7px; font-size:12px; color:#64748f;
	padding:3px 0; position:relative; z-index:2; letter-spacing:.3px; text-decoration:none;
}
.hp .soft .sghost:hover{ color:var(--blue); }

/* ═══ 近期动态 ═══ */
.hp .feeds{ margin-top:0; }
.hp .fh{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:12px; padding:0 22px; }
.hp .fh h2{ font-size:16px; font-weight:600; letter-spacing:.6px; margin:0; }
.hp .fh a{ font-size:12px; color:var(--ink-3); text-decoration:none; }
.hp .fh a:hover{ color:var(--blue); }
.hp .fpanel{ padding:20px 22px 18px; }
.hp .fitem{ display:flex; gap:14px; align-items:flex-start; position:relative; }
.hp .fitem + .fitem{ margin-top:20px; padding-top:20px; border-top:1px solid #e9edf4; }
/* 近期动态：默认只显示最新一条，其余折叠（内容仍在 DOM，利于收录） */
.hp .fpanel .fitem:nth-of-type(n+2){ display:none; }
.hp .fpanel.expanded .fitem:nth-of-type(n+2){ display:flex; }
.hp .fexpand{ margin-top:16px; padding-top:14px; border-top:1px solid #f2f3f6; text-align:center; }
.hp .fmore-btn{
	background:#f6f8fd; border:1px solid #e4ebf8; color:#3355bb;
	border-radius:18px; padding:7px 20px; font-size:12.5px; font-weight:500;
	cursor:pointer; font-family:inherit; letter-spacing:.3px; transition:.2s;
}
.hp .fmore-btn:hover{ background:#eef3fd; border-color:#cfdcf8; }
.hp .fitem .fa{
	width:32px; height:32px; border-radius:50%; flex-shrink:0;
	background:linear-gradient(140deg,#3674FF,#7aa7ff);
	display:flex; align-items:center; justify-content:center;
	color:#fff; font-size:12px; font-weight:600;
}
.hp .fitem .fb{ flex:1; min-width:0; }
.hp .fitem .fmeta{ display:flex; align-items:center; gap:9px; font-size:12px; color:var(--ink-3); }
.hp .fitem .fmeta b{ font-size:13.5px; color:var(--ink); font-weight:600; }
.hp .fitem .fdate{ font-size:11.5px; color:var(--ink-3); font-variant-numeric:tabular-nums; letter-spacing:.5px; }
.hp .fitem .ftext{
	font-size:14px; color:var(--ink-2); line-height:1.75; margin-top:8px;
	letter-spacing:.1px; word-break:break-word;
	max-width:660px; text-wrap:pretty;
}
.hp .fitem .ftext b{ color:var(--blue); font-weight:600; }
.hp .fitem .ftext p{ margin:0 0 6px; }
.hp .fitem .ftext p:last-child{ margin-bottom:0; }
.hp .ftext.clamp{ max-height:186px; overflow:hidden; position:relative; }
.hp .ftext.clamp::after{
	content:""; position:absolute; left:0; right:0; bottom:0; height:56px;
	background:linear-gradient(rgba(255,255,255,0),#fff 80%); pointer-events:none;
}
.hp .fmore{
	display:inline-block; margin-top:8px; font-size:12.5px; color:var(--blue);
	font-weight:500; background:none; border:0; padding:0; cursor:pointer;
	font-family:inherit; letter-spacing:.3px;
}
.hp .fmore:hover{ color:var(--blue-dark); }
.hp .fitem .fg{ margin-top:12px; }
.hp .fitem .fg img{
	width:460px; max-width:100%; height:auto; aspect-ratio:16 / 9;
	object-fit:cover; object-position:center;
	border-radius:10px; border:1px solid #eceef2; cursor:zoom-in;
	display:block; transition:.2s;
}
.hp .fitem .fg img:hover{ box-shadow:0 6px 20px rgba(20,30,60,.12); }
.hp .fitem .fg:not([data-count="1"]){ display:grid; grid-template-columns:1fr 1fr; gap:8px; max-width:460px; }
.hp .fitem .fg:not([data-count="1"]) img{ width:100%; height:132px; object-fit:cover; }
.hp .fitem .fv-wrap{ margin-top:12px; }
.hp .fitem .fv{ width:460px; max-width:100%; border-radius:10px; display:block; background:#000; aspect-ratio:16 / 9; }
.hp .fitem .fact{
	display:flex; align-items:center; justify-content:space-between;
	gap:12px; margin-top:14px; padding-top:12px;
	border-top:1px solid #f2f3f6;
}
.hp .fitem .flink{
	display:inline-flex; align-items:center; gap:5px;
	font-size:13px; color:#6b7484; text-decoration:none; transition:.2s;
}
.hp .fitem .flink .arr{ transition:transform .2s; }
.hp .fitem .flink:hover{ color:var(--blue); }
.hp .fitem .flink:hover .arr{ transform:translateX(3px); }
.hp .fitem .flike{
	display:inline-flex; align-items:center; gap:5px;
	font-size:13px; color:#8b93a1; text-decoration:none;
	padding:2px 0; border:0; background:none; cursor:pointer; transition:.2s;
}
.hp .fitem .flike:hover{ color:#e0567a; }
.hp .fitem .flike.liked{ color:#e0567a; }
.hp .fitem .flike .ln:empty{ display:none; }

/* ═══ 图片灯箱 ═══ */
.hp-lb{
	position:fixed; inset:0; background:rgba(12,16,26,.93); display:none;
	align-items:center; justify-content:center; z-index:9999; cursor:zoom-out; padding:24px;
}
.hp-lb.on{ display:flex; }
.hp-lb img{ max-width:92vw; max-height:88vh; border-radius:8px; box-shadow:0 24px 70px rgba(0,0,0,.55); }

/* ── 摸鱼休闲入口 ── */
.hp .right .gamelink{
	display:flex; align-items:center; gap:9px;
	padding:13px 16px; background:var(--white);
	border:1px solid #eef0f5; border-radius:var(--r); box-shadow:var(--sh);
	font-size:13px; font-weight:500; color:var(--ink-2); text-decoration:none; transition:.2s;
}
.hp .right .gamelink:hover{ color:var(--blue); border-color:#dbe6ff; box-shadow:0 4px 16px rgba(20,25,40,.09); }
.hp .right .gamelink .gi{
	width:24px; height:24px; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
	background:#f2f5fb; border-radius:7px; font-size:13px; line-height:1;
}
.hp .right .gamelink .arr{ margin-left:auto; transition:transform .2s; }
.hp .right .gamelink:hover .arr{ transform:translateX(3px); }

/* ── 订阅 & 联系 ── */
.hp .subcard{ padding:16px 16px 14px; }
.hp .subcard .sublinks{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:12px; }
.hp .subcard .subl{
	display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:#5b6480;
	background:#f6f8fd; border:1px solid #e9eef7; border-radius:8px;
	padding:6px 10px; text-decoration:none; letter-spacing:.2px; transition:.2s;
}
.hp .subcard .subl:hover{ color:var(--blue); background:var(--blue-soft); border-color:#dbe6ff; text-decoration:none; transform:translateY(-1px); }
.hp .subcard .subl svg{ flex-shrink:0; }

/* ═══ 响应式 ═══ */
@media (max-width:900px){
	.hp .grid{ flex-direction:column; align-items:stretch; gap:16px; }
	/* 移动端把两栏都打散为 grid 的直接子项，沿用 order 保持原排序 */
	.hp .left, .hp .right{ display:contents; }
	.hp .hero-l{ order:1; width:100%; padding:22px 0 14px; }
	.hp .right > *{ order:10; }
	.hp .right > .hero-r{ order:2; padding-top:0; text-align:right; }
	.hp .feeds{ order:3; margin-top:0; }
	/* 移动端顺序：近期动态 → 精选文章 → 读文章；工具入口放回栏目下方 */
	.hp .pick{ order:4; }
	.hp .panel:not(.pick){ order:5; }
	.hp .right > .notes:not(.hot):not(.cats):not(.subcard){ order:6; }
	.hp .right > .notes.hot{ order:7; }
	.hp .right > .notes.cats{ order:8; }
	.hp .right > .tools{ order:9; }
	.hp .who .head{ gap:8px; }
	.hp .who h1{ font-size:25px; }
	.hp .who .role{ font-size:10.5px; letter-spacing:.2px; margin:0; padding:3px 9px; font-weight:600; color:#3b6fe0; background:#eef3ff; border:1px solid #dbe6ff; border-radius:20px; }
	.hp .who .douyin{ font-size:11.5px; margin-top:6px; }
	.hp .who .about-link{ margin-top:10px; margin-right:12px; font-size:12px; }
	.hp .who .msgbtn{ margin-top:10px; padding:5px 12px; font-size:12px; }
	.hp .who .slogan{ font-size:13px; margin-top:7px; line-height:1.62; }
	.hp .hero-l .ava::after{ inset:-4px; }
	.hp .ava{ width:56px; height:56px; font-size:20px; }
	.hp .hero-r .stats{ width:100%; justify-content:space-around; gap:0; padding:16px 8px; }
	.hp .hero-r .stat{ padding:2px 0; }
	.hp .hero-r .stat b{ font-size:21px; }
	.hp .hero-r .stat em{ font-size:10.5px; margin-top:4px; }
	.hp .fh{ padding:0 16px; }
	.hp .fpanel{ padding:12px 10px 10px; }
	.hp .fitem{ background:#fbfcfe; border:1px solid #eceff5; border-radius:10px; padding:13px 12px 11px; }
	.hp .fitem + .fitem{ margin-top:10px; padding-top:13px; border-top-color:#eceff5; }
	.hp .fitem .fa{ display:none; }
	.hp .fitem .fg img{ width:100%; height:auto; }
	.hp .fitem .ftext{ font-size:13.5px; line-height:1.68; margin-top:7px; color:#535867; }
	.hp .fitem .ftext.clamp{ max-height:252px; }
	.hp .fitem .ftext.clamp::after{ background:linear-gradient(rgba(251,252,254,0),#fbfcfe 80%); }
	.hp .arts{ padding:18px 16px 16px; }
	.hp .art::before{ left:-16px; }
	.hp .arts-foot{ padding:12px 16px 0; }
	.hp .tools{ padding:18px 15px 14px; }
	.hp .soft{ padding:19px 16px 16px; }
	.hp .soft .sname{ font-size:15.5px; }
	.hp .fitem .fg.single img,
	.hp .fitem .fv{ width:100%; }
}
