@import url("https://fontsapi.zeoseven.com/69/main/result.css");

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

:root {
  --accent: #6366F1;
  --accent-hover: #4F46E5;
  --accent-soft: rgba(99, 102, 241, 0.1);
  --accent-glow: rgba(99, 102, 241, 0.25);
  --bg: #E0E5EB;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-strong: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-blur: 24px;
  --glass-saturation: 1.8;
  --glass-highlight: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0) 60%);
  --glass-edge-glow: rgba(255, 255, 255, 0.35);
  --glass-inner-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
  --content-bg: transparent;
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --border: rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --radius-pill: 50px;
}

html.dark {
  --bg: #0F1117;
  --glass-bg: rgba(22, 25, 33, 0.58);
  --glass-bg-strong: rgba(22, 25, 33, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-highlight: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0) 60%);
  --glass-edge-glow: rgba(255, 255, 255, 0.08);
  --glass-inner-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  --content-bg: transparent;
  --text: #E8EAED;
  --text-secondary: #9AA0AC;
  --text-light: #5F6570;
  --border: rgba(255, 255, 255, 0.05);
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

html {
  transition: background-color 0.35s ease, color 0.35s ease;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: "Noto Sans CJK", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%221080%22%20height%3D%221080%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%28150%2C120%29%22%20opacity%3D%220.45%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cellipse%20cx%3D%2230%22%20cy%3D%2220%22%20rx%3D%2220%22%20ry%3D%2214%22%2F%3E%3Cellipse%20cx%3D%2250%22%20cy%3D%2216%22%20rx%3D%2216%22%20ry%3D%2212%22%2F%3E%3Cellipse%20cx%3D%2215%22%20cy%3D%2218%22%20rx%3D%2212%22%20ry%3D%2210%22%2F%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2218%22%20r%3D%221.5%22%20fill%3D%22%233a4050%22%2F%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%2218%22%20r%3D%221.5%22%20fill%3D%22%233a4050%22%2F%3E%3Cpath%20d%3D%22M27%2023%20Q30%2026%2033%2023%22%20stroke-width%3D%221%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28600%2C180%29%22%20opacity%3D%220.4%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15%200%20L18%2010%20L28%2010%20L20%2016%20L23%2027%20L15%2020%20L7%2027%20L10%2016%20L2%2010%20L12%2010Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.2%22%20fill%3D%22%233a4050%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2212%22%20r%3D%221.2%22%20fill%3D%22%233a4050%22%2F%3E%3Cpath%20d%3D%22M13%2016%20Q15%2018%2017%2016%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28900%2C390%29%22%20opacity%3D%220.35%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%206%20C12%202%206%200%206%205%20C6%2010%2012%2016%2012%2016%20C12%2016%2018%2010%2018%205%20C18%200%2012%202%2012%206Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28300%2C450%29%22%20opacity%3D%220.45%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cellipse%20cx%3D%2225%22%20cy%3D%2228%22%20rx%3D%2218%22%20ry%3D%2215%22%2F%3E%3Cpath%20d%3D%22M10%2016%20L14%2028%20L6%2028Z%22%2F%3E%3Cpath%20d%3D%22M40%2016%20L36%2028%20L44%2028Z%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2225%22%20r%3D%221.8%22%20fill%3D%22%233a4050%22%2F%3E%3Ccircle%20cx%3D%2231%22%20cy%3D%2225%22%20r%3D%221.8%22%20fill%3D%22%233a4050%22%2F%3E%3Cellipse%20cx%3D%2225%22%20cy%3D%2230%22%20rx%3D%222%22%20ry%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M14%2028%20Q25%2034%2036%2028%22%20stroke-width%3D%220.8%22%2F%3E%3Cline%20x1%3D%225%22%20y1%3D%2226%22%20x2%3D%2214%22%20y2%3D%2227%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3Cline%20x1%3D%225%22%20y1%3D%2230%22%20x2%3D%2214%22%20y2%3D%2229%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3Cline%20x1%3D%2236%22%20y1%3D%2227%22%20x2%3D%2245%22%20y2%3D%2226%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3Cline%20x1%3D%2236%22%20y1%3D%2229%22%20x2%3D%2245%22%20y2%3D%2230%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28840%2C750%29%22%20opacity%3D%220.35%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%223%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2213%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2213%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%229%22%20r%3D%223%22%20fill%3D%22%233a4050%22%20opacity%3D%220.3%22%2F%3E%3Cline%20x1%3D%2216%22%20y1%3D%2218%22%20x2%3D%2216%22%20y2%3D%2235%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M16%2025%20Q10%2022%2012%2018%22%20stroke-width%3D%220.8%22%2F%3E%3Cpath%20d%3D%22M16%2028%20Q22%2025%2020%2021%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2860%2C810%29%22%20opacity%3D%220.32%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M20%205%20C10%205%205%2015%2010%2025%20C15%2035%2025%2035%2030%2025%20C20%2028%2012%2020%2020%205Z%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%221.2%22%20fill%3D%22%233a4050%22%2F%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2218%22%20r%3D%221.2%22%20fill%3D%22%233a4050%22%2F%3E%3Cpath%20d%3D%22M17%2021%20Q19%2023%2021%2021%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28540%2C840%29%22%20opacity%3D%220.3%22%20stroke%3D%22%233a4050%22%20stroke-width%3D%221%22%20fill%3D%22none%22%3E%3Cellipse%20cx%3D%228%22%20cy%3D%2224%22%20rx%3D%226%22%20ry%3D%224%22%2F%3E%3Cline%20x1%3D%2214%22%20y1%3D%2224%22%20x2%3D%2214%22%20y2%3D%224%22%2F%3E%3Cpath%20d%3D%22M14%204%20Q20%202%2020%208%20Q20%2012%2014%2010%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22450%22%20cy%3D%2290%22%20r%3D%222%22%20fill%3D%22%233a4050%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%22960%22%20cy%3D%22240%22%20r%3D%221.5%22%20fill%3D%22%233a4050%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%22180%22%20cy%3D%22360%22%20r%3D%222.5%22%20fill%3D%22%233a4050%22%20opacity%3D%220.15%22%2F%3E%3Ccircle%20cx%3D%221020%22%20cy%3D%22960%22%20r%3D%222%22%20fill%3D%22%233a4050%22%20opacity%3D%220.2%22%2F%3E%3Ccircle%20cx%3D%22300%22%20cy%3D%221020%22%20r%3D%221.5%22%20fill%3D%22%233a4050%22%20opacity%3D%220.15%22%2F%3E%3C%2Fsvg%3E");
  background-size: 1080px 1080px;
  font-weight: normal;
}

html.dark body {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22360%22%20height%3D%22360%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20transform%3D%22translate%2850%2C40%29%22%20opacity%3D%220.3%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cellipse%20cx%3D%2230%22%20cy%3D%2220%22%20rx%3D%2220%22%20ry%3D%2214%22%2F%3E%3Cellipse%20cx%3D%2250%22%20cy%3D%2216%22%20rx%3D%2216%22%20ry%3D%2212%22%2F%3E%3Cellipse%20cx%3D%2215%22%20cy%3D%2218%22%20rx%3D%2212%22%20ry%3D%2210%22%2F%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2218%22%20r%3D%221.5%22%20fill%3D%22%2394a3b8%22%2F%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%2218%22%20r%3D%221.5%22%20fill%3D%22%2394a3b8%22%2F%3E%3Cpath%20d%3D%22M27%2023%20Q30%2026%2033%2023%22%20stroke-width%3D%221%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28200%2C60%29%22%20opacity%3D%220.28%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M15%200%20L18%2010%20L28%2010%20L20%2016%20L23%2027%20L15%2020%20L7%2027%20L10%2016%20L2%2010%20L12%2010Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.2%22%20fill%3D%22%2394a3b8%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2212%22%20r%3D%221.2%22%20fill%3D%22%2394a3b8%22%2F%3E%3Cpath%20d%3D%22M13%2016%20Q15%2018%2017%2016%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28300%2C130%29%22%20opacity%3D%220.25%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%206%20C12%202%206%200%206%205%20C6%2010%2012%2016%2012%2016%20C12%2016%2018%2010%2018%205%20C18%200%2012%202%2012%206Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28100%2C150%29%22%20opacity%3D%220.3%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cellipse%20cx%3D%2225%22%20cy%3D%2228%22%20rx%3D%2218%22%20ry%3D%2215%22%2F%3E%3Cpath%20d%3D%22M10%2016%20L14%2028%20L6%2028Z%22%2F%3E%3Cpath%20d%3D%22M40%2016%20L36%2028%20L44%2028Z%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2225%22%20r%3D%221.8%22%20fill%3D%22%2394a3b8%22%2F%3E%3Ccircle%20cx%3D%2231%22%20cy%3D%2225%22%20r%3D%221.8%22%20fill%3D%22%2394a3b8%22%2F%3E%3Cellipse%20cx%3D%2225%22%20cy%3D%2230%22%20rx%3D%222%22%20ry%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M14%2028%20Q25%2034%2036%2028%22%20stroke-width%3D%220.8%22%2F%3E%3Cline%20x1%3D%225%22%20y1%3D%2226%22%20x2%3D%2214%22%20y2%3D%2227%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3Cline%20x1%3D%225%22%20y1%3D%2230%22%20x2%3D%2214%22%20y2%3D%2229%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3Cline%20x1%3D%2236%22%20y1%3D%2227%22%20x2%3D%2245%22%20y2%3D%2226%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3Cline%20x1%3D%2236%22%20y1%3D%2229%22%20x2%3D%2245%22%20y2%3D%2230%22%20stroke-width%3D%220.6%22%20opacity%3D%220.5%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28280%2C250%29%22%20opacity%3D%220.25%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%223%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2213%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2213%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%229%22%20r%3D%223%22%20fill%3D%22%2394a3b8%22%20opacity%3D%220.3%22%2F%3E%3Cline%20x1%3D%2216%22%20y1%3D%2218%22%20x2%3D%2216%22%20y2%3D%2235%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M16%2025%20Q10%2022%2012%2018%22%20stroke-width%3D%220.8%22%2F%3E%3Cpath%20d%3D%22M16%2028%20Q22%2025%2020%2021%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2820%2C270%29%22%20opacity%3D%220.22%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221.2%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M20%205%20C10%205%205%2015%2010%2025%20C15%2035%2025%2035%2030%2025%20C20%2028%2012%2020%2020%205Z%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%221.2%22%20fill%3D%22%2394a3b8%22%2F%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2218%22%20r%3D%221.2%22%20fill%3D%22%2394a3b8%22%2F%3E%3Cpath%20d%3D%22M17%2021%20Q19%2023%2021%2021%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28180%2C280%29%22%20opacity%3D%220.2%22%20stroke%3D%22%2394a3b8%22%20stroke-width%3D%221%22%20fill%3D%22none%22%3E%3Cellipse%20cx%3D%228%22%20cy%3D%2224%22%20rx%3D%226%22%20ry%3D%224%22%2F%3E%3Cline%20x1%3D%2214%22%20y1%3D%2224%22%20x2%3D%2214%22%20y2%3D%224%22%2F%3E%3Cpath%20d%3D%22M14%204%20Q20%202%2020%208%20Q20%2012%2014%2010%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2230%22%20r%3D%222%22%20fill%3D%22%2394a3b8%22%20opacity%3D%220.15%22%2F%3E%3Ccircle%20cx%3D%22320%22%20cy%3D%2280%22%20r%3D%221.5%22%20fill%3D%22%2394a3b8%22%20opacity%3D%220.15%22%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%22120%22%20r%3D%222.5%22%20fill%3D%22%2394a3b8%22%20opacity%3D%220.12%22%2F%3E%3Ccircle%20cx%3D%22340%22%20cy%3D%22320%22%20r%3D%222%22%20fill%3D%22%2394a3b8%22%20opacity%3D%220.15%22%2F%3E%3Ccircle%20cx%3D%22100%22%20cy%3D%22340%22%20r%3D%221.5%22%20fill%3D%22%2394a3b8%22%20opacity%3D%220.12%22%2F%3E%3C%2Fsvg%3E");
}

.page {
  width: 920px;
  max-width: 100%;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.glass {
  position: relative;
  background: var(--glass-highlight), var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 8px 32px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow);
  overflow: hidden;
  isolation: isolate;
}

@supports not (backdrop-filter: blur(1px)) {
  .glass {
    background: var(--glass-bg-strong);
  }

  .sidebar {
    background: var(--glass-bg-strong) !important;
  }

  .mobile-search {
    background: var(--glass-bg-strong);
  }

  .hitokoto-banner {
    background: var(--glass-bg-strong);
  }

  .post-card-simple {
    background: var(--glass-bg-strong);
  }

  .post-card {
    background: var(--glass-bg-strong);
  }

  .bottom-bar {
    background: var(--glass-bg-strong);
  }

  .pg-card {
    background: var(--glass-bg-strong);
  }
}

.glass::before {
  display: none;
}

.shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 16px 48px rgba(0, 0, 0, 0.08);
}

.topbar {
  height: 90px;
  min-height: 90px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-width: calc(100% - 400px);
}

.topbar-center i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 13px;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.topbar-search {
  width: 100%;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  padding: 0 16px 0 38px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  outline: none;
  transition: all .25s;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.topbar-search::placeholder {
  color: var(--text-secondary);
}

.topbar-search:focus {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(99, 102, 241, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

html.dark .topbar-search {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 1px 4px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

html.dark .topbar-search:focus {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(129, 140, 248, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.topbar-brand .brand-icon {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 3px 12px var(--accent-glow);
}

.topbar-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .5px;
}

.topbar-brand .brand-logo-img {
  height: 54px;
  width: auto;
  border-radius: 14px;
  object-fit: contain;
}

.topbar-center .m-brand-icon,
.topbar-center .m-brand-name,
.topbar-center .m-brand-logo-img {
  display: none;
}

.topbar-spacer {
  flex: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all .2s;
  font-size: 14px;
  position: relative;
}

.topbar-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

html.dark .topbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-progress-ring {
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
}

.scroll-progress-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 2.5;
}

.scroll-progress-bar {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 87.96;
  stroke-dashoffset: 87.96;
  transition: stroke-dashoffset 0.15s ease;
}

.scroll-progress-text {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.topbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 4px;
  border: 2px solid transparent;
  transition: all .2s;
}

.topbar-avatar:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.topbar-vip {
  background: linear-gradient(135deg, #D4A84B, #B8922E);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(212, 168, 75, 0.3);
}

.main-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.sidebar {
  width: var(--sidebar-w, 230px);
  min-width: var(--sidebar-w, 230px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}

.sidebar::-webkit-scrollbar {
  width: 0;
}

.nav-group {
  padding: 2px 14px;
}

.nav-group-title {
  font-size: 11px;
  color: var(--text-light);
  padding: 12px 18px 5px;
  font-weight: 500;
  letter-spacing: .3px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  cursor: pointer;
  position: relative;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all .15s;
  border-radius: var(--radius-sm);
  margin: 1px 0;
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.nav-item:hover i {
  color: var(--accent);
}

html.dark .nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-item.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

.nav-item.active i {
  color: var(--accent);
}

.nav-item i {
  width: 17px;
  text-align: center;
  font-size: 14px;
}

.nav-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-light);
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 500;
}

html.dark .nav-count {
  background: rgba(255, 255, 255, 0.06);
}

.nav-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 8px 18px;
}

html.dark .nav-divider {
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-section-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all .15s;
  color: var(--text);
  font-size: 13px;
  border-radius: var(--radius-sm);
  margin: 1px 0;
  text-decoration: none;
}

.sidebar-section-card:hover {
  background: rgba(0, 0, 0, 0.06);
}

html.dark .sidebar-section-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-section-card .card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.sidebar-section-card .card-icon.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
}

.sidebar-section-card .card-icon.teal {
  background: rgba(20, 184, 166, 0.1);
  color: #0D9488;
}

.sidebar-section-card .card-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}

.sidebar-section-card .card-icon.rose {
  background: rgba(244, 63, 94, 0.1);
  color: #E11D48;
}

html.dark .sidebar-section-card .card-icon.indigo {
  background: rgba(129, 140, 248, 0.12);
  color: #818CF8;
}

html.dark .sidebar-section-card .card-icon.teal {
  background: rgba(45, 212, 191, 0.12);
  color: #2DD4BF;
}

html.dark .sidebar-section-card .card-icon.amber {
  background: rgba(251, 191, 36, 0.12);
  color: #FBBF24;
}

html.dark .sidebar-section-card .card-icon.rose {
  background: rgba(251, 113, 133, 0.12);
  color: #FB7185;
}

.sidebar-fav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all .15s;
  font-size: 13px;
  color: var(--text);
  border-radius: var(--radius-sm);
  margin: 1px 0;
}

.sidebar-fav-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

html.dark .sidebar-fav-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-fav-item .fav-thumb {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.tag-cloud-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 12px;
}

.tag-mini {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: var(--border);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  transition: all .2s;
}

.tag-mini:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.sidebar-footer {
  display: none;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(8px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
}

.mobile-search {
  display: none;
}

.content-area {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
}

.content-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-left: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: inset 1px 0 0 var(--glass-edge-glow);
}

.content-scroll {
  flex: 1;
  overflow-y: scroll;
  padding: 18px 24px 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.content-scroll::-webkit-scrollbar {
  display: none;
}

.fade-top,
.fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 48px;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 5;
  transition: opacity .3s;
}

.fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
  opacity: 0;
}

.fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
  opacity: 1;
}

.fade-top.visible,
.fade-bottom.visible {
  opacity: 1;
}

.content-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.content-tab {
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  transition: color .2s;
}

.content-tab:hover {
  color: var(--text);
}

.content-tab.active {
  color: var(--accent);
  font-weight: 600;
}

.content-tab.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

.hitokoto-banner {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all .2s;
  animation: cardFadeIn 0.4s ease both;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.hitokoto-banner::before {
  display: none;
}

.hitokoto-banner:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 4px 16px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow);
}

.hitokoto-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 2;
  font-style: italic;
}

#hitokotoText {
  transition: opacity 0.2s;
}

#hitokotoText:hover {
  opacity: 0.7;
}

.hitokoto-from {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 8px;
  position: relative;
  z-index: 2;
  font-style: normal;
}

.sticky-wrap {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.sticky-wrap.sticky-count-1 {
  grid-template-columns: 1fr;
}

.sticky-wrap.sticky-count-2 {
  grid-template-columns: repeat(2, 1fr);
}

.sticky-wrap.sticky-count-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sticky-card {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  transition: box-shadow .25s, border-color .25s;
}

.sticky-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

html.dark .sticky-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.sticky-img {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.sticky-img img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.sticky-img-fallback {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: rgba(255, 255, 255, 0.9);
  font-size: 36px;
  font-weight: 700;
}

/* 图片底部渐隐 */
.sticky-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg) 10%, transparent);
  pointer-events: none;
}

/* 置顶徽章 */
.sticky-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .5px;
  box-shadow: none;
}

/* 文字区域 */
.sticky-body {
  padding: 12px 14px 14px;
}

.sticky-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s;
}

.sticky-card:hover .sticky-title {
  color: var(--accent);
}

/* 分隔线 */
.sticky-divider {
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin: 8px 0;
  opacity: 0.5;
}

/* 底部信息 */
.sticky-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
}

.sticky-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sticky-meta i {
  font-size: 11px;
  opacity: 0.7;
}

.post-card-simple {
  display: block;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 10px;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(0, 0, 0, 0.04), var(--glass-inner-shadow);
  transition: all .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  animation: cardFadeIn 0.4s ease both;
}

.post-card-simple::before,
.empty-state::before {
  display: none;
}

.post-card-simple:hover,
.empty-state:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 6px 24px rgba(0, 0, 0, 0.08), var(--glass-inner-shadow), 0 0 20px rgba(99, 102, 241, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

html.dark .post-card-simple,
html.dark .empty-state {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

html.dark .post-card-simple:hover,
html.dark .empty-state:hover {
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 6px 24px rgba(0, 0, 0, 0.25), var(--glass-inner-shadow), 0 0 20px rgba(129, 140, 248, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.pcs-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.pcs-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .15s;
}

.post-card-simple:hover .pcs-title {
  color: var(--accent);
}

.pcs-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pcs-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.pcs-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pcs-meta-item i {
  font-size: 11px;
}

.pcs-meta .post-tags-link {
  display: inline-block;
  padding: 1px 8px;
  font-size: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 20px;
  text-decoration: none;
}

.pcs-meta .post-tags-link:hover {
  background: var(--accent);
  color: #fff;
}

.post-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(0, 0, 0, 0.04), var(--glass-inner-shadow);
  transition: background .25s, box-shadow .25s, border-color .25s, transform .25s;
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.4s ease both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card,
.friend-feed-card,
.at-post,
.link-card,
.about-stat-card,
.leaderboard-item,
.comment-list-box,
.comment-body,
.archive-stat-item,
.at-year,
.photo-item,
.gallery-item {
  animation: cardFadeIn 0.4s ease both;
}

.post-card:nth-child(1),
.friend-feed-card:nth-child(1),
.comment-body:nth-child(1) {
  animation-delay: 0s;
}

.post-card:nth-child(2),
.friend-feed-card:nth-child(2),
.comment-body:nth-child(2) {
  animation-delay: 0.04s;
}

.post-card:nth-child(3),
.friend-feed-card:nth-child(3),
.comment-body:nth-child(3) {
  animation-delay: 0.08s;
}

.post-card:nth-child(4),
.friend-feed-card:nth-child(4),
.comment-body:nth-child(4) {
  animation-delay: 0.12s;
}

.post-card:nth-child(5),
.friend-feed-card:nth-child(5),
.comment-body:nth-child(5) {
  animation-delay: 0.16s;
}

.post-card:nth-child(6),
.friend-feed-card:nth-child(6),
.comment-body:nth-child(6) {
  animation-delay: 0.2s;
}

.post-card:nth-child(7),
.friend-feed-card:nth-child(7),
.comment-body:nth-child(7) {
  animation-delay: 0.24s;
}

.post-card:nth-child(8),
.friend-feed-card:nth-child(8),
.comment-body:nth-child(8) {
  animation-delay: 0.28s;
}

.post-card:nth-child(9),
.friend-feed-card:nth-child(9),
.comment-body:nth-child(9) {
  animation-delay: 0.32s;
}

.post-card:nth-child(10),
.friend-feed-card:nth-child(10),
.comment-body:nth-child(10) {
  animation-delay: 0.36s;
}

.at-post:nth-child(1) {
  animation-delay: 0.02s;
}

.at-post:nth-child(2) {
  animation-delay: 0.06s;
}

.at-post:nth-child(3) {
  animation-delay: 0.1s;
}

.at-post:nth-child(4) {
  animation-delay: 0.14s;
}

.at-post:nth-child(5) {
  animation-delay: 0.18s;
}

.at-post:nth-child(6) {
  animation-delay: 0.22s;
}

.about-stat-card:nth-child(1) {
  animation-delay: 0s;
}

.about-stat-card:nth-child(2) {
  animation-delay: 0.06s;
}

.about-stat-card:nth-child(3) {
  animation-delay: 0.12s;
}

.about-stat-card:nth-child(4) {
  animation-delay: 0.18s;
}

.leaderboard-item:nth-child(1) {
  animation-delay: 0s;
}

.leaderboard-item:nth-child(2) {
  animation-delay: 0.05s;
}

.leaderboard-item:nth-child(3) {
  animation-delay: 0.1s;
}

.leaderboard-item:nth-child(4) {
  animation-delay: 0.15s;
}

.leaderboard-item:nth-child(5) {
  animation-delay: 0.2s;
}

.at-year:nth-child(1) {
  animation-delay: 0s;
}

.at-year:nth-child(2) {
  animation-delay: 0.1s;
}

.at-year:nth-child(3) {
  animation-delay: 0.2s;
}

.archive-stat-item:nth-child(1) {
  animation-delay: 0s;
}

.archive-stat-item:nth-child(2) {
  animation-delay: 0.08s;
}

.archive-stat-item:nth-child(3) {
  animation-delay: 0.16s;
}

.archive-stat-item:nth-child(4) {
  animation-delay: 0.24s;
}

.link-card:nth-child(1) {
  animation-delay: 0s;
}

.link-card:nth-child(2) {
  animation-delay: 0.04s;
}

.link-card:nth-child(3) {
  animation-delay: 0.08s;
}

.link-card:nth-child(4) {
  animation-delay: 0.12s;
}

.link-card:nth-child(5) {
  animation-delay: 0.16s;
}

.link-card:nth-child(6) {
  animation-delay: 0.2s;
}

.post-card::before {
  display: none;
}

.post-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 6px 24px rgba(0, 0, 0, 0.08), var(--glass-inner-shadow), 0 0 20px rgba(99, 102, 241, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

html.dark .post-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

html.dark .post-card:hover {
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 6px 24px rgba(0, 0, 0, 0.25), var(--glass-inner-shadow), 0 0 20px rgba(129, 140, 248, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  object-fit: cover;
}

.post-avatar-text {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.post-meta {
  flex: 1;
}

.post-nickname {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color .15s;
}

.post-nickname:hover {
  color: var(--accent);
}

.post-time {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 3px;
}

.post-nickname a {
  color: var(--text);
  text-decoration: none;
  transition: color .15s;
}

.post-nickname a:hover {
  color: var(--accent);
}

.post-content {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
  position: relative;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.img-grid {
  display: grid;
  gap: 5px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.img-grid.g1 {
  grid-template-columns: 1fr;
  max-width: 360px;
}

.img-grid.g2 {
  grid-template-columns: 1fr 1fr;
  max-width: 400px;
}

.img-grid.g3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 440px;
}

.img-grid.g4 {
  grid-template-columns: 1fr 1fr;
  max-width: 400px;
}

.img-grid.g5,
.img-grid.g6 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 440px;
}

.img-grid.g7,
.img-grid.g8,
.img-grid.g9 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 440px;
}

.img-grid .img-cell {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
  position: relative;
}

.img-grid .img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

html.dark .img-grid .img-cell {
  background: rgba(255, 255, 255, 0.04);
}

.img-grid .img-cell .img-more {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 12px;
  transition: all .2s;
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1;
}

.action-btn i {
  vertical-align: middle;
}

.action-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

html.dark .action-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.action-btn.liked {
  color: var(--accent);
}

.action-btn.liked:hover {
  background: var(--accent-soft);
}

.action-btn i {
  font-size: 13px;
}

.action-btn .action-count {
  font-size: 12px;
  font-weight: 500;
}

.action-btn:hover .action-count {
  color: var(--accent);
}

.bottom-bar {
  height: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  color: var(--text-light);
  font-size: 12px;
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.bottom-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--glass-highlight);
}

.bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bottom-bar a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .15s;
}

.bottom-bar a:hover {
  color: var(--accent);
}

.bottom-bar .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
}

.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  filter: blur(90px);
  opacity: 0.25;
  z-index: 0;
  transition: opacity .5s;
  will-change: transform;
}

html.dark .orb {
  opacity: 0.12;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: #8B9CF7;
  top: -100px;
  left: -100px;
  animation: f1 16s ease-in-out infinite;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: #C084FC;
  bottom: -80px;
  right: -80px;
  animation: f2 19s ease-in-out infinite;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: #67E8F9;
  top: 40%;
  left: 55%;
  animation: f3 13s ease-in-out infinite;
}

@keyframes f1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(50px, 35px);
  }
}

@keyframes f2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-45px, -30px);
  }
}

@keyframes f3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-35px, 45px);
  }
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  border-radius: 8px;
  transition: all .15s;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

html.dark .hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  -webkit-tap-highlight-color: transparent;
}

.sidebar-mobile-header {
  display: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  border-top: 1px solid var(--glass-border);
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 10px;
  padding: 6px 12px;
  transition: color .15s;
  position: relative;
}

.mobile-nav-item i {
  font-size: 18px;
}

.mobile-nav-item.active {
  color: var(--accent);
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}

/* ── 友链个人信息栏 (保留自原版) ── */
.links-owner-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.4s ease both;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.links-owner-card::before {
  display: none;
}

.links-owner-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.links-owner-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.links-owner-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.links-owner-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.links-owner-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

.links-owner-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.links-owner-meta i {
  font-size: 11px;
}

.links-owner-meta a {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s;
}

.links-owner-meta a:hover {
  text-decoration: underline;
}

.links-section {
  margin: 20px 0;
}

.links-group {
  margin-bottom: 24px;
}

.links-group-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.links-group-title i {
  color: var(--accent);
  font-size: 13px;
}

.links-count {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.link-status {
  position: absolute !important;
  top: 10px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9ca3af;
  transition: background .3s;
}

.link-status.online {
  background: #22c55e;
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}

.link-status.offline {
  background: #ef4444;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
}

.link-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.7);
}

html.dark .link-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.1);
}

.link-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--glass-bg-strong);
}

.link-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.link-avatar-text {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.link-info {
  flex: 1;
  min-width: 0;
}

.link-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.links-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 40px 20px;
  font-size: 14px;
}

@media (max-width:768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

  .links-owner-card {
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px;
  }

  .links-owner-avatar {
    width: 48px;
    height: 48px;
  }

  .links-owner-avatar img {
    width: 48px;
    height: 48px;
  }

  .links-owner-name {
    font-size: 16px;
  }
}

.archive-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.archive-stat-item {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.archive-stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--glass-highlight);
}

.archive-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.archive-stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.archive-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.archive-filter i {
  color: var(--text-light);
  font-size: 13px;
  flex-shrink: 0;
}

.archive-filter input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
  font-family: inherit;
}

.archive-filter input::placeholder {
  color: var(--text-light);
}

.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 0;
}

.archive-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}

.archive-page-btn:hover {
  background: var(--accent-soft);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.archive-page-info {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.archive-filter-count {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.archive-timeline {
  padding-left: 24px;
}

.at-year {
  margin-bottom: 32px;
}

.at-year:last-child {
  margin-bottom: 0;
}

.at-year.collapsed .at-year-body {
  display: none;
}

.at-year.collapsed .at-year-toggle {
  transform: rotate(-90deg);
}

.at-year-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.at-year-dot {
  position: absolute;
  left: -31px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 12px var(--accent-glow);
}

.at-year-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.at-year-count {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 20px;
}

.at-year-toggle {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light);
  transition: transform .2s ease;
}

.at-year-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.at-post {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.at-post::before {
  display: none;
}

.at-post:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow), 0 0 12px rgba(99, 102, 241, 0.05);
}

html.dark .at-post:hover {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(0, 0, 0, 0.2), var(--glass-inner-shadow), 0 0 12px rgba(129, 140, 248, 0.04);
}

.at-post-date {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  position: relative;
  z-index: 1;
  min-width: 72px;
}

.at-post-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: color .15s;
}

.at-post:hover .at-post-title {
  color: var(--accent);
}

.at-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--text-light);
}

.at-post-meta i {
  font-size: 11px;
  margin-right: 3px;
}

.at-post-views,
.at-post-comments {
  display: flex;
  align-items: center;
  gap: 2px;
}

.about-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 8px 32px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow);
}

.about-hero::before {
  display: none;
}

.about-hero-bg {
  height: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  opacity: 0.6;
}

html.dark .about-hero-bg {
  opacity: 0.35;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 24px;
  position: relative;
  z-index: 1;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: -40px;
  border: 4px solid var(--bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-avatar-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.about-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
}

.about-bio {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 8px;
  line-height: 1.7;
  max-width: 400px;
}

.about-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.about-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}

.about-social-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.about-stat-card {
  text-align: center;
  padding: 18px 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: all .25s;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.about-stat-card::before {
  display: none;
}

.about-stat-card:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 4px 16px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow), 0 0 16px rgba(99, 102, 241, 0.05);
}

.about-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.about-stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.about-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: all .25s;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.about-info-card::before {
  display: none;
}

.about-info-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 4px 16px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow), 0 0 16px rgba(99, 102, 241, 0.05);
}

.about-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.about-info-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.about-info-label {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.about-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.about-timeline-section {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 8px 32px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow);
}

.about-timeline-section::before {
  display: none;
}

.about-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.about-section-title i {
  color: var(--accent);
}

.tl {
  position: relative;
  z-index: 1;
  padding-left: 28px;
}

.tl::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-hover), var(--accent-soft));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding: 0 0 28px 20px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -24px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-soft), 0 0 10px var(--accent-glow);
  z-index: 2;
}

.tl-content {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.tl-content::before {
  display: none;
}

.tl-content:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 4px 16px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow), 0 0 16px rgba(99, 102, 241, 0.05);
}

.tl-date {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tl-date::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  opacity: 0.6;
}

.tl-content p,
.tl-content ul,
.tl-content ol {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.tl-content p:last-child {
  margin-bottom: 0;
}

.tl-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 8px 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.tl-content a {
  color: var(--accent);
  text-decoration: none;
}

.tl-content a:hover {
  text-decoration: underline;
}

.tl-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  margin: 10px 0;
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.tl-content pre {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 14px;
  overflow-x: auto;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

html.dark .tl-content pre {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width:768px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.03);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-grid {
  column-count: 2;
  column-gap: 14px;
}

.album-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .25s;
  position: relative;
  break-inside: avoid;
  margin-bottom: 14px;
  display: inline-block;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: albumFadeIn .5s ease forwards;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(0, 0, 0, 0.04), var(--glass-inner-shadow);
}

.album-card:nth-child(1) {
  animation-delay: .05s;
}

.album-card:nth-child(2) {
  animation-delay: .1s;
}

.album-card:nth-child(3) {
  animation-delay: .15s;
}

.album-card:nth-child(4) {
  animation-delay: .2s;
}

.album-card:nth-child(5) {
  animation-delay: .25s;
}

.album-card:nth-child(6) {
  animation-delay: .3s;
}

.album-card:nth-child(7) {
  animation-delay: .35s;
}

.album-card:nth-child(8) {
  animation-delay: .4s;
}

.album-card:nth-child(9) {
  animation-delay: .45s;
}

.album-card:nth-child(10) {
  animation-delay: .5s;
}

.album-card:nth-child(n+11) {
  animation-delay: .55s;
}

@keyframes albumFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.album-card::before {
  display: none;
}

.album-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 6px 24px rgba(0, 0, 0, 0.08), var(--glass-inner-shadow), 0 0 20px rgba(99, 102, 241, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-4px);
}

html.dark .album-card:hover {
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 6px 24px rgba(0, 0, 0, 0.25), var(--glass-inner-shadow), 0 0 20px rgba(129, 140, 248, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.album-cover {
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.04);
  z-index: 1;
}

.album-card:nth-child(4n+1) .album-cover {
  aspect-ratio: 4/3;
}

.album-card:nth-child(4n+2) .album-cover {
  aspect-ratio: 3/4;
}

.album-card:nth-child(4n+3) .album-cover {
  aspect-ratio: 1/1;
}

.album-card:nth-child(4n+4) .album-cover {
  aspect-ratio: 16/10;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-cover-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 28px;
}

.album-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.album-count i {
  margin-right: 4px;
  font-size: 10px;
}

.album-info {
  padding: 12px 14px;
  position: relative;
  z-index: 2;
}

.album-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.album-card:hover .album-title {
  color: var(--accent);
}

.album-meta {
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

@media (max-width:768px) {
  .album-grid {
    column-count: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.friends-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.friends-loading {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  padding: 24px;
  grid-column: 1 / -1;
}

.friends-empty {
  text-align: center;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

.friends-empty i {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  color: var(--text-light);
}

.friend-feed-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all .2s;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.friend-feed-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 4px 16px rgba(0, 0, 0, 0.06), var(--glass-inner-shadow);
}

.friend-feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.friend-feed-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--glass-bg-strong);
}

.friend-feed-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.friend-feed-avatar-text {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.friend-feed-info {
  flex: 1;
  min-width: 0;
}

.friend-feed-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.friend-feed-name:hover {
  text-decoration: underline;
}

.friend-feed-desc {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-feed-visit {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all .15s;
}

.friend-feed-visit:hover {
  background: var(--accent);
  color: #fff;
}

.friend-feed-posts {
  display: flex;
  flex-direction: column;
}

.friend-feed-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.friend-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  text-decoration: none;
  transition: all .15s;
}

.friend-feed-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  margin-top: 8px;
}

.friend-feed-item:hover .friend-feed-dot {
  opacity: 1;
}

.friend-feed-item-content {
  flex: 1;
  min-width: 0;
}

.friend-feed-item-title {
  font-size: 14px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  transition: color .15s;
}

.friend-feed-item:hover .friend-feed-item-title {
  color: var(--accent);
}

.friend-feed-item-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.friend-feed-item-date {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.friend-feed-no-posts {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  padding: 12px;
}

.leaderboard {
  margin: 20px 0;
  padding: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.leaderboard-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-title i {
  color: var(--accent);
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  transition: background .15s;
}

.leaderboard-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

html.dark .leaderboard-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.leaderboard-rank {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
}

.leaderboard-rank.top1 {
  background: rgba(234, 179, 8, 0.15);
  color: #ca8a04;
}

.leaderboard-rank.top2 {
  background: rgba(156, 163, 175, 0.15);
  color: #6b7280;
}

.leaderboard-rank.top3 {
  background: rgba(180, 83, 9, 0.15);
  color: #b45309;
}

.leaderboard-rank.topn {
  background: var(--glass-bg);
  color: var(--text-light);
}

.leaderboard-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--glass-bg-strong);
}

.leaderboard-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.leaderboard-avatar-text {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.leaderboard-name {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-count {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.post-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.post-detail .post-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  display: inline-block;
  padding-bottom: 6px;
  position: relative;
}

.post-detail .post-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.post-detail:hover .post-title::after {
  width: 100%;
}

.post-content-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-full-content {
  font-size: 15px;
  line-height: 1.85;
}

.post-full-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}

.post-full-content pre {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  font-size: 13px;
}

html.dark .post-full-content pre {
  background: rgba(255, 255, 255, 0.06);
}

.post-full-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
}

.post-full-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 16px 0;
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
}

.post-full-content h1,
.post-full-content h2,
.post-full-content h3 {
  margin: 24px 0 12px;
}

.post-full-content a {
  color: var(--accent);
  text-decoration: none;
}

.post-tags {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-tags a {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 20px;
  text-decoration: none;
  transition: all .15s;
}

.post-tags a:hover {
  background: var(--accent);
  color: #fff;
}

.post-nav {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.post-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  overflow: hidden;
}

.post-nav-item:hover {
  background: var(--glass-bg-strong);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px var(--accent-glow), var(--glass-inner-shadow);
}

.post-nav-item i {
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}

.post-nav-content {
  flex: 1;
  min-width: 0;
}

.post-nav-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 3px;
}

.post-nav-title {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-nav-next {
  text-align: right;
  flex-direction: row-reverse;
}

.post-nav-next .post-nav-content {
  text-align: right;
}

.empty-state {
  display: block;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 10px;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 2px 12px rgba(0, 0, 0, 0.04), var(--glass-inner-shadow);
  transition: all .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  text-align: center;
  animation: cardFadeIn 0.4s ease both;
}

.article {
  margin-bottom: 16px;
}

.article-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.standalone-page .article-title {
  color: var(--accent);
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
}

.standalone-page .article-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.standalone-page:hover .article-title::after {
  width: 100%;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.article-meta-item {
  font-size: 12px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inner-shadow);
}

.article-meta-item i {
  font-size: 11px;
  opacity: 0.7;
}

.article-meta-updated {
  color: var(--accent);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.article-tags a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 20px;
  text-decoration: none;
  transition: all .15s;
}

.article-tags a:hover {
  background: var(--accent);
  color: #fff;
}

.article-content {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  letter-spacing: 0.015em;
  padding-top: 4px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content .photo-grid p {
  margin: 0;
}

.article-content>img,
.article-content p img {
  max-width: 100%;
  border-radius: 12px;
  margin: 28px 0;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.article-content>img:hover,
.article-content p img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html.dark .article-content>img,
html.dark .article-content p img {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html.dark .article-content>img:hover,
html.dark .article-content p img:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 18px;
  padding: 12px 18px 12px 18px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-radius: 0 10px 10px 0;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 14px;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.article-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-hover));
}

.article-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 26px 0 12px;
  letter-spacing: 0.02em;
}

.article-content pre {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--text);
  border-radius: 12px;
  padding: 0;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
}

.article-content pre::before {
  content: '';
  display: block;
  height: 38px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--glass-border);
  background-image: radial-gradient(circle, #ef4444 5px, transparent 5px), radial-gradient(circle, #eab308 5px, transparent 5px), radial-gradient(circle, #22c55e 5px, transparent 5px);
  background-size: 12px 12px;
  background-position: 16px center, 32px center, 48px center;
  background-repeat: no-repeat;
}

html.dark .article-content pre::before {
  background-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.article-content pre code {
  display: block;
  padding: 18px 22px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article-content pre code .hljs-keyword,
.article-content pre code .hljs-attr,
.article-content pre code .hljs-tag {
  color: var(--accent);
}

.article-content pre code .hljs-string,
.article-content pre code .hljs-value {
  color: #059669;
}

html.dark .article-content pre {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.article-content code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13.5px;
}

.article-content :not(pre)>code {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.article-content blockquote {
  border-left: none;
  padding: 20px 22px 20px 26px;
  margin: 24px 0;
  background: var(--accent-soft);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  font-size: 15px;
  line-height: 1.85;
}

.article-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -6px;
  left: 12px;
  font-size: 52px;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}

.article-content blockquote p {
  margin-bottom: 10px;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content ul,
.article-content ol {
  padding-left: 28px;
  margin-bottom: 20px;
}

.article-content ul {
  list-style: none;
}

.article-content ul>li {
  position: relative;
  padding-left: 4px;
  margin-bottom: 10px;
  line-height: 1.85;
}

.article-content ul>li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.article-content ol {
  list-style: none;
  counter-reset: list-counter;
}

.article-content ol>li {
  position: relative;
  padding-left: 4px;
  margin-bottom: 8px;
  counter-increment: list-counter;
}

.article-content ol>li::before {
  content: counter(list-counter);
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 18px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.85;
}

.article-content li ul,
.article-content li ol {
  margin-top: 8px;
  margin-bottom: 4px;
}

.article-content a {
  color: var(--accent);
  text-decoration: none;
  background: linear-gradient(to right, var(--accent), var(--accent)) no-repeat;
  background-size: 0% 1.5px;
  background-position: left bottom;
  transition: background-size .3s ease, color .2s;
  padding-bottom: 2px;
  font-weight: 500;
}

.article-content a:hover {
  background-size: 100% 1.5px;
  color: var(--accent-hover);
}

.article-content .table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
}

.article-content .table-wrap::-webkit-scrollbar {
  height: 4px;
}

.article-content .table-wrap::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
  margin: 0;
  border: none;
}

.article-content th,
.article-content td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-content th {
  background: linear-gradient(135deg, var(--accent-soft), var(--glass-bg));
  font-weight: 600;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.3px;
}

.article-content tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

html.dark .article-content tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.article-content tr:hover {
  background: var(--accent-soft);
}

.article-content hr {
  border: none;
  margin: 32px auto;
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), var(--accent-soft), var(--border), transparent);
}

.photo-grid {
  display: grid !important;
  gap: 4px;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  padding: 0;
}

.photo-grid.g1 {
  grid-template-columns: 1fr;
  max-width: 500px;
}

.photo-grid.g2 {
  grid-template-columns: 1fr 1fr;
}

.photo-grid.g3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.photo-grid.g4 {
  grid-template-columns: 1fr 1fr;
}

.photo-grid.g5,
.photo-grid.g6 {
  grid-template-columns: 1fr 1fr 1fr;
}

.photo-grid.g7,
.photo-grid.g8,
.photo-grid.g9 {
  grid-template-columns: 1fr 1fr 1fr;
}

.photo-item {
  aspect-ratio: 1 !important;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.03);
  position: relative;
  margin: 0 !important;
  padding: 0;
}

.photo-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform .3s;
}

.photo-single {
  margin: 20px 0;
}

.photo-single img {
  width: 100%;
  border-radius: 10px;
  margin: 0;
}

.code-copy-btn {
  position: absolute;
  top: 7px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-light);
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
  opacity: 0;
  box-shadow: var(--glass-inner-shadow);
}

.article-content pre:hover .code-copy-btn {
  opacity: 1;
}

.code-copy-btn:hover {
  background: var(--glass-bg-strong);
  color: var(--text);
}

.code-copy-btn.copied {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.25);
}

.img-cell:hover,
.photo-item:hover,
.album-cover:hover {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));
}

html.dark .img-cell,
html.dark .photo-item,
html.dark .album-cover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, .06));
}

.article-nav-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  transition: all .2s;
}

.article-nav-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.article-nav-empty {
  opacity: .5;
  cursor: default;
}

.article-nav-label {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.article-nav-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-nav-prev {
  text-align: left;
}

.article-nav-next {
  text-align: right;
}

.article-nav-next .article-nav-label {
  justify-content: flex-end;
}

.related-posts {
  margin: 24px 0;
}

.related-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-title i {
  color: var(--accent);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  transition: all .2s;
}

.related-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.related-item-title {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin-right: 12px;
}

.related-item-date {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 20px;
  animation: cardFadeIn 0.5s ease both;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -4px;
  animation: errorFloat 3s ease-in-out infinite;
}

@keyframes errorFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.error-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.error-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 360px;
  line-height: 1.7;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.error-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.error-search {
  display: flex;
  align-items: center;
  max-width: 320px;
  width: 100%;
  margin: 16px auto 20px;
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  height: 40px;
  gap: 8px;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 1px 4px rgba(0, 0, 0, 0.04), var(--glass-inner-shadow);
  transition: all .25s;
  animation: cardFadeIn 0.5s ease both;
  animation-delay: 0.15s;
}

.error-search:focus-within {
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--glass-bg-strong);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.1);
}

.error-search i {
  color: var(--text-light);
  font-size: 13px;
  flex-shrink: 0;
}

.error-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
  outline: none;
  height: 100%;
}

.error-search input::placeholder {
  color: var(--text-secondary);
}

.error-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  animation: cardFadeIn 0.5s ease both;
  animation-delay: 0.25s;
}

.error-btn-outline {
  background: var(--glass-bg) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--glass-border);
  box-shadow: none !important;
}

.error-btn-outline:hover {
  background: var(--glass-bg-strong) !important;
  color: var(--accent) !important;
  border-color: rgba(99, 102, 241, 0.3);
}

.article-content figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: -12px;
  margin-bottom: 20px;
  padding: 0 8px;
}

.article-content figure {
  margin: 20px 0;
}

.article-content figure img {
  margin: 0;
}

.comment-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
}

.comment-empty-state i {
  font-size: 40px;
  margin-bottom: 14px;
  display: block;
  opacity: 0.4;
}

.comment-empty-state p {
  font-size: 14px;
  color: var(--text-secondary);
}

.links-grid:has(.link-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 400px;
}

.leaderboard+#comments {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.search-highlight {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 500;
}

.article-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin: 16px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.article-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.article-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.article-author-desc {
  font-size: 12px;
  color: var(--text-light);
}

.article-info-right {
  text-align: right;
}

.article-info-date {
  font-size: 12px;
  color: var(--text-light);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 24px 0 12px;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  border: 1px solid var(--glass-border);
  transition: all .2s;
  box-shadow: var(--glass-inner-shadow);
}

.pagination a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.pagination span {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .prev,
.pagination .next {
  display: none;
}

.pagination .current {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.pagination .dots {
  color: var(--text-light);
  font-size: 12px;
  width: 20px;
  text-align: center;
}

.archive-header {
  margin-bottom: 18px;
}

.archive-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
}

.archive-count {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.cmt-section {
  margin-top: 28px;
}

.cmt-section-head {
  margin-bottom: 20px;
}

.cmt-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmt-title i {
  color: var(--accent);
}

.cmt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cmt-item {
  list-style: none;
}

.cmt-is-child {
  margin-left: 24px;
}

.cmt-is-child .cmt-card {
  padding: 10px 0;
  border-bottom: none;
  gap: 10px;
  align-items: flex-start;
}

.cmt-is-child .cmt-avatar {
  width: 26px;
  height: 26px;
}

.cmt-is-child .cmt-header {
  margin-bottom: 2px;
}

.cmt-is-child .cmt-name {
  font-size: 13px;
}

.cmt-is-child .cmt-tag {
  font-size: 9px;
  padding: 0px 5px;
}

.cmt-is-child .cmt-time {
  font-size: 11px;
}

.cmt-is-child .cmt-text {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.cmt-is-child .cmt-actions {
  gap: 10px;
}

.cmt-is-child .cmt-reply-btn {
  font-size: 11px;
  padding: 1px 5px;
}

.cmt-is-child .cmt-device {
  font-size: 10px;
}

.cmt-card {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cmt-is-child .cmt-card {
  padding: 14px 0;
  border-bottom: none;
}

.cmt-item:last-child>.cmt-card {
  border-bottom: none;
}

.cmt-avatar-col {
  flex-shrink: 0;
}

.cmt-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--glass-bg);
}

.cmt-is-child .cmt-avatar {
  width: 32px;
  height: 32px;
}

.cmt-body {
  flex: 1;
  min-width: 0;
}

.cmt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cmt-user {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cmt-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.cmt-name a {
  color: var(--text);
  text-decoration: none;
  transition: color .15s;
}

.cmt-name a:hover {
  color: var(--accent);
}

.cmt-tag {
  display: inline-block;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1.6;
}

.cmt-tag-admin {
  background: var(--accent-soft);
  color: var(--accent);
}

.cmt-tag-lv {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}

.cmt-time {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
}

.cmt-text {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cmt-text a {
  color: var(--accent);
  text-decoration: none;
}

.cmt-text a:hover {
  text-decoration: underline;
}

.cmt-text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 6px 0;
}

.cmt-text p {
  margin: 0 0 8px;
}

.cmt-text p:last-child {
  margin-bottom: 0;
}

.cmt-text code {
  background: rgba(99, 102, 241, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

html.dark .cmt-text code {
  background: rgba(129, 140, 248, 0.1);
}

.cmt-text pre {
  background: rgba(99, 102, 241, 0.04);
  padding: 12px 14px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

html.dark .cmt-text pre {
  background: rgba(129, 140, 248, 0.08);
}

.cmt-text pre code {
  background: none;
  padding: 0;
}

.cmt-text blockquote {
  margin: 8px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.cmt-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cmt-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
  padding: 3px 8px;
  border-radius: 6px;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}

.cmt-reply-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.cmt-reply-btn i {
  font-size: 12px;
}

.cmt-device {
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cmt-device i {
  font-size: 10px;
}

.cmt-children {
  padding-left: 12px;
  margin-left: 14px;
  border-left: 2px solid var(--border);
}

.cmt-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
}

.cmt-empty i {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
  opacity: .5;
}

.cmt-empty p {
  font-size: 14px;
}

.cmt-reply-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 8px;
  background: var(--accent-soft);
  border-radius: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  animation: cmtSlideDown .2s ease;
}

@keyframes cmtSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cmt-reply-bar>i:first-child {
  font-size: 13px;
  opacity: .6;
  transform: scaleX(-1);
}

.cmt-reply-bar strong {
  color: var(--text);
  font-weight: 600;
}

.cmt-cancel-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  transition: all .2s;
}

.cmt-cancel-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
}

html.dark .cmt-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cmt-form-area {
  margin-bottom: 24px;
  position: relative;
}

.cmt-form {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.cmt-form::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--glass-highlight);
  z-index: 0;
}

.cmt-form>* {
  position: relative;
  z-index: 1;
}

.cmt-logged {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.cmt-logged strong {
  color: var(--text);
}

.cmt-logged a {
  color: var(--accent);
  margin-left: 8px;
  font-size: 12px;
  text-decoration: none;
}

.cmt-logged a:hover {
  text-decoration: underline;
}

.cmt-fields {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.cmt-fields input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: background .2s;
}

.cmt-fields input:last-child {
  border-right: none;
}

.cmt-fields input::placeholder {
  color: var(--text-light);
}

.cmt-fields input:focus {
  background: rgba(99, 102, 241, 0.12);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

html.dark .cmt-fields input:focus {
  background: rgba(129, 140, 248, 0.12);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

.cmt-textarea-wrap textarea:focus {
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

.cmt-textarea-wrap textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 14px;
  outline: none;
  resize: vertical;
  min-height: 80px;
  line-height: 1.75;
  font-family: inherit;
}

.cmt-textarea-wrap textarea::placeholder {
  color: var(--text-light);
}

.cmt-form-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: transparent;
}

.cmt-form-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cmt-emoji-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}

.cmt-emoji-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.captcha-container {
  background: var(--accent-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0;
}

.captcha-container .captcha {
  height: 34px;
  width: 110px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  cursor: pointer;
  display: block;
}

.captcha_input {
  padding: 10px 0.75rem;
  background: none;
  font-size: 0.9rem;
  border: none;
  width: 120px;
  transition: border-color 0.3s ease;
}

.cmt-form-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmt-hint {
  font-size: 11px;
  color: var(--text-light);
}

.cmt-submit {
  padding: 8px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.cmt-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.cmt-submit:active {
  transform: scale(0.97);
}

.cmt-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.cmt-closed {
  text-align: center;
  color: var(--text-light);
  padding: 24px;
  font-size: 14px;
}

.cmt-closed i {
  margin-right: 6px;
}

.cmt-emoji-panel {
  display: none;
  flex-wrap: wrap;
  gap: 2px;
  padding: 10px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  max-width: 300px;
  position: absolute;
  bottom: 60px;
  left: 12px;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  animation: cmtEmojiDrop .15s ease;
}

html.dark .cmt-emoji-panel {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

@keyframes cmtEmojiDrop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cmt-emoji-item {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  border-radius: 6px;
  transition: all .12s;
}

.cmt-emoji-item:hover {
  background: var(--accent-soft);
  transform: scale(1.18);
}

.toast-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  padding: 16px 28px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--glass-edge-glow), 0 12px 40px rgba(0, 0, 0, 0.15), var(--glass-inner-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.toast-notification::before {
  display: none;
}

.toast-notification i,
.toast-notification span {
  position: relative;
  z-index: 1;
}

.toast-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.toast-success i {
  color: #10b981;
  font-size: 18px;
}

.toast-error i {
  color: #ef4444;
  font-size: 18px;
}

.pjax-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
}

.pjax-loading.active {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: pjax-loading 1s linear infinite;
}

@keyframes pjax-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* 响应式与移动端适配 */
@media (max-width:920px) {
  .page {
    width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .shell {
    border-radius: 0;
  }

  .content-inner {
    border-left: none;
  }

  .orb {
    filter: blur(40px);
    opacity: 0.15;
  }

  .bottom-bar {
    display: none;
  }

  .sidebar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    padding-top: 16px;
    box-shadow: none;
    overflow-y: auto;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .hamburger {
    display: flex;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    will-change: opacity;
    -webkit-tap-highlight-color: transparent;
  }

  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 18px;
    min-height: 48px;
    position: relative;
  }

  .sidebar-close {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all .15s;
  }

  .sidebar-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--text);
  }

  html.dark .sidebar-close {
    background: rgba(255, 255, 255, 0.08);
  }

  html.dark .sidebar-close:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .sidebar-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: auto;
    padding: 16px 20px;
    font-size: 12px;
    color: var(--text-light);
    border-top: 1px solid var(--glass-border);
  }

  .sidebar-footer a {
    color: var(--text-secondary);
    text-decoration: none;
  }

  .sidebar-footer a:hover {
    color: var(--accent);
  }

  .sidebar-footer .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-light);
  }

  .topbar {
    height: 56px;
    min-height: 56px;
    padding: 0 12px;
  }

  .topbar-center {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 200px);
    justify-content: center;
  }

  .topbar-center i,
  .topbar-search {
    display: none !important;
  }

  .topbar-center .m-brand-icon,
  .topbar-center .m-brand-name {
    display: flex !important;
  }

  .topbar-center .m-brand-logo-img {
    display: block !important;
    height: 28px;
    width: auto;
    border-radius: 6px;
  }

  .topbar-center .m-brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }

  .topbar-center .m-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }

  .hamburger {
    flex-shrink: 0;
  }

  .topbar-spacer {
    display: none;
  }

  .topbar-actions {
    flex-shrink: 0;
    margin-left: auto;
  }

  .mobile-search {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 0 14px;
    height: 38px;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all .25s;
  }

  .mobile-search:focus-within {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.1);
  }

  html.dark .mobile-search {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
  }

  html.dark .mobile-search:focus-within {
    border-color: rgba(129, 140, 248, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 12px rgba(129, 140, 248, 0.12);
  }

  .mobile-search i {
    color: var(--text-light);
    font-size: 13px;
    flex-shrink: 0;
    pointer-events: none;
  }

  .mobile-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text);
    outline: none;
    height: 100%;
  }

  .mobile-search input::placeholder {
    color: var(--text-secondary);
  }

  .topbar-brand .brand-name,
  .topbar-brand .brand-icon,
  .topbar-brand {
    display: none;
  }

  .content-scroll {
    padding: 12px 14px 32px;
  }

  .content-tabs {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .content-tabs::-webkit-scrollbar {
    display: none;
  }

  .content-tab {
    flex-shrink: 0;
    font-size: 13px;
  }

  .post-card {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
  }

  .sticky-wrap {
    grid-template-columns: 1fr !important;
  }

  .post-card-simple {
    padding: 14px 16px;
    gap: 12px;
    margin-bottom: 8px;
  }

  .pcs-title {
    font-size: 15px;
  }

  .pcs-excerpt {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .post-avatar {
    width: 38px;
    height: 38px;
  }

  .post-nickname {
    font-size: 14px;
  }

  .post-content {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
  }

  .post-actions {
    padding-top: 8px;
    gap: 4px;
  }

  .action-btn {
    font-size: 11px;
    gap: 4px;
    padding: 4px 8px;
  }

  .action-btn i {
    font-size: 12px;
  }

  .action-btn .action-count {
    font-size: 11px;
  }

  .img-grid.g1,
  .img-grid.g2,
  .img-grid.g4 {
    max-width: 100%;
  }

  .img-grid.g3 {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .img-grid.g3 .img-cell:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 2/1;
  }

  .img-grid.g5,
  .img-grid.g6,
  .img-grid.g7,
  .img-grid.g8,
  .img-grid.g9 {
    max-width: 100%;
  }

  .hitokoto-banner {
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .hitokoto-text {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .hitokoto-from {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .bottom-bar {
    height: 44px;
    min-height: 44px;
    gap: 16px;
    font-size: 11px;
  }

  .archive-stats {
    gap: 8px;
  }

  .archive-stat-num {
    font-size: 22px;
  }

  .archive-stat-label {
    font-size: 11px;
  }

  .archive-timeline {
    padding-left: 18px;
  }

  .at-year-dot {
    left: -25px;
    width: 12px;
    height: 12px;
  }

  .at-year-text {
    font-size: 18px;
  }

  .at-post {
    padding: 8px 12px;
    gap: 10px;
  }

  .at-post-title {
    font-size: 13px;
  }

  .at-post-meta {
    display: none;
  }

  .friends-feed {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 21px;
    line-height: 1.45;
  }

  .article-meta {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .article-meta-item {
    font-size: 10px;
    white-space: nowrap;
  }

  .article-content {
    font-size: 15px;
    line-height: 1.9;
  }

  .article-content h2 {
    font-size: 19px;
    margin: 32px 0 14px;
  }

  .article-content h3 {
    font-size: 17px;
    margin: 26px 0 12px;
  }

  .article-content h4 {
    font-size: 15px;
    margin: 22px 0 10px;
  }

  .photo-grid.g3 {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid.g3 .photo-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 2/1;
  }

  .photo-grid.g5,
  .photo-grid.g6 {
    grid-template-columns: 1fr 1fr;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .cmt-is-child {
    margin-left: 16px;
  }

  .cmt-children {
    padding-left: 8px;
    margin-left: 8px;
  }

  .cmt-is-child .cmt-avatar {
    width: 22px;
    height: 22px;
  }

  html.dark .sidebar {
    background: rgba(17, 18, 23, 0.92);
  }

  .nav-submenu {
    margin: 2px 10px 4px;
  }

  .nav-submenu-link {
    padding: 8px 12px 8px 28px;
  }

  .nav-submenu-dot {
    left: 12px;
  }

  .glass,
  .post-card,
  .post-card-simple,
  .empty-state,
  .hitokoto-banner,
  .album-card,
  .about-hero,
  .about-stat-card,
  .about-info-card,
  .about-timeline-section,
  .tl-content,
  .comments-section,
  .comment-form-wrap,
  .at-post,
  .link-card,
  .friend-feed-card,
  .leaderboard,
  .archive-stat-item,
  .archive-filter,
  .article-info-card,
  .like-btn,
  .error-search,
  .search-result-hint,
  .article-meta-item,
  .comment-device,
  .pagination a,
  .pagination span,
  .shell,
  .topbar,
  .bottom-bar {
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
  }

  .post-card:hover,
  .post-card-simple:hover,
  .empty-state:hover,
  .album-card:hover {
    transform: translateY(-1px);
  }
}

@media (max-width:768px) {
  .album-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .album-card {
    margin-bottom: 10px;
  }

  .post-nav-title {
    max-width: 200px;
  }
}

@media (max-width:480px) {
  .cmt-is-child {
    margin-left: 12px;
  }

  .cmt-children {
    padding-left: 6px;
    margin-left: 6px;
  }

  .cmt-textarea-wrap textarea {
    min-height: 70px;
    font-size: 16px;
    padding: 10px 12px;
  }

  .cmt-hint {
    display: none;
  }

  .cmt-submit {
    padding: 8px 16px;
    font-size: 13px;
  }

  .album-grid {
    column-count: 1;
  }
}

@media (max-width:400px) {
  .album-grid {
    column-count: 1;
  }
}

@media (max-width:380px) {
  .topbar-center {
    margin: 0 4px;
  }

  .topbar-actions {
    gap: 2px;
  }

  .topbar-btn {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .scroll-progress-btn .scroll-progress-ring {
    width: 30px;
    height: 30px;
  }

  .scroll-progress-btn .scroll-progress-text {
    font-size: 8px;
  }

  .content-tabs {
    gap: 14px;
  }

  .article-meta-item {
    font-size: 9px;
  }

  .article-meta-item i {
    font-size: 9px;
  }
}

/* 动画与特效 */
@keyframes waterfallIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-content>p,
.article-content>h2,
.article-content>h3,
.article-content>h4,
.article-content>blockquote,
.article-content>pre,
.article-content>ul,
.article-content>ol,
.article-content>figure,
.article-content>img,
.article-content>.table-wrap,
.article-content>hr {
  opacity: 0;
  animation: waterfallIn 0.45s ease forwards;
}

.article-content>*:nth-child(1) {
  animation-delay: 0s;
}

.article-content>*:nth-child(2) {
  animation-delay: 0.04s;
}

.article-content>*:nth-child(3) {
  animation-delay: 0.08s;
}

.article-content>*:nth-child(4) {
  animation-delay: 0.12s;
}

.article-content>*:nth-child(5) {
  animation-delay: 0.16s;
}

.article-content>*:nth-child(6) {
  animation-delay: 0.20s;
}

.article-content>*:nth-child(7) {
  animation-delay: 0.24s;
}

.article-content>*:nth-child(8) {
  animation-delay: 0.28s;
}

.article-content>*:nth-child(9) {
  animation-delay: 0.32s;
}

.article-content>*:nth-child(10) {
  animation-delay: 0.36s;
}

.article-content>*:nth-child(11) {
  animation-delay: 0.40s;
}

.article-content>*:nth-child(12) {
  animation-delay: 0.44s;
}

.article-content>*:nth-child(n+13) {
  animation-delay: 0.48s;
}

.article-content>img,
.article-content p img {
  max-height: 600px;
  object-fit: contain;
}

.article-content h2[id],
.article-content h3[id] {
  scroll-margin-top: 20px;
}

.standalone-page .article-content img {
  max-width: 100%;
  height: auto;
}

.like-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  margin: 8px 0;
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all .3s;
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  overflow: visible;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.like-btn i {
  font-size: 18px;
  transition: all .3s;
}

.like-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.like-btn:hover i {
  color: #ef4444;
  transform: scale(1.15);
}

.like-btn.liked {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.like-btn.liked i {
  color: #ef4444;
}

.like-count {
  font-size: 13px;
  color: var(--text-light);
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.like-btn.animating i {
  animation: likeHeart 0.5s ease;
}

.like-btn.animating .like-float-heart {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: #ef4444;
  pointer-events: none;
  animation: likeFloat 0.8s ease forwards;
}

@keyframes likeHeart {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.3);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes likeFloat {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-40px);
  }
}

.about-hero,
.about-stat-card,
.about-info-card,
.about-timeline-section,
.archive-stat-item,
.friend-feed-card,
.link-card,
.leaderboard {
  animation: cardFadeIn 0.4s ease both;
}

.about-stat-card:nth-child(1) {
  animation-delay: 0s;
}

.about-stat-card:nth-child(2) {
  animation-delay: 0.06s;
}

.about-stat-card:nth-child(3) {
  animation-delay: 0.12s;
}

.about-stat-card:nth-child(4) {
  animation-delay: 0.18s;
}

.about-info-card:nth-child(1) {
  animation-delay: 0s;
}

.about-info-card:nth-child(2) {
  animation-delay: 0.05s;
}

.about-info-card:nth-child(3) {
  animation-delay: 0.1s;
}

.about-info-card:nth-child(4) {
  animation-delay: 0.15s;
}

.about-timeline-section {
  animation-delay: 0.1s;
}

.archive-stat-item:nth-child(1) {
  animation-delay: 0s;
}

.archive-stat-item:nth-child(2) {
  animation-delay: 0.06s;
}

.archive-stat-item:nth-child(3) {
  animation-delay: 0.12s;
}

.archive-stat-item:nth-child(4) {
  animation-delay: 0.18s;
}

.friend-feed-card:nth-child(1) {
  animation-delay: 0s;
}

.friend-feed-card:nth-child(2) {
  animation-delay: 0.04s;
}

.friend-feed-card:nth-child(3) {
  animation-delay: 0.08s;
}

.friend-feed-card:nth-child(4) {
  animation-delay: 0.12s;
}

.friend-feed-card:nth-child(5) {
  animation-delay: 0.16s;
}

.friend-feed-card:nth-child(6) {
  animation-delay: 0.2s;
}

.link-card:nth-child(1) {
  animation-delay: 0s;
}

.link-card:nth-child(2) {
  animation-delay: 0.04s;
}

.link-card:nth-child(3) {
  animation-delay: 0.08s;
}

.link-card:nth-child(4) {
  animation-delay: 0.12s;
}

.link-card:nth-child(5) {
  animation-delay: 0.16s;
}

.link-card:nth-child(6) {
  animation-delay: 0.2s;
}

.link-card:nth-child(7) {
  animation-delay: 0.24s;
}

.link-card:nth-child(8) {
  animation-delay: 0.28s;
}

.leaderboard {
  animation-delay: 0.1s;
}

.tl-item {
  opacity: 0;
  transform: translateX(-20px);
  animation: tlSlideIn 0.45s ease forwards;
}

.tl-item:nth-child(1) {
  animation-delay: 0.05s;
}

.tl-item:nth-child(2) {
  animation-delay: 0.1s;
}

.tl-item:nth-child(3) {
  animation-delay: 0.15s;
}

.tl-item:nth-child(4) {
  animation-delay: 0.2s;
}

.tl-item:nth-child(5) {
  animation-delay: 0.25s;
}

.tl-item:nth-child(6) {
  animation-delay: 0.3s;
}

.tl-item:nth-child(7) {
  animation-delay: 0.35s;
}

.tl-item:nth-child(8) {
  animation-delay: 0.4s;
}

.tl-item:nth-child(n+9) {
  animation-delay: 0.45s;
}

@keyframes tlSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.comment-form input,
.comment-form textarea {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all .25s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 2px 12px rgba(0, 0, 0, 0.08);
}

html.dark .comment-form input,
html.dark .comment-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

html.dark .comment-form input:focus,
html.dark .comment-form textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 2px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.comment-form-wrap {
  position: relative;
  overflow: hidden;
}

.comment-form-wrap::before {
  display: none;
}

.comment-form-wrap>* {
  position: relative;
  z-index: 1;
}

.cancel-reply-btn {
  padding: 6px 12px;
  border-radius: 8px;
  transition: all .15s;
}

.cancel-reply-btn:hover {
  background: var(--accent-soft);
}

.search-result-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  animation: cardFadeIn 0.3s ease both;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.search-result-hint i {
  color: var(--accent);
  font-size: 13px;
}

.search-result-hint strong {
  color: var(--accent);
}

.like-action.liked {
  color: var(--accent) !important;
}

.like-action.liked i {
  color: var(--accent);
}

body,
.glass,
.shell,
.topbar,
.bottom-bar,
.post-card,
.post-card-simple,
.empty-state,
.hitokoto-banner,
.comment-list-box,
.comment-form-wrap,
.comments-section,
.about-hero,
.about-stat-card,
.about-info-card,
.about-timeline-section,
.archive-stat-item,
.album-card,
.friend-feed-card,
.link-card,
.nav-item,
.leaderboard,
.error-page,
.lightbox,
.article-meta-item,
.comment-device,
.pagination a,
.pagination span,
.pagination .prev,
.pagination .next {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.15s ease, box-shadow 0.35s ease;
}

.nav-has-submenu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-has-submenu>.nav-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
  transition: all .15s;
  border-radius: var(--radius-sm);
  text-decoration: none;
  width: 100%;
}

.nav-has-submenu>.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

html.dark .nav-has-submenu>.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-has-submenu.active>.nav-toggle {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px rgba(99, 102, 241, 0.2);
}

html.dark .nav-has-submenu.active>.nav-toggle {
  box-shadow: inset 0 0 0 1.5px rgba(129, 140, 248, 0.2);
}

.nav-toggle-arrow {
  margin-left: auto;
  font-size: 14px;
  color: var(--text-light);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.nav-has-submenu.expanded .nav-toggle-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav-submenu {
  list-style: none;
  padding: 4px 4px 6px;
  margin: 2px 14px 4px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
  display: none;
  overflow: hidden;
}

html.dark .nav-submenu {
  background: rgba(255, 255, 255, 0.03);
}

.nav-has-submenu.expanded .nav-submenu {
  display: block;
  animation: submenuFadeIn 0.25s ease both;
}

@keyframes submenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-submenu-item {
  margin: 1px 0;
}

.nav-submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 32px;
  color: var(--text-secondary);
  font-size: 12px;
  text-decoration: none;
  border-radius: 8px;
  transition: all .15s;
  position: relative;
}

.nav-submenu-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}

html.dark .nav-submenu-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-submenu-link.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
}

.nav-submenu-dot {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-light);
  opacity: 0.5;
  flex-shrink: 0;
  transition: all .2s;
}

.nav-submenu-link:hover .nav-submenu-dot {
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nav-submenu-link.active .nav-submenu-dot {
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@keyframes glassShimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.glass-shimmer {
  position: relative;
  overflow: hidden;
}

.glass-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: glassShimmer 4s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

html.dark .glass-shimmer::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
}

.glass-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 20%, rgba(255, 255, 255, 0.25) 50%, var(--glass-border) 80%, transparent 100%);
  border: none;
}

html.dark .glass-divider {
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 20%, rgba(255, 255, 255, 0.06) 50%, var(--glass-border) 80%, transparent 100%);
}

.glass,
.post-card,
.post-card-simple,
.empty-state,
.hitokoto-banner,
.album-card,
.about-hero,
.about-stat-card,
.about-info-card,
.about-timeline-section,
.tl-content,
.comments-section,
.comment-form-wrap,
.at-post,
.link-card,
.friend-feed-card,
.leaderboard,
.archive-stat-item,
.archive-filter,
.article-info-card,
.like-btn,
.error-search,
.search-result-hint,
.article-meta-item,
.comment-device,
.pagination a,
.pagination span,
.shell,
.topbar,
.bottom-bar {
  will-change: transform;
  transform: translateZ(0);
}

.glass>*,
.post-card>*,
.post-card-simple>*,
.empty-state>*,
.hitokoto-banner>*,
.album-card>*,
.about-hero>*,
.about-stat-card>*,
.about-info-card>*,
.about-timeline-section>*,
.tl-content>*,
.comments-section>*,
.comment-form-wrap>*,
.at-post>*,
.link-card>*,
.friend-feed-card>*,
.leaderboard>*,
.archive-stat-item>*,
.archive-filter>*,
.article-info-card>*,
.like-btn>*,
.error-search>*,
.search-result-hint>*,
.article-meta-item>*,
.comment-device>*,
.pagination a>*,
.pagination span>* {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion:reduce) {
  .glass-shimmer::after {
    animation: none;
  }

  .post-card,
  .post-card-simple,
  .empty-state,
  .album-card,
  .about-stat-card,
  .about-info-card,
  .link-card,
  .at-post {
    transition: background-color 0.2s, box-shadow 0.2s;
  }

  .post-card:hover,
  .post-card-simple:hover,
  .empty-state:hover,
  .album-card:hover {
    transform: none;
  }
}

/* 高级页面组件 (pg-*) */
.pg-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.4s ease both;
  box-shadow: 0 0 0 1px var(--glass-edge-glow), var(--glass-inner-shadow);
}

.pg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--glass-highlight);
  z-index: 0;
}

.pg-card>* {
  position: relative;
  z-index: 1;
}

.pg-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg-card-title i {
  color: var(--accent);
  font-size: 13px;
}

.pg-profile-card {
  padding: 24px;
}

.pg-profile-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pg-profile-avatar {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.pg-profile-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.pg-profile-avatar span {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.pg-profile-info {
  flex: 1;
  min-width: 0;
}

.pg-profile-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pg-profile-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pg-profile-bottom {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.pg-profile-links {
  display: flex;
  gap: 8px;
}

.pg-profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .2s;
}

.pg-profile-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.pg-profile-links a i {
  font-size: 11px;
}

.pg-stats-card {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  gap: 0;
}

.pg-stat {
  flex: 1;
  text-align: center;
  padding: 4px 0;
}

.pg-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.pg-stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.pg-stat span {
  font-size: 12px;
  color: var(--text-light);
}

.pg-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pg-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all .2s;
}

.pg-info-item:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

html.dark .pg-info-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pg-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.pg-info-text {
  display: flex;
  flex-direction: column;
}

.pg-info-label {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.pg-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width:600px) {
  .pg-info-grid {
    grid-template-columns: 1fr;
  }
}

.pg-tl {
  padding-left: 20px;
  position: relative;
}

.pg-tl::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  border-radius: 2px;
}

.pg-tl-item {
  position: relative;
  padding: 0 0 24px 20px;
}

.pg-tl-item:last-child {
  padding-bottom: 0;
}

.pg-tl-item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-soft), 0 0 8px var(--accent-glow);
}

.pg-tl-head {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.pg-tl-item p,
.pg-tl-item ul,
.pg-tl-item ol {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pg-tl-item p:last-child {
  margin-bottom: 0;
}

.pg-tl-item a {
  color: var(--accent);
  text-decoration: none;
}

.pg-tl-item a:hover {
  text-decoration: underline;
}

.pg-tl-item img {
  max-width: 100%;
  border-radius: 8px;
  margin: 8px 0;
  cursor: pointer;
}

.pg-tl-item blockquote {
  margin: 8px 0;
  padding: 8px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.pg-tl-item pre {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 12px;
  overflow-x: auto;
  font-size: 13px;
}

html.dark .pg-tl-item pre {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width:480px) {
  .pg-profile-avatar {
    width: 48px;
    height: 48px;
  }

  .pg-profile-avatar img {
    width: 48px;
    height: 48px;
  }

  .pg-profile-avatar span {
    font-size: 22px;
  }

  .pg-profile-name {
    font-size: 18px;
  }

  .pg-stat b {
    font-size: 20px;
  }
}

.pg-arch-summary {
  display: flex;
  align-items: center;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.pg-arch-summary-item {
  flex: 1;
  text-align: center;
}

.pg-arch-summary-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

.pg-arch-summary-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.pg-arch-summary-label {
  font-size: 12px;
  color: var(--text-light);
}

.pg-arch-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.pg-arch-tabs::-webkit-scrollbar {
  display: none;
}

.pg-arch-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
  font-family: inherit;
}

.pg-arch-tab:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: var(--glass-bg-strong);
  color: var(--text);
}

.pg-arch-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pg-arch-tab.active .pg-arch-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pg-arch-tab-year {
  font-size: 15px;
}

.pg-arch-tab-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--glass-bg);
  color: var(--text-light);
  padding: 1px 7px;
  border-radius: 20px;
  transition: all .25s;
}

.pg-arch-panel {
  animation: archFadeIn .3s ease;
  position: relative;
  z-index: 2;
}

@keyframes archFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.pg-arch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: background .2s, box-shadow .2s;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

.pg-arch-row:hover {
  background: var(--glass-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

html.dark .pg-arch-row:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.pg-arch-row-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: all .2s;
}

.pg-arch-row:hover .pg-arch-row-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.pg-arch-row-date {
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 60px;
  font-weight: 500;
}

.pg-arch-row-title {
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  transition: color .15s;
  font-weight: 500;
}

.pg-arch-row:hover .pg-arch-row-title {
  color: var(--accent);
}

.pg-arch-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-light);
}

.pg-arch-row-meta i {
  font-size: 11px;
  margin-right: 3px;
}

.pg-arch-row-meta span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.pg-leaderboard {
  margin-bottom: 24px;
}

.pg-lb-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg-lb-title i {
  color: #D4A84B;
  font-size: 13px;
}

.pg-lb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pg-lb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  transition: all .2s;
  animation: cardFadeIn 0.3s ease both;
}

.pg-lb-item:nth-child(1) {
  animation-delay: 0s;
}

.pg-lb-item:nth-child(2) {
  animation-delay: 0.05s;
}

.pg-lb-item:nth-child(3) {
  animation-delay: 0.1s;
}

.pg-lb-item:nth-child(4) {
  animation-delay: 0.15s;
}

.pg-lb-item:nth-child(5) {
  animation-delay: 0.2s;
}

.pg-lb-item:nth-child(6) {
  animation-delay: 0.25s;
}

.pg-lb-item:nth-child(7) {
  animation-delay: 0.3s;
}

.pg-lb-item:nth-child(8) {
  animation-delay: 0.35s;
}

.pg-lb-item:nth-child(9) {
  animation-delay: 0.4s;
}

.pg-lb-item:nth-child(10) {
  animation-delay: 0.45s;
}

.pg-lb-item:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.pg-lb-rank {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--glass-bg);
  color: var(--text-light);
}

.pg-lb-rank-1 {
  background: rgba(234, 179, 8, 0.15);
  color: #ca8a04;
}

.pg-lb-rank-2 {
  background: rgba(156, 163, 175, 0.15);
  color: #6b7280;
}

.pg-lb-rank-3 {
  background: rgba(180, 83, 9, 0.15);
  color: #b45309;
}

.pg-lb-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pg-lb-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-lb-count {
  font-size: 11px;
  color: var(--text-light);
  flex-shrink: 0;
}

@media (max-width:480px) {
  .pg-lb-list {
    flex-direction: column;
  }

  .pg-lb-item {
    border-radius: 10px;
  }

  .pg-stats-card {
    flex-wrap: wrap;
  }

  .pg-stat {
    min-width: 45%;
  }

  .pg-stat-divider {
    display: none;
  }

  .pg-arch-summary {
    flex-wrap: wrap;
    gap: 12px;
  }

  .pg-arch-summary-divider {
    display: none;
  }

  .pg-arch-summary-item {
    min-width: 30%;
  }

  .pg-arch-row-meta {
    display: none;
  }

  .pg-arch-row-date {
    min-width: 50px;
    font-size: 12px;
  }
}