/* ============================================================
   glass.css — PbootCMS 个人博客模板 · 浅色苹果毛玻璃风格
   v2.0 · 光斑呼吸 / 指针聚光 / 3D 悬浮 / 渐变描边
   ============================================================ */

:root {
	--text: #17171a;
	--text-2: #5f6067;
	--text-3: #8b8d95;
	--accent: #0071e3;
	--accent-2: #5e5ce6;
	--accent-3: #bf5af2;
	--grad: linear-gradient(120deg, #0a84ff, #5e5ce6 45%, #bf5af2);
	--grad-soft: linear-gradient(120deg, rgba(10,132,255,.14), rgba(94,92,230,.14) 45%, rgba(191,90,242,.14));
	--glass: rgba(255, 255, 255, .55);
	--glass-strong: rgba(255, 255, 255, .74);
	--glass-border: rgba(255, 255, 255, .8);
	--hairline: rgba(20, 24, 40, .07);
	--shadow: 0 22px 60px -28px rgba(28, 36, 74, .28), 0 2px 8px -4px rgba(28, 36, 74, .12);
	--shadow-hover: 0 40px 90px -34px rgba(28, 36, 74, .42), 0 4px 14px -6px rgba(28, 36, 74, .16);
	--radius: 24px;
	--radius-sm: 16px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 16px);
	-webkit-tap-highlight-color: transparent;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: var(--text);
	background: #eef1f7;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "palt" 1, "kern" 1;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(94, 92, 230, .22); color: #101014; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
	background: rgba(120, 128, 160, .32);
	border: 3px solid transparent;
	background-clip: content-box;
	border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(120, 128, 160, .55); background-clip: content-box; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 背景：极光网格 + 呼吸光斑 + 颗粒 ---------- */
.bg-scene {
	position: fixed; inset: 0; z-index: -1; overflow: hidden;
	background:
		radial-gradient(1200px 800px at 78% -12%, #e2ecff 0%, transparent 62%),
		radial-gradient(1000px 720px at -8% 28%, #fdedf1 0%, transparent 56%),
		radial-gradient(900px 700px at 62% 112%, #e6f8f2 0%, transparent 56%),
		linear-gradient(180deg, #f7f8fc, #eaedf5);
}

.bg-scene::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(30, 41, 87, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(30, 41, 87, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
	mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
	opacity: .7;
}

.bg-scene::after {
	content: ""; position: absolute; inset: -50%; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
	opacity: .16; mix-blend-mode: soft-light;
	animation: grain 8s steps(4) infinite;
}
@keyframes grain {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(-2%, 1.5%); }
	50% { transform: translate(1.5%, -1%); }
	75% { transform: translate(-1%, -2%); }
}

.blob {
	position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
	will-change: transform, translate;
	translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 30px);
	transition: translate 1s var(--ease-out);
}
.blob-1 { width: 46vw; height: 46vw; left: -12vw; top: -8vw;
	background: radial-gradient(circle at 30% 30%, #b9d3ff, #d8c6ff);
	animation: drift1 26s var(--ease) infinite alternate; }
.blob-2 { width: 40vw; height: 40vw; right: -10vw; top: 16vh;
	background: radial-gradient(circle at 60% 40%, #ffd6e3, #ffe7c6);
	animation: drift2 32s var(--ease) infinite alternate; }
.blob-3 { width: 36vw; height: 36vw; left: 22vw; bottom: -14vw;
	background: radial-gradient(circle at 50% 50%, #c1f1e2, #c6e0ff);
	animation: drift3 30s var(--ease) infinite alternate; }
.blob-4 { width: 22vw; height: 22vw; right: 20vw; bottom: 8vh;
	background: radial-gradient(circle at 50% 50%, #e2cdff, #ffcdda); opacity: .45;
	animation: drift2 24s var(--ease) infinite alternate-reverse; }

@keyframes drift1 { to { transform: translate(8vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, -8vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(6vw, -10vh) scale(.9); } }

/* ---------- 玻璃基础件（渐变描边 + 内高光） ---------- */
.gglass {
	position: relative;
	background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.5));
	-webkit-backdrop-filter: blur(26px) saturate(180%);
	backdrop-filter: blur(26px) saturate(180%);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	isolation: isolate;
}
/* 渐变描边（悬停时点亮） */
.gglass::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
	background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(10,132,255,.35) 38%, rgba(191,90,242,.32) 62%, rgba(255,255,255,.9));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	opacity: 0; transition: opacity .55s var(--ease);
	pointer-events: none; z-index: 3;
}
.gpost::after, .gfeed-item::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.5), transparent 60%);
	opacity: 0; transition: opacity .5s var(--ease); z-index: 2;
}
.gglass:hover::before { opacity: 1; }
.gpost:hover::after, .gfeed-item:hover::after { opacity: 1; }

/* ---------- 顶部进度条 ---------- */
.gprogress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
	background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
	box-shadow: 0 0 14px rgba(94, 92, 230, .7);
	transition: transform .12s linear;
}

/* ---------- 顶部导航 ---------- */
.gnav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	padding: 14px 0;
	transition: padding .45s var(--ease), background .45s var(--ease),
		box-shadow .45s var(--ease), transform .5s var(--ease-out), border-color .45s;
	border-bottom: 1px solid transparent;
	-webkit-backdrop-filter: blur(0);
	backdrop-filter: blur(0);
}
.gnav.scrolled {
	padding: 8px 0;
	background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: blur(26px) saturate(180%);
	backdrop-filter: blur(26px) saturate(180%);
	box-shadow: 0 10px 40px -18px rgba(31, 41, 87, .22);
	border-bottom-color: rgba(255, 255, 255, .7);
}
.gnav.hide { transform: translateY(-105%); }
.gnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.gbrand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700;
	letter-spacing: -.02em; transition: transform .4s var(--ease-spring); }
.gbrand:hover { transform: translateY(-1px) scale(1.02); }
.gbrand img { height: 34px; width: auto; }
.gbrand-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--grad);
	box-shadow: 0 0 16px rgba(94, 92, 230, .55); animation: pulse 3s ease-in-out infinite; }
.gbrand-dot::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%;
	border: 1px solid rgba(94, 92, 230, .45); animation: dotRing 3s ease-out infinite;
}
@keyframes dotRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.22); box-shadow: 0 0 24px rgba(94, 92, 230, .8); } }

.gnav-menu { position: relative; display: flex; align-items: center; gap: 4px; }
.gnav-pill {
	position: absolute; left: 0; top: 50%; height: 34px; width: 0; z-index: 0;
	border-radius: 999px; background: rgba(255, 255, 255, .78);
	box-shadow: 0 6px 18px -10px rgba(31, 41, 87, .4), inset 0 0 0 1px rgba(255,255,255,.9);
	transform: translate(0, -50%); opacity: 0;
	transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .35s;
	pointer-events: none;
}
.gnav-pill.on { opacity: 1; }
.gnav-link {
	position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px;
	font-size: 15px; color: var(--text-2); font-weight: 500;
	transition: color .3s, transform .35s var(--ease-spring);
}
.gnav-link:hover { color: var(--text); transform: translateY(-1px); }
.gnav-link.is-active { color: #fff; }
.gnav-link.is-active::before {
	content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
	background: var(--grad); background-size: 160% 160%;
	box-shadow: 0 8px 22px -8px rgba(10, 132, 255, .65);
	animation: gradShift 7s ease infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.gnav-side { display: flex; align-items: center; gap: 12px; }
.gnav-user { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2);
	padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .08);
	background: rgba(255, 255, 255, .55); transition: all .35s var(--ease); }
.gnav-user { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0); }
.gnav-user:hover { color: var(--accent); border-color: rgba(10, 132, 255, .45);
	transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px), 0);
	box-shadow: 0 10px 22px -12px rgba(10, 132, 255, .6); }

.gnav-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px;
	border-radius: 12px; align-items: center; }
.gnav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text);
	transition: transform .45s var(--ease), opacity .3s, width .3s; }
.gnav.open .gnav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.gnav.open .gnav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.gnav-holder { height: var(--nav-h); }

/* ---------- 首页主视觉 ---------- */
.ghero { position: relative; padding: clamp(64px, 12vh, 132px) 0 26px; text-align: center; isolation: isolate; }
.ghero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 40%),
		rgba(122, 150, 255, .22), rgba(191, 90, 242, .12) 40%, transparent 68%);
	opacity: 0; transition: opacity .6s var(--ease);
}
.ghero.spot::before { opacity: 1; }

.ghero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2);
	padding: 7px 18px; border-radius: 999px; background: var(--glass-strong);
	border: 1px solid var(--glass-border); backdrop-filter: blur(20px) saturate(160%);
	-webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 8px 24px -12px rgba(31,41,87,.18);
	transition: transform .4s var(--ease-spring), box-shadow .4s; }
.ghero-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(31,41,87,.3); }
.ghero-badge i { width: 7px; height: 7px; border-radius: 50%; background: #30d158;
	box-shadow: 0 0 10px #30d158; animation: pulse 2.4s infinite; }

.ghero h1 { margin: 26px 0 14px; font-size: clamp(38px, 7.2vw, 76px); font-weight: 800;
	letter-spacing: -.038em; line-height: 1.12; }
.ghero h1 .g-grad {
	display: inline-block;
	background: var(--grad); background-size: 220% 220%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: hue 9s ease-in-out infinite, titleIn 1.15s var(--ease-out) both;
	filter: drop-shadow(0 14px 30px rgba(94, 92, 230, .22));
}
@keyframes titleIn {
	from { opacity: 0; transform: translateY(.22em) scale(.965); filter: blur(16px); }
}
@keyframes hue { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.ghero p { color: var(--text-2); font-size: clamp(15px, 2vw, 19px); max-width: 640px; margin: 0 auto 34px; }
.ghero-cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* 主视觉滚动提示 */
.ghero-scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
	margin-top: 46px; font-size: 11px; letter-spacing: .28em; color: var(--text-3); text-transform: uppercase; }
.ghero-scroll span { width: 22px; height: 34px; border-radius: 999px; border: 1.5px solid rgba(60, 66, 92, .32);
	position: relative; }
.ghero-scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 4px;
	margin-left: -2px; border-radius: 50%; background: var(--accent);
	animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; }
	100% { transform: translateY(14px); opacity: 0; } }

/* 关键词跑马灯 */
.gmarquee { position: relative; margin-top: 42px; padding: 14px 0; overflow: hidden;
	border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.gmarquee-track { display: inline-flex; align-items: center; white-space: nowrap;
	will-change: transform; animation: marquee 28s linear infinite; }
.gmarquee:hover .gmarquee-track { animation-play-state: paused; }
.gmarquee-track span { display: inline-flex; align-items: center; gap: 34px; margin-right: 34px;
	font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.gmarquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 按钮 ---------- */
.gbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
	overflow: hidden; isolation: isolate;
	transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0);
	transition: transform .35s var(--ease-out), box-shadow .3s var(--ease), background .3s; }
.gbtn::after {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: linear-gradient(100deg, transparent 32%, rgba(255,255,255,.55) 50%, transparent 68%);
	transform: translateX(-120%); transition: transform .75s var(--ease-out);
}
.gbtn:hover::after { transform: translateX(120%); }
.gbtn:active { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0) scale(.96); }
.gbtn-primary { color: #fff; background: var(--grad); background-size: 170% 170%;
	box-shadow: 0 14px 34px -12px rgba(94, 92, 230, .6); animation: gradShift 8s ease infinite; }
.gbtn-primary:hover { transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 3px), 0);
	box-shadow: 0 22px 46px -14px rgba(94, 92, 230, .72); }
.gbtn-ghost { color: var(--text); background: var(--glass-strong); border: 1px solid var(--glass-border);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gbtn-ghost:hover { transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 3px), 0);
	box-shadow: var(--shadow); border-color: rgba(10,132,255,.35); }

/* ---------- 区块标题 ---------- */
.gsection { padding: 48px 0; position: relative; }
.gsec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.gsec-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.gsec-title::after { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px;
	background: var(--grad); margin-top: 10px;
	transition: width .6s var(--ease-out); }
.gsection:hover .gsec-title::after { width: 72px; }
/* 无内容区块自动隐藏，避免空标题 */
.gsection:has(.ggrid:not(:has(article))) { display: none; }
.gsec-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .3em;
	text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.gsec-more { font-size: 14px; color: var(--accent); font-weight: 500; }
.gsec-more:hover { color: var(--accent-2); }

/* ---------- 文章卡片网格 ---------- */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gpost {
	overflow: hidden; display: flex; flex-direction: column;
	transform: perspective(1000px) translateY(var(--lift, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
	will-change: transform;
}
.gpost:hover { --lift: -8px; box-shadow: var(--shadow-hover); }
.gpost-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e8ebf2; }
.gpost-thumb::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, transparent 45%, rgba(18, 22, 40, .18));
	opacity: 0; transition: opacity .6s var(--ease);
}
.gpost:hover .gpost-thumb::after { opacity: 1; }
.gpost-thumb img { width: 100%; height: 100%; object-fit: cover;
	transition: transform 1s var(--ease-out), filter .6s; }
.gpost:hover .gpost-thumb img { transform: scale(1.09); filter: saturate(112%) contrast(104%); }
.gpost-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 600; color: #fff;
	padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.gpost-badge.b-top { background: rgba(255, 69, 58, .82); }
.gpost-badge.b-rec { background: rgba(255, 159, 10, .88); }
.gpost-badge.b-head { background: rgba(10, 132, 255, .88); }
.gpost-body { position: relative; z-index: 4; padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.gpost-title { font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gpost-title a { background-image: linear-gradient(var(--accent), var(--accent));
	background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
	transition: background-size .45s var(--ease-out), color .3s; }
.gpost-title a:hover { color: var(--accent); background-size: 100% 1px; }
.gpost-excerpt { margin: 10px 0 16px; font-size: 13.5px; color: var(--text-2); flex: 1;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gpost-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-3); }
.gpost-meta span { display: inline-flex; align-items: center; gap: 5px; }
.gpost-meta svg { transition: transform .4s var(--ease-spring); }
.gpost:hover .gpost-meta svg { transform: translateY(-1px) scale(1.08); color: var(--accent); }

/* 无图卡片 */
.gpost.no-img .gpost-body { padding-top: 26px; }
.gpost.no-img { background:
	linear-gradient(160deg, rgba(255,255,255,.78), rgba(255,255,255,.5)); }
.gpost-date-pill { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
	background: rgba(0, 113, 227, .09); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; width: fit-content;
	transition: transform .4s var(--ease-spring); }
.gpost:hover .gpost-date-pill { transform: translateY(-2px); }

/* ---------- 列表页 ---------- */
.gpage-hero { position: relative; padding: clamp(50px, 9vh, 92px) 0 10px; text-align: center; }
.gpage-hero-sub { font-size: 13px; letter-spacing: .3em; color: var(--text-3); text-transform: uppercase; }
.gpage-hero-title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.032em; margin: 10px 0 8px;
	background: var(--grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text;
	color: transparent; animation: hue 10s ease-in-out infinite;
	filter: drop-shadow(0 12px 26px rgba(94, 92, 230, .18)); }
.gpage-hero-desc { color: var(--text-2); }

.gcrumb { font-size: 13px; color: var(--text-3); margin: 18px 0; }
.gcrumb a { position: relative; }
.gcrumb a:hover { color: var(--accent); }

.gsortnav { display: flex; flex-wrap: nowrap; gap: 10px; margin: 18px 0 26px;
	padding-bottom: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gsort-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; white-space: nowrap; font-size: 14px; color: var(--text-2);
	padding: 8px 18px; border-radius: 999px; background: var(--glass-strong);
	border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	transition: all .35s var(--ease); }
.gsort-chip em { font-style: normal; font-size: 11px; color: var(--text-3); }
.gsort-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(31,41,87,.25);
	border-color: rgba(10, 132, 255, .35); }
.gsort-chip.is-active { color: #fff; background: var(--grad); background-size: 170% 170%;
	border-color: transparent; box-shadow: 0 10px 26px -12px rgba(94,92,230,.7);
	animation: gradShift 8s ease infinite; }
.gsort-chip.is-active em { color: rgba(255,255,255,.82); }

/* 文章列表（横向卡） */
.gfeed { display: flex; flex-direction: column; gap: 22px; }
.gfeed-item { display: grid; grid-template-columns: 240px 1fr; overflow: hidden;
	transition: transform .5s var(--ease-out), box-shadow .5s var(--ease); }
.gfeed-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.gfeed-item:not(:has(.gfeed-thumb)) { grid-template-columns: 1fr; }
.gfeed-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e8ebf2; }
.gfeed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gfeed-item:hover .gfeed-thumb img { transform: scale(1.08); }
.gfeed-body { position: relative; z-index: 4; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.gfeed-title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.gfeed-title a { background-image: linear-gradient(var(--accent), var(--accent));
	background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
	transition: background-size .45s var(--ease-out), color .3s; }
.gfeed-title a:hover { color: var(--accent); background-size: 100% 1px; }
.gfeed-excerpt { margin: 10px 0 14px; color: var(--text-2); font-size: 14px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 分页 ---------- */
.gpage { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px 0 10px; }
.gpage-btn, .gpage .page-num, .gpage .page-numbar a {
	min-width: 40px; height: 40px; padding: 0 14px; border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; color: var(--text-2); background: var(--glass-strong);
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	transition: all .3s var(--ease); }
.gpage-btn:hover, .gpage .page-num:hover { transform: translateY(-3px); color: var(--accent);
	box-shadow: 0 10px 22px -10px rgba(31,41,87,.28); border-color: rgba(10,132,255,.35); }
.gpage .page-num-current { color: #fff; background: var(--grad); background-size: 170% 170%;
	border-color: transparent; font-weight: 600; animation: gradShift 8s ease infinite; }

.gempty { text-align: center; padding: 80px 0; color: var(--text-3); }
.gempty-icon { font-size: 44px; margin-bottom: 14px; filter: grayscale(.3);
	animation: floatY 4s var(--ease) infinite; }
@keyframes floatY { 50% { transform: translateY(-8px); } }

/* 无缩略图占位 */
.gthumb-ph { display: block; height: 100%; position: relative;
	background: linear-gradient(135deg, #dbe7ff, #ecdcff 55%, #ffe4ec); }
.gthumb-ph::after { content: ""; position: absolute; inset: 0;
	background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.75), transparent 70%);
	opacity: 0; transition: opacity .5s; }
.gpost:hover .gthumb-ph::after { opacity: 1; }

/* 文章详情页 */
.garticle { padding: 40px clamp(22px, 5vw, 64px) 48px; position: relative; }
.garticle-progress { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 5; height: 3px; border-radius: 3px;
	background: rgba(0,0,0,.06); margin-bottom: 34px; overflow: hidden; }
.garticle-progress i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad);
	box-shadow: 0 0 12px rgba(94, 92, 230, .6); transition: width .15s linear; }
.garticle h1.gt-title { font-size: clamp(24px, 4vw, 38px); font-weight: 800; letter-spacing: -.026em; line-height: 1.3; }
.garticle-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
	margin: 20px 0 8px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline);
	font-size: 13px; color: var(--text-3); }
.garticle-meta .gavatar { width: 30px; height: 30px; border-radius: 50%; }
.garticle-content { padding-top: 30px; font-size: 16.5px; line-height: 2; color: #2c2c2e; word-break: break-word; }
.garticle-content img { border-radius: var(--radius-sm); margin: 24px auto;
	box-shadow: 0 18px 44px -22px rgba(31,41,87,.4); transition: transform .6s var(--ease-out); }
.garticle-content img:hover { transform: scale(1.012); }
.garticle-content h2, .garticle-content h3 { margin: 36px 0 16px; letter-spacing: -.02em; }
.garticle-content h2 { position: relative; padding-left: 16px; }
.garticle-content h2::before { content: ""; position: absolute; left: 0; top: .32em; bottom: .32em; width: 4px;
	border-radius: 4px; background: var(--grad); }
.garticle-content p { margin: 0 0 20px; }
.garticle-content a { color: var(--accent); border-bottom: 1px solid rgba(0,113,227,.3); }
.garticle-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 20px; }
.garticle-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 20px; }
.garticle-content blockquote { margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(0, 113, 227, .06);
	color: var(--text-2); }
.garticle-content pre, .garticle-content code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
	font-size: 14px; }
.garticle-content pre { background: rgba(28, 28, 30, .94); color: #f5f5f7; padding: 20px 24px;
	border-radius: var(--radius-sm); overflow-x: auto; margin: 24px 0;
	box-shadow: 0 20px 44px -24px rgba(0,0,0,.6);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.garticle-content pre code { color: inherit; }
.garticle-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.garticle-content th, .garticle-content td { border: 1px solid var(--hairline); padding: 10px 14px; text-align: left; }
.garticle-content th { background: rgba(0,0,0,.03); }
.garticle-content iframe { max-width: 100%; border-radius: var(--radius-sm); }

.garticle-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.garticle-nav > div { padding: 14px 20px; border-radius: var(--radius-sm); background: rgba(255,255,255,.6);
	border: 1px solid rgba(0,0,0,.05); font-size: 14px; color: var(--text-2);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	transition: all .35s var(--ease); }
.garticle-nav > div:hover { transform: translateY(-3px); box-shadow: var(--shadow);
	border-color: rgba(10, 132, 255, .3); }
.garticle-nav a { color: var(--text); font-weight: 500; }
.garticle-nav a:hover { color: var(--accent); }
.garticle-nav .next { text-align: right; }
.gtagbar { margin-top: 34px; }

/* ---------- 评论区 ---------- */
.gcomment { padding: 34px clamp(22px, 4vw, 44px); }
.gcomment-title { font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.gcomment-title.mt { margin-top: 40px; }
.gcomment-form textarea, .ginput { width: 100%; padding: 13px 18px; border-radius: var(--radius-sm);
	border: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.7);
	font: inherit; font-size: 14px; color: var(--text); outline: none; resize: vertical;
	transition: border-color .3s, box-shadow .3s, background .3s, transform .3s var(--ease); }
.ginput:hover, .gcomment-form textarea:hover { background: rgba(255,255,255,.85); }
.ginput:focus { border-color: var(--accent); background: #fff;
	box-shadow: 0 0 0 4px rgba(0, 113, 227, .12), 0 10px 24px -18px rgba(0,113,227,.6); }
.gcomment-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px; }
.gcomment-actions .gbtn { padding: 10px 24px; }
.gcode { display: inline-flex; gap: 10px; align-items: center; margin-right: auto; }
.gcode .ginput { width: 130px; }
.gcode-img { height: 42px; border-radius: 10px; cursor: pointer; border: 1px solid rgba(0,0,0,.08);
	transition: transform .35s var(--ease-spring); }
.gcode-img:hover { transform: rotate(-2deg) scale(1.04); }

.gcomment-list { margin-top: 10px; }
.gcomment-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px dashed rgba(0,0,0,.08);
	animation: fadeUp .7s var(--ease) both; }
.gcomment-item:last-child { border-bottom: 0; }
.gavatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover;
	border: 2px solid #fff; box-shadow: 0 6px 16px -6px rgba(31,41,87,.35);
	transition: transform .4s var(--ease-spring); }
.gcomment-item:hover .gavatar { transform: scale(1.06); }
.gavatar.sm { width: 30px; height: 30px; }
.gcomment-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.gcomment-meta strong { font-size: 14px; }
.gcomment-meta span { color: var(--text-3); font-size: 12px; }
.gcomment-reply-btn { margin-left: auto; font-size: 12px; color: var(--accent); opacity: 0;
	transition: opacity .3s, transform .3s; }
.gcomment-item:hover .gcomment-reply-btn, .gcomment-body:focus-within .gcomment-reply-btn { opacity: 1; }
.gcomment-reply-btn:hover { transform: translateX(2px); }
.gcomment-text { margin-top: 6px; font-size: 14px; color: #3a3a3c; }
.gcomment-sub { display: flex; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
	background: rgba(0, 113, 227, .05); border: 1px solid rgba(0, 113, 227, .08); }
.greply-form { margin-top: 12px; }
.gcomment-cancel { color: var(--text-3); border: 1px solid rgba(0,0,0,.08); border-radius: 999px; padding: 8px 18px;
	transition: all .3s; }
.gcomment-cancel:hover { color: var(--text); border-color: rgba(0,0,0,.2); }

/* ---------- 单页内容 ---------- */
.gpage-single { padding: 40px clamp(22px, 5vw, 56px); }
.gpage-single h2.gsingle-title { text-align: center; font-size: clamp(22px, 3.4vw, 32px); font-weight: 800;
	letter-spacing: -.02em; }
.gsingle-line { width: 46px; height: 4px; border-radius: 4px; background: var(--grad); margin: 16px auto 30px;
	box-shadow: 0 0 18px rgba(94, 92, 230, .45); }

/* ---------- 留言页 ---------- */
.gmsg-list .gcomment-item { border-bottom: 1px dashed rgba(0,0,0,.08); }
.gmsg-os { display: inline-block; font-size: 11px; color: var(--text-3); background: rgba(0,0,0,.04);
	padding: 3px 10px; border-radius: 999px; margin-right: 6px; }
.gmsg-form { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.gmsg-form label { font-size: 13px; color: var(--text-2); margin-bottom: 6px; display: block; }

/* ---------- 搜索 ---------- */
.gsearch { display: flex; justify-content: center; margin: 10px 0 40px; }
.gsearch form { display: flex; width: min(560px, 100%);
	transition: transform .4s var(--ease-out); }
.gsearch form:focus-within { transform: translateY(-2px); }
.gsearch input { flex: 1; border-radius: 999px 0 0 999px; border-right: 0; }
.gsearch button { border-radius: 0 999px 999px 0; padding: 0 30px; color: #fff; background: var(--grad);
	background-size: 170% 170%; font-weight: 600; transition: filter .3s, transform .3s;
	animation: gradShift 8s ease infinite; }
.gsearch button:hover { filter: brightness(1.08); transform: translateX(1px); }
.gsearch mark { background: rgba(255, 214, 10, .45); color: inherit; border-radius: 4px; padding: 0 2px; }

/* ---------- 页脚 ---------- */
.gfoot { margin-top: 70px; padding: 50px 0 30px; position: relative;
	background: rgba(255,255,255,.44); border-top: 1px solid rgba(255,255,255,.75);
	-webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.gfoot::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(10,132,255,.5), rgba(191,90,242,.5), transparent); }
.gfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.gfoot-brand h4 { font-size: 18px; font-weight: 700; }
.gfoot-desc { color: var(--text-2); font-size: 13.5px; margin-top: 10px; }
.gfoot-col h5 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.gfoot-col ul { font-size: 13px; color: var(--text-2); display: grid; gap: 8px; }
.gfoot-nav a { position: relative; display: inline-block; transition: color .3s, transform .3s var(--ease); }
.gfoot-nav a:hover { color: var(--accent); transform: translateX(3px); }
.gfoot-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
	margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline);
	font-size: 12.5px; color: var(--text-3); }
.gfoot-icp:hover { color: var(--accent); }

/* ---------- 返回顶部 ---------- */
.gtop { position: fixed; right: 26px; bottom: 30px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%; color: var(--text-2);
	background: var(--glass-strong); border: 1px solid var(--glass-border);
	backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
	box-shadow: 0 12px 30px -10px rgba(31,41,87,.32);
	opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
	transition: all .45s var(--ease-out); display: flex; align-items: center; justify-content: center; }
.gtop.show { opacity: 1; transform: none; pointer-events: auto; }
.gtop:hover { color: var(--accent); transform: translateY(-4px); border-color: rgba(10,132,255,.4);
	box-shadow: 0 18px 38px -12px rgba(31,41,87,.4); }
.gtop svg { transition: transform .4s var(--ease-spring); }
.gtop:hover svg { transform: translateY(-2px); }

/* ---------- 滚动浮现动画 ---------- */
.js [data-reveal] {
	opacity: 0; transform: translateY(30px) scale(.985); filter: blur(6px);
	transition: opacity .95s var(--ease-out), transform .95s var(--ease-out), filter .95s var(--ease-out);
	transition-delay: var(--rd, 0s);
}
.js [data-reveal="fade"] { transform: none; filter: blur(4px); }
.js [data-reveal="left"] { transform: translateX(-38px); }
.js [data-reveal="right"] { transform: translateX(38px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="blur"] { transform: translateY(16px); filter: blur(14px); }
.js [data-reveal].revealed { opacity: 1; transform: none; filter: blur(0); }

.wow-fade { animation: fadeDown 1s var(--ease-out) both; }
.gpage-hero-title.wow-fade { animation-delay: .12s; }
.gpage-hero-desc.wow-fade { animation-delay: .24s; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); filter: blur(8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } }


/* ---------- 兼容降级 ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.gglass, .gnav.scrolled, .gfoot, .gbtn-ghost, .gtop, .gsort-chip, .ghero-badge,
	.gpage-btn, .gpage .page-num { background: rgba(255, 255, 255, .93); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
	.ggrid { grid-template-columns: repeat(2, 1fr); }
	.gfoot-grid { grid-template-columns: 1fr 1fr; }
	.gfeed-item { grid-template-columns: 180px 1fr; }
}
@media (max-width: 720px) {
	:root { --nav-h: 58px; }
	.gnav-toggle { display: flex; }
	.gnav-menu { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch;
		padding: 84px 26px 26px; gap: 6px; background: rgba(250, 250, 252, .86);
		-webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
		box-shadow: 0 30px 60px -20px rgba(31,41,87,.3); border-bottom: 1px solid rgba(255,255,255,.7);
		transform: translateY(-102%); transition: transform .55s var(--ease-out); }
	.gnav.open .gnav-menu { transform: none; }
	.gnav-pill { display: none; }
	.gnav-link { font-size: 17px; padding: 13px 16px; border-radius: 16px; }
	.gnav-link.is-active::before { border-radius: 16px; }
	.ggrid { grid-template-columns: 1fr; }
	.gfeed-item { grid-template-columns: 1fr; }
	.gfeed-thumb { aspect-ratio: 16/9; }
	.gfoot-grid { grid-template-columns: 1fr; gap: 26px; }
	.garticle-nav { grid-template-columns: 1fr; }
	.ghero { padding-top: 54px; }
	.garticle-progress { top: calc(var(--nav-h) + 6px); }
	.gtop { right: 16px; bottom: 18px; }
	.bg-scene::after { animation: none; opacity: .1; }
	.blob { filter: blur(64px); opacity: .46; }
	.gpost { transform: none; }
	.gmarquee { margin-top: 30px; }
}

/* ---------- 减弱动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
		transition-duration: .01ms !important; }
	.blob, .bg-scene::after, .gmarquee-track, .ghero-scroll span::after { animation: none; }
	.js [data-reveal], [data-reveal] { opacity: 1; transform: none; filter: none; }
	html { scroll-behavior: auto; }
}
