/* POETIZE / zuimei.live — Hope CMS zuimei theme v2 */

:root {
  --loveBackground: #fff;
  --background: #fff;
  --fontColor: #000;
  --white: #fff;
  --black: #000;
  --borderColor: rgba(0, 0, 0, .1);
  --borderHoverColor: hsla(0, 0%, 43%, .2);
  --articleFontColor: #1f1f1f;
  --articleGreyFontColor: #616161;
  --commentContent: #f7f9fe;
  --favoriteBg: #f7f9fe;
  --themeBackground: #ff623e;
  --toolbarFont: #333;
  --toolbarBackground: rgba(255, 255, 255, .92);
  --greyFont: #797979;
  --maxGreyFont: #595a5a;
  --lightGray: #ddd;
  --maxLightGray: #eee;
  --maxMaxLightGray: hsla(0, 0%, 95%, .5);
  --whiteMask: hsla(0, 0%, 100%, .3);
  --maxWhiteMask: hsla(0, 0%, 100%, .5);
  --maxMaxWhiteMask: hsla(0, 0%, 100%, .7);
  --miniMask: rgba(0, 0, 0, .15);
  --mask: rgba(0, 0, 0, .3);
  --translucent: rgba(0, 0, 0, .5);
  --transparent: transparent;
  --lightRed: #ff4b2b;
  --maxLightRed: #ff416c;
  --orangeRed: #ef794f;
  --blue: #03a9f4;
  --azure: #ecf7fe;
  --lightGreen: #39c5bb;
  --maxGreen: #07c160;
  --iconColor: #ff623e;
  --gradualRed: linear-gradient(90deg, #ff4b2b, #ff416c);
  --bannerWave1: url(https://zuimei.live/assets/bannerWave1.png) repeat-x;
  --bannerWave2: url(https://zuimei.live/assets/bannerWave2.png) repeat-x;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

html[data-theme-resolved="dark"] {
  --loveBackground: #272727;
  --background: #272727;
  --fontColor: #fff;
  --articleFontColor: #e4e4e4;
  --articleGreyFontColor: #d4d4d4;
  --borderColor: #4f4f4f;
  --commentContent: #2a2a3a;
  --favoriteBg: #1e1e1e;
  --azure: #1a2836;
  --toolbarBackground: rgba(39, 39, 39, .94);
  --toolbarFont: #eee;
  --greyFont: #aaa;
  --maxLightGray: #333;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.theme-poetize {
  margin: 0;
  color: var(--articleFontColor);
  font-family: var(--font-body);
  background: var(--background);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--themeBackground); color: #fff; padding: 8px 12px;
}
.skip-link:focus { left: 12px; top: 12px; }

.myCenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
[class*="my-animation-"] {
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}
.my-animation-hideToShow { animation-name: hideToShow; }
.my-animation-slide-top { animation: slideTop .8s ease-out both; }
.my-animation-slide-bottom { animation: slideBottom .8s ease-out both; }
@keyframes hideToShow { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideTop {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideBottom {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientBG {
  0% { background-position-x: 0; }
  100% { background-position-x: 100%; }
}
@keyframes my-shake {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes hideToShowBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}

.shadow-box {
  box-shadow: 2px 2px 5px var(--borderColor);
  transition: all .3s ease;
}
.shadow-box:hover {
  box-shadow: 0 5px 10px 5px var(--borderHoverColor);
}
.background-opacity {
  background: var(--maxMaxWhiteMask);
  backdrop-filter: blur(8px);
}

/* Toolbar */
.toolbar-content.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: var(--white);
  user-select: none;
  transition: all .3s ease-in-out;
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: visible;
}
body.is-home .toolbar-content:not(.toolbar-enter):not(.is-scrolled),
body.is-article .toolbar-content:not(.toolbar-enter):not(.is-scrolled),
body.is-list .toolbar-content:not(.toolbar-enter):not(.is-scrolled) {
  background: transparent;
  color: var(--white);
}
body.is-home .toolbar-content.toolbar-enter,
body.is-home .toolbar-content.is-scrolled,
body.is-article .toolbar-content.toolbar-enter,
body.is-article .toolbar-content.is-scrolled,
body.is-list .toolbar-content.toolbar-enter,
body.is-list .toolbar-content.is-scrolled,
body.is-inner .toolbar-content {
  background: var(--toolbarBackground);
  color: var(--toolbarFont);
  box-shadow: 0 1px 3px rgba(0, 34, 77, .05);
  backdrop-filter: blur(10px);
}
.toolbar-title { margin-left: 14px; }
.toolbar-title h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}
.toolbar-title a { color: inherit; }
.toolbar-mobile-menu {
  display: none;
  margin-right: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.scroll-menu-wrap {
  justify-self: end;
  margin-right: 8px;
  overflow: visible;
}
.scroll-menu {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  overflow: visible;
}
.scroll-menu .nav-item {
  list-style: none;
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
}
.scroll-menu .nav-item:hover,
.scroll-menu .nav-item:focus-within,
.scroll-menu .nav-item.is-open {
  z-index: 30;
}
.scroll-menu .nav-link,
.scroll-menu .my-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  font-size: 15px;
  color: inherit;
  position: relative;
  white-space: nowrap;
  background: transparent !important;
}
.scroll-menu .nav-link:hover,
.scroll-menu .nav-link.is-active {
  color: var(--themeBackground);
}
.scroll-menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--themeBackground);
  max-width: 0;
  transition: max-width .25s ease-in-out;
}
.scroll-menu .nav-link:hover::after,
.scroll-menu .nav-item.is-active > .nav-link::after {
  max-width: 100%;
}

/* 子菜单 dropdown */
.scroll-menu .nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .7;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.scroll-menu .nav-item.is-open > .nav-link .nav-caret,
.scroll-menu .nav-item:hover > .nav-link .nav-caret,
.scroll-menu .nav-item:focus-within > .nav-link .nav-caret {
  transform: rotate(180deg);
}
.scroll-menu .nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 168px;
  max-width: min(240px, 80vw);
  padding: 8px;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  background: var(--background);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 40;
}
.scroll-menu .nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}
.scroll-menu .nav-item:hover > .nav-dropdown,
.scroll-menu .nav-item:focus-within > .nav-dropdown,
.scroll-menu .nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.scroll-menu .nav-dropdown-link {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--fontColor);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.scroll-menu .nav-dropdown-link:hover,
.scroll-menu .nav-dropdown-link.is-active {
  background: color-mix(in srgb, var(--themeBackground) 12%, transparent);
  color: var(--themeBackground);
}

.toolbar-actions { display: flex; align-items: center; }
.header-auth { display: flex; gap: 8px; align-items: center; }
.header-auth .btn-sm {
  height: 32px; padding: 0 14px; border-radius: 999px; font-size: .85rem;
  display: inline-flex; align-items: center;
}
.header-auth .btn-primary {
  background: var(--themeBackground); color: #fff !important; border: 0;
}
.header-auth .btn-ghost {
  border: 1px solid var(--whiteMask); color: inherit !important; background: transparent;
}
body.is-home .toolbar-content:not(.toolbar-enter) .header-auth .btn-ghost,
body.is-article .toolbar-content:not(.toolbar-enter):not(.is-scrolled) .header-auth .btn-ghost,
body.is-list .toolbar-content:not(.toolbar-enter):not(.is-scrolled) .header-auth .btn-ghost {
  border-color: var(--whiteMask);
}
.nav-user {
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.nav-avatar-text {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--themeBackground); color: #fff; font-weight: 700;
}
.site-main { padding-top: 0; min-height: 50vh; }

/* Hero — 50vh fixed bg */
.background-image-index {
  width: 100vw;
  height: 50vh;
  position: fixed;
  top: 0; left: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  animation: header-effect 2s ease;
}
.background-image-index::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .2);
}
@keyframes header-effect {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

.signature-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
  height: 50vh;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding-top: 30px;
}
.playful {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 40px);
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: .15em;
}
.playful span { display: inline-block; }
.printer {
  cursor: pointer;
  color: var(--white);
  background: var(--translucent);
  border-radius: 10px;
  padding: 6px 14px;
  max-width: min(90vw, 640px);
}
.printer h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.cursor {
  margin-left: 2px;
  animation: hideToShowBlink .7s infinite;
  font-weight: 200;
}
#bannerWave1 {
  height: 84px;
  background: var(--bannerWave1);
  position: absolute;
  width: 200%;
  bottom: 0;
  left: 0;
  z-index: 10;
  animation: gradientBG 120s linear infinite;
}
#bannerWave2 {
  height: 100px;
  background: var(--bannerWave2);
  position: absolute;
  width: 400%;
  bottom: 0;
  left: 0;
  z-index: 5;
  animation: gradientBG 120s linear infinite;
}
.poetize-arrow-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  z-index: 15;
  cursor: pointer;
  animation: my-shake 1.5s ease-out infinite;
}

/* Page layout — 左栏 + 右内容（文章首页） */
.page-container-wrap {
  background: var(--background);
  position: relative;
  z-index: 1;
}
body.theme-poetize {
  background: linear-gradient(180deg, #eef5fb 0%, #f8f9fc 120px, var(--background) 280px);
}
.page-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: min(1180px, 94%);
  padding: 0 16px 48px;
  margin: 0 auto;
  gap: 32px;
}
.aside-content {
  width: 300px;
  flex-shrink: 0;
  margin-top: 40px;
}
.recent-posts {
  flex: 1;
  min-width: 0;
  margin-top: 40px;
}

.announcement {
  padding: 16px 20px;
  border: 1px dashed var(--lightGray);
  color: var(--greyFont);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  margin: 40px auto 40px;
  align-items: center;
  background: var(--background);
}
.announcement-ico {
  flex-shrink: 0;
  animation: scale .8s ease-in-out infinite;
}
@keyframes scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.announcement-body { line-height: 1.6; font-size: .95rem; }

/* 首页 · 分类预览（poetize.cn index.vue + sortArticle.vue） */
.home-sort-groups {
  width: 100%;
}
.home-sort-section {
  margin-bottom: 8px;
}
.home-sort-section:last-child {
  margin-bottom: 0;
}
.sort-article-first {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 40px auto 20px;
  color: var(--greyFont);
  border-bottom: 1px dashed var(--lightGray);
  padding-bottom: 8px;
}
.home-sort-section:first-child .sort-article-first {
  margin-top: 0;
}
.sort-article-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sort-article-ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.sort-article-ico--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd666, #faad14);
  overflow: hidden;
}
.sort-article-ico--default svg {
  display: block;
}
.sort-article-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--greyFont);
}
.article-more {
  font-size: .92rem;
  color: var(--greyFont);
  text-decoration: none;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
  flex-shrink: 0;
}
.article-more:hover {
  color: var(--lightGreen);
  font-weight: 700;
  transform: scale(1.06);
}

.sort-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.sort-grid-card {
  position: relative;
  user-select: none;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px;
  height: 350px;
  flex-shrink: 0;
  width: calc(100% / 3 - 20px);
  cursor: pointer;
  animation: zoomIn .8s ease-in-out;
  background: var(--background);
  display: flex;
  flex-direction: column;
}
.sort-grid-card-image {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.sort-grid-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.sort-grid-card:hover .sort-grid-card-image img {
  transform: scale(1.12);
}
.sort-grid-card-image .error-text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lightGreen);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 4px;
  text-align: center;
  padding: 12px;
}
.sort-grid-card-body {
  flex: 1;
  min-height: 0;
  padding: 10px 15px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.sort-grid-card-body h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sort-grid-card-body h3 a {
  color: var(--articleFontColor);
  text-decoration: none;
}
.sort-grid-card-body h3 a:hover {
  color: var(--themeBackground);
}
.sort-grid-card-stats {
  margin-bottom: 8px;
}
.sort-grid-card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sort-grid-card-stats span:not(:last-child) {
  margin-right: 10px;
}
.sort-grid-card .post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sort-grid-card .post-meta svg {
  flex-shrink: 0;
}
.sort-grid-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--articleGreyFontColor);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sort-grid-card .sort-label {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media screen and (max-width: 1400px) {
  .sort-grid-card {
    width: calc(100% / 2 - 20px);
  }
}
@media screen and (max-width: 600px) {
  .sort-grid-card {
    width: calc(100% - 20px);
    height: auto;
    min-height: 320px;
  }
  .sort-grid-card-image {
    height: 200px;
  }
  .sort-grid-card-body {
    padding-bottom: 44px;
  }
}

.article-first {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--greyFont);
  border-bottom: 1px dashed var(--lightGray);
  padding-bottom: 8px;
  margin-bottom: 28px;
  font-size: 1rem;
}
.article-first svg {
  flex-shrink: 0;
}
.article-first h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: var(--articleFontColor);
}

/* 发现 — 交替图文卡片 */
.recent-post-container {
  max-width: 780px;
  margin: 0 auto;
}
.recent-post-container .recent-post-item:not(:last-child) {
  margin-bottom: 28px;
}
.recent-post-item {
  height: 300px;
  position: relative;
  display: block;
  user-select: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
  animation: hideToShow 1s ease-in-out;
  background: var(--background);
}
.recent-post-item-image {
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.recent-post-item-image.leftImage {
  position: absolute;
  left: 0;
  top: 0;
}
.recent-post-item-image.rightImage {
  position: absolute;
  right: 0;
  top: 0;
}
.image-container {
  width: 100%;
  height: 100%;
}
.recent-post-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.recent-post-item:hover .recent-post-item-image img {
  transform: scale(1.12);
}
.recent-post-item-post {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 28px 46px;
  position: relative;
  z-index: 1;
}
.recent-post-item-image.leftImage + .recent-post-item-post {
  margin-left: 50%;
}
.recent-post-item-image.rightImage + .recent-post-item-post {
  margin-left: 0;
}
.recent-post-item-post h3 {
  margin: 10px 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--articleFontColor);
}
.recent-post-item-post h3 a:hover { color: var(--themeBackground); }
.post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--greyFont);
}
.post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 10px;
  font-size: 12px;
  color: var(--greyFont);
}
.post-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.recent-post-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--articleGreyFontColor);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
  flex: 1;
}
.sort-label {
  position: absolute;
  bottom: 10px;
  left: 15px;
  right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recent-post-item-image.leftImage + .recent-post-item-post .sort-label,
.recent-post-item-image.rightImage + .recent-post-item-post .sort-label {
  left: 15px;
  right: auto;
}
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  background: var(--maxLightGray);
  color: var(--greyFont);
  transition: all .25s;
}
.label-pill--sort { background: #fff8e6; }
.label-pill--tag { background: #f3ebff; }
.label-pill:hover {
  background: var(--themeBackground);
  color: #fff;
}
.error-text {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--lightGreen);
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  text-align: center;
  padding: 16px;
}

/* Sidebar — POETIZE myAside */
.myAside-container > .aside-widget,
.myAside-container > .card-content1 {
  margin-bottom: 24px;
}
.card-content1 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #e8d8b9, #eccec5, #a3e9eb, #bdbdf0, #eec1ea);
  background-size: 400% 400%;
  animation: gradientBG 10s ease infinite, hideToShow 1s ease-in-out;
  border-radius: 14px;
  padding: 22px 14px 18px;
  text-align: center;
}
@keyframes gradientBG {
  0% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
.card-content1-cloud {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: url("https://zuimei.live/assets/bannerWave1.png") repeat-x bottom;
  background-size: auto 100%;
  opacity: .35;
  pointer-events: none;
}
.card-content1 .user-avatar-wrap,
.card-content1 .web-name,
.card-content1 .web-info {
  position: relative;
  z-index: 1;
}
.user-avatar-wrap {
  display: inline-block;
  margin: 6px auto 10px;
}
.user-avatar {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(64,158,255,.18);
  cursor: pointer;
  transition: transform .5s ease;
  user-select: none;
}
.user-avatar-wrap:hover .user-avatar {
  transform: rotate(360deg);
}
.user-avatar--text {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7ec8ff, #409eff);
  color: #fff;
  font-size: 2.3rem;
  font-weight: 700;
}
.web-name {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 6px 0 16px;
  color: var(--articleFontColor);
}
.web-info {
  width: 92%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.blog-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: .78rem;
  color: var(--greyFont);
  flex: 1;
}
.blog-info-ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  margin-bottom: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-info-ico svg {
  display: block;
}
.blog-info-ico--article { background: linear-gradient(135deg, #6eb6ff, #409eff); }
.blog-info-ico--sort { background: linear-gradient(135deg, #ffd666, #faad14); }
.blog-info-ico--view { background: linear-gradient(135deg, #ff9c6e, #ff623e); }
.blog-info-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--articleFontColor);
}

.aside-widget {
  padding: 18px 16px;
  border-radius: 14px;
  animation: hideToShow 1s ease-in-out;
  position: relative;
  overflow: hidden;
}
.aside-widget-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lightGreen);
  margin-bottom: 14px;
}
.aside-widget-title--search { color: var(--lightGreen); }
.aside-search-form { display: flex; align-items: stretch; }
.ais-SearchBox-input {
  flex: 1;
  height: 38px;
  border: 1px solid #ffd4b8;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 0 14px;
  background: var(--background);
  color: var(--articleFontColor);
  outline: none;
  font-size: .88rem;
}
.ais-SearchBox-input::placeholder { color: #bbb; }
.ais-SearchBox-input:focus { border-color: var(--lightGreen); }
.ais-SearchBox-submit {
  width: 48px;
  height: 38px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--lightGreen);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.aside-post-block {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
  color: inherit;
}
.aside-post-block:last-child { margin-bottom: 0; }
.aside-post-image {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--maxLightGray);
}
.aside-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.error-aside-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--themeBackground);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.aside-post-body { flex: 1; min-width: 0; }
.aside-post-title {
  display: block;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--articleFontColor);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}
.aside-post-block:hover .aside-post-title { color: var(--themeBackground); }
.aside-post-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--greyFont);
}

.poetize-tag-cloud {
  position: relative;
  min-height: 150px;
  padding: 14px 10px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 28%, rgba(90, 216, 166, .5), transparent 52%),
    radial-gradient(circle at 82% 18%, rgba(246, 189, 22, .45), transparent 48%),
    radial-gradient(circle at 62% 82%, rgba(146, 112, 202, .4), transparent 52%),
    radial-gradient(circle at 35% 75%, rgba(91, 143, 249, .35), transparent 45%),
    linear-gradient(135deg, #e8fff4, #fff9e6, #f3ebff);
}
.poetize-tag-cloud--scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 14px 0;
  min-height: 108px;
}
.tag-scroll-row {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.tag-scroll-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tag-scroll-left var(--tag-scroll-duration, 36s) linear infinite;
}
.tag-scroll-row--right .tag-scroll-track {
  animation-name: tag-scroll-right;
}
.tag-scroll-row:hover .tag-scroll-track {
  animation-play-state: paused;
}
.tag-scroll-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}
@keyframes tag-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tag-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.poetize-tag-item {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1.3;
  color: #fff;
  background: var(--tag-color, #5B8FF9);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.poetize-tag-item--1 { font-size: .78rem; }
.poetize-tag-item--2 { font-size: .88rem; font-weight: 600; }
.poetize-tag-item--3 { font-size: .95rem; font-weight: 700; }
.poetize-tag-item:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  color: #fff;
}

.aside-danmaku-viewport {
  height: 200px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.aside-danmaku-track {
  display: flex;
  flex-direction: column;
  animation: aside-danmaku-scroll var(--danmaku-duration, 28s) linear infinite;
  will-change: transform;
}
.aside-danmaku-viewport:hover .aside-danmaku-track {
  animation-play-state: paused;
}
.aside-danmaku-viewport.is-static .aside-danmaku-track {
  animation: none;
}
@keyframes aside-danmaku-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.aside-comments .aside-comment-item {
  flex-shrink: 0;
}

.aside-links { padding-bottom: 20px; }
.aside-links-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(207, 232, 255, .85));
  pointer-events: none;
}
.aside-links-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(100, 160, 220, .25));
  clip-path: polygon(0 100%, 15% 60%, 30% 80%, 50% 50%, 70% 75%, 85% 55%, 100% 100%);
  opacity: .6;
}
.aside-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--maxLightGray);
  color: var(--articleFontColor);
  position: relative;
  z-index: 1;
}
.aside-link-item:last-child { border-bottom: 0; }
.aside-link-item:hover { color: var(--themeBackground); }
.aside-link-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--maxLightGray);
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7ec8ff, #409eff);
}
.aside-link-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aside-link-name {
  font-size: .9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aside-comment-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--maxLightGray);
  color: inherit;
}
.aside-comment-item:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--lightGreen);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}
.aside-comment-body { flex: 1; min-width: 0; }
.aside-comment-user {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--articleFontColor);
  margin-bottom: 2px;
}
.aside-comment-text {
  display: block;
  font-size: .82rem;
  color: var(--greyFont);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aside-comment-date {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--greyFont);
}

/* 右下角浮动按钮 */
.toolButton {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(30,30,30,.75);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .2s, background .2s;
  text-decoration: none;
}
.tool-btn:hover {
  transform: translateY(-3px);
  background: rgba(30,30,30,.9);
  color: #fff;
}

/* Pagination */
.pagination-wrap { display: flex; justify-content: center; margin-top: 40px; }
.poetize-pagination .page-link,
.poetize-pagination a,
.poetize-pagination span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--lightGray);
  border-radius: 3rem;
  color: var(--greyFont);
  margin: 0 4px;
}
.poetize-pagination a:hover,
.poetize-pagination .is-active {
  border-color: var(--themeBackground);
  color: var(--themeBackground);
  box-shadow: 0 0 5px var(--themeBackground);
}

/* Footer */
.poetize-footer {
  background: var(--background);
  border-top: 1px dashed var(--lightGray);
  padding: 32px 20px;
  text-align: center;
  color: var(--greyFont);
  font-size: .9rem;
}
.poetize-footer-copy { margin: 12px 0 0; }
.poetize-footer a { color: var(--lightGreen); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--greyFont); }

/* Article detail — POETIZE article.vue */
.page-container-wrap--article {
  padding-top: 0;
}

.article-head {
  height: 40vh;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.article-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
}

.article-image::before {
  position: absolute;
  inset: 0;
  background-color: var(--miniMask);
  content: "";
}

.article-info-container {
  position: absolute;
  bottom: 15px;
  left: 20%;
  color: var(--white);
  z-index: 2;
  max-width: 720px;
}

.article-scroll-hint {
  position: absolute;
  bottom: 12px;
  right: 20%;
  color: var(--white);
  opacity: .85;
  z-index: 2;
  animation: article-bounce 1.6s ease-in-out infinite;
}

@keyframes article-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.article-title {
  margin: 0 0 15px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  user-select: none;
}

.article-info-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-info-item a { color: inherit; }
.article-info-item a:hover { opacity: .85; }
.article-info-sep { opacity: .75; }
.article-info-icon { flex-shrink: 0; }

.article-page-bg {
  background: var(--background);
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.article-update-time {
  color: var(--greyFont);
  font-size: 12px;
  margin: 20px 0;
  user-select: none;
}

.article-read-time { color: var(--greyFont); }

.article-sort {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.article-sort .article-sort-pill {
  display: inline-block;
  padding: 3px 10px;
  background-color: var(--themeBackground);
  border-radius: 5px;
  font-size: 14px;
  color: var(--white);
  transition: background-color .3s;
  margin-right: 25px;
  user-select: none;
}

.article-sort .article-sort-pill:hover {
  background-color: var(--lightRed);
  color: var(--white);
}

.article-copyright {
  line-height: 2;
  border-left: .2rem solid var(--blue);
  padding: 10px 1rem;
  background-color: var(--azure);
  border-radius: 4px;
  margin: 0 0 40px;
  user-select: none;
  color: var(--black);
}

html[data-theme-resolved="dark"] .article-copyright {
  color: var(--articleFontColor);
}

.article-copyright-link {
  border: none;
  background: none;
  padding: 0;
  color: #38f;
  cursor: pointer;
  font: inherit;
}

.article-copyright-detail {
  margin-top: 10px;
  line-height: 1.75;
  font-size: 14px;
}

.article-copyright-detail ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.article-like-wrap { margin-bottom: 20px; }

.article-like-icon {
  display: block;
  cursor: pointer;
  color: var(--greyFont);
  transition: transform .5s ease, color .3s ease;
  border-radius: 50%;
}

.article-like-icon:hover {
  transform: rotate(360deg);
  color: var(--lightRed);
}

.entry-content {
  line-height: 1.85;
  color: var(--articleFontColor);
  font-size: 16px;
  word-break: break-word;
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  scroll-margin-top: 100px;
  margin: 1.6em 0 .75em;
  line-height: 1.35;
  color: var(--articleFontColor);
}
.entry-content h1 { font-size: 1.65rem; font-weight: 700; margin: 1.4em 0 .8em; scroll-margin-top: 100px; }
.entry-content h2 { font-size: 1.45rem; font-weight: 700; }
.entry-content h3 { font-size: 1.2rem; font-weight: 600; }
.entry-content h4 { font-size: 1.08rem; font-weight: 600; }
.entry-content hr {
  border: none;
  border-top: 2px dashed var(--lightGreen);
  margin: 2em 0;
}
.entry-content a {
  color: var(--themeBackground);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px auto;
}
.entry-content blockquote {
  margin: 1.2em 0;
  padding: 10px 16px;
  border-left: 4px solid var(--lightGreen);
  background: var(--commentContent);
  border-radius: 4px;
  color: var(--articleGreyFontColor);
}
.entry-content ul,
.entry-content ol { padding-left: 1.35em; margin: 0 0 1.15em; }
.entry-content li { margin: .35em 0; }
.entry-content pre,
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.entry-content code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--maxLightGray);
  font-size: .92em;
}
.entry-content pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: 8px;
  background: #1e1e2e;
  color: #cdd6f4;
  margin: 0 0 1.15em;
}
.entry-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.15em;
  font-size: .95em;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--borderColor);
  padding: 8px 10px;
}
.entry-content th { background: var(--commentContent); text-align: left; }

/* TOC — zuimei.live vditor-outline + tocbot */
#toc.toc.vditor-outline {
  width: 250px;
  position: fixed;
  top: 25vh;
  right: 3vh;
  border-radius: 14px;
  border: 1px solid var(--borderColor);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08), 0 1px 4px rgba(0, 0, 0, .06);
  padding: 0 0 12px;
  color: var(--greyFont);
  z-index: 100;
  overscroll-behavior: contain;
  background: var(--loveBackground);
}

#toc.toc.vditor-outline:empty {
  display: none;
}

#toc.toc.vditor-outline::before {
  content: "目录";
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--maxGreyFont);
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--borderColor);
  margin-bottom: 8px;
  background: var(--loveBackground);
}

#toc.toc.vditor-outline > .toc-list {
  overflow-y: auto;
  max-height: 52vh;
  padding: 4px 10px;
  scroll-behavior: smooth;
  margin: 0;
  list-style: none;
}

#toc.toc.vditor-outline > .toc-list::-webkit-scrollbar { width: 3px; }
#toc.toc.vditor-outline > .toc-list::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .12);
  border-radius: 3px;
}

#toc.toc.vditor-outline .toc-list-item { line-height: 1.55; }

#toc.toc.vditor-outline .toc-list .toc-list {
  padding-left: 8px;
  margin-top: 1px;
  border-left: 1px dashed var(--borderColor);
  list-style: none;
}

#toc.toc.vditor-outline .toc-link {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  margin: 1px 0;
  border-radius: 8px;
  transition: all .2s ease;
  font-size: 13px;
  color: var(--maxGreyFont);
  border-left: 3px solid transparent;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#toc.toc.vditor-outline .toc-link:hover {
  background: var(--favoriteBg);
  color: var(--fontColor);
}

#toc.toc.vditor-outline .is-active-link {
  font-weight: 700;
  color: var(--themeBackground);
  background: rgba(255, 165, 0, .1);
  border-left-color: var(--themeBackground);
}

html[data-theme-resolved="dark"] #toc.toc.vditor-outline,
html[data-theme-resolved="dark"] #toc.toc.vditor-outline::before {
  background: #272727;
  border-color: #4f4f4f;
}

html[data-theme-resolved="dark"] #toc.toc.vditor-outline {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
  color: #b0b0b0;
}

html[data-theme-resolved="dark"] #toc.toc.vditor-outline .toc-link { color: #aaa; }

.article-neighbor-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.article-neighbor-wrap .article-neighbor {
  margin: 0;
}

/* Comments — POETIZE */
.poetize-comments {
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px dashed var(--lightGray);
}

.poetize-comments > .comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--articleFontColor);
}

.commentInfo-title {
  margin: 28px 0 16px;
  font-size: 1.15rem;
  color: var(--articleFontColor);
}

.commentInfo-title-main { font-weight: 600; }

.comments-list { margin-bottom: 8px; }

.commentInfo-detail {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--borderColor);
}

.commentInfo-detail:last-child { border-bottom: none; }

.commentInfo-avatar {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--themeBackground), var(--maxLightRed));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commentInfo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

.commentInfo-username { color: var(--articleFontColor); font-weight: 600; }

.commentInfo-content {
  font-size: 14px;
  color: var(--articleGreyFontColor);
  line-height: 1.7;
  word-break: break-word;
}

.comment-form {
  margin-top: 0;
  padding: 16px;
  background: var(--commentContent);
  border-radius: 8px;
}

.comment-form-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 14px;
}

.comment-form textarea,
.comment-reply-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-reply-form input[type="text"],
.comment-reply-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--borderColor);
  border-radius: 8px;
  background: var(--background);
  color: var(--articleFontColor);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
}

.comment-form textarea:focus,
.comment-reply-form textarea:focus,
.comment-form input:focus,
.comment-reply-form input:focus {
  border-color: var(--themeBackground);
}

.comment-reply-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--themeBackground);
  cursor: pointer;
  font-weight: 600;
}

.comment-reply-box {
  margin-top: 12px;
  padding: 14px;
  background: var(--background);
  border-radius: 8px;
  border: 1px solid var(--borderColor);
}

.comment-children {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--borderColor);
}

.comment-children .commentInfo-detail { padding: 14px 0; }

.comment-children .commentInfo-avatar {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 12px;
}

.comment-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.comment-fields--inline { grid-template-columns: 1fr 1fr; }
.comment-reply-actions { display: flex; gap: 8px; justify-content: flex-end; }
.comment-captcha { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.comment-captcha img { height: 36px; border-radius: 8px; }
.comment-pagination { margin-top: 8px; margin-bottom: 20px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background: var(--themeBackground);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary:hover { opacity: .9; }
.btn-ghost {
  border: 1px solid var(--borderColor);
  background: transparent;
  color: var(--greyFont);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.btn-sm { padding: 6px 12px; font-size: 13px; }

.container-article {
  width: min(780px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.article-neighbor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 24px;
  font-size: .9rem;
}

.article-neighbor a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: var(--commentContent);
  border-radius: 8px;
  color: var(--greyFont);
  min-width: 0;
}

.article-neighbor a:hover { color: var(--themeBackground); }

.neighbor-label {
  font-size: 12px;
  color: var(--greyFont);
}

.neighbor-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--articleFontColor);
  font-weight: 600;
}

.neighbor-next { text-align: right; }

.tag-item {
  display: inline-block;
  margin: 4px 6px 4px 0;
  padding: 3px 10px;
  background: var(--maxLightGray);
  border-radius: 3px;
  font-size: .85rem;
}
.tag-item:hover { background: var(--themeBackground); color: #fff; }

.reading-progress {
  position: fixed; top: 60px; left: 0; height: 3px;
  background: var(--themeBackground); z-index: 99; width: 0;
}

.page-container-wrap--inner { padding-top: 60px; }
.page-container-wrap--list {
  padding-top: 0;
}

/* 分类 / 搜索 / 标签 / 归档 — 头图横幅 */
.list-head {
  height: 36vh;
  min-height: 260px;
}
.list-head .article-info-container {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: center;
  width: min(760px, calc(100% - 40px));
}
.list-head .article-scroll-hint,
.list-head-scroll-hint {
  left: 50%;
  right: auto;
  margin-left: -14px;
}
.list-head-kicker {
  margin: 0 0 8px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.list-head-title {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
}
.list-head-desc {
  margin: 10px 0 0;
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}
.page-container-wrap--list .page-container {
  padding-top: 28px;
}

/* Mobile nav */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0; top: 60px; z-index: 90;
  background: rgba(0,0,0,.35);
}
.nav-backdrop.is-open { display: block; }
body.nav-open { overflow: hidden; }

@media screen and (max-width: 1100px) {
  .page-container { flex-direction: column; width: 100%; }
  .aside-content { width: 100%; max-width: 420px; margin: 24px auto 0; }
  .recent-posts { width: 100%; margin-top: 24px; }
  .recent-post-container { max-width: 100%; }
}

@media screen and (max-width: 768px) {
  .toolbar-mobile-menu { display: block; justify-self: end; grid-column: 3; }
  .scroll-menu-wrap {
    position: fixed;
    top: 60px; right: 0; bottom: 0;
    width: min(280px, 85vw);
    background: var(--toolbarBackground);
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 95;
    padding: 16px;
    overflow-y: auto;
  }
  .scroll-menu-wrap.is-open { transform: translateX(0); }
  .scroll-menu {
    flex-direction: column;
    align-items: stretch;
  }
  .scroll-menu .nav-item {
    width: 100%;
    z-index: auto;
  }
  .scroll-menu .nav-link {
    height: auto;
    line-height: 1.4;
    padding: 12px 8px;
    width: 100%;
    justify-content: space-between;
  }
  .scroll-menu .nav-link::after { display: none; }
  .scroll-menu .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0 0 6px;
    padding: 4px;
    border: 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--fontColor) 6%, transparent);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }
  .scroll-menu .nav-dropdown::before { display: none; }
  .scroll-menu .nav-item.is-open > .nav-dropdown { display: block; }
  .scroll-menu .nav-dropdown-link {
    padding: 10px 12px 10px 18px;
    white-space: normal;
  }
  .toolbar-actions { display: none; }
  .recent-post-item {
    height: auto;
  }
  .recent-post-item-image,
  .recent-post-item-image.leftImage,
  .recent-post-item-image.rightImage {
    position: relative;
    width: 100%;
    height: 200px;
  }
  .recent-post-item-post,
  .recent-post-item-image.leftImage + .recent-post-item-post,
  .recent-post-item-image.rightImage + .recent-post-item-post {
    width: 100%;
    margin-left: 0 !important;
    height: auto;
    min-height: 220px;
    padding: 16px;
  }
  .sort-label {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 12px;
  }
  .playful { font-size: 1.75rem; letter-spacing: .08em; }

  .article-info-container {
    left: 20px;
    max-width: none;
  }
  .article-scroll-hint { right: 20px; }
  .article-title { font-size: 22px; }
  .article-sort .article-sort-pill { margin-right: 0; }
  #toc.toc.vditor-outline { display: none !important; }
  .article-neighbor { grid-template-columns: 1fr; }
  .comment-fields,
  .comment-fields--inline { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .user-avatar-wrap:hover .user-avatar {
    transform: none;
  }
  .aside-danmaku-track {
    animation: none !important;
  }
  .tag-scroll-track {
    animation: none !important;
  }
}
