@import url('https://fonts.loli.net/css2?family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

/* ===========================================================
   style.css 鈥?鏋佺畝绾噣琛嚎瀛椾綋椋庢牸
   =========================================================== */

/* ===========================================================
   CSS 鍙橀噺 鈥斺€?缁熶竴绠＄悊鐜荤拑鏉愯川涓庝富棰樿壊
   =========================================================== */
:root {
  /* 鐜荤拑闈㈡澘 */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-bg-hover: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --glass-blur: blur(12px);

  /* 鏂囧瓧 */
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.82);
  --text-tertiary: rgba(255, 255, 255, 0.58);
  --text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --text-shadow-strong: 0 1px 4px rgba(0, 0, 0, 0.5);

  /* 寮鸿皟鑹?*/
  --accent: #f4a261;
  --accent-hover: #e09150;

  /* 鏍囩 */
  --tag-bg: rgba(255, 255, 255, 0.15);
  --tag-text: rgba(255, 255, 255, 0.85);
  --tag-active-bg: var(--accent);
  --tag-active-text: #1a1a1a;

  /* 鎸夐挳 & 杈撳叆 */
  --btn-glass-bg: rgba(255, 255, 255, 0.12);
  --btn-glass-border: rgba(255, 255, 255, 0.18);
  --btn-glass-hover: rgba(255, 255, 255, 0.2);

  /* 鍒嗗壊绾?*/
  --divider: rgba(255, 255, 255, 0.15);

  /* 灞曞紑闈㈡澘 */
  --expand-bg: rgba(255, 255, 255, 0.08);

  /* 鐏 */
  --overlay-bg: rgba(0, 0, 0, 0.88);

  /* 缂╃暐鍥惧簳 */
  --thumbnail-bg: rgba(255, 255, 255, 0.1);

  /* 涓婚鍒囨崲鎸夐挳 */
  --toggle-bg: rgba(255, 255, 255, 0.18);
  --toggle-border: rgba(255, 255, 255, 0.25);
  --toggle-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);

  /* 鍔犺浇鍣?*/
  --spinner-track: rgba(255, 255, 255, 0.2);

  /* 鏂囩珷鍗＄墖 */
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(0, 0, 0, 0.1);
  --card-hover-bg: rgba(255, 255, 255, 0.88);
  --card-hover-border: rgba(0, 0, 0, 0.2);
  --card-hover-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05) inset;
  --card-text-main: #222;
  --card-text-sub: #555;
  --card-text-meta: rgba(0, 0, 0, 0.45);
  --card-icon-bg: rgba(0, 0, 0, 0.06);
  --card-tag-bg: rgba(0, 0, 0, 0.06);
  --card-tag-text: rgba(0, 0, 0, 0.6);

  /* 绾稿紶闈㈡澘 */
  --paper-bg: #ffffff;
  --paper-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --paper-text: #333333;
  --paper-muted: rgba(0, 0, 0, 0.5);
  --paper-divider: rgba(0, 0, 0, 0.12);
}

body.dark {
  --glass-bg: rgba(0, 0, 0, 0.3);
  --glass-bg-hover: rgba(0, 0, 0, 0.38);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --glass-blur: blur(14px);

  --text-primary: #ede7dd;
  --text-secondary: rgba(237, 231, 221, 0.78);
  --text-tertiary: rgba(237, 231, 221, 0.5);
  --text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  --text-shadow-strong: 0 1px 4px rgba(0, 0, 0, 0.75);

  --accent: #f4a261;
  --accent-hover: #e09150;

  --tag-bg: rgba(255, 255, 255, 0.08);
  --tag-text: rgba(237, 231, 221, 0.75);
  --tag-active-bg: var(--accent);
  --tag-active-text: #1a1a1a;

  --btn-glass-bg: rgba(255, 255, 255, 0.07);
  --btn-glass-border: rgba(255, 255, 255, 0.1);
  --btn-glass-hover: rgba(255, 255, 255, 0.14);

  --divider: rgba(255, 255, 255, 0.08);

  --expand-bg: rgba(0, 0, 0, 0.2);

  --overlay-bg: rgba(0, 0, 0, 0.93);

  --thumbnail-bg: rgba(255, 255, 255, 0.06);

  --toggle-bg: rgba(0, 0, 0, 0.3);
  --toggle-border: rgba(255, 255, 255, 0.12);
  --toggle-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);

  --spinner-track: rgba(255, 255, 255, 0.1);

  --card-bg: rgba(20, 20, 20, 0.7);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-hover-bg: rgba(20, 20, 20, 0.85);
  --card-hover-border: rgba(255, 255, 255, 0.2);
  --card-hover-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  --card-text-main: #eee;
  --card-text-sub: #aaa;
  --card-text-meta: rgba(255, 255, 255, 0.45);
  --card-icon-bg: rgba(255, 255, 255, 0.1);
  --card-tag-bg: rgba(255, 255, 255, 0.08);
  --card-tag-text: rgba(255, 255, 255, 0.7);

  --paper-bg: #1a1a1a;
  --paper-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --paper-text: #ddd;
  --paper-muted: rgba(255, 255, 255, 0.4);
  --paper-divider: rgba(255, 255, 255, 0.1);
}

:root {
  --waline-font-size: 14px;
  --waline-bg-color: rgba(20, 20, 20, 0.4);
  --waline-bgcolor-light: rgba(255, 255, 255, 0.05);
  --waline-border-color: rgba(255, 255, 255, 0.08);
  --waline-text-color: #ccc;
  --waline-info-color: #666;
  --waline-theme-color: #2980b9;
  --waline-active-color: #3498db;
  --waline-avatar-size: 2rem;
  --waline-box-shadow: none;
}

/* ===========================================================
   鍏ㄥ眬閲嶇疆
   =========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

/* ===========================================================
   鍏ㄥ睆鍥哄畾鑳屾櫙
   =========================================================== */
body {
  position: relative;
  min-height: 100vh;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  background-image: url('/bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: 'Noto Serif SC', "Source Han Serif SC", "SongTi SC", "PT Serif", serif;
  color: var(--text-primary);
  line-height: 1.7;
  transition: color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 鑳屾櫙鏆楄壊鍙犲姞灞?鈥斺€?鏃㈢劧鍏ㄩ€忔槑浜嗭紝濡傛灉鎯宠涓€鐐圭偣鏆楀害鍙互鍦ㄨ繖璋冿紝涓嶉渶瑕佸彲鏀逛负0 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

body.dark::before {
  background: rgba(0, 0, 0, 0.55);
}

/* ===========================================================
   涓诲鍣?鈥斺€?鏈€澶у搴?1100px 灞呬腑
   =========================================================== */
.container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  view-transition-name: main-content;
}

/* ===========================================================
   鍏ㄥ睆灞呬腑寮曞椤靛鍣?
   =========================================================== */
.pure-center-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ===========================================================
   姣涚幓鐠冮€氱敤闃呰瀹瑰櫒 (鐜板湪鎸夎姹傚凡鏀逛负100%绾€忔槑)
   =========================================================== */
.glass-container {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 80px auto 60px;
  padding: 40px 44px;
  box-sizing: border-box;
  position: relative;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 16px;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  animation: paperSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .glass-container {
  background: transparent !important;
  border: none !important;
}

@media (max-width: 860px) {
  .glass-container {
    padding: 24px 20px;
    margin-top: 70px;
  }
}

/* ===========================================================
   View Transitions (鍘熺敓 SPA 璺敱杩囨浮)
   =========================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: none;
}
::view-transition-new(root) {
  animation: none;
}

::view-transition-old(main-content) {
  animation: fade-out 0.25s cubic-bezier(0.4, 0, 1, 1) both;
}
::view-transition-new(main-content) {
  animation: fade-in 0.25s cubic-bezier(0, 0, 0.2, 1) both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-15px); }
}

/* ===========================================================
   璧涘崥鐩戞帶渚ц竟鏍?鈥斺€?鍏ㄨ兘瀹炴椂鐩戞帶闈㈡澘
   =========================================================== */
@keyframes cyber-blink {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.55; }
}

.cyber-left,
.cyber-right {
  position: fixed;
  top: 0;
  height: 100vh;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.cyber-left  { left: 1.2vw; }
.cyber-right { right: 1.2vw; }

.cyber-line {
  width: 0.5px;
  height: 50vh;
  background: rgba(255, 255, 255, 0.08);
}

.cyber-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cyber-label {
  writing-mode: vertical-rl;
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.09);
  letter-spacing: 2px;
  text-transform: uppercase;
  user-select: none;
}

.cyber-value {
  writing-mode: vertical-rl;
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 1px;
  user-select: none;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.cyber-value.warn {
  color: rgba(255, 80, 80, 0.7);
  animation: cyber-blink 1.2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .cyber-left,
  .cyber-right {
    display: none;
  }
}

/* ===========================================================
   涓婚鍒囨崲鎸夐挳 鈥斺€?绾挎潯鑹烘湳 路 浜氬厠鍔涚幆
   =========================================================== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  flex-shrink: 0;
  position: relative;
}

.theme-toggle:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.1);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
  color: var(--text-primary);
}

body.dark .icon-moon { color: rgba(255,255,255,0.9); }
body:not(.dark) .icon-sun { color: rgba(0,0,0,0.75); }

body.dark .icon-sun {
  opacity: 0;
  transform: rotate(120deg) scale(0.2);
}

body:not(.dark) .icon-moon {
  opacity: 0;
  transform: rotate(-120deg) scale(0.2);
}

/* ===========================================================
   鏂囩珷瀹瑰櫒 鈥斺€?浜氬厠鍔涙瘺鐜荤拑锛圡arkdown 鍔ㄦ€佹覆鏌擄級
   =========================================================== */
.article-glass {
  display: block;
  width: 100%;
  margin: 0 0 40px;
  padding: 40px 44px;
  box-sizing: border-box;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.92);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
  line-height: 1.8;
  font-size: 16px;
  animation: paperSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- 鏂囩珷鍐呰繑鍥為摼鎺?---- */
.article-back-link {
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.article-back-link:hover {
  color: var(--accent);
}

/* ---- 鏍囬 ---- */
.article-glass h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: -0.02em;
}
.article-glass h1:first-child {
  margin-top: 0;
}

.article-glass h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 26px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.article-glass h2:first-child {
  margin-top: 0;
}

.article-glass h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 22px 0 10px;
}
.article-glass h3:first-child {
  margin-top: 0;
}

.article-glass h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 18px 0 8px;
}
.article-glass h4:first-child {
  margin-top: 0;
}

/* ---- 娈佃惤 ---- */
.article-glass p {
  margin-bottom: 14px;
  text-align: justify;
}

/* ---- 閾炬帴 ---- */
.article-glass a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(244, 162, 97, 0.4);
  transition: text-decoration-color 0.2s;
}
.article-glass a:hover {
  text-decoration-color: var(--accent);
}

/* ---- 鍔犵矖 & 鏂滀綋 ---- */
.article-glass strong {
  color: #fff;
  font-weight: 700;
}
.article-glass em {
  color: rgba(255, 255, 255, 0.8);
}

/* ---- 鍒楄〃 ---- */
.article-glass ul,
.article-glass ol {
  margin: 10px 0 16px;
  padding-left: 24px;
}
.article-glass li {
  margin-bottom: 6px;
  line-height: 1.8;
}
.article-glass li::marker {
  color: var(--accent);
}
.article-glass ul ul,
.article-glass ol ol,
.article-glass ul ol,
.article-glass ol ul {
  margin: 4px 0 6px;
}

/* ---- 寮曠敤鍧?---- */
.article-glass blockquote {
  margin: 18px 0;
  padding: 14px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}
.article-glass blockquote p {
  margin-bottom: 6px;
}

/* ---- 琛屽唴浠ｇ爜 ---- */
.article-glass code {
  padding: 2px 8px;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.1);
  color: #f4a261;
  border-radius: 4px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  word-break: break-word;
}

/* ---- 浠ｇ爜鍧楋紙highlight.js 娓叉煋鍚庯級 ---- */
.article-glass pre {
  margin: 18px 0 22px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow-x: auto;
  background: #1e1e1e;
  font-size: 0.9rem;
  line-height: 1.7;
}
.article-glass pre code {
  padding: 18px 22px;
  display: block;
  background: transparent;
  color: inherit;
  border-radius: 0;
  font-size: 0.9rem;
  white-space: pre;
}

/* ---- 鍒嗗壊绾?---- */
.article-glass hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---- 鍥剧墖 ---- */
.article-glass img {
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  border-radius: 6px;
}

/* ---- 琛ㄦ牸 ---- */
.article-glass table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.article-glass th,
.article-glass td {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}
.article-glass th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  color: #fff;
}

/* ---- 鍝嶅簲寮?---- */
@media (max-width: 860px) {
  .article-glass {
    margin: 0 0 32px;
    padding: 28px 24px;
  }
  .article-glass h1 {
    font-size: 1.4rem;
  }
  .article-glass h2 {
    font-size: 1.15rem;
  }
}

/* ===========================================================
   棣栭〉鏂囩珷鍒楄〃 鈥斺€?浜氬厠鍔涙瘺鐜荤拑
   =========================================================== */
.article-list-glass {
  width: 100%;
  min-height: 50vh;
  padding: 40px 44px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  animation: paperSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-list__heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.article-list__sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-list__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  margin-bottom: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.article-list__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.article-list__link:active {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.03);
}

.article-list__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-list__link:hover .article-list__title {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-list__meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .article-list-glass {
    padding: 24px 20px;
  }

  .article-list__heading {
    font-size: 1.3rem;
  }

  .article-list__link {
    padding: 14px 16px;
  }
}

/* ===========================================================
   瀵艰埅鏍?鈥斺€?璧涘崥鏋佺畝
   =========================================================== */
.navbar {
  position: fixed;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 16px 5vw;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.navbar__left {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar__logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.navbar__links {
  display: flex;
  gap: 20px;
}

.navbar__link {
  font-size: 1rem;
  color: var(--text-tertiary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text-primary);
}

.navbar__actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.navbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-icon {
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nv-icon:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* ===========================================================
   涓汉淇℃伅 鈥斺€?PaperMod 灞呬腑鍚嶇墖
   =========================================================== */
.profile-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 40px;
  margin-bottom: 44px;
}

.profile-board__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.dark .profile-board__avatar {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.profile-board__name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 20px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-board__bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-board__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 3rem;
}

.social-icon {
  color: var(--text-secondary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  color: var(--text-primary);
}

/* ===========================================================
   Hero Player 鈥?棣栭〉 C 浣嶆挱鏀惧櫒 (v2)
   =========================================================== */
@keyframes hp-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#hero-player {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 4rem auto 6rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-sizing: border-box;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  overflow: hidden;
}

/* ---- 鍐呭眰 flex ---- */
.hp-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---- 灏侀潰 + 鏃嬭浆 ---- */
.hp-cover-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, rgba(255,255,255,0.05), rgba(244,162,97,0.25), rgba(255,255,255,0.05));
  animation: hp-spin 8s linear infinite;
  animation-play-state: paused;
}

.hp-cover-wrap.playing {
  animation-play-state: running;
}

.hp-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
}

/* ---- 涓棿淇℃伅 + 姝岃瘝 ---- */
.hp-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hp-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: var(--text-shadow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-artist {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-shadow: var(--text-shadow);
}

.hp-lyrics {
  height: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---- 鎺у埗鎸夐挳 ---- */
.hp-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hp-extra {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hp-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hp-btn:hover {
  color: var(--text-primary);
  transform: scale(1.15);
}

.hp-btn-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hp-btn-play:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(244, 162, 97, 0.25);
}

/* ---- 闊抽噺婊戝潡 ---- */
.hp-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}

.hp-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(244, 162, 97, 0.5);
}

.hp-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

/* ---- 杩涘害鏉?---- */
.hp-progress {
  position: relative;
  width: 100%;
  height: 2px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  cursor: pointer;
  transition: height 0.25s ease;
}

.hp-progress:hover {
  height: 4px;
}

.hp-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  width: 0%;
  transition: width 0.15s linear;
  pointer-events: none;
}

.hp-progress:hover .hp-progress-fill {
  box-shadow: 0 0 10px rgba(244, 162, 97, 0.6), 0 0 24px rgba(244, 162, 97, 0.25);
}

.hp-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.hp-progress:hover .hp-progress-thumb {
  opacity: 1;
}

/* ---- 歌词行 ---- */
.lyric-line {
  display: block;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Fira Code", monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.55;
  opacity: 0.25;
  transition: all 0.35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lyric-active {
  opacity: 1 !important;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(244, 162, 97, 0.45), 0 0 2px rgba(244, 162, 97, 0.3);
}

/* ---- 姝屽崟鎶藉眽 ---- */
.playlist-drawer {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 16px;
  transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.playlist-drawer.open {
  right: 0;
}

.playlist-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.playlist-drawer__list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}

.playlist-drawer__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.playlist-drawer__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.playlist-drawer__item.active {
  color: var(--accent);
  background: rgba(244, 162, 97, 0.08);
}

.playlist-drawer__item-num {
  width: 22px;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-align: right;
  flex-shrink: 0;
}

.playlist-drawer__item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-drawer__item-artist {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  margin-left: auto;
  flex-shrink: 0;
}

/* ---- 鍝嶅簲寮?---- */
@media (max-width: 640px) {
  #hero-player {
    padding: 14px 14px 12px;
    margin: 2.5rem auto;
    border-radius: 12px;
  }

  .hp-inner {
    gap: 10px;
  }

  .hp-cover-wrap {
    width: 56px;
    height: 56px;
  }

  .hp-title {
    font-size: 0.82rem;
  }

  .hp-lyrics {
    height: 20px;
  }

  .hp-lyrics .lyric-line {
    display: none;
  }

  .hp-lyrics .lyric-active {
    display: block;
    font-size: 0.8rem;
  }

  .hp-btn-play {
    width: 36px;
    height: 36px;
  }

  .hp-volume {
    width: 40px;
  }

  .hp-extra {
    gap: 2px;
  }
}

/* ===========================================================
   鍓ч泦璁℃暟鍣?& 绫诲瀷绛涢€?
   =========================================================== */
.episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.episodes-count {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-shadow: var(--text-shadow);
}

.type-filters {
  display: flex;
  gap: 6px;
}

.type-filter {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--tag-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--tag-text);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-shadow: var(--text-shadow);
}

.type-filter:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.35);
}

.type-filter.active {
  background: #2980b9;
  color: #fff;
  border-color: #2980b9;
  text-shadow: none;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(244, 162, 97, 0.45), 0 4px 16px rgba(244, 162, 97, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-1px);
}

/* ===========================================================
   鏂囩珷鍗＄墖 鈥斺€?鏆楅粦浜氬厠鍔?
   =========================================================== */
#article-list-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 5rem;
}

.article-card {
  display: block;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  padding: 30px 0 !important;
  cursor: pointer;
  transition: background 0.35s ease;
  box-sizing: border-box;
}

.article-card:first-child {
  padding-top: 0 !important;
}

.article-card:last-child {
  border-bottom: none !important;
}

.article-card:hover {
  background: rgba(255, 255, 255, 0.02) !important;
  transform: none !important;
  box-shadow: none !important;
}

.article-card__title {
  position: relative;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 6px;
  padding-left: 0;
  letter-spacing: 1px;
  transition: color 0.25s ease, padding-left 0.3s ease;
}

.article-card__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  background: #a5d6ff;
  border-radius: 2px;
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.article-card:hover .article-card__title {
  color: #a5d6ff;
  padding-left: 18px;
}

.article-card:hover .article-card__title::before {
  width: 6px;
  height: 1.1em;
  opacity: 1;
  left: -2px;
}

.article-card__summary {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__foot {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-card__tag {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

.article-card__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}

@media (max-width: 860px) {
  #article-list-content {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   鏂囩珷璇︽儏 鈥斺€?瀹炰綋绾稿紶
   =========================================================== */
.article-detail-back {
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 20px;
  background: var(--paper-bg);
  border: 1px solid var(--paper-divider);
  border-radius: 8px;
  color: var(--paper-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--paper-shadow);
}
.article-detail-back:hover {
  background: var(--card-hover-bg);
}

/* ---- 鏂囩珷鍐呰繑鍥為摼鎺?---- */
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--paper-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--paper-text);
  transform: translateX(-4px);
}

.article-detail {
  background: var(--paper-bg);
  border-radius: 12px;
  padding: 40px;
  box-sizing: border-box;
  color: #333;
  font-family: "Times New Roman", "Songti SC", "Noto Serif SC", STSong, "SimSun", serif;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
  box-shadow: var(--paper-shadow);
  margin-bottom: 30px;
}

.article-detail__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--paper-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.article-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--paper-divider);
  color: var(--paper-muted);
  font-size: 0.85rem;
}

.article-detail__tag {
  padding: 2px 10px;
  border: 1px solid var(--paper-divider);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-muted);
}

.article-detail__body { margin-bottom: 32px; }
.article-detail__body h1 { font-family: "Times New Roman", "Songti SC", "Noto Serif SC", STSong, "SimSun", serif !important; font-size: 1.5rem; font-weight: bold; color: #222; margin: 1.5em 0 0.5em; padding-bottom: 6px; border-bottom: 1px solid var(--paper-divider); }
.article-detail__body h2 { font-family: "Times New Roman", "Songti SC", "Noto Serif SC", STSong, "SimSun", serif !important; font-size: 1.2rem; font-weight: bold; color: #222; margin: 1.5em 0 0.5em; padding-bottom: 5px; border-bottom: 1px solid var(--paper-divider); }
.article-detail__body h3 { font-family: "Times New Roman", "Songti SC", "Noto Serif SC", STSong, "SimSun", serif !important; font-size: 1.05rem; font-weight: bold; color: #222; margin: 1.5em 0 0.5em; }
.article-detail__body p { margin-bottom: 12px; text-align: justify; }
.article-detail__body strong { color: var(--paper-text); }
.article-detail__body a { color: var(--accent); }
.article-detail__body ul, .article-detail__body ol { margin: 8px 0 14px; padding-left: 22px; }
.article-detail__body li { margin-bottom: 4px; }
.article-detail__body blockquote { margin: 16px 0; padding: 10px 20px; border-left: 4px solid #2980b9; background: rgba(150,150,150,0.05); color: var(--paper-muted); font-family: "KaiTi", "妤蜂綋", STKaiti, serif !important; font-size: 1.1em; font-style: normal; border-radius: 0 8px 8px 0; }
.article-detail__body code { padding: 2px 6px; background-color: rgba(150,150,150,0.1); color: #c7254e; border-radius: 4px; font-family: Consolas, "Fira Code", monospace; font-size: 0.9em; }
.article-detail__body pre { margin: 16px 0; padding: 0; border: 1px solid var(--paper-divider); border-radius: 8px; overflow-x: auto; background: #1e1e1e; }
.article-detail__body pre code { display: block; padding: 16px 20px; background: transparent; color: inherit; font-size: 0.88rem; white-space: pre; }
.article-detail__body hr { margin: 28px 0; border: none; border-top: 1px solid var(--paper-divider); }
.article-detail__body img { max-width: 100%; border-radius: 6px; margin: 12px 0; }

/* ---- 鏂囩珷缁撴潫鏍囧織 ---- */
.post-end-sign {
  text-align: center;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Fira Code", monospace;
  font-size: 0.75rem;
  color: var(--paper-divider);
  letter-spacing: 4px;
  padding: 36px 0 12px;
  user-select: none;
}

/* ---- 璇勮鍖哄紩瀵兼爣璁?---- */
.guestbook-sign {
  text-align: center;
  font-family: "SF Mono", "Cascadia Code", "Consolas", "Fira Code", monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 4px;
  padding: 4rem 0 1.5rem;
  user-select: none;
}

/* ---- Twikoo 璇勮鍖?---- */
#tcomment {
  margin-top: 10rem !important;
  width: 100%;
}

@media (max-width: 640px) {
  #tcomment {
    margin-top: 5rem !important;
  }
}

.article-detail-loading {
  text-align: center;
  color: var(--paper-muted);
  padding: 60px 0;
  font-size: 0.9rem;
}

.article-detail {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.article-detail strong,
.article-detail b {
  font-weight: 600 !important;
}

.article-detail__gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 28px;
}
.article-detail__gallery-img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid var(--paper-divider);
  border-radius: 6px;
  transition: transform 0.2s;
}
.article-detail__gallery-img:hover { transform: scale(1.05); }

.article-detail__downloads-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--paper-text);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--paper-divider);
}
.article-detail__downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.article-detail__dl-btn {
  padding: 10px 20px;
  border: 1px solid var(--paper-divider);
  background: rgba(128,128,128,0.08);
  color: var(--paper-text);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.article-detail__dl-btn:hover { background: rgba(128,128,128,0.16); }

@media (max-width: 860px) {
  .article-detail { padding: 28px 22px; }
  .article-detail__title { font-size: 1.4rem; }
}

/* ---- type: file 鈥斺€?涓嬭浇鎸夐挳 ---- */
.file-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 10px;
  border: 1px solid var(--btn-glass-border);
  background: var(--btn-glass-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  text-shadow: var(--text-shadow);
}

.file-btn:hover {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.35);
}

.file-btn__icon {
  font-size: 0.9rem;
}

/* ---- type: gallery 鈥斺€?缂╃暐鍥惧垪琛?---- */
.gallery-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
  height: 4px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.gallery-strip::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  scroll-snap-align: start;
  border: 1px solid var(--glass-border);
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-thumb:hover {
  transform: scale(1.08);
  opacity: 0.95;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ---- 鍥剧墖鐏閬僵 ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--overlay-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: lightboxIn 0.2s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: imgIn 0.3s ease;
}

@keyframes imgIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* ---- type: text 鈥斺€?闃呰鍏ㄦ枃 ---- */
.text-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--btn-glass-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.text-expand-btn:hover {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.3);
}

/* 灞曞紑鍚庣殑鍏ㄦ枃闈㈡澘 */
.text-full-content {
  margin-top: 14px;
  padding: 20px;
  background: var(--expand-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 2;
  white-space: pre-wrap;
  text-shadow: var(--text-shadow);
  animation: expandIn 0.3s ease;
}

@keyframes expandIn {
  from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
}

.text-full-content h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text-primary);
  text-shadow: var(--text-shadow-strong);
}

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

.text-full-content p {
  margin-bottom: 10px;
}

.text-full-content strong {
  color: var(--text-primary);
}

.text-collapse-btn {
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: var(--btn-glass-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text-secondary);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.text-collapse-btn:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

/* ===========================================================
   绌虹姸鎬?& 鍔犺浇
   =========================================================== */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-tertiary);
  text-shadow: var(--text-shadow);
}

.empty-state__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-state__text {
  font-size: 0.95rem;
}

.loader {
  display: flex;
  justify-content: center;
  padding: 64px;
}

.loader__spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--spinner-track);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===========================================================
   椤佃剼 鈥斺€?缁堢椋庢牸
   =========================================================== */
.footer {
  text-align: center;
  margin-top: 10rem;
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
  text-shadow: none;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.footer:hover {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.footer p {
  margin: 4px 0;
}

#runtime-timer {
  font-variant-numeric: tabular-nums;
}

/* ===========================================================
   鍝嶅簲寮?鈥斺€?灏忓睆骞?
   =========================================================== */
@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

  body::before {
    background: rgba(0, 0, 0, 0.35);
  }

  body.dark::before {
    background: rgba(0, 0, 0, 0.55);
  }

  .container {
    padding: 32px 16px 80px;
  }

  .episodes-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===========================================================
   Waline 鐣欒█鏉?鈥斺€?寮哄埗鐦﹁韩 路 鏋佺畝浜氬厠鍔?
   =========================================================== */

/* --- 鍏ㄥ眬鐩掑瓙妯″瀷淇锛堟牴娌绘孩鍑猴級 --- */
#waline * {
  box-sizing: border-box !important;
}

/* ---- 瀹瑰櫒 ---- */
#waline {
  width: 100%;
  margin: 30px 0 0;
  padding: 15px !important;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: none;
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif;
}

/* ---- 闅愯棌澶氫綑鍏冪礌 ---- */
#waline .wl-reaction { display: none !important; }
#waline .wl-power { display: none !important; }

/* ---- 闈㈡澘锛堟孩鍑烘柀鏂級 ---- */
#waline .wl-panel {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px);
}

/* ---- 澶撮儴 鈥斺€?鍗曡绱у噾鎺掑垪 ---- */
#waline .wl-header {
  display: flex !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  margin-bottom: 10px !important;
  border-radius: 0 !important;
}

#waline .wl-header-item {
  flex: 1;
  padding: 5px !important;
}

#waline .wl-header-item input {
  padding: 4px 8px !important;
}

#waline .wl-header label {
  color: rgba(255, 255, 255, 0.7);
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif;
}

/* ---- 鍙繚鐣欐樀绉?---- */
#waline .wl-header-item:nth-child(2),
#waline .wl-header-item:nth-child(3) {
  display: none !important;
}

/* ---- 杈撳叆妗?---- */
#waline .wl-header input,
#waline textarea,
#waline .wl-editor,
#waline .wl-input {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ccc !important;
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 6px 10px !important;
  font-size: 0.82rem !important;
}

/* ---- 鏋侀檺鍘嬫墎鏂囨湰鍖?---- */
#waline .wl-editor {
  min-height: 45px !important;
  height: 45px !important;
  padding: 8px 10px !important;
}

#waline .wl-header input::placeholder,
#waline textarea::placeholder {
  color: #666;
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif;
}

#waline .wl-header input:focus,
#waline textarea:focus,
#waline .wl-editor:focus {
  border-color: #2980b9 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* ---- 鎵€鏈夋枃瀛?---- */
#waline,
#waline *,
#waline .wl-comment,
#waline .wl-comment p,
#waline .wl-comment .wl-nick,
#waline .wl-comment .wl-meta,
#waline .wl-comment .wl-content,
#waline .wl-cards,
#waline .wl-count,
#waline a,
#waline .wl-header-item label,
#waline .wl-login-nick {
  color: #ccc !important;
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif !important;
}

/* ---- 璇勮鍒楄〃锛堟瀬闄愬帇缂╅棿璺濓級 ---- */
#waline .wl-cards .wl-item {
  padding: 10px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05) !important;
}

#waline .wl-card {
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  padding: 10px 0 !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05) !important;
}

#waline .wl-meta-head {
  margin-bottom: 2px !important;
}

/* ---- 璇勮鏃堕棿 ---- */
#waline .wl-meta span {
  color: #666 !important;
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif !important;
}

/* ---- 鎿嶄綔鏍?---- */
#waline .wl-footer {
  padding: 5px 10px !important;
}

/* ---- 鎻愪氦鎸夐挳 ---- */
#waline .wl-btn {
  border-radius: 4px !important;
  border: none !important;
  background: #2980b9 !important;
  color: #fff !important;
  font-family: "SimSun", "STSong", "Songti SC", "Noto Serif SC", serif !important;
  font-weight: 600 !important;
  padding: 5px 15px !important;
  font-size: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#waline .wl-btn:hover {
  background: #3498db !important;
}

/* ---- 灏忔寜閽?---- */
#waline .wl-btn:not(.primary) {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #999 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

#waline .wl-btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ccc !important;
}

/* ---- 澶村儚 ---- */
#waline .wl-avatar img {
  border-radius: 4px !important;
  width: 2rem !important;
  height: 2rem !important;
}

#waline .wl-avatar {
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  width: 2rem !important;
  height: 2rem !important;
}

/* ---- 绉诲姩绔?---- */
@media (max-width: 640px) {
  #waline {
    margin: 24px 0 0;
    padding: 12px 14px 16px !important;
  }
}

/* ===========================================================
   APlayer 鏆楅粦浜氬厠鍔?鈥斺€?娣卞害瀹氬埗
   =========================================================== */

/* 瀹瑰櫒鑳屾櫙 */
.aplayer.aplayer-fixed .aplayer-body {
  background: rgba(20, 20, 20, 0.7) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ccc !important;
}

/* 鎸夐挳 */
.aplayer .aplayer-icon {
  color: rgba(255, 255, 255, 0.65) !important;
  transition: color 0.2s ease;
}
.aplayer .aplayer-icon:hover {
  color: #fff !important;
}

/* 姝屽悕 & 姝屾墜 */
.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author {
  color: #ccc !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.aplayer .aplayer-info .aplayer-music .aplayer-title {
  color: #eee !important;
  font-weight: 600;
}
.aplayer .aplayer-info .aplayer-music .aplayer-author {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.75em;
}

/* 杩涘害鏉?*/
.aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
  background: rgba(255, 255, 255, 0.2) !important;
}
.aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-played {
  background: #2980b9 !important;
}
.aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
  background: #fff !important;
  border: 2px solid #2980b9 !important;
  box-shadow: 0 0 8px rgba(41, 128, 185, 0.4);
}

/* 闊抽噺鏉?*/
.aplayer .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {
  background: #2980b9 !important;
}

/* 姝岃瘝 鈥斺€?浜氬厠鍔涢珮浜尯 */
.aplayer .aplayer-lrc {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.aplayer .aplayer-lrc p {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.92rem;
  line-height: 2;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.aplayer .aplayer-lrc p.aplayer-lrc-current {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(41, 128, 185, 0.6);
}
.aplayer .aplayer-lrc:before,
.aplayer .aplayer-lrc:after {
  display: none !important;
}

/* 鏃堕棿 */
.aplayer .aplayer-info .aplayer-controller .aplayer-time {
  color: rgba(255, 255, 255, 0.5) !important;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon-back,
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon-forward,
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon-play,
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon-menu {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* 鑿滃崟鍒楄〃 */
.aplayer .aplayer-list {
  background: rgba(20, 20, 20, 0.85) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.aplayer .aplayer-list ol li {
  color: rgba(255, 255, 255, 0.55) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.aplayer .aplayer-list ol li:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}
.aplayer .aplayer-list ol li.aplayer-list-light {
  background: rgba(41, 128, 185, 0.2);
  color: #fff !important;
}

/* 灏侀潰 鈥斺€?鍦嗗舰 + 鏃嬭浆鍔ㄧ敾 */
.aplayer.aplayer-fixed .aplayer-pic {
  border-radius: 50% !important;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}
.aplayer.aplayer-fixed .aplayer-pic img {
  border-radius: 50% !important;
}

/* 鎾斁鏃舵棆杞姩鐢?*/
@keyframes aplayerRoll {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.aplayer.aplayer-fixed .aplayer-pic .aplayer-button {
  transition: all 0.3s ease;
}
.aplayer.aplayer-fixed .aplayer-pic img {
  animation: aplayerRoll 18s linear infinite;
  animation-play-state: paused;
}
.aplayer.aplayer-fixed.aplayer-played .aplayer-pic img {
  animation-play-state: running;
}

/* 杩蜂綘妯″紡閫傞厤 */
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
  background: rgba(20, 20, 20, 0.7) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ===========================================================
   寮哄埗鎵€鏈夊鍣ㄩ€忔槑锛屽幓鎺夋墍鏈夌殑鐜荤拑缃╁拰鐧藉簳
   =========================================================== */
.main, .main-inner, .post-single, .post-list, .comments, article, .container, .card, .bg-white, .glass-container, .profile-board, .page, .content, .post-content, .article-card, .article-detail {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* 纭繚鏂囧瓧鍦ㄥ鏉傝儗鏅笂鑳界湅娓?鈥?鏋佺畝绾噣鏃犵壒鏁?*/
body, a, h1, h2, h3, h4, h5, h6, p, span, li, div {
    font-family: 'Noto Serif SC', "Source Han Serif SC", "SongTi SC", "PT Serif", serif !important;
    color: #f5f5f5 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

h1, h2, h3 {
    font-weight: 700 !important;
}

/* 淇濊瘉闊充箰鎾斁鍣ㄥ拰璇勮鍖虹殑杈撳叆妗嗕笉鍙楅槾褰卞奖鍝嶏紝鍚﹀垯浼氬緢涓?*/
input, textarea, button, .aplayer * {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    color: inherit !important;
}

/* ===========================================================
   鏆村姏鍘婚櫎鎵€鏈夊彲鑳界殑瀹瑰櫒鑳屾櫙鍜岃竟妗?
   =========================================================== */
.main-inner, .post-single, .page, .content, article {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ===========================================================
   娆㈣繋椤?鈥?鍏ㄥ睆婊￠摵 Flexbox 甯冨眬
   =========================================================== */
.container--home {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-index-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw !important;
  height: 100vh !important;
  font-size: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.welcome-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 40px;
  animation: paperSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-index-container .welcome-card__avatar {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.welcome-card__avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
}

.main-index-container .welcome-card__name {
  font-size: 3rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px !important;
}

.main-index-container .welcome-card__bio {
  font-size: 1.8rem !important;
  opacity: 0.82;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 480px;
  text-align: center;
  margin-bottom: 30px !important;
}

.welcome-card__social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 8px;
}

.social-icon {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease, transform 0.25s ease;
}

.social-icon:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.welcome-card__enter {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all 0.35s ease;
}

.welcome-card__enter:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

/* ===========================================================
   绀句氦淇℃伅妯″潡 (social_header)
   =========================================================== */
.social-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 32px 36px;
  margin-bottom: 24px;
}

.social-header__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.social-header__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.social-header__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.social-header__bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.social-header__icons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

/* ===========================================================
   鏂囩珷娴佸垪琛?(posts_list_stream)
   =========================================================== */
.posts-stream {
  padding: 28px 36px;
  margin-bottom: 24px;
}

.posts-stream__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.posts-stream__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.posts-stream__link {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.posts-stream__link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.posts-stream__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  margin-left: 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.posts-stream__empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  padding: 20px 0;
}

/* ===========================================================
   涓婚〉鎾斁鍣ㄥ鍣?
   =========================================================== */
.home-player {
  padding: 32px 36px;
  margin-bottom: 24px;
}

/* ===========================================================
   绉诲姩绔搷搴斿紡閫傞厤 (灞忓箷瀹藉害 < 768px)
   =========================================================== */
@media screen and (max-width: 768px) {
  .main-index-container .welcome-card__name {
    font-size: 2rem !important;
    margin-bottom: 10px !important;
  }

  .main-index-container .welcome-card__bio {
    font-size: 1.2rem !important;
    padding: 0 20px !important;
  }

  .main-index-container .welcome-card__avatar {
    width: 100px !important;
    height: 100px !important;
  }

  .main-index-container .welcome-card__enter {
    font-size: 0.85rem !important;
    padding: 8px 28px !important;
  }

  .v4-home-container,
  .custom-transparent-home {
    width: 90% !important;
    padding-top: 20px !important;
  }
}

/* =========================================
   鎭㈠鍗曠瘒鏂囩珷璇︽儏椤电殑鐧藉簳鍗＄墖闃呰妯″紡
   ========================================= */
.article-detail,
.post-single {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  padding: 40px !important;
  margin-top: 40px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.article-detail .post-content p,
.article-detail .post-content li,
.article-detail .post-content blockquote,
.article-detail .post-content table,
.article-detail p,
.article-detail li,
.post-single .post-content p,
.post-single .post-content li,
.post-single .post-content blockquote,
.post-single .post-content table,
.post-single p,
.post-single li {
  color: #333333 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

.article-detail h1,
.article-detail h2,
.article-detail h3,
.article-detail h4,
.article-detail h5,
.article-detail h6,
.post-single h1,
.post-single h2,
.post-single h3,
.post-single h4,
.post-single h5,
.post-single h6 {
  color: #111111 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

.article-detail a,
.post-single a {
  color: #2a6df4 !important;
  text-shadow: none !important;
}

.article-detail .back-link,
.post-single .back-link {
  color: #555 !important;
}

@media screen and (max-width: 768px) {
  .article-detail,
  .post-single {
    padding: 20px !important;
    margin-top: 20px !important;
    border-radius: 8px !important;
  }
}

/* =========================================
   浠ｇ爜鍧楅珮浜繚鎶や笌缇庡寲 (VIP 鍖哄煙)
   ========================================= */
.post-single .highlight {
  background-color: #282c34 !important;
  border-radius: 8px !important;
  padding: 15px !important;
  margin: 20px 0 !important;
  overflow-x: auto !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

.post-single .highlight *,
.post-single pre,
.post-single pre span,
.post-single code {
  color: unset !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

.post-single p code,
.post-single li code {
  background-color: #f0f0f0 !important;
  color: #e83e8c !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
}

/* =========================================
   鎶㈡晳鏂囩珷鏍囬涓嬫柟鍏冩暟鎹紙鏃ユ湡銆佸垎绫绘爣绛撅級
   ========================================= */
.article-detail__meta,
.article-detail__meta span,
.article-detail__meta a,
.article-detail__tag {
  color: #666666 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* =========================================
   鎶㈡晳鏂囩珷搴曢儴缁撴潫鏍囧織
   ========================================= */
.post-end-sign {
  color: #aaaaaa !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* =========================================
   V4 璇勮鍖哄叏閫忔槑涓庣幓鐠冭川鎰熼噸鏋?
   ========================================= */
.comments, #twikoo, #tcomment, .tk-comments {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#tcomment *, #twikoo *, .comments * {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
  -webkit-text-stroke: 0 !important;
}

.tk-input .el-input__inner,
.tk-input .el-textarea__inner {
  background-color: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  border-radius: 6px !important;
}

.tk-input .el-input__inner::placeholder,
.tk-input .el-textarea__inner::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.tk-submit-action .el-button,
.tk-submit-action .el-button--primary {
  background-color: rgba(64, 158, 255, 0.8) !important;
  border: none !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

.tk-content {
  background: transparent !important;
}

input, textarea, button, .aplayer * {
  text-shadow: none !important;
  color: inherit !important;
}

/* =========================================
   V4 鏆楅粦妯″紡 (Dark Mode) 瀹岀編閫傞厤
   ========================================= */
.dark .article-detail,
.dark .post-single {
  background-color: rgba(30, 30, 30, 0.92) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark .article-detail .post-content p,
.dark .article-detail .post-content li,
.dark .article-detail .post-content blockquote,
.dark .article-detail .post-content table,
.dark .article-detail p,
.dark .article-detail li,
.dark .article-detail div,
.dark .post-single .post-content p,
.dark .post-single .post-content li,
.dark .post-single .post-content blockquote,
.dark .post-single .post-content table,
.dark .post-single p,
.dark .post-single li,
.dark .post-single div {
  color: #e0e0e0 !important;
}

.dark .article-detail h1,
.dark .article-detail h2,
.dark .article-detail h3,
.dark .article-detail h4,
.dark .article-detail h5,
.dark .article-detail h6,
.dark .post-single h1,
.dark .post-single h2,
.dark .post-single h3,
.dark .post-single h4,
.dark .post-single h5,
.dark .post-single h6 {
  color: #ffffff !important;
}

.dark .article-detail__meta,
.dark .article-detail__meta span,
.dark .article-detail__meta a,
.dark .article-detail__tag,
.dark .post-single .post-header span,
.dark .post-single .post-meta,
.dark .post-single .post-meta span,
.dark .post-single .post-meta a {
  color: #999999 !important;
}

.dark .article-detail a,
.dark .post-single a {
  color: #6db3f8 !important;
}

.dark .article-detail .back-link,
.dark .post-single .back-link {
  color: #888 !important;
}

.dark .post-end-sign {
  color: #555 !important;
}

@media screen and (max-width: 768px) {
  .dark .article-detail,
  .dark .post-single {
    border-radius: 8px !important;
  }
}

/* =========================================
   鏂囩珷涓撳睘璇勮鍖猴細鎭㈠鏍囧噯鍗＄墖鏍峰紡 (闅旂涓婚〉閫忔槑鐗规晥)
   ========================================= */
.article-detail #tcomment *,
.article-detail #twikoo *,
.article-detail .comments *,
.post-single #tcomment *,
.post-single #twikoo *,
.post-single .comments * {
  color: #333333 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

.article-detail .tk-input .el-input__inner,
.article-detail .tk-input .el-textarea__inner,
.post-single .tk-input .el-input__inner,
.post-single .tk-input .el-textarea__inner {
  background-color: #ffffff !important;
  border: 1px solid #dcdfe6 !important;
  color: #333333 !important;
  border-radius: 4px !important;
  text-shadow: none !important;
}

.article-detail .tk-input .el-input__inner::placeholder,
.article-detail .tk-input .el-textarea__inner::placeholder,
.post-single .tk-input .el-input__inner::placeholder,
.post-single .tk-input .el-textarea__inner::placeholder {
  color: #99a9bf !important;
}

.article-detail .tk-submit-action .el-button--primary,
.post-single .tk-submit-action .el-button--primary {
  background-color: #8bb9fb !important;
  color: #ffffff !important;
  border: none !important;
}

.dark .article-detail #tcomment *,
.dark .article-detail #twikoo *,
.dark .article-detail .comments *,
.dark .post-single #tcomment *,
.dark .post-single #twikoo *,
.dark .post-single .comments * {
  color: #e0e0e0 !important;
}

.dark .article-detail .tk-input .el-input__inner,
.dark .article-detail .tk-input .el-textarea__inner,
.dark .post-single .tk-input .el-input__inner,
.dark .post-single .tk-input .el-textarea__inner {
  background-color: #1a1a1a !important;
  border: 1px solid #444444 !important;
  color: #ffffff !important;
}

/* =========================================
   V4 闊充箰椤碉細鏈€缁堢З搴忛噸寤猴紙闃查噸鍙犲瀭鐩存祦锛?
   ========================================= */
.v4-music-container .aplayer {
  background: rgba(20, 20, 20, 0.7) !important;
  backdrop-filter: blur(15px) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 600px !important;
}

.v4-music-container .aplayer-body,
.v4-music-container .aplayer-info,
.v4-music-container .aplayer-lrc,
.v4-music-container .aplayer-lrc-contents {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.v4-music-container .aplayer-pic {
  width: 200px !important;
  height: 200px !important;
  margin: 0 auto 20px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
  float: none !important;
}

.v4-music-container .aplayer-music {
  text-align: center !important;
  margin-bottom: 15px !important;
}

.v4-music-container .aplayer-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #fff !important;
}

.v4-music-container .aplayer-author {
  font-size: 13px !important;
  color: #bbb !important;
}

.v4-music-container .aplayer-controller {
  margin-bottom: 20px !important;
}

.v4-music-container .aplayer-lrc {
  height: 150px !important;
  margin: 10px 0 20px !important;
  text-align: center !important;
  overflow: hidden !important;
}

.v4-music-container .aplayer-lrc p {
  font-size: 14px !important;
  line-height: 30px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s ease;
}

.v4-music-container .aplayer-lrc p.aplayer-lrc-current {
  font-size: 18px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.v4-music-container .aplayer-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  max-height: 200px !important;
  overflow-y: auto !important;
}

.v4-music-container .aplayer-list ol li {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 12px !important;
  color: #cccccc !important;
}

.v4-music-container .aplayer-list ol li:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.v4-music-container .aplayer-list ol li.aplayer-list-light {
  background: rgba(64, 158, 255, 0.2) !important;
  color: #ffffff !important;
}

/* hero-player 流线型优化 */
.home-player {
  max-width: 650px !important;
  width: 95% !important;
  margin: 20px auto 24px !important;
  padding: 24px 28px !important;
}

.home-player .hp-title {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.home-player .hp-artist {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.home-player .hp-lyrics {
  height: auto !important;
  min-height: 20px !important;
  line-height: 20px !important;
  margin: 4px 0 !important;
  overflow: visible !important;
}

.home-player .lyric-line {
  display: block !important;
  height: auto !important;
  line-height: 20px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100% !important;
  word-break: break-all !important;
}

.home-player .hp-btn,
.home-player .hp-btn-play {
  color: #ffffff !important;
}

/* =========================================
   V4 阅读区修复：白底卡片"文字显形"方案
========================================= */

.post-content,
.post-content p,
.post-content li,
.post-content table,
.post-content th,
.post-content td,
.post-content span,
.post-content strong,
.post-content em,
.article-detail__body,
.article-detail__body p,
.article-detail__body li,
.article-detail__body table,
.article-detail__body th,
.article-detail__body td,
.article-detail__body span,
.article-detail__body strong,
.article-detail__body em {
    color: #333333 !important;
}

.post-content table,
.article-detail__body table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}
.post-content th,
.post-content td,
.article-detail__body th,
.article-detail__body td {
    border: 1px solid #e0e0e0 !important;
    padding: 10px 15px !important;
}

.post-content th,
.article-detail__body th {
    background-color: #f8f9fa !important;
    font-weight: 700 !important;
}

.post-content a,
.article-detail__body a {
    color: #1a73e8 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(26, 115, 232, 0.3) !important;
}
.post-content a:hover,
.article-detail__body a:hover {
    border-bottom-color: #1a73e8 !important;
}

/* =========================================
   V4 溢出修复：长路径/长字符串全局强制换行
========================================= */

/* 覆盖所有文章内容容器及其子元素 */
.post-content,
.post-content *,
.article-detail__body,
.article-detail__body *,
.article-glass,
.article-glass * {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
}

/* 代码块保留不换行 + 横向滚动（代码块不应折断） */
.post-content pre,
.article-detail__body pre,
.article-glass pre {
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    overflow-x: auto !important;
}

.post-content pre code,
.article-detail__body pre code,
.article-glass pre code {
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    word-break: normal !important;
    white-space: pre !important;
}

/* 行内代码风格微调 */
.post-content code:not(pre code),
.article-detail__body code:not(pre code),
.article-glass code:not(pre code) {
    padding: 2px 6px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 0, 0, 0.05) !important;
}

/* 表格单元格也强制换行，避免长路径撑破表格 */
.post-content td,
.post-content th,
.article-detail__body td,
.article-detail__body th,
.article-glass td,
.article-glass th {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
}

/* =========================================
   V4 领域扩容：放大文章页阅读卡片
========================================= */

/* 1. 强行拉宽主容器（覆盖原有 800px 限制） */
.glass-container {
    max-width: 1100px !important; /* 核心：从默认的 800px 扩展到 1100px，你可以自行修改这个数值 */
    width: 90% !important;        /* 确保在窄屏设备上两边依然有 5% 的留白，不会顶格 */
}

/* 2. 优化文章卡片的内部边距（让卡片变大后，里面的字不至于太贴边） */
.article-detail {
    padding: 50px 60px !important; /* 增加上下左右的内边距，提升文字的"呼吸感" */
    border-radius: 12px !important; /* 顺手让卡片的圆角更平滑一点 */
}

/* 3. 针对移动端的小屏适配（防止手机上看边距太大） */
@media (max-width: 768px) {
    .glass-container {
        width: 95% !important;
    }
    .article-detail {
        padding: 25px 20px !important;
    }
}
