/* ============ OverThinker-Blog 复刻 · 全站样式 ============ */
:root {
  --bg: #101216;
  --bg-soft: #14161c;
  --card: #171a21;
  --card-hover: #1c2029;
  --border: rgba(255, 255, 255, 0.07);
  --text: #e6e8eb;
  --text-2: #a2a8b0;
  --text-3: #6b7280;
  --green: #4ade80;
  --green-bright: #3dff9d;
  --green-dim: rgba(74, 222, 128, 0.12);
  --red: #ef4444;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --mono: "Cascadia Code", Consolas, "JetBrains Mono", monospace;
  --nav-h: 56px;                     /* 顶部导航高度：内容顶部避让与导航本身共用同一个值 */
  /* v5：主题可覆盖的外观变量（组件默认走变量，不再写死颜色） */
  --nav-bg: rgba(13, 15, 18, 0.82);
  --nav-border: rgba(255, 255, 255, 0.05);
  --hero-bg: #050607;
  --hero-title: #f2fff7;
  --hero-sub: rgba(240, 255, 245, 0.85);
  --search-bg: #0a0c0e;
  --search-fg: #9fe8bf;
  --code-bg: #0d1014;
  --code-fg: #b8f5cf;
  --md-strong: var(--green-bright);
  --accent-soft: rgba(74, 222, 128, 0.25);
}
html[data-theme="light"] {
  --bg: #f5f6f8;
  --bg-soft: #eef0f3;
  --card: #ffffff;
  --card-hover: #f3f5f7;
  --border: rgba(0, 0, 0, 0.08);
  --text: #23272e;
  --text-2: #5c6470;
  --text-3: #9aa2ad;
  --green: #16a34a;
  --green-bright: #059669;
  --green-dim: rgba(22, 163, 74, 0.1);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-border: rgba(0, 0, 0, 0.08);
  --hero-bg: #e9edf2;
  --hero-title: #23272e;
  --hero-sub: rgba(35, 39, 46, 0.8);
  --search-bg: #101418;
  --search-fg: #9fe8bf;
  --code-bg: #16202b;
  --code-fg: #b8f5cf;
  --md-strong: #15803d;
  --accent-soft: rgba(22, 163, 74, 0.25);
}
/* 星野紫：冷调米白底 + 深紫墨字 + 暮紫点缀（取自主视觉参考图） */
html[data-theme="violet"] {
  --bg: #eef0f7;
  --bg-soft: #e4e7f2;
  --card: #ffffff;
  --card-hover: #f4f6fc;
  --border: rgba(36, 29, 48, 0.1);
  --text: #241d30;
  --text-2: #5b5566;
  --text-3: #8b8497;
  --green: #7b5ea7;
  --green-bright: #6b4d94;
  --green-dim: rgba(107, 77, 148, 0.1);
  --red: #c0566f;
  --shadow: 0 8px 28px rgba(36, 29, 48, 0.1);
  --nav-bg: rgba(238, 240, 247, 0.86);
  --nav-border: rgba(36, 29, 48, 0.08);
  --hero-bg: #ded9ee;
  --hero-title: #241d30;
  --hero-sub: rgba(36, 29, 48, 0.75);
  --search-bg: #ffffff;
  --search-fg: #6b4d94;
  --code-bg: #2a2340;
  --code-fg: #ded4f4;
  --md-strong: #6b4d94;
  --accent-soft: rgba(107, 77, 148, 0.25);
}
/* 暮山紫：夜色界面，深紫底 + 星辉紫高亮 */
html[data-theme="dusk"] {
  --bg: #14122b;
  --bg-soft: #191734;
  --card: #1d1b3a;
  --card-hover: #242143;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e9e6f5;
  --text-2: #a6a0c4;
  --text-3: #736e93;
  --green: #a892f0;
  --green-bright: #bfb0ff;
  --green-dim: rgba(168, 146, 240, 0.14);
  --red: #f0729a;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(20, 18, 43, 0.85);
  --nav-border: rgba(255, 255, 255, 0.06);
  --hero-bg: #100e24;
  --hero-title: #f2eeff;
  --hero-sub: rgba(230, 225, 255, 0.82);
  --search-bg: #0f0d22;
  --search-fg: #c9bdf5;
  --code-bg: #0f0d22;
  --code-fg: #d6ccff;
  --md-strong: #bfb0ff;
  --accent-soft: rgba(168, 146, 240, 0.28);
}
/* 宣纸：暖米纸底 + 墨褐字 + 朱砂点缀 */
html[data-theme="paper"] {
  --bg: #f4ece1;
  --bg-soft: #ece1d3;
  --card: #fffaf3;
  --card-hover: #f7efe3;
  --border: rgba(74, 63, 58, 0.12);
  --text: #3b3330;
  --text-2: #6b605a;
  --text-3: #9b908a;
  --green: #a8452f;
  --green-bright: #c05a3e;
  --green-dim: rgba(168, 69, 47, 0.1);
  --red: #b03a2e;
  --shadow: 0 8px 28px rgba(74, 63, 58, 0.1);
  --nav-bg: rgba(244, 236, 225, 0.88);
  --nav-border: rgba(74, 63, 58, 0.08);
  --hero-bg: #e6dbc9;
  --hero-title: #3b3330;
  --hero-sub: rgba(59, 51, 48, 0.75);
  --search-bg: #fffaf3;
  --search-fg: #8a6a52;
  --code-bg: #3b3330;
  --code-fg: #e8dccb;
  --md-strong: #a8452f;
  --accent-soft: rgba(168, 69, 47, 0.24);
}
/* 首屏装饰球按主题重新着色，避免新主题里仍是绿色 */
html[data-theme="light"] .hero-shapes span { opacity: 0.6; filter: brightness(1.35) saturate(0.85); }
html[data-theme="violet"] .hero-shapes span { opacity: 0.5; filter: saturate(0.55) hue-rotate(215deg) brightness(1.35); }
html[data-theme="dusk"] .hero-shapes span { opacity: 0.55; filter: saturate(0.8) hue-rotate(225deg) brightness(0.9); }
html[data-theme="paper"] .hero-shapes span { opacity: 0.45; filter: sepia(0.55) saturate(0.65) hue-rotate(-28deg) brightness(1.3); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--green-dim); color: var(--green-bright); }

/* ---------------- 顶部导航 ---------------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center; gap: 18px;
  padding: 0 26px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
}
.topnav .logo { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--green-bright); }
.topnav .logo svg { width: 17px; height: 17px; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: 9px; font-size: 14px; color: var(--text);
  transition: 0.2s; background: transparent; border: none;
}
.nav-link:hover, .nav-item.active .nav-link { background: var(--green-dim); color: var(--green-bright); }
.nav-link svg { width: 14px; height: 14px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 150px; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 6px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: 0.22s;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); }
.nav-dropdown a:hover { background: var(--green-dim); color: var(--green-bright); }
.nav-dropdown a svg { width: 14px; height: 14px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* 终端风搜索 */
.search-wrap { position: relative; }
.search-box {
  display: flex; align-items: center; gap: 7px;
  width: 230px; height: 34px; padding: 0 12px;
  background: var(--search-bg); border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--mono); font-size: 12.5px; color: var(--search-fg);
}
.search-box .dots { display: flex; gap: 4px; }
.search-box .dots i { width: 8px; height: 8px; border-radius: 50%; }
.search-box .dots i:nth-child(1) { background: #ff5f57; }
.search-box .dots i:nth-child(2) { background: #febc2e; }
.search-box .dots i:nth-child(3) { background: #28c840; }
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--search-fg); font-family: var(--mono); font-size: 12.5px; min-width: 0; }
.search-box input::placeholder { color: var(--text-3); }
.search-drop {
  position: absolute; top: calc(100% + 8px); right: 0; width: 340px; max-height: 420px; overflow: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: none;
}
.search-drop.open { display: block; }
.search-drop a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--text-2); font-family: var(--mono); }
.search-drop a:hover { background: var(--green-dim); color: var(--green-bright); }
.search-drop a .ln { color: var(--text-3); width: 22px; text-align: right; }
.search-drop a:hover .ln { color: var(--green); }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; border: none; background: transparent; color: var(--text-2); transition: 0.2s; }
.icon-btn:hover { background: var(--green-dim); color: var(--green-bright); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; height: 46vh; min-height: 340px; overflow: hidden;
  background: var(--hero-bg); display: flex; align-items: center; justify-content: center;
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; }
.hero-shapes span {
  position: absolute; border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%;
  background: radial-gradient(circle at 35% 35%, #b9ffb8, #58e07d 45%, #0d3d24 100%);
  opacity: 0.85; filter: saturate(1.15);
  animation: morph 14s ease-in-out infinite alternate, drift 24s ease-in-out infinite alternate;
}
.hero-shapes span:nth-child(2) { background: radial-gradient(circle at 60% 40%, #eafff0, #1fd07a 55%, #062d1b 100%); animation-duration: 18s, 30s; }
.hero-shapes span:nth-child(3) { background: radial-gradient(circle at 50% 50%, #7bffab, #17a35c 60%, #03140c 100%); animation-duration: 11s, 20s; }
.hero-shapes span:nth-child(4) { background: radial-gradient(circle at 40% 60%, #d6ffe3, #46d67f 50%, #0a2f1d 100%); animation-duration: 16s, 27s; }
.hero-shapes span:nth-child(5) { background: radial-gradient(circle at 55% 30%, #a8ffc4, #2bbf6e 55%, #07231700 100%); animation-duration: 13s, 22s; }
@keyframes morph {
  0% { border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; }
  50% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; }
  100% { border-radius: 45% 55% 62% 38% / 40% 55% 45% 60%; }
}
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(60px, -40px) rotate(30deg) scale(1.15); }
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.hero-inner h1 {
  font-size: clamp(38px, 6vw, 64px); font-weight: 800; color: var(--hero-title);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25); letter-spacing: 1px;
}
.hero-inner p { font-family: var(--mono); color: var(--hero-sub); font-size: clamp(14px, 2vw, 19px); margin-top: 10px; min-height: 1.7em; }
.hero-inner p .cursor { display: inline-block; width: 8px; background: var(--green-bright); margin-left: 2px; animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ---------------- 布局 ---------------- */
.layout {
  max-width: 1220px; margin: 0 auto; padding: 26px 18px 60px;
  display: grid; grid-template-columns: 265px minmax(0, 1fr) 265px; gap: 20px;
}
/* 顶部导航是 fixed，会脱离文档流。没有 hero 撑开的页面必须自己让出导航的高度，
   否则开头一截内容会被压在导航栏底下（文章页 / 归档 / 相册 / 作品页等都中招）。
   首页紧跟在 hero 之后，hero 已经占满视口，这里不需要额外避让。 */
.layout { padding-top: calc(26px + var(--nav-h)); }
.hero + .layout { padding-top: 26px; }
/* 私柜页（private.html）用的独立容器，同样需要避让 */
main.wrap { padding: calc(22px + var(--nav-h)) 20px 40px; }
@media (max-width: 1100px) { .layout { grid-template-columns: 240px minmax(0, 1fr); } .side-r { display: none; } }
@media (max-width: 780px) { .layout { grid-template-columns: 1fr; } .side-l { order: 2; } .content { order: 1; } .nav-menu { display: none; } }

.side-col { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 72px; align-self: start; max-height: calc(100vh - 90px); overflow-y: auto; scrollbar-width: none; }
.side-col::-webkit-scrollbar { display: none; }
.side-col > .card { flex: none; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; transition: 0.25s;
}
.card:hover { border-color: var(--accent-soft); }
.card-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; margin-bottom: 12px; }
.card-title::before { content: ""; width: 3px; height: 15px; border-radius: 2px; background: var(--green); }

/* 侧栏个人卡片 */
.profile-card { padding: 0; overflow: hidden; text-align: center; }
.profile-card .cover { width: 100%; height: 120px; object-fit: cover; mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 62%, transparent); }
.profile-card .pname { font-weight: 800; font-size: 16.5px; }
.profile-card .pquote { color: var(--text-2); font-size: 12.8px; padding: 4px 16px 12px; }
.social-row { display: flex; justify-content: center; gap: 10px; padding-bottom: 16px; }
.social-row a {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--bg-soft); color: var(--text-2); transition: 0.2s;
}
.social-row a:hover { background: var(--green-dim); color: var(--green-bright); transform: translateY(-2px); }
.social-row svg { width: 16px; height: 16px; }

.cat-list .cat-item { display: flex; align-items: center; padding: 7px 6px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); }
.cat-list .cat-item:hover { background: var(--green-dim); color: var(--green-bright); }
.cat-list .cat-item span:first-child { flex: 1; }
.cat-badge { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--green); color: #06281a; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { padding: 4px 11px; border-radius: 999px; font-size: 12px; background: var(--bg-soft); color: var(--text-2); border: 1px solid var(--border); transition: 0.2s; }
.tag-chip:hover { background: var(--green); color: #06281a; border-color: var(--green); }
.notice-card p { color: var(--text-2); font-size: 13px; margin-bottom: 10px; }
.btn-mini { padding: 5px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-2); font-size: 12.5px; transition: 0.2s; }
.btn-mini:hover { background: var(--green); color: #06281a; border-color: var(--green); }

/* 访客信息 */
.visitor { font-size: 12.5px; color: var(--text-2); line-height: 2; }
.visitor b { color: var(--text); font-weight: 600; }
.visitor .vrow { display: flex; gap: 8px; align-items: center; }
.visitor svg { width: 13px; height: 13px; color: var(--green); flex: none; }

/* ---------------- 日历 ---------------- */
.calendar .cal-title { text-align: center; font-weight: 800; color: var(--green-bright); font-size: 15.5px; margin-bottom: 10px; font-family: Georgia, serif; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 12px; }
.cal-grid .dow { color: var(--green); font-weight: 700; padding: 4px 0; }
.cal-grid .day { position: relative; padding: 6px 0; border-radius: 7px; color: var(--text-2); cursor: pointer; transition: 0.15s; }
.cal-grid .day:hover { background: var(--green-dim); color: var(--green-bright); }
.cal-grid .day.dim { color: var(--text-3); opacity: 0.55; }
.cal-grid .day.today { background: var(--green); color: #06281a; font-weight: 800; }
.cal-grid .day .emoji-pop { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); font-size: 15px; animation: pop 0.5s ease; pointer-events: none; z-index: 5; }
@keyframes pop { 0% { transform: translate(-50%, 4px) scale(0.4); opacity: 0; } 60% { transform: translate(-50%, -8px) scale(1.25); opacity: 1; } 100% { transform: translate(-50%, -14px) scale(1); opacity: 0.9; } }

/* ---------------- 终端 ---------------- */
.terminal {
  background: #0a0c0e; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px;
  font-family: var(--mono); font-size: 12.3px; overflow: hidden;
}
.terminal .t-head { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.terminal .t-head i { width: 9px; height: 9px; border-radius: 50%; }
.terminal .t-head i:nth-child(1) { background: #ff5f57; }
.terminal .t-head i:nth-child(2) { background: #febc2e; }
.terminal .t-head i:nth-child(3) { background: #28c840; }
.terminal .t-head span { margin-left: 6px; color: #7c8894; font-size: 11px; }
.terminal .t-body { padding: 12px; color: #b8f5cf; min-height: 168px; max-height: 240px; overflow-y: auto; white-space: pre-wrap; word-break: break-all; }
.terminal .t-body .cmd { color: #7dd8ff; }
.terminal .t-body .ok { color: #7dffb0; }
.terminal .t-body .warn { color: #ffd27d; }
.terminal .t-body .err { color: #ff8080; }
.terminal .t-input { display: flex; align-items: center; gap: 7px; padding: 0 12px 12px; }
.terminal .t-input .p { color: var(--green-bright); }
.terminal .t-input input { flex: 1; background: none; border: none; outline: none; color: #e6fff1; font-family: var(--mono); font-size: 12.3px; }

/* virus 彩蛋弹窗 */
.alert-popup {
  position: fixed; z-index: 9999; width: 280px; padding: 16px;
  background: #d61f1f; color: #fff; border: 2px solid #ff6a6a; border-radius: 10px;
  font-family: var(--mono); text-align: center; box-shadow: 0 12px 40px rgba(214, 31, 31, 0.45);
  animation: shake 0.4s ease;
}
.alert-popup h4 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; }
.alert-popup p { font-size: 12px; line-height: 1.6; color: #ffd9d9; margin-bottom: 12px; }
.alert-popup button { padding: 6px 20px; border-radius: 6px; border: none; background: #fff; color: #d61f1f; font-weight: 800; font-size: 12px; }
@keyframes shake { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }

/* ---------------- 文章卡片 ---------------- */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-card {
  display: flex; gap: 16px; padding: 18px; position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: 0.25s; overflow: hidden;
}
.post-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; background: var(--green); opacity: 0.9; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(74, 222, 128, 0.35); }
.post-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.post-title { font-size: 17.5px; font-weight: 700; color: var(--text); line-height: 1.45; transition: 0.2s; }
.post-card:hover .post-title { color: var(--green-bright); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.post-meta .mi { display: inline-flex; align-items: center; gap: 4px; padding: 2.5px 9px; background: var(--bg-soft); border-radius: 6px; }
.post-meta .mi.cat { color: var(--green-bright); }
.post-meta svg { width: 12px; height: 12px; }
.post-meta .hash { color: var(--green); font-weight: 700; }
.post-excerpt { color: var(--text-2); font-size: 13.2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { margin-top: auto; display: flex; gap: 14px; font-size: 12px; color: var(--text-3); }
.post-foot span { display: inline-flex; align-items: center; gap: 5px; }
.post-foot svg { width: 13px; height: 13px; }
.post-cover { width: 175px; height: 118px; border-radius: 10px; object-fit: cover; flex: none; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pager button { min-width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--card); color: var(--text-2); font-size: 13px; transition: 0.2s; }
.pager button.on, .pager button:hover:not(:disabled) { background: var(--green); border-color: var(--green); color: #06281a; font-weight: 700; }
.pager button:disabled { opacity: 0.4; cursor: default; }

/* ---------------- 文章详情 ---------------- */
.post-wrap { padding: 26px 30px; }
.post-head h1 { font-size: 26px; font-weight: 800; line-height: 1.4; }
.post-head .post-meta { margin: 14px 0 20px; }
.post-cover-lg { width: 100%; border-radius: 12px; max-height: 420px; object-fit: cover; margin-bottom: 26px; }
.md { color: var(--text); font-size: 15px; line-height: 1.9; word-break: break-word; }
.md h1, .md h2, .md h3, .md h4 { font-weight: 800; margin: 26px 0 14px; line-height: 1.4; }
.md h2 { font-size: 21px; padding-bottom: 8px; border-bottom: 2px solid var(--green-dim); position: relative; }
.md h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--green); }
.md h3 { font-size: 18px; color: var(--green-bright); }
.md h4 { font-size: 15.5px; }
.md p { margin: 12px 0; }
.md ul, .md ol { padding-left: 26px; margin: 12px 0; }
.md li { margin: 6px 0; }
.md ul li::marker { color: var(--green); }
.md ol li::marker { color: var(--green); font-weight: 700; }
.md blockquote { margin: 14px 0; padding: 10px 18px; border-left: 3px solid var(--green); background: var(--green-dim); border-radius: 0 10px 10px 0; color: var(--text-2); }
.md code { font-family: var(--mono); font-size: 13px; background: var(--bg-soft); padding: 2px 7px; border-radius: 6px; color: var(--green-bright); }
.md pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 16px 0; }
.md pre code { background: none; color: var(--code-fg); padding: 0; font-size: 13px; line-height: 1.7; }
.md table { border-collapse: collapse; margin: 14px 0; width: 100%; font-size: 13.5px; }
.md th, .md td { border: 1px solid var(--border); padding: 8px 13px; text-align: left; }
.md th { background: var(--green-dim); color: var(--green-bright); }
.md img { border-radius: 12px; margin: 12px auto; }
.md hr { border: none; border-top: 1px dashed var(--border); margin: 22px 0; }
.md a { color: var(--green-bright); border-bottom: 1px dashed var(--green); }
.md strong { color: var(--md-strong); }

/* 目录 */
.toc { font-size: 12.8px; }
.toc a { display: block; padding: 5px 0 5px 12px; color: var(--text-3); border-left: 2px solid var(--border); transition: 0.2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toc a:hover, .toc a.on { color: var(--green-bright); border-left-color: var(--green); background: linear-gradient(90deg, var(--green-dim), transparent); }
.toc .lv3 { padding-left: 26px; }

/* ---------------- 评论区 ---------------- */
.comment-area { margin-top: 30px; }
.comment-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.comment-item .avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--green-dim); color: var(--green-bright); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.comment-item .cname { font-weight: 700; font-size: 13.5px; }
.comment-item .ctime { color: var(--text-3); font-size: 11.5px; margin-left: 8px; }
.comment-item .ccontent { color: var(--text-2); font-size: 13.5px; margin-top: 3px; }
.comment-form { display: grid; gap: 10px; margin-top: 14px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px; font-size: 13.5px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); outline: none; transition: 0.2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--green); }
.comment-form textarea { min-height: 88px; resize: vertical; }
.btn {
  padding: 9px 22px; border-radius: 10px; border: none; font-size: 13.5px; font-weight: 700;
  background: var(--green); color: #06281a; transition: 0.2s; width: fit-content;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.ghost { background: var(--bg-soft); color: var(--text-2); border: 1px solid var(--border); }
.btn.ghost:hover { color: var(--green-bright); border-color: var(--green); }

/* ---------------- 归档 ---------------- */
.archive-year { font-size: 30px; font-weight: 800; color: var(--green-bright); font-family: Georgia, serif; margin: 30px 0 6px; }
.archive-year:first-child { margin-top: 4px; }
.archive-item { display: flex; align-items: baseline; gap: 14px; padding: 11px 6px; border-bottom: 1px dashed var(--border); transition: 0.2s; border-radius: 8px; }
.archive-item:hover { background: var(--green-dim); padding-left: 12px; }
.archive-item .date { font-family: var(--mono); color: var(--text-3); font-size: 12.5px; flex: none; }
.archive-item .at { color: var(--text); font-size: 14.5px; }
.archive-item:hover .at { color: var(--green-bright); }

/* ---------------- 学习记录 ---------------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 18px; border-radius: 12px; text-align: center; border: 1px solid var(--border); }
.stat-card .n { font-size: 28px; font-weight: 800; font-family: Georgia, serif; }
.stat-card .l { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.stat-card.c1 { background: rgba(59, 130, 246, 0.12); } .stat-card.c1 .n { color: #60a5fa; }
.stat-card.c2 { background: rgba(34, 197, 94, 0.12); } .stat-card.c2 .n { color: var(--green-bright); }
.stat-card.c3 { background: rgba(234, 179, 8, 0.12); } .stat-card.c3 .n { color: #facc15; }
.stat-card.c4 { background: rgba(168, 85, 247, 0.12); } .stat-card.c4 .n { color: #c084fc; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.proj-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); transition: 0.25s; }
.proj-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(74, 222, 128, 0.35); }
.proj-card img { height: 140px; width: 100%; object-fit: cover; }
.proj-card .pbody { padding: 14px; }
.proj-card h4 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.status-chip { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; font-weight: 700; flex: none; }
.status-chip.s-进行中 { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.status-chip.s-已完成 { background: rgba(34, 197, 94, 0.15); color: var(--green-bright); }
.status-chip.s-计划中 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.proj-card p { font-size: 12.5px; color: var(--text-2); margin: 7px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proj-tech { display: flex; flex-wrap: wrap; gap: 6px; overflow-wrap: anywhere; }
.proj-tech i { font-style: normal; font-size: 11px; padding: 2px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--text-3); border: 1px solid var(--border); }

/* ---------------- 相册 ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-grid figure { border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.gallery-grid img { height: 170px; width: 100%; object-fit: cover; transition: 0.4s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.75)); }

/* ---------------- 页面通用头 ---------------- */
.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 27px; font-weight: 800; }
.page-head p { color: var(--text-2); font-size: 13.5px; font-family: var(--mono); margin-top: 4px; }

/* ---------------- 页脚 ---------------- */
.site-footer { border-top: 1px solid var(--border); padding: 26px 18px 34px; text-align: center; color: var(--text-3); font-size: 12.8px; }
.site-footer a { color: var(--green-bright); }
.site-footer .fline { margin: 4px 0; }

/* 空状态 */
.empty { text-align: center; color: var(--text-3); padding: 50px 0; font-size: 13.5px; }

/* toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card); color: var(--text); border: 1px solid var(--green);
  padding: 11px 22px; border-radius: 10px; font-size: 13.5px; box-shadow: var(--shadow);
  opacity: 0; transition: 0.3s; z-index: 9999; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= v2 扩展样式 ================= */

/* ---- 首页分区入口 ---- */
.home-sections { display: grid; gap: 16px; margin-bottom: 22px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .feature-row { grid-template-columns: 1fr; } }
.feature-card { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); min-height: 150px; display: flex; align-items: flex-end; transition: 0.25s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(74, 222, 128, 0.4); }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: 0.4s; }
.feature-card:hover img { transform: scale(1.05); }
.feature-card .fl { position: relative; z-index: 2; width: 100%; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(5,8,6,0.88)); color: #fff; }
.feature-card .fl b { font-size: 15px; display: flex; align-items: center; gap: 7px; }
.feature-card .fl b i { font-style: normal; }
.feature-card .fl span { font-size: 11.5px; opacity: 0.85; font-family: var(--mono); }

/* ---- 摄影：相册卡 ---- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.album-card { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: 0.25s; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(74, 222, 128, 0.35); }
.album-card img { width: 100%; height: 170px; object-fit: cover; transition: 0.4s; }
.album-card:hover img { transform: scale(1.06); }
.album-card .ainfo { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 13px 10px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.album-card .ainfo b { font-size: 14.5px; }
.album-card .ainfo span { display: block; font-size: 11px; opacity: 0.85; font-family: var(--mono); margin-top: 2px; }
.album-card .acat { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; padding: 2px 10px; border-radius: 999px; background: rgba(10,14,12,0.7); color: var(--green-bright); border: 1px solid rgba(74,222,128,0.4); backdrop-filter: blur(4px); }

/* ---- 摄影：瀑布流 + EXIF ---- */
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; transition: 0.25s; }
.masonry figure:hover { border-color: rgba(74, 222, 128, 0.4); transform: translateY(-2px); }
.masonry img { width: 100%; display: block; transition: 0.45s; }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; color: #fff; font-size: 12.5px; background: linear-gradient(transparent, rgba(0,0,0,0.78)); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.masonry figcaption .exif-mini { font-family: var(--mono); font-size: 10.5px; opacity: 0.8; }

/* ---- 灯箱 ---- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(4, 6, 8, 0.94); display: none; align-items: center; justify-content: center; flex-direction: column; backdrop-filter: blur(8px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 76vh; border-radius: 10px; box-shadow: 0 20px 80px rgba(0,0,0,0.6); animation: lbin 0.25s ease; }
@keyframes lbin { from { transform: scale(0.94); opacity: 0; } }
.lightbox .lb-bar { width: min(88vw, 720px); margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #cfd8d3; font-size: 13px; }
.lightbox .lb-meta { font-family: var(--mono); font-size: 11.5px; line-height: 1.8; }
.lightbox .lb-meta b { color: var(--green-bright); font-weight: 600; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(20,24,28,0.6); color: #fff; font-size: 19px; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.lightbox .lb-nav:hover { background: var(--green); color: #06281a; border-color: var(--green); }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(20,24,28,0.6); color: #fff; font-size: 17px; }
.lightbox .lb-count { position: absolute; top: 26px; left: 24px; font-family: var(--mono); color: #8fa39a; font-size: 12.5px; }

/* ---- 代码片段 / Prompt ---- */
.snip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.snip-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: 0.25s; display: flex; flex-direction: column; gap: 9px; }
.snip-card:hover { border-color: rgba(74, 222, 128, 0.35); transform: translateY(-2px); }
.snip-head { display: flex; align-items: center; gap: 9px; }
.snip-kind { font-size: 10.5px; padding: 2.5px 10px; border-radius: 999px; font-weight: 700; flex: none; }
.snip-kind.k-code { background: var(--green-dim); color: var(--green-bright); }
.snip-kind.k-prompt { background: rgba(168, 85, 247, 0.14); color: #c084fc; }
.snip-lang { font-size: 10.5px; font-family: var(--mono); color: var(--text-3); background: var(--bg-soft); padding: 2.5px 9px; border-radius: 6px; }
.snip-card h4 { font-size: 14.5px; }
.snip-card .sdesc { font-size: 12.5px; color: var(--text-2); }
.snip-pre { position: relative; background: #0d1014; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.snip-pre pre { margin: 0; padding: 13px 14px; overflow-x: auto; font-family: var(--mono); font-size: 12px; line-height: 1.65; color: #b8f5cf; max-height: 210px; }
.copy-btn { position: absolute; top: 8px; right: 8px; padding: 4px 11px; font-size: 11px; border-radius: 7px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: #cfe8da; transition: 0.2s; }
.copy-btn:hover { background: var(--green); color: #06281a; border-color: var(--green); }
.snip-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.snip-tags i { font-style: normal; font-size: 10.5px; padding: 2px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--text-3); border: 1px solid var(--border); }

/* ---- 作品集 ---- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.work-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--card); transition: 0.25s; display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74, 222, 128, 0.35); }
.work-card .wcover { position: relative; height: 168px; overflow: hidden; }
.work-card .wcover img { width: 100%; height: 100%; object-fit: cover; transition: 0.45s; }
.work-card:hover .wcover img { transform: scale(1.06); }
.work-kind { position: absolute; top: 10px; left: 10px; font-size: 10.5px; padding: 2.5px 11px; border-radius: 999px; background: rgba(8,10,12,0.72); color: var(--green-bright); border: 1px solid rgba(74,222,128,0.4); backdrop-filter: blur(4px); }
.work-year { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 11px; color: #fff; background: rgba(8,10,12,0.6); padding: 2px 9px; border-radius: 7px; }
.work-card .wbody { padding: 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-card h4 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.work-card h4 a { color: inherit; } .work-card h4 a:hover { color: var(--green-bright); }
.work-card p { font-size: 12.5px; color: var(--text-2); flex: 1; }
.work-links { display: flex; gap: 8px; }
.work-links a { font-size: 11.5px; font-family: var(--mono); color: var(--text-3); display: inline-flex; align-items: center; gap: 4px; }
.work-links a:hover { color: var(--green-bright); }

/* ---- 友链 ---- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.link-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); transition: 0.22s; }
.link-card:hover { transform: translateY(-3px); border-color: rgba(74,222,128,0.4); box-shadow: var(--shadow); }
.link-card .lava { width: 46px; height: 46px; border-radius: 12px; flex: none; background: var(--green-dim); color: var(--green-bright); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.link-card .lava img { width: 100%; height: 100%; object-fit: cover; }
.link-card b { font-size: 14px; display: block; }
.link-card span { font-size: 11.5px; color: var(--text-3); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }

/* ---- 动态时间线 ---- */
.moment-item { display: flex; gap: 14px; position: relative; padding-bottom: 26px; }
.moment-rail { position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: var(--border); }
.moment-item:last-child .moment-rail { display: none; }
.moment-ava { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--card); border: 2px solid var(--green-dim); display: flex; align-items: center; justify-content: center; font-size: 19px; z-index: 1; }
.moment-body { flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; }
.moment-body .mtime { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-bottom: 5px; }
.moment-body .mtext { font-size: 13.8px; }
.moment-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 120px)); gap: 8px; margin-top: 10px; }
.moment-imgs img { width: 100%; height: 100px; object-fit: cover; border-radius: 9px; cursor: zoom-in; border: 1px solid var(--border); }

/* ---- 系列文章 ---- */
.series-card { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 16px 18px; margin-bottom: 14px; }
.series-card h4 { font-size: 15.5px; color: var(--green-bright); display: flex; align-items: center; gap: 9px; }
.series-card h4 .scount { font-size: 11px; background: var(--green); color: #06281a; border-radius: 999px; padding: 1px 9px; font-weight: 800; }
.series-step { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.series-step:last-child { border-bottom: none; }
.series-step .snum { font-family: var(--mono); font-size: 11px; color: var(--text-3); width: 30px; flex: none; }
.series-step a { font-size: 13.5px; color: var(--text); }
.series-step a:hover { color: var(--green-bright); }

/* ---- 订阅条 ---- */
.sub-bar { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.sub-bar input { flex: 1; min-width: 200px; padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); outline: none; }
.sub-bar input:focus { border-color: var(--green); }

/* ---- 筛选条 ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-bar button { padding: 6px 15px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--border); background: var(--card); color: var(--text-2); transition: 0.2s; }
.filter-bar button.on, .filter-bar button:hover { background: var(--green); border-color: var(--green); color: #06281a; font-weight: 700; }

/* ================= 移动端适配（≤780px / ≤480px） ================= */
@media (max-width: 780px) {
  body { overflow-x: hidden; }

  /* 顶部导航：隐藏菜单，搜索框自适应，避免横向溢出 */
  .topnav { padding: 0 12px; gap: 10px; }
  .nav-menu { display: none; }
  .nav-right { margin-left: auto; gap: 8px; min-width: 0; flex: 1; }
  .search-wrap { flex: 1; min-width: 0; }
  .search-box { width: 100%; min-width: 0; }
  .search-drop { width: min(340px, 92vw); }

  /* 布局：单列，取消侧栏粘性/内滚动（顶部避让随断点同步收窄） */
  .layout { padding: calc(18px + var(--nav-h)) 12px 50px; grid-template-columns: 1fr; gap: 0; }
  .hero + .layout { padding-top: 18px; }
  .side-col { position: static; max-height: none; overflow: visible; margin-top: 18px; }
  .content { order: 1; min-width: 0; }
  .side-l { order: 2; }
  .side-r { order: 3; display: flex; }

  /* Hero */
  .hero { height: 38vh; min-height: 250px; }
  .hero-inner h1 { font-size: clamp(28px, 9vw, 46px); }
  .hero-inner p { font-size: 14px; }

  /* 文章卡片：封面改为顶部通栏，文字独占整行（修复日期被挤成整行） */
  .post-card { flex-direction: column; gap: 12px; padding: 14px; }
  .post-card::before { top: 12px; bottom: 12px; }
  .post-cover { width: 100%; height: 170px; }
  .post-main { gap: 7px; }
  .post-title { font-size: 16px; }
  .post-meta { gap: 6px; font-size: 11.5px; }
  .post-meta .mi { padding: 2px 8px; }
  .post-excerpt { -webkit-line-clamp: 3; }
  .post-foot { flex-wrap: wrap; gap: 8px 12px; font-size: 11.5px; }

  /* 网格统一单列 */
  .feature-row, .album-grid, .work-grid, .snip-grid, .link-grid,
  .gallery-grid, .proj-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .masonry { columns: 2; column-gap: 10px; }

  /* 文章详情 */
  .post-wrap { padding: 18px 16px; }
  .post-head h1 { font-size: 21px; }
  .post-cover-lg { max-height: 240px; }
  .md { font-size: 14.5px; line-height: 1.85; }
  .md h2 { font-size: 18.5px; }
  .md h3 { font-size: 16.5px; }
  .md pre { font-size: 12px; padding: 12px 14px; border-radius: 10px; }

  /* 归档 / 页面头 */
  .archive-year { font-size: 24px; }
  .archive-item { flex-wrap: wrap; gap: 4px 12px; }
  .page-head h1 { font-size: 22px; }

  /* 组件 */
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button { flex: none; }
  .moment-item { gap: 10px; }
  .moment-imgs { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
  .moment-imgs img { height: 84px; }
  .sub-bar { flex-direction: column; }
  .sub-bar .btn { width: 100%; }
  .lightbox img { max-width: 94vw; max-height: 68vh; }
  .lightbox .lb-bar { width: 94vw; flex-direction: column; align-items: flex-start; gap: 2px; }
  .lightbox .lb-nav { width: 38px; height: 38px; }
  .lightbox .lb-prev { left: 6px; } .lightbox .lb-next { right: 6px; }

  /* 后台管理：侧栏改为可横向滚动的顶部条 */
  .admin-body { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; border-right: none;
    border-bottom: 1px solid var(--border); padding: 10px; flex-direction: row;
    align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .admin-side::-webkit-scrollbar { display: none; }
  .admin-side .brand { padding: 0 10px 0 4px; flex: none; }
  .admin-nav { display: flex; flex-direction: row; gap: 6px; }
  .admin-nav a, .admin-nav button { width: auto; white-space: nowrap; padding: 8px 12px; }
  .admin-nav .gap { display: none; }
  .admin-main { padding: 16px 14px 50px; }
  .stat4 { grid-template-columns: repeat(2, 1fr); }
  .a-card { padding: 14px; overflow-x: auto; }
  .a-table { font-size: 12.5px; }
  .a-table th, .a-table td { padding: 9px 8px; }
  .modal { padding: 18px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .topnav { padding: 0 10px; gap: 8px; }
  .topnav .logo span { display: none; }
  .masonry { columns: 1; }
  .post-cover { height: 150px; }
  .feature-card { min-height: 128px; }
  .stat4 { grid-template-columns: 1fr; }
  .hero { height: 34vh; min-height: 220px; }
  .social-row a { width: 32px; height: 32px; }
  .pager { flex-wrap: wrap; }
  .search-box { font-size: 12px; }
}

/* ---- 移动端汉堡菜单 ---- */
.nav-toggle { display: none; }
.mobile-menu { display: none; }
@media (max-width: 780px) {
  .nav-toggle { display: flex; flex: none; }
  .mobile-menu.open {
    display: block; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    background: var(--card); border-bottom: 1px solid var(--border);
    padding: 10px 14px 16px; box-shadow: var(--shadow);
  }
  .mobile-menu .mm-group { margin-bottom: 10px; }
  .mobile-menu .mm-title { font-size: 11px; color: var(--text-3); font-family: var(--mono); padding: 4px 10px; }
  .mobile-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--text-2); }
  .mobile-menu a:hover, .mobile-menu a:active { background: var(--green-dim); color: var(--green-bright); }
  .mobile-menu a svg { width: 15px; height: 15px; flex: none; }
}

/* ---- 修复：长代码行撑破网格卡片（grid item 的 auto 最小宽度） ---- */
.snip-grid > *, .work-grid > *, .proj-grid > *, .album-grid > *, .link-grid > *,
.gallery-grid > *, .feature-row > *, .stat-row > *, .stat4 > *, .site-grid > * { min-width: 0; }
.snip-pre { min-width: 0; max-width: 100%; }
.snip-pre pre { max-width: 100%; overflow-x: auto; white-space: pre; }
.md pre, .md table { max-width: 100%; }
.md table { display: block; overflow-x: auto; }

/* ---- 中等屏（平板横屏 / 小笔记本）：收窄搜索框，避免导航栏被挤出去 ---- */
@media (min-width: 781px) and (max-width: 1180px) {
  .search-box { width: 170px; }
  .nav-menu { gap: 0; }
  .nav-link { padding: 7px 9px; font-size: 13.5px; }
  .topnav { padding: 0 16px; gap: 10px; }
}

/* ================= v3：人像摄影（作品 / 约拍 / 器材 / FAQ） ================= */

/* ---- 摄影师头图条 ---- */
.photographer-bar { display: flex; gap: 18px; align-items: center; padding: 20px 22px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--card); margin-bottom: 20px; }
.photographer-bar .pface { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid var(--green-dim); }
.photographer-bar h2 { font-size: 19px; }
.photographer-bar .ptitle { font-family: var(--mono); font-size: 12.5px; color: var(--green-bright); margin: 2px 0 6px; }
.photographer-bar p { font-size: 13px; color: var(--text-2); }
.photographer-bar .pacts { margin-left: auto; display: flex; gap: 8px; flex: none; }
@media (max-width: 700px) { .photographer-bar { flex-direction: column; align-items: flex-start; } .photographer-bar .pacts { margin-left: 0; } }

/* ---- 风格统计条 ---- */
.style-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.style-chip { padding: 5px 14px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--border);
  background: var(--card); color: var(--text-2); transition: 0.2s; }
.style-chip.on, .style-chip:hover { background: var(--green); border-color: var(--green); color: #06281a; font-weight: 700; }
.style-chip i { font-style: normal; opacity: 0.65; margin-left: 5px; font-size: 11px; }

/* ---- 人像作品卡：布光/镜头信息 ---- */
.portrait-figure figcaption { flex-direction: column; align-items: flex-start; gap: 2px; }
.portrait-figure .pf-title { font-size: 12.5px; }
.portrait-figure .pf-meta { font-family: var(--mono); font-size: 10.5px; opacity: 0.85; }
.portrait-figure .pf-light { font-size: 10.5px; color: var(--green-bright); opacity: 0.95; }
.style-tag { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 10.5px; padding: 2px 10px;
  border-radius: 999px; background: rgba(8,10,12,0.72); color: #fff; border: 1px solid rgba(74,222,128,0.45);
  backdrop-filter: blur(4px); }

/* ---- 套餐卡 ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pkg-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card);
  transition: 0.25s; display: flex; flex-direction: column; }
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74,222,128,0.4); }
.pkg-card.featured-pkg { border-color: rgba(74,222,128,0.45); }
.pkg-cover { position: relative; height: 150px; overflow: hidden; }
.pkg-cover img { width: 100%; height: 100%; object-fit: cover; transition: 0.45s; }
.pkg-card:hover .pkg-cover img { transform: scale(1.05); }
.pkg-star { position: absolute; top: 10px; right: 10px; font-size: 11px; padding: 2px 10px; border-radius: 999px;
  background: var(--green); color: #06281a; font-weight: 800; }
.pkg-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pkg-body h4 { font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pkg-price { color: var(--green-bright); font-family: Georgia, serif; font-size: 20px; font-weight: 800; flex: none; }
.pkg-price small { font-size: 11px; font-weight: 400; opacity: 0.75; }
.pkg-line { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.pkg-desc { font-size: 12.5px; color: var(--text-2); flex: 1; }
.pkg-includes { display: flex; flex-wrap: wrap; gap: 6px; }
.pkg-includes i { font-style: normal; font-size: 11px; padding: 2px 9px; border-radius: 6px;
  background: var(--green-dim); color: var(--green-bright); border: 1px solid rgba(74,222,128,0.25); }
.pkg-book { width: 100%; text-align: center; }

/* ---- 预约表单 ---- */
.book-form { display: grid; gap: 12px; max-width: 620px; }
.book-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .book-form .grid2 { grid-template-columns: 1fr; } }
.book-form input, .book-form select, .book-form textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px; font-size: 13.5px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); outline: none; transition: 0.2s; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--green); }
.book-form textarea { min-height: 92px; resize: vertical; }
.book-note { font-size: 12px; color: var(--text-3); }

/* ---- FAQ 折叠 ---- */
.faq-item { border-bottom: 1px dashed var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 2px; background: none; border: none; text-align: left; font-size: 14px; color: var(--text);
  transition: 0.2s; }
.faq-q:hover { color: var(--green-bright); }
.faq-q .fq-icon { flex: none; color: var(--green); font-size: 15px; transition: 0.25s; }
.faq-item.open .fq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 2px 14px; font-size: 13px; color: var(--text-2); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }

/* ---- 器材库 ---- */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gear-card { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); transition: 0.2s; }
.gear-card:hover { border-color: rgba(74,222,128,0.35); transform: translateY(-2px); }
.gear-kind { font-size: 10.5px; padding: 2px 9px; border-radius: 999px; background: var(--green-dim);
  color: var(--green-bright); display: inline-block; margin-bottom: 7px; }
.gear-card b { font-size: 14px; display: block; }
.gear-card .gspec { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.gear-card .gnote { font-size: 12px; color: var(--text-2); margin-top: 6px; }

/* ---- 预约状态标签 ---- */
.st-pending { background: rgba(234,179,8,0.14); color: #facc15; }
.st-confirmed { background: rgba(34,197,94,0.14); color: var(--green-bright); }
.st-done { background: var(--bg-soft); color: var(--text-3); }
.st-cancelled { background: rgba(239,68,68,0.14); color: #f87171; }

/* ---- 拍摄流程步骤 ---- */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0 4px; }
@media (max-width: 780px) { .flow-steps { grid-template-columns: 1fr; } }
.flow-step { padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-soft); position: relative; }
.flow-step .fnum { font-family: Georgia, serif; font-size: 22px; font-weight: 800; color: var(--green); line-height: 1; }
.flow-step b { display: block; font-size: 13.5px; margin: 6px 0 3px; }
.flow-step span { font-size: 11.5px; color: var(--text-3); line-height: 1.6; }

/* ---- 导航 CTA（约拍） ---- */
.nav-item .nav-link.nav-cta { color: var(--green-bright); font-weight: 700; }
.nav-item .nav-link.nav-cta::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--green); opacity: 0.55; }
.nav-item .nav-link.nav-cta.active::after { opacity: 1; }
.mobile-menu a.mm-cta { color: var(--green-bright); font-weight: 700; background: var(--green-dim); }
.mobile-menu a.mm-cta:hover { background: var(--green-dim); }

/* ---- 导航项不折行：项目变多后保持单行 ---- */
.nav-menu { flex-wrap: nowrap; }
.nav-link { white-space: nowrap; }
.nav-item { flex: none; }

/* ================= v4：站点作品（已上线站点） ================= */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.site-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--card);
  transition: 0.25s; display: flex; flex-direction: column; }
.site-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(74,222,128,0.35); }
.site-cover { position: relative; height: 168px; overflow: hidden; display: block; }
.site-cover img { width: 100%; height: 100%; object-fit: cover; transition: 0.45s; }
.site-card:hover .site-cover img { transform: scale(1.06); }
.site-status { position: absolute; top: 10px; left: 10px; font-size: 10.5px; padding: 2.5px 11px; border-radius: 999px;
  background: rgba(8,10,12,0.72); color: var(--green-bright); border: 1px solid rgba(74,222,128,0.4); backdrop-filter: blur(4px); }
.site-status.wip { color: #facc15; border-color: rgba(250,204,21,0.45); }
.site-body { padding: 15px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.site-body h4 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.site-body h4 a { color: inherit; } .site-body h4 a:hover { color: var(--green-bright); }
.site-star { font-size: 11.5px; color: var(--green-bright); }
.site-body p { font-size: 12.5px; color: var(--text-2); flex: 1; overflow-wrap: anywhere; }
.site-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere;
  padding-top: 8px; border-top: 1px dashed var(--border); }
.site-foot a { font-size: 11.5px; font-family: var(--mono); color: var(--text-3); }
.site-foot a:hover { color: var(--green-bright); }
.site-lock { font-size: 11.5px; font-family: var(--mono); color: #facc15; }
.site-more { color: var(--green-bright) !important; }
.site-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 6px 0 12px; }
.site-meta .chip { font-size: 11px; padding: 2.5px 11px; border-radius: 999px; font-weight: 700; }
.site-meta .chip.ok { background: var(--green-dim); color: var(--green-bright); }
.site-meta .chip.wip { background: rgba(250,204,21,0.14); color: #facc15; }
.site-meta-i { font-size: 12px; font-family: var(--mono); color: var(--text-3); text-decoration: none; }
.site-meta-i.lock { color: #facc15; }
.site-meta-i.link { color: var(--green-bright); }
.site-meta-i.link:hover { text-decoration: underline; }
@media (max-width: 780px) { .site-grid { grid-template-columns: 1fr; } }

/* ---- 上线作品预览用的小组件 ---- */
.live-tip { margin: -8px 0 16px; font-size: 12.5px; color: var(--text-2); }
.site-live { font-family: var(--mono); font-size: 11.5px; color: var(--green-bright) !important;
  padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(74,222,128,0.35);
  background: rgba(74,222,128,0.1); }
.site-live:hover { background: var(--green); color: #06281a !important; }

/* ================= v5：私柜（管理员可见） ================= */
.priv-gate { max-width: 380px; margin: 6px auto 4px; text-align: center; padding: 26px 22px 22px;
  border: 1px dashed var(--border); border-radius: 14px; background: var(--bg-2, rgba(127,127,127,0.05)); }
.priv-lock { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-dim); color: var(--green-bright); }
.priv-lock svg { width: 22px; height: 22px; }
.priv-gate h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.priv-tip { margin: 0 0 16px; font-size: 12.5px; color: var(--text-2); }
.priv-gate input { width: 100%; padding: 11px 13px; text-align: center; font-size: 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; outline: none; }
.priv-gate input:focus { border-color: var(--green-bright); }
.priv-gate button { width: 100%; margin-top: 10px; padding: 11px; cursor: pointer; font-size: 13.5px;
  letter-spacing: 0.16em; background: var(--green-bright); color: #06110b; font-weight: 700;
  border: none; border-radius: 8px; }
.priv-gate button:active { transform: scale(0.99); }
.priv-err { min-height: 18px; margin: 10px 0 0; font-size: 12px; color: #f87171; }
.priv-hint { margin: 6px 0 0; font-size: 11.5px; color: var(--text-3); }

.priv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 16px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; }
.priv-user { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--green-bright); }
.priv-user svg { width: 15px; height: 15px; }
.priv-logout { cursor: pointer; }

.priv-badge { position: absolute; top: 10px; right: 10px; font-size: 10.5px; padding: 2.5px 10px;
  border-radius: 999px; background: rgba(8,10,12,0.72); color: #facc15;
  border: 1px solid rgba(250,204,21,0.45); backdrop-filter: blur(4px); }
.priv-cover { cursor: pointer; }

.priv-modal { position: fixed; inset: 0; z-index: 90; display: none; flex-direction: column;
  background: rgba(4,6,8,0.86); backdrop-filter: blur(4px); }
.priv-modal.show { display: flex; }
.priv-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: rgba(255,255,255,0.06); color: #e9f5ec; }
.priv-modal-title { font-size: 13.5px; font-weight: 700; }
.priv-modal-act { display: flex; align-items: center; gap: 14px; }
.priv-modal-act a { color: #4ade80; font-size: 12.5px; }
.priv-modal-act button { background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: #e9f5ec; font-size: 12px; padding: 4px 12px; border-radius: 8px; cursor: pointer; }
.priv-modal iframe { flex: 1; width: 100%; border: 0; background: #fff; }

/* ==================================================================
   v5 首屏装扮：主题切换 / 大图封面 / 每日诗句 / 音乐播放器 / 浏览量
   ================================================================== */

/* ---------------- 主题切换菜单 ---------------- */
.theme-wrap { position: relative; }
.theme-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 170px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 220;
}
.theme-menu.open { display: block; }
.theme-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 10px; border: none; background: none; border-radius: 8px;
  font-size: 13px; color: var(--text-2); text-align: left;
}
.theme-menu button:hover { background: var(--green-dim); color: var(--green-bright); }
.theme-menu button.on { color: var(--green-bright); font-weight: 700; }
.theme-menu .sw { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1px solid var(--border); }

/* ---------------- 首屏大图封面 ---------------- */
.hero.cover-on { height: 100vh; min-height: 520px; }
.hero.cover-on.h-normal { height: 74vh; min-height: 420px; }
.hero.cover-on .hero-shapes { display: none; }
.hero.cover-on .hero-wave { display: none; }
.hero-cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; transform: scale(1.08);
  animation: coverIn 1.6s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes coverIn { to { transform: scale(1); } }
.hero-cover-mask {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.10) 34%, rgba(0,0,0,.62) 100%);
}
.hero.cover-on .hero-inner { z-index: 3; }
.hero.cover-on .hero-inner h1 { color: #fff; text-shadow: 0 6px 34px rgba(0,0,0,.55); }
.hero.cover-on .hero-inner p { color: rgba(255,255,255,.9); }

.hero-poem {
  margin-top: 18px; font-size: clamp(14px, 1.9vw, 19px); letter-spacing: 2px;
  color: rgba(255,255,255,.94); text-shadow: 0 2px 18px rgba(0,0,0,.5);
  font-family: "Songti SC", "STSong", "SimSun", serif; min-height: 1.7em;
}
.hero-poem .poem-author {
  display: block; margin-top: 8px; font-family: var(--mono);
  font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.62);
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 76px; z-index: 4;
  transform: translateX(-50%); display: flex; flex-direction: column;
  align-items: center; gap: 5px; color: rgba(255,255,255,.82);
  font-size: 11.5px; letter-spacing: 2px; cursor: pointer;
  animation: floatY 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes floatY { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------------- 底部音乐播放器 ---------------- */
.music-bar {
  position: fixed; left: 18px; bottom: 18px; z-index: 130;
  display: flex; align-items: center; gap: 9px;
  padding: 7px 12px 7px 7px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow); max-width: min(420px, 82vw);
}
.music-bar .mp-disc {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--bg-soft); display: grid; place-items: center; color: var(--text-3);
}
.music-bar .mp-disc img { width: 100%; height: 100%; object-fit: cover; }
.music-bar .mp-disc svg { width: 18px; height: 18px; }
.music-bar.playing .mp-disc { animation: mpSpin 9s linear infinite; }
@keyframes mpSpin { to { transform: rotate(360deg); } }
.music-bar .mp-info { min-width: 0; line-height: 1.35; }
.music-bar .mp-title { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.music-bar .mp-sub { font-family: var(--mono); font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.music-bar .mp-btn { width: 28px; height: 28px; border: none; background: none; border-radius: 50%; color: var(--text-2); display: grid; place-items: center; flex: none; }
.music-bar .mp-btn:hover { background: var(--green-dim); color: var(--green-bright); }
.music-bar .mp-btn svg { width: 15px; height: 15px; }
.music-bar .mp-vol { width: 54px; accent-color: var(--green); flex: none; }
.music-bar .mp-list {
  position: absolute; bottom: calc(100% + 8px); left: 0; width: 240px; max-height: 280px;
  overflow: auto; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none;
}
.music-bar .mp-list.open { display: block; }
.music-bar .mp-list button {
  display: block; width: 100%; text-align: left; padding: 7px 9px; border: none;
  background: none; border-radius: 8px; font-size: 12.5px; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.music-bar .mp-list button:hover { background: var(--green-dim); color: var(--green-bright); }
.music-bar .mp-list button.on { color: var(--green-bright); background: var(--green-dim); font-weight: 600; }

/* ---------------- 浏览量 ---------------- */
.view-badge {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 12px; font-family: var(--mono); font-size: 12.3px; color: var(--text-3);
}
.view-badge b { color: var(--green-bright); font-weight: 700; }
.post-views { color: var(--text-3); font-family: var(--mono); font-size: 12px; }

@media (max-width: 780px) {
  .hero.cover-on { height: 92vh; min-height: 420px; }
  .hero.cover-on.h-normal { height: 62vh; min-height: 340px; }
  .hero-scroll { bottom: 60px; }
  .music-bar { left: 10px; bottom: 10px; padding: 6px 9px 6px 6px; gap: 6px; }
  .music-bar .mp-vol { display: none; }
  .music-bar .mp-title, .music-bar .mp-sub { max-width: 92px; }
  .music-bar .mp-list { width: min(240px, 84vw); }
}
