/* ==========================================================================
   萤屿 · 夜空亚克力主题（最后加载，覆盖前面所有视觉层）
   深色夜空 + 亚克力毛玻璃 + 网格纹理 + 萤火绿点缀
   ========================================================================== */

:root {
  --clover-bg: #06110f;
  --clover-panel: rgba(17, 33, 29, 0.52);
  --clover-panel-strong: rgba(20, 39, 33, 0.74);
  --clover-cell: rgba(22, 42, 36, 0.55);
  --clover-line: rgba(126, 224, 180, 0.14);
  --clover-line-soft: rgba(255, 255, 255, 0.06);
  --clover-text: #dcece5;
  --clover-text-soft: #b7cec6;
  --clover-muted: #83a29a;
  --clover-green: #4ade80;
  --clover-green-deep: #22a06b;
  --clover-mint: #7ef0c0;
  --clover-teal: #2dd4bf;
  --clover-radius: 24px;
}

html,
html[data-theme="light"],
html[data-theme="dark"],
html[data-theme="dimmed"],
html[data-theme="contrast"] {
  color-scheme: dark;
  --bg: var(--clover-bg);
  --bg-soft: rgba(22, 40, 35, 0.6);
  --ink: var(--clover-text);
  --ink-soft: var(--clover-text-soft);
  --muted: var(--clover-muted);
  --card: var(--clover-panel);
  --line: var(--clover-line);
  --pink: var(--clover-green);
  --pink-deep: var(--clover-green-deep);
  --pink-soft: rgba(74, 222, 128, 0.14);
  --blue: var(--clover-teal);
  --shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.85);
}

/* ---------------------------------------------------------------- 夜空底色 */

html { background: var(--clover-bg) !important; }

html body {
  background: transparent !important;
  color: var(--clover-text);
}

html body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 680px at 74% -12%, rgba(45, 176, 126, 0.18), transparent 62%),
    radial-gradient(880px 620px at 6% 18%, rgba(24, 96, 96, 0.22), transparent 66%),
    radial-gradient(700px 520px at 96% 72%, rgba(28, 74, 82, 0.24), transparent 70%),
    linear-gradient(180deg, #081713 0%, #06120f 48%, #040d0b 100%);
}

html body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 224, 180, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 180, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 12%, #000 0%, rgba(0, 0, 0, 0.65) 55%, transparent 92%);
  mask-image: radial-gradient(circle at 50% 12%, #000 0%, rgba(0, 0, 0, 0.65) 55%, transparent 92%);
}

::selection { background: rgba(74, 222, 128, 0.3); color: #eafff5; }

::-webkit-scrollbar-thumb { background: rgba(74, 222, 128, 0.32); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(74, 222, 128, 0.55); }

/* ---------------------------------------------------------------- 顶栏 */

html body .site-header {
  background: rgba(8, 21, 18, 0.62) !important;
  border-bottom: 1px solid var(--clover-line);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  box-shadow: 0 10px 30px -26px rgba(0, 0, 0, 0.9);
}
html body .site-header.is-scrolled {
  background: rgba(9, 24, 20, 0.86) !important;
}

.brand-avatar {
  border-radius: 12px !important;
  border: 1px solid rgba(126, 224, 180, 0.24) !important;
  box-shadow: 0 10px 24px -14px rgba(34, 160, 107, 0.9) !important;
}
.brand-text b {
  color: var(--clover-text);
  letter-spacing: 0.1em !important;
  font-family: var(--sans) !important;
}

.site-nav a {
  color: var(--clover-text-soft) !important;
  font-family: var(--sans);
  font-size: 13.5px;
}
.site-nav a:hover {
  color: #eafff5 !important;
  background: rgba(74, 222, 128, 0.1) !important;
}
.site-nav a.active {
  color: #04140f !important;
  background: linear-gradient(135deg, #63efb4, #2fbf7e) !important;
  box-shadow: 0 12px 26px -16px rgba(74, 222, 128, 0.9) !important;
  font-weight: 600;
}

html body .btn.ghost {
  color: var(--clover-text-soft) !important;
  border-color: var(--clover-line) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
html body .btn.ghost:hover {
  color: #eafff5 !important;
  border-color: rgba(74, 222, 128, 0.45) !important;
  background: rgba(74, 222, 128, 0.1) !important;
}
html body .btn.primary,
html body .btn:not(.ghost):not(.small):not(.ok):not(.danger) {
  background: linear-gradient(135deg, #5ce3a5, #22a06b 62%, #157a52) !important;
  color: #04140f !important;
  font-weight: 600;
  box-shadow: 0 14px 30px -18px rgba(74, 222, 128, 0.95) !important;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clover-line) !important;
  color: var(--clover-text-soft);
}

.user-avatar {
  border: 1px solid rgba(126, 224, 180, 0.3) !important;
  background: linear-gradient(135deg, #63efb4, #157a52) !important;
  box-shadow: 0 10px 22px -12px rgba(34, 160, 107, 0.9) !important;
}
html body .user-dropdown {
  background: rgba(11, 26, 22, 0.94) !important;
  border: 1px solid var(--clover-line) !important;
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.user-dropdown-item { color: var(--clover-text-soft) !important; }
.user-dropdown-item:hover { background: rgba(74, 222, 128, 0.12) !important; color: #eafff5 !important; }
.user-dropdown-head { border-bottom-color: var(--clover-line) !important; }

/* ---------------------------------------------------------------- 通用面板 */

html body .side-card,
html body .friend-links,
html body .card-surface,
html body .announce,
html body .ui-dialog,
html body .music-box,
html body .empty-state {
  background: var(--clover-panel) !important;
  border: 1px solid var(--clover-line) !important;
  border-radius: var(--clover-radius) !important;
  backdrop-filter: saturate(150%) blur(22px);
  -webkit-backdrop-filter: saturate(150%) blur(22px);
  box-shadow:
    0 24px 54px -36px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  color: var(--clover-text);
}

html body .side-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 62px -34px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.page-wrap { max-width: 1220px; }

/* 区块标题 */
.section-head h2,
.section-title h2,
.toolbar h2 {
  color: var(--clover-text) !important;
  font-family: var(--sans) !important;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.section-head h2::before,
.section-title h2::before {
  background: linear-gradient(180deg, #63efb4, #22a06b) !important;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.55);
}
.section-head p {
  color: var(--clover-muted) !important;
  letter-spacing: 0.22em !important;
  font-family: var(--sans);
}
.section-head .more { color: var(--clover-muted) !important; }
.section-head .more:hover { color: var(--clover-green) !important; }

/* ---------------------------------------------------------------- Hero */

.hero-clover {
  position: relative;
  overflow: hidden;
  min-height: min(74vh, 660px);
  display: grid;
  place-items: center;
  isolation: isolate;
  margin-bottom: clamp(14px, 3vw, 34px);
  border-bottom: 1px solid rgba(126, 224, 180, 0.08);
}

.clover-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(46, 160, 122, 0.28), transparent 62%),
    linear-gradient(180deg, #0a201c 0%, #0a1b19 42%, #061211 100%);
  transition: background 1.4s ease;
}

/* 夜晚元素 */
.hero-stars {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 28% 8%, rgba(210, 245, 230, 0.7), transparent),
    radial-gradient(1.6px 1.6px at 44% 26%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.1px 1.1px at 61% 12%, rgba(220, 245, 235, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 76% 22%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 88% 9%, rgba(210, 240, 230, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 33% 42%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 69% 38%, rgba(255, 255, 255, 0.5), transparent);
  animation: hero-twinkle 5.5s ease-in-out infinite alternate;
}
@keyframes hero-twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.hero-moon {
  position: absolute;
  top: 12%;
  right: 13%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f4ffe9, #cfe9c9 58%, #9fbfa3 100%);
  box-shadow: 0 0 42px rgba(214, 255, 210, 0.45), 0 0 110px rgba(126, 224, 180, 0.25);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-moon::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 255, 205, 0.22), transparent 68%);
}

.hero-cloud {
  position: absolute;
  height: 34px;
  border-radius: 999px;
  background: rgba(180, 214, 205, 0.16);
  filter: blur(0.4px);
  animation: hero-cloud-drift 46s linear infinite;
}
.hero-cloud::before,
.hero-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.hero-cloud::before { width: 46px; height: 46px; left: 16px; top: -22px; }
.hero-cloud::after { width: 30px; height: 30px; right: 18px; top: -14px; }
.hero-cloud.c1 { width: 132px; left: 6%; top: 20%; animation-duration: 52s; opacity: 0.5; }
.hero-cloud.c2 { width: 96px; left: 58%; top: 13%; animation-duration: 64s; opacity: 0.38; animation-delay: -18s; }
.hero-cloud.c3 { width: 168px; left: 76%; top: 30%; animation-duration: 72s; opacity: 0.3; animation-delay: -32s; }
@keyframes hero-cloud-drift {
  from { transform: translateX(-40px); }
  to { transform: translateX(90px); }
}

.hero-hills,
.hero-trees {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.hero-hills { height: clamp(120px, 22vw, 240px); z-index: 1; }
.hero-hill {
  position: absolute;
  bottom: 0;
  background: #081b18;
  clip-path: polygon(0 100%, 0 62%, 16% 34%, 30% 60%, 44% 24%, 58% 58%, 72% 30%, 88% 62%, 100% 40%, 100% 100%);
}
.hero-hill.h1 { left: -6%; width: 58%; height: 100%; opacity: 0.9; }
.hero-hill.h2 { right: -8%; width: 62%; height: 88%; opacity: 0.72; background: #091f1b; }
.hero-hill.h3 { left: 24%; width: 50%; height: 64%; opacity: 0.5; background: #0b2722; }

.hero-trees { height: clamp(70px, 12vw, 140px); z-index: 2; }
.hero-tree {
  position: absolute;
  bottom: 0;
  width: 34px;
  height: 100%;
  background: #04100e;
  clip-path: polygon(50% 0, 66% 34%, 58% 34%, 78% 68%, 62% 68%, 88% 100%, 12% 100%, 38% 68%, 22% 68%, 42% 34%, 34% 34%);
}
.hero-tree.t1 { left: 12%; height: 92%; opacity: 0.85; }
.hero-tree.t2 { left: 30%; height: 70%; opacity: 0.6; }
.hero-tree.t3 { right: 18%; height: 100%; opacity: 0.8; }
.hero-tree.t4 { right: 34%; height: 64%; opacity: 0.55; }

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 60vw;
  height: 46vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(64, 214, 152, 0.28), transparent 66%);
  filter: blur(10px);
  z-index: 2;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.hero-clover-inner {
  position: relative;
  z-index: 4;
  width: min(860px, 92vw);
  padding: clamp(70px, 11vw, 118px) 20px clamp(58px, 8vw, 88px);
  text-align: center;
}

.hero-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: rgba(126, 224, 180, 0.62);
  text-transform: uppercase;
}

.hero-pixel-title {
  margin: 16px 0 6px;
  font-family: "Courier New", "Consolas", var(--mono);
  font-size: clamp(38px, 8.4vw, 92px);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.12;
  color: #0a1d18;
  -webkit-text-stroke: 2.5px #63efb4;
  paint-order: stroke fill;
  text-shadow:
    0 0 18px rgba(99, 239, 180, 0.4),
    0 0 48px rgba(52, 200, 140, 0.26),
    0 7px 0 rgba(0, 0, 0, 0.35);
}

.hero-pixel-sub {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(11px, 1.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.52em;
  color: #2f9b72;
  text-shadow: 0 0 16px rgba(74, 222, 128, 0.45);
}

.hero-desc {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(220, 236, 229, 0.72);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.hero-chips span {
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--clover-line);
  background: rgba(20, 40, 34, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(220, 240, 232, 0.8);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  margin-top: 28px;
  padding: 12px 28px;
  border-radius: 18px;
  border: 1px solid var(--clover-line);
  background: rgba(18, 36, 31, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero-stats div { text-align: center; }
.hero-stats b {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.2;
  color: #8ff5c4;
}
.hero-stats span { font-size: 10.5px; letter-spacing: 0.18em; color: var(--clover-muted); }

.hero-down {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(126, 224, 180, 0.65);
  transition: color 0.24s ease;
}
.hero-down i { font-style: normal; animation: hero-bounce 1.8s ease-in-out infinite; }
.hero-down:hover { color: #8ff5c4; }
@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* 白天模式 */
.hero-clover[data-mode="day"] .clover-sky {
  background:
    radial-gradient(110% 80% at 50% -10%, rgba(214, 255, 230, 0.55), transparent 60%),
    linear-gradient(180deg, #9fd8c4 0%, #7fc3b3 38%, #4e9b8b 72%, #2f6f63 100%);
}
.hero-clover[data-mode="day"] .hero-stars,
.hero-clover[data-mode="day"] .hero-moon { opacity: 0; }
.hero-clover[data-mode="day"] .hero-cloud {
  background: rgba(255, 255, 255, 0.72);
  opacity: 0.85 !important;
}
.hero-clover[data-mode="day"] .hero-hill { background: #14483f; }
.hero-clover[data-mode="day"] .hero-hill.h2 { background: #1a5a4d; }
.hero-clover[data-mode="day"] .hero-tree { background: #0d372f; }
.hero-clover[data-mode="day"] .hero-glow {
  background: radial-gradient(ellipse at center, rgba(255, 255, 220, 0.55), transparent 66%);
}
.hero-clover[data-mode="day"] .hero-pixel-title {
  color: #0a3a2c;
  -webkit-text-stroke-color: #d6fff0;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.65), 0 7px 0 rgba(6, 50, 38, 0.28);
}
.hero-clover[data-mode="day"] .hero-pixel-sub { color: #14513f; text-shadow: 0 0 16px rgba(255, 255, 255, 0.5); }
.hero-clover[data-mode="day"] .hero-kicker { color: rgba(9, 60, 46, 0.6); }
.hero-clover[data-mode="day"] .hero-desc { color: rgba(8, 44, 35, 0.78); }
.hero-clover[data-mode="day"] .hero-chips span {
  background: rgba(255, 255, 255, 0.34);
  border-color: rgba(255, 255, 255, 0.55);
  color: #0b3b2e;
}
.hero-clover[data-mode="day"] .hero-stats {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-clover[data-mode="day"] .hero-stats b { color: #0b4a37; }
.hero-clover[data-mode="day"] .hero-stats span { color: rgba(10, 52, 40, 0.68); }
.hero-clover[data-mode="day"] .hero-down { color: rgba(10, 60, 46, 0.65); }

/* ---------------------------------------------------------------- 精选轮播 */

.featured-stage {
  border-radius: var(--clover-radius) !important;
  border: 1px solid var(--clover-line);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95) !important;
  background: var(--clover-cell);
}
.featured-slide img { filter: saturate(0.92) brightness(0.92); }
.featured-info h3 { font-family: var(--sans) !important; }
.featured-dots button.active { background: #7ef0c0; }

/* ---------------------------------------------------------------- 文章卡片 */

.post-card {
  border-radius: var(--clover-radius) !important;
  border: 1px solid var(--clover-line) !important;
  background: var(--clover-cell) !important;
  box-shadow: 0 24px 54px -40px rgba(0, 0, 0, 0.95) !important;
}
.post-card:hover {
  border-color: rgba(74, 222, 128, 0.34) !important;
  box-shadow: 0 30px 64px -38px rgba(12, 90, 66, 0.9) !important;
}
.post-cover::after { background: rgba(4, 16, 13, 0.12); }
.post-overlay {
  background: linear-gradient(to top, rgba(3, 12, 10, 0.92), rgba(3, 12, 10, 0.42) 48%, transparent 78%) !important;
}
.post-foot .item-tag { background: rgba(126, 224, 180, 0.16) !important; }
.post-foot .item-tag:hover { background: rgba(74, 222, 128, 0.7) !important; color: #04140f !important; }
.post-foot .comments { color: #8ff5c4 !important; }

/* 搜索框 / 标签 */
.searchbar input {
  background: rgba(14, 30, 25, 0.7) !important;
  border-color: var(--clover-line) !important;
  color: var(--clover-text) !important;
}
.searchbar input:focus {
  border-color: rgba(74, 222, 128, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12) !important;
}
.searchbar::before { filter: grayscale(1) brightness(1.6); }
.filter-tag {
  background: rgba(16, 32, 27, 0.65) !important;
  border-color: var(--clover-line) !important;
  color: var(--clover-text-soft) !important;
}
.filter-tag:hover { color: #8ff5c4 !important; border-color: rgba(74, 222, 128, 0.4) !important; }
.filter-tag.active {
  color: #04140f !important;
  background: linear-gradient(135deg, #63efb4, #22a06b) !important;
  border-color: transparent !important;
}

.list-hint { color: var(--clover-muted) !important; }

/* ---------------------------------------------------------------- 侧栏 */

.side { gap: 16px; }
.side-card { padding: 20px; }
.side-card h3 {
  color: var(--clover-text) !important;
  font-family: var(--sans) !important;
  font-size: 13.5px !important;
  letter-spacing: 0.08em;
}
.side-card h3::before {
  background: linear-gradient(180deg, #63efb4, #22a06b) !important;
}
.side-card h3 i { color: var(--clover-muted) !important; }

/* 作者卡 */
.author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px !important;
}
.author-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(126, 224, 180, 0.24);
  box-shadow: 0 12px 26px -16px rgba(34, 160, 107, 0.9);
}
.author-info { min-width: 0; flex: 1; }
.author-info b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  color: var(--clover-text);
}
.author-badge {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-style: normal;
  font-size: 9px;
  color: #04140f;
  background: linear-gradient(135deg, #7ef0c0, #2fbf7e);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}
.author-info p {
  margin: 4px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--clover-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.author-arrow {
  flex: 0 0 auto;
  color: rgba(126, 224, 180, 0.5);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.24s ease, color 0.24s ease;
}
.author-card:hover .author-arrow { transform: translateX(3px); color: #8ff5c4; }

/* 天气卡 */
html body .weather-card {
  padding: 20px !important;
  background: linear-gradient(160deg, rgba(24, 46, 39, 0.62), rgba(13, 26, 23, 0.62)) !important;
}
html body .weather-card::before { display: none; }
.wx-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.wx-date {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--clover-muted);
}
.wx-glyph {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  opacity: 0.9;
}
.wx-glyph svg { width: 100%; height: 100%; }
.wx-greet {
  margin: 10px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clover-text);
}
.wx-greet i { font-style: normal; font-size: 16px; }
.wx-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wx-temp {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 0.95;
  color: #f2fff9;
}
.wx-temp span { font-size: 13px; font-weight: 500; color: var(--clover-muted); margin-top: 6px; }
.wx-place { min-width: 0; font-size: 12px; line-height: 1.7; color: var(--clover-text-soft); }
.wx-place b { display: flex; align-items: center; gap: 5px; font-weight: 500; }
.wx-place p { margin: 1px 0 0; color: var(--clover-muted); }
.wx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--clover-line-soft);
}
.wx-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  color: var(--clover-muted);
}
.wx-stat i { font-style: normal; font-size: 12px; opacity: 0.85; }
.wx-stat b {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--clover-text-soft);
  white-space: nowrap;
}

/* 统计 2×2 彩色格 */
.stat-grid { gap: 12px; }
.stat-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}
.stat-cell::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
}
.stat-icon { font-size: 14px; line-height: 1; }
.stat-cell b {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #f2fff9;
}
.stat-cell > span:last-child { font-size: 10.5px; color: rgba(220, 236, 229, 0.62); }
.stat-cell.tone-green { background: linear-gradient(150deg, rgba(34, 120, 84, 0.5), rgba(20, 60, 44, 0.5)); }
.stat-cell.tone-teal { background: linear-gradient(150deg, rgba(24, 112, 112, 0.5), rgba(14, 54, 56, 0.5)); }
.stat-cell.tone-blue { background: linear-gradient(150deg, rgba(34, 78, 130, 0.5), rgba(18, 44, 74, 0.5)); }
.stat-cell.tone-purple { background: linear-gradient(150deg, rgba(70, 62, 132, 0.5), rgba(38, 32, 74, 0.5)); }

/* 最新文章 */
.recent-head,
.latest-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.recent-icon,
.latest-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(34, 160, 107, 0.18);
  border: 1px solid rgba(126, 224, 180, 0.22);
  font-size: 14px;
}
.recent-head div,
.latest-head div { display: flex; flex-direction: column; line-height: 1.3; }
.recent-head b,
.latest-head b { font-size: 13.5px; letter-spacing: 0.05em; color: var(--clover-text); }
.recent-head small,
.latest-head small { font-size: 10.5px; letter-spacing: 0.04em; color: var(--clover-muted); }

.recent-list { display: flex; flex-direction: column; gap: 14px; }
.recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.recent-date {
  flex: 0 0 auto;
  width: 42px;
  padding: 6px 0 5px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(126, 224, 180, 0.2);
  background: rgba(26, 58, 48, 0.7);
  line-height: 1.1;
}
.recent-date b {
  display: block;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: #d7fff0;
}
.recent-date span { font-size: 9.5px; color: var(--clover-muted); }
.recent-info { min-width: 0; flex: 1; }
.recent-info b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--clover-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-info small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--clover-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-arrow { flex: 0 0 auto; color: rgba(126, 224, 180, 0.42); font-size: 17px; }
.recent-item:hover .recent-info b { color: #8ff5c4; }
.recent-item:hover .recent-arrow { color: #8ff5c4; }

/* 开发者迭代频率热力图 */
.heatmap { overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.heatmap::-webkit-scrollbar { display: none; }
.heat-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 9px);
  gap: 3px;
  width: max-content;
}
.heat-cell {
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.16s ease, background 0.16s ease;
}
.heat-cell.l1 { background: rgba(52, 170, 122, 0.35); }
.heat-cell.l2 { background: rgba(60, 200, 140, 0.55); }
.heat-cell.l3 { background: rgba(90, 228, 160, 0.78); }
.heat-cell.l4 { background: #7ef0c0; box-shadow: 0 0 7px rgba(126, 240, 192, 0.7); }
.heat-cell:hover { transform: scale(1.35); }
.heat-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--clover-muted);
}
.heat-legend .levels { display: inline-flex; align-items: center; gap: 4px; }
.heat-legend .levels i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.heat-legend .levels i:nth-child(2) { background: rgba(52, 170, 122, 0.4); }
.heat-legend .levels i:nth-child(3) { background: rgba(90, 228, 160, 0.7); }
.heat-legend .levels i:nth-child(4) { background: #7ef0c0; }

/* ---------------------------------------------------------------- 友链 */

.friend-links {
  margin-top: 34px;
  padding: 30px clamp(20px, 3vw, 38px) 26px !important;
  border-radius: var(--clover-radius) !important;
  background: var(--clover-panel) !important;
  position: relative;
  overflow: hidden;
}
.friend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}
.friend-title { display: flex; align-items: center; gap: 12px; }
.friend-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(126, 224, 180, 0.28);
  background: rgba(34, 160, 107, 0.16);
  color: #8ff5c4;
  font-size: 15px;
}
.friend-title h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clover-text);
}
.friend-title p {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--clover-muted);
  text-transform: uppercase;
}
.friend-viewall {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--clover-muted);
  transition: color 0.24s ease, transform 0.24s ease;
}
.friend-viewall:hover { color: #8ff5c4; transform: translateX(3px); }

.friend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(22px, 5vw, 64px);
  padding-bottom: 24px;
}
.friend-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 116px;
  border: 0;
  background: transparent;
  transition: transform 0.28s ease;
}
.friend-chip:hover { transform: translateY(-4px); }
.friend-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #04140f;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  border: 1px solid rgba(126, 224, 180, 0.22);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.9);
}
.friend-logo.tone-rl { background: linear-gradient(145deg, #7ef0c0, #2fbf7e 60%, #157a52); }
.friend-logo.tone-trae { background: linear-gradient(145deg, #9ee7ff, #38bdf8 58%, #2563eb); }
.friend-logo.tone-lumiya { background: linear-gradient(145deg, #ffd9e6, #ff9ab9 58%, #a86bff); color: #3a1024; }
.friend-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clover-text);
}
.friend-chip small {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--clover-muted);
}
.friend-chip:hover .friend-name { color: #8ff5c4; }

.friend-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  line-height: 0;
  opacity: 0.55;
}
.friend-wave svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------------- 页脚 */

html body .site-footer {
  background: transparent !important;
  border-top: 1px solid var(--clover-line) !important;
  color: var(--clover-muted) !important;
}
.site-footer a { color: var(--clover-text-soft); }
.site-footer a:hover { color: var(--clover-green) !important; }
.footer-credit a { border-bottom-color: rgba(74, 222, 128, 0.35) !important; }

/* 弹窗 / 输入 */
html body .ui-field input,
html body .ui-field select,
html body .ui-field textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--clover-line) !important;
  color: var(--clover-text) !important;
}
.ui-dialog-head { border-bottom-color: var(--clover-line) !important; }
.ui-mask { background: rgba(2, 10, 8, 0.62) !important; }
.toast { background: rgba(10, 28, 22, 0.94) !important; color: #eafff5 !important; }

/* 其他页面通用卡片兜底 */
html body .post-body,
html body .post-toc,
html body .post-comments,
html body .detail-body,
html body .comment-item,
html body .editor-card,
html body .score-cell,
html body .cw-upload,
html body .cw-list-card {
  background: var(--clover-panel) !important;
  border-color: var(--clover-line) !important;
  color: var(--clover-text) !important;
}

/* ---------------------------------------------------------------- 布局与游戏库 */

.home-layout { grid-template-columns: minmax(0, 1fr) 344px !important; gap: 24px !important; }
.side { position: static !important; }
.side-hint, .hero-bio { color: var(--clover-muted) !important; font-size: 11.5px; line-height: 1.7; }

.lib-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--clover-line-soft);
}
.lib-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(126, 224, 180, 0.24);
}
.lib-meta { min-width: 0; }
.lib-meta b { display: block; font-size: 12.5px; letter-spacing: 0.03em; color: var(--clover-text); }
.lib-meta span { font-size: 10.5px; color: var(--clover-muted); }

.lib-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}
.lib-game { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lib-cover {
  position: relative;
  aspect-ratio: 460 / 215;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clover-line-soft);
}
.lib-cover.is-empty::before {
  content: "STEAM";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--clover-muted);
}
.lib-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.lib-game:hover .lib-cover img { transform: scale(1.07); }
.lib-hours {
  position: absolute;
  z-index: 2;
  left: 6px;
  bottom: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(4, 14, 11, 0.78);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 9.5px;
  color: #a9f7d2;
}
.lib-name {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--clover-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lib-sub { font-size: 10px; color: var(--clover-muted); }
.lib-more {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  text-align: right;
  color: rgba(126, 224, 180, 0.7);
}
.lib-more:hover { color: #8ff5c4; }

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 1080px) {
  .home-layout { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 760px) {
  .hero-clover { min-height: 64vh; }
  .hero-clover-inner { padding: 66px 16px 54px; }
  .hero-pixel-title { -webkit-text-stroke-width: 1.8px; letter-spacing: 0.1em; }
  .hero-pixel-sub { letter-spacing: 0.34em; }
  .hero-stats { gap: 20px; padding: 10px 18px; }
  .hero-moon { width: 52px; height: 52px; right: 8%; }
  .friend-row { gap: 20px 28px; }
  .friend-chip { width: 92px; }
  .friend-logo { width: 48px; height: 48px; border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stars,
  .hero-cloud { animation: none !important; }
  .hero-canvas { opacity: 0; }
}

/* ==========================================================================
   v2 · 对齐 srasxe.vip 侧栏实现
   - 卡片：80% 面板 + blur-xl + 细边框 + 柔光投影 + 角落光晕
   - 图标：统一内联 SVG（替换 emoji / 字母块）
   - 游戏库：站内 /games 详情页
   ========================================================================== */

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--clover-mint);
}
.ic-fill { fill: currentColor; stroke: none; }

/* 侧栏卡片：更接近参考站的亚克力质感 */
html body .side-card {
  background: rgba(16, 31, 27, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  box-shadow:
    0 18px 42px -30px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
html body .side-card::before {
  content: "";
  position: absolute;
  top: -58px;
  right: -48px;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 224, 180, 0.22), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}
html body .side-card > * { position: relative; z-index: 1; }
html body .side-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 224, 180, 0.26) !important;
  box-shadow:
    0 24px 50px -28px rgba(0, 0, 0, 0.98),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* 卡片标题：图标 + 标题 + 英文小字 */
.side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.side-card h3::before { display: none; }
.side-card h3 .ic {
  width: 16px;
  height: 16px;
  color: #8ff5c4;
  filter: drop-shadow(0 0 6px rgba(126, 224, 180, 0.45));
}
.side-card h3 i {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.18em;
  color: rgba(126, 224, 180, 0.5) !important;
}

/* 统计格图标 */
.stat-cell .ic {
  width: 17px;
  height: 17px;
  color: rgba(240, 255, 249, 0.92);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.stat-cell b { margin-top: 10px; }

/* 最新文章 / 迭代频率标题图标 */
.recent-head .recent-icon,
.latest-head .recent-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(126, 224, 180, 0.18);
  font-size: 0;
}
.recent-head .recent-icon .ic {
  width: 15px;
  height: 15px;
}

/* 友链：官方图标 */
.friend-logo {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.friend-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.friend-badge .ic {
  width: 17px;
  height: 17px;
  color: #8ff5c4;
}

/* ---------------------------------------------------------------- 游戏库页 */

.games-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 108px 24px 64px;
}
.games-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(16, 31, 27, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  box-shadow: 0 22px 52px -34px rgba(0, 0, 0, 0.95);
}
.games-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 192, 244, 0.18), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}
.games-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  position: relative;
}
.games-profile img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.games-profile b { display: block; font-size: 16px; letter-spacing: 0.04em; color: var(--clover-text); }
.games-profile span { font-size: 11.5px; color: var(--clover-muted); }
.games-kpis {
  display: flex;
  gap: 12px;
  margin-left: auto;
  position: relative;
}
.games-kpi {
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.games-kpi b {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.2;
  color: #f2fff9;
}
.games-kpi span { font-size: 10.5px; color: var(--clover-muted); }

.games-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 16px;
}
.games-toolbar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clover-text);
}
.games-toolbar h1 small {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--clover-muted);
}
.games-search input {
  width: min(260px, 62vw);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 31, 27, 0.6);
  color: var(--clover-text);
  font-family: var(--sans);
  font-size: 12px;
  outline: none;
  backdrop-filter: blur(10px);
}
.games-search input:focus { border-color: rgba(126, 224, 180, 0.4); }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
  gap: 16px;
}
.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(16, 31, 27, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 224, 180, 0.28);
  box-shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.95);
}
.game-cover {
  position: relative;
  aspect-ratio: 460 / 215;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.game-card:hover .game-cover img { transform: scale(1.05); }
.game-hours {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(4, 16, 13, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 10.5px;
  color: #e8fff5;
}
.game-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
}
.game-body b {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--clover-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-body small { font-size: 10.5px; color: var(--clover-muted); }
.game-body small.is-recent { color: rgba(126, 224, 180, 0.75); }

.games-empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--clover-muted);
  font-size: 12.5px;
}

@media (max-width: 760px) {
  .games-page { padding: 92px 16px 48px; }
  .games-hero { padding: 20px; }
  .games-kpis { margin-left: 0; width: 100%; }
  .games-kpi { flex: 1; min-width: 0; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}


/* ==========================================================================
   音乐播放器（NapCat 风格：旋转唱片 + 毛玻璃面板 + 悬浮胶囊）
   ========================================================================== */

.nc-player {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 352px;
  z-index: 960;
  padding: 14px 14px 10px;
  border-radius: 26px;
  border: 1px solid rgba(126, 224, 180, 0.2);
  background: linear-gradient(158deg, rgba(22, 44, 38, 0.94), rgba(8, 20, 17, 0.97));
  box-shadow:
    0 36px 80px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  color: var(--clover-text);
  overflow: hidden;
  animation: nc-pop 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes nc-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.nc-ambient {
  position: absolute;
  inset: -34%;
  background-size: cover;
  background-position: center;
  filter: blur(46px) saturate(160%);
  opacity: 0.3;
  transform: scale(1.15);
  pointer-events: none;
  transition: background-image 0.6s ease;
}
.nc-player::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 17, 15, 0.42), rgba(5, 13, 11, 0.9) 62%, rgba(4, 11, 9, 0.96));
}
.nc-inner { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- 头部 */

.nc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 8px 4px;
}
.nc-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(206, 238, 226, 0.72);
}
.nc-brand i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ef0c0;
  box-shadow: 0 0 10px rgba(126, 224, 180, 0.9);
  animation: nc-dot 2.4s ease-in-out infinite;
}
@keyframes nc-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
.nc-head-btns { display: flex; gap: 2px; }
.nc-head-btns button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(206, 238, 226, 0.6);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.nc-head-btns button:hover { background: rgba(126, 224, 180, 0.14); color: #eafff5; }
.nc-head-btns svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- 唱片 + 信息 */

.nc-stage { display: flex; align-items: center; gap: 14px; padding: 2px 4px 10px; }

.nc-disc {
  position: relative;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4px),
    conic-gradient(from 210deg, #0a1815, #1b3a31 22%, #0a1815 44%, #16302a 68%, #0a1815 100%);
  box-shadow:
    0 18px 34px -18px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(126, 224, 180, 0.18) inset;
  animation: nc-spin 16s linear infinite;
  animation-play-state: paused;
}
.nc-player.is-playing .nc-disc { animation-play-state: running; }
@keyframes nc-spin { to { transform: rotate(360deg); } }

.nc-disc img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(6, 17, 15, 0.7);
  background: radial-gradient(circle at 40% 32%, #2c5a4c, #0d201b);
}
.nc-disc-hole {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #07110f;
  box-shadow: 0 0 0 2px rgba(126, 224, 180, 0.3);
}

.nc-meta { min-width: 0; flex: 1; }
.nc-meta b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-meta small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--clover-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-eq { display: flex; align-items: flex-end; gap: 3px; height: 14px; margin-top: 8px; }
.nc-eq i {
  width: 3px;
  height: 32%;
  border-radius: 2px;
  background: linear-gradient(180deg, #a8ffdc, #2fbf7e);
  opacity: 0.45;
}
.nc-player.is-playing .nc-eq i {
  opacity: 1;
  animation: nc-eq 0.86s ease-in-out infinite alternate;
}
.nc-eq i:nth-child(2) { animation-delay: 0.12s; }
.nc-eq i:nth-child(3) { animation-delay: 0.24s; }
.nc-eq i:nth-child(4) { animation-delay: 0.36s; }
.nc-eq i:nth-child(5) { animation-delay: 0.48s; }
@keyframes nc-eq {
  from { height: 22%; }
  to { height: 100%; }
}

/* ---------------------------------------------------------------- 进度 */

.nc-progress {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
}
.nc-progress span {
  font-size: 10.5px;
  color: rgba(183, 206, 198, 0.7);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
}
.nc-progress span:last-child { text-align: right; }

.nc-player input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  background: transparent;
  cursor: pointer;
}
.nc-player input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    #7ef0c0 0 var(--nc-p, 0%),
    rgba(255, 255, 255, 0.14) var(--nc-p, 0%) 100%);
}
.nc-player input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.nc-player input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: #7ef0c0;
}
.nc-player input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3px;
  border-radius: 50%;
  background: #d6ffee;
  box-shadow: 0 0 10px rgba(126, 224, 180, 0.9);
  opacity: 0;
  transition: opacity 0.16s ease;
}
.nc-player:hover input[type="range"]::-webkit-slider-thumb,
.nc-player input[type="range"]:focus::-webkit-slider-thumb { opacity: 1; }
.nc-player input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #d6ffee;
}

/* ---------------------------------------------------------------- 控制条 */

.nc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px;
}
.nc-main-ctrls { display: flex; align-items: center; gap: 6px; }
.nc-nudge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(214, 240, 231, 0.78);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.nc-nudge:hover { background: rgba(126, 224, 180, 0.14); color: #eafff5; transform: scale(1.05); }
.nc-nudge svg { width: 17px; height: 17px; }

.nc-play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, #8dffcd, #34c98c 60%, #1a8f62);
  color: #04140f;
  cursor: pointer;
  box-shadow: 0 14px 26px -14px rgba(74, 222, 128, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nc-play:hover { transform: scale(1.06); box-shadow: 0 18px 30px -14px rgba(74, 222, 128, 1); }
.nc-play:active { transform: scale(0.96); }
.nc-play svg { width: 20px; height: 20px; }
.nc-play [data-nc-icon-play] { display: inline-grid; margin-left: 2px; }
.nc-play [data-nc-icon-pause] { display: inline-grid; }

.nc-vol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: rgba(183, 206, 198, 0.62);
}
.nc-vol svg { width: 15px; height: 15px; flex: none; }
.nc-vol input[type="range"] { width: 62px; }
.nc-vol input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg,
    rgba(126, 224, 180, 0.85) 0 var(--nc-p, 78%),
    rgba(255, 255, 255, 0.14) var(--nc-p, 78%) 100%);
}
.nc-vol input[type="range"]::-webkit-slider-thumb { width: 8px; height: 8px; margin-top: -2.5px; }

/* ---------------------------------------------------------------- 标签页 + 列表 */

.nc-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(126, 224, 180, 0.12);
}
.nc-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(183, 206, 198, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.nc-tabs button:hover { color: #eafff5; background: rgba(126, 224, 180, 0.1); }
.nc-tabs button.active {
  color: #d9fff1;
  background: rgba(126, 224, 180, 0.14);
  box-shadow: 0 0 0 1px rgba(126, 224, 180, 0.18) inset;
}
.nc-tabs em {
  font-style: normal;
  margin-left: 4px;
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(126, 224, 180, 0.18);
  color: #bfffe4;
}
.nc-tabs .nc-clear { margin-left: auto; color: rgba(255, 160, 160, 0.7); }
.nc-tabs .nc-clear:hover { color: #ffb4b4; background: rgba(255, 120, 120, 0.12); }

.nc-search { display: flex; gap: 7px; padding: 9px 4px 4px; }
.nc-search input {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 11px;
  border-radius: 11px;
  border: 1px solid rgba(126, 224, 180, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--clover-text);
  font-size: 12px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.nc-search input::placeholder { color: rgba(131, 162, 154, 0.75); }
.nc-search input:focus {
  border-color: rgba(126, 224, 180, 0.5);
  background: rgba(126, 224, 180, 0.08);
}
.nc-go {
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(140deg, #6ff0b6, #22a06b);
  color: #04140f;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px -12px rgba(74, 222, 128, 0.9);
  transition: transform 0.16s ease;
}
.nc-go:hover { transform: translateY(-1px); }

.nc-list {
  margin-top: 6px;
  max-height: 186px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 2px 2px 0;
  scrollbar-width: thin;
}
.nc-list::-webkit-scrollbar { width: 5px; }
.nc-list::-webkit-scrollbar-thumb { background: rgba(126, 224, 180, 0.28); border-radius: 4px; }

.nc-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--clover-text);
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.nc-row:hover { background: rgba(126, 224, 180, 0.1); transform: translateX(1px); }
.nc-row.playing { background: rgba(126, 224, 180, 0.13); }
.nc-row-art {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 13px;
  color: rgba(126, 224, 180, 0.65);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.nc-row-art img { width: 100%; height: 100%; object-fit: cover; }
.nc-row-text { min-width: 0; flex: 1; display: block; }
.nc-row-text b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-row-text small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(131, 162, 154, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-row-badge {
  flex: none;
  min-width: 20px;
  text-align: center;
  font-size: 11px;
  color: rgba(126, 224, 180, 0.55);
}
.nc-row.playing .nc-row-badge { color: #8affd0; letter-spacing: -1px; }

.nc-empty {
  margin: 0;
  padding: 26px 10px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(131, 162, 154, 0.8);
}

.nc-hint {
  margin: 6px 4px 0;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(131, 162, 154, 0.62);
}
.nc-hint span { color: rgba(126, 224, 180, 0.8); }

/* ---------------------------------------------------------------- 悬浮胶囊 */

.nc-mini {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 960;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 268px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 180, 0.22);
  background: rgba(10, 24, 20, 0.88);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  color: var(--clover-text);
  cursor: pointer;
  animation: nc-pop 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.nc-mini:hover { transform: translateY(-2px); border-color: rgba(126, 224, 180, 0.44); }
.nc-mini-disc {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 40% 32%, #2c5a4c, #0d201b);
  box-shadow: 0 0 0 1px rgba(126, 224, 180, 0.2);
  animation: nc-spin 10s linear infinite;
  animation-play-state: paused;
}
.nc-mini.is-playing .nc-mini-disc { animation-play-state: running; }
.nc-mini-disc img { width: 100%; height: 100%; object-fit: cover; }
.nc-mini-text { min-width: 0; display: block; }
.nc-mini-text b {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.nc-mini-text small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: rgba(131, 162, 154, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.nc-mini-play {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(126, 224, 180, 0.16);
  color: #d9fff1;
  cursor: pointer;
  transition: background 0.16s ease;
}
.nc-mini-play:hover { background: rgba(126, 224, 180, 0.3); }
.nc-mini-play svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .nc-player {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-height: 72vh;
    overflow-y: auto;
  }
  .nc-mini { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .nc-list { max-height: 150px; }
  .nc-vol input[type="range"] { width: 48px; }
}

/* ---------------------------------------------------------------- 游戏库补充 */

.games-kpis { flex-wrap: wrap; }

.game-price {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(4, 16, 13, 0.74);
  border: 1px solid rgba(126, 224, 180, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 10px;
  color: #d9fff1;
}
.game-price.is-free {
  color: #bfffe4;
  border-color: rgba(126, 224, 180, 0.18);
}
.game-cover.is-empty {
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 224, 180, 0.2), transparent 62%),
    rgba(8, 20, 17, 0.9);
}

/* ---------------------------------------------------------------- 露米娅专栏 */

.lumiya-zone { margin: 38px 0 10px; }

.lumiya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.lumiya-card {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(16, 31, 27, 0.62);
  border: 1px solid rgba(126, 224, 180, 0.14);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 22px 48px -34px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.lumiya-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 224, 180, 0.34);
  box-shadow: 0 28px 56px -32px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.lumiya-cover {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.lumiya-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lumiya-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.lumiya-body b {
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--clover-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lumiya-body p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--clover-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lumiya-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10.5px;
  color: rgba(131, 162, 154, 0.85);
}
.lumiya-tag { color: rgba(126, 224, 180, 0.8); }

@media (max-width: 760px) {
  .lumiya-grid { grid-template-columns: 1fr; }
  .lumiya-cover { flex-basis: 78px; width: 78px; height: 78px; }
}

/* ---------------------------------------------------------------- 露米娅专栏页 */

.lumiya-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 24px 56px;
}

.lumiya-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(23, 42, 36, 0.86), rgba(9, 22, 18, 0.94));
  border: 1px solid rgba(126, 224, 180, 0.18);
  backdrop-filter: blur(26px) saturate(165%);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  box-shadow: 0 30px 64px -38px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.lumiya-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 224, 180, 0.22), transparent 66%);
  pointer-events: none;
}

.lumiya-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(126, 224, 180, 0.3);
  box-shadow: 0 12px 28px -16px rgba(74, 222, 128, 0.85);
  position: relative;
}

.lumiya-hero-text { min-width: 0; position: relative; }
.lumiya-hero-text h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--clover-text);
}
.lumiya-hero-text p {
  margin: 5px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clover-muted);
}
.lumiya-hero-text span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--clover-text-soft);
}

.lumiya-back {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 180, 0.24);
  color: var(--clover-text-soft);
  font-size: 12px;
  white-space: nowrap;
  position: relative;
  transition: background 0.18s ease, color 0.18s ease;
}
.lumiya-back:hover { background: rgba(126, 224, 180, 0.12); color: #eafff5; }

.lumiya-page .lumiya-grid {
  margin-top: 18px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.lumiya-empty {
  grid-column: 1 / -1;
  padding: 46px 12px;
  text-align: center;
  color: var(--clover-muted);
  font-size: 12.5px;
}

.qqbot-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(126, 224, 180, 0.85);
  transition: color 0.18s ease;
}
.qqbot-more:hover { color: #d9fff1; }

@media (max-width: 760px) {
  .lumiya-page { padding: 92px 16px 42px; }
  .lumiya-hero { flex-wrap: wrap; padding: 18px; }
  .lumiya-back { margin-left: 0; }
}

/* ---------------------------------------------------------------- 时钟 / 一言 / 全局小件 */

.clock-card { padding: 16px 18px 14px; }

.clock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--clover-text-soft);
}
.clock-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ef0c0;
  box-shadow: 0 0 10px rgba(126, 224, 180, 0.9);
  animation: nc-dot 2.4s ease-in-out infinite;
}
.clock-top small {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(131, 162, 154, 0.72);
}

.clock-display { display: flex; align-items: baseline; gap: 2px; margin: 8px 0 5px; }
.clock-display b {
  font-family: var(--mono);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #eafff5;
  text-shadow: 0 0 26px rgba(126, 224, 180, 0.35);
}
.clock-display i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 16px;
  color: rgba(126, 224, 180, 0.75);
}

.clock-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 10.5px;
  color: var(--clover-muted);
}
.clock-meta span:last-child { color: rgba(126, 224, 180, 0.72); }

.clock-track {
  margin: 12px 0 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.clock-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #63efb4, #2fbf7e);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  transition: width 0.6s ease;
}
.clock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(131, 162, 154, 0.75);
}

/* 一言 */
.quote-card { position: relative; padding: 16px 18px 14px; overflow: hidden; }
.quote-mark {
  position: absolute;
  top: -20px;
  left: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 1;
  color: rgba(126, 224, 180, 0.14);
  pointer-events: none;
}
.quote-text {
  position: relative;
  margin: 4px 0 12px;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--clover-text);
}
.quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: rgba(131, 162, 154, 0.82);
}
.quote-refresh {
  border: 1px solid rgba(126, 224, 180, 0.22);
  background: transparent;
  color: rgba(126, 224, 180, 0.85);
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.quote-refresh:hover { background: rgba(126, 224, 180, 0.12); color: #eafff5; }
.quote-refresh:disabled { opacity: 0.5; cursor: default; }

/* 顶部阅读进度 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #8dffcd, #2fbf7e);
  box-shadow: 0 0 12px rgba(126, 224, 180, 0.7);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 940;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(126, 224, 180, 0.24);
  background: rgba(10, 24, 20, 0.82);
  color: #d9fff1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.to-top svg { width: 17px; height: 17px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(126, 224, 180, 0.5); }

@media (max-width: 760px) {
  .clock-display b { font-size: 32px; }
  .to-top { left: 12px; bottom: 84px; width: 34px; height: 34px; }
}

/* ==========================================================================
   亮色主题（覆写上面的夜空色板，保持同一套毛玻璃质感）
   ========================================================================== */

html[data-theme="light"] {
  color-scheme: light;
  --clover-bg: #edf6f0;
  --clover-panel: rgba(255, 255, 255, 0.72);
  --clover-panel-strong: rgba(255, 255, 255, 0.88);
  --clover-cell: rgba(255, 255, 255, 0.64);
  --clover-line: rgba(20, 92, 66, 0.14);
  --clover-line-soft: rgba(20, 70, 52, 0.08);
  --clover-text: #14261f;
  --clover-text-soft: #335446;
  --clover-muted: #5b7267;
  --clover-green: #189a66;
  --clover-green-deep: #0d6f48;
  --clover-mint: #10a273;
  --clover-teal: #0f8a86;
  --bg: var(--clover-bg);
  --bg-soft: rgba(255, 255, 255, 0.72);
  --ink: var(--clover-text);
  --ink-soft: var(--clover-text-soft);
  --muted: var(--clover-muted);
  --card: var(--clover-panel);
  --line: var(--clover-line);
  --pink: var(--clover-green);
  --pink-deep: var(--clover-green-deep);
  --pink-soft: rgba(24, 154, 102, 0.12);
  --blue: var(--clover-teal);
  --shadow: 0 24px 60px -36px rgba(18, 62, 46, 0.28);
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(1100px 680px at 74% -12%, rgba(126, 236, 190, 0.5), transparent 62%),
    radial-gradient(880px 620px at 6% 18%, rgba(150, 220, 255, 0.4), transparent 66%),
    radial-gradient(700px 520px at 96% 72%, rgba(255, 226, 178, 0.36), transparent 70%),
    linear-gradient(180deg, #f8fcf9 0%, #eff8f2 48%, #e7f2eb 100%);
}
html[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(16, 92, 66, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 92, 66, 0.055) 1px, transparent 1px);
}
html[data-theme="light"] ::selection { background: rgba(24, 154, 102, 0.22); color: #0b2b20; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(24, 154, 102, 0.28); }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(24, 154, 102, 0.45); }

/* 顶栏 */
html[data-theme="light"] body .site-header {
  background: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 10px 30px -26px rgba(18, 62, 46, 0.28);
}
html[data-theme="light"] body .site-header.is-scrolled { background: rgba(255, 255, 255, 0.9) !important; }
html[data-theme="light"] .site-nav a:hover { color: #0b2b20 !important; background: rgba(24, 154, 102, 0.1) !important; }
html[data-theme="light"] .site-nav a.active {
  color: #04241a !important;
  background: linear-gradient(135deg, #7df3c0, #2cb87c) !important;
  box-shadow: 0 12px 26px -18px rgba(24, 154, 102, 0.9) !important;
}
html[data-theme="light"] body .btn.ghost {
  color: var(--clover-text-soft) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}
html[data-theme="light"] body .btn.ghost:hover {
  color: #0b2b20 !important;
  background: rgba(24, 154, 102, 0.12) !important;
  border-color: rgba(24, 154, 102, 0.42) !important;
}
html[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.72);
  color: var(--clover-text-soft);
}
html[data-theme="light"] body .user-dropdown {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 26px 60px -30px rgba(18, 62, 46, 0.35) !important;
}
html[data-theme="light"] .user-dropdown-item { color: var(--clover-text-soft) !important; }
html[data-theme="light"] .user-dropdown-item:hover { background: rgba(24, 154, 102, 0.1) !important; color: #0b2b20 !important; }

/* 卡片与面板 */
html[data-theme="light"] body .side-card,
html[data-theme="light"] body .friend-links,
html[data-theme="light"] body .card-surface,
html[data-theme="light"] body .announce,
html[data-theme="light"] body .ui-dialog,
html[data-theme="light"] body .music-box,
html[data-theme="light"] body .empty-state {
  box-shadow: 0 24px 54px -40px rgba(18, 62, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}
html[data-theme="light"] body .side-card:hover {
  box-shadow: 0 30px 62px -38px rgba(18, 62, 46, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* 精选 / 文章 */
html[data-theme="light"] .featured-stage { box-shadow: 0 30px 70px -44px rgba(18, 62, 46, 0.35) !important; }
html[data-theme="light"] .featured-slide img { filter: saturate(0.98) brightness(1); }
html[data-theme="light"] .featured-dots button { background: rgba(18, 62, 46, 0.18); }
html[data-theme="light"] .featured-dots button.active { background: #2cb87c; }
html[data-theme="light"] .post-card { box-shadow: 0 24px 54px -42px rgba(18, 62, 46, 0.35) !important; }
html[data-theme="light"] .post-card:hover {
  border-color: rgba(24, 154, 102, 0.38) !important;
  box-shadow: 0 30px 64px -40px rgba(18, 110, 76, 0.42) !important;
}
html[data-theme="light"] .searchbar input {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--clover-text) !important;
}
html[data-theme="light"] .searchbar input::placeholder { color: rgba(80, 110, 96, 0.7); }
html[data-theme="light"] .filter-tag {
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--clover-text-soft) !important;
}
html[data-theme="light"] .filter-tag:hover { color: #0d6f48 !important; }
html[data-theme="light"] .filter-tag.active { color: #04241a !important; }
html[data-theme="light"] .section-head .more { color: var(--clover-muted) !important; }
html[data-theme="light"] .section-head .more:hover { color: var(--clover-green-deep) !important; }

/* 统计格 */
html[data-theme="light"] .stat-cell {
  border-color: rgba(20, 92, 66, 0.1);
  background: rgba(255, 255, 255, 0.66);
}
html[data-theme="light"] .stat-cell::after { background: radial-gradient(circle, rgba(24, 154, 102, 0.14), transparent 68%); }
html[data-theme="light"] .stat-cell b { color: #0f3d2c; }
html[data-theme="light"] .stat-cell > span:last-child { color: rgba(30, 70, 54, 0.62); }
html[data-theme="light"] .stat-cell.tone-green { background: linear-gradient(150deg, rgba(126, 236, 190, 0.55), rgba(255, 255, 255, 0.72)); }
html[data-theme="light"] .stat-cell.tone-teal { background: linear-gradient(150deg, rgba(140, 232, 226, 0.55), rgba(255, 255, 255, 0.72)); }
html[data-theme="light"] .stat-cell.tone-blue { background: linear-gradient(150deg, rgba(158, 206, 255, 0.5), rgba(255, 255, 255, 0.72)); }
html[data-theme="light"] .stat-cell.tone-purple { background: linear-gradient(150deg, rgba(196, 186, 255, 0.5), rgba(255, 255, 255, 0.72)); }

/* 时钟 / 一言 / 回顶 */
html[data-theme="light"] .clock-display b { color: #0f3d2c; text-shadow: 0 0 22px rgba(24, 154, 102, 0.18); }
html[data-theme="light"] .clock-display i { color: rgba(13, 111, 72, 0.75); }
html[data-theme="light"] .clock-track { background: rgba(20, 92, 66, 0.12); }
html[data-theme="light"] .quote-mark { color: rgba(24, 154, 102, 0.16); }
html[data-theme="light"] .to-top {
  background: rgba(255, 255, 255, 0.9);
  color: #0d6f48;
  box-shadow: 0 16px 30px -20px rgba(18, 62, 46, 0.4);
}

/* 游戏库 */
html[data-theme="light"] .games-hero {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(235, 248, 241, 0.9));
  border-color: rgba(20, 92, 66, 0.12);
  box-shadow: 0 28px 60px -40px rgba(18, 62, 46, 0.35);
}
html[data-theme="light"] .games-kpi {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 92, 66, 0.1);
}
html[data-theme="light"] .games-kpi b { color: #0f3d2c; }
html[data-theme="light"] .games-search input {
  background: rgba(255, 255, 255, 0.8);
  color: var(--clover-text);
}
html[data-theme="light"] .game-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 92, 66, 0.1);
}
html[data-theme="light"] .game-card:hover { border-color: rgba(24, 154, 102, 0.34); box-shadow: 0 20px 44px -30px rgba(18, 62, 46, 0.4); }
html[data-theme="light"] .game-cover { background: rgba(20, 92, 66, 0.06); }
html[data-theme="light"] .game-hours,
html[data-theme="light"] .game-price {
  background: rgba(255, 255, 255, 0.82);
  color: #0f3d2c;
  border-color: rgba(20, 92, 66, 0.16);
}

/* 露米娅 */
html[data-theme="light"] .lumiya-hero {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.88), rgba(233, 248, 240, 0.92));
  border-color: rgba(20, 92, 66, 0.12);
  box-shadow: 0 30px 64px -42px rgba(18, 62, 46, 0.35);
}
html[data-theme="light"] .lumiya-card {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(20, 92, 66, 0.1);
  box-shadow: 0 22px 48px -38px rgba(18, 62, 46, 0.35);
}
html[data-theme="light"] .lumiya-card:hover {
  border-color: rgba(24, 154, 102, 0.34);
  box-shadow: 0 28px 56px -38px rgba(18, 62, 46, 0.4);
}
html[data-theme="light"] .lumiya-cover { background: rgba(20, 92, 66, 0.06); }

/* 音乐播放器 */
html[data-theme="light"] .nc-player {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.94), rgba(236, 248, 242, 0.97));
  border-color: rgba(20, 92, 66, 0.16);
  box-shadow: 0 36px 80px -38px rgba(18, 62, 46, 0.4);
  color: var(--clover-text);
}
html[data-theme="light"] .nc-player::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.88) 62%, rgba(250, 255, 252, 0.96));
}
html[data-theme="light"] .nc-brand { color: rgba(30, 80, 60, 0.7); }
html[data-theme="light"] .nc-head-btns button { color: rgba(40, 90, 70, 0.65); }
html[data-theme="light"] .nc-head-btns button:hover { background: rgba(24, 154, 102, 0.12); color: #0b2b20; }
html[data-theme="light"] .nc-meta small,
html[data-theme="light"] .nc-progress span,
html[data-theme="light"] .nc-hint { color: rgba(60, 100, 84, 0.8); }
html[data-theme="light"] .nc-tabs button { color: rgba(60, 100, 84, 0.75); }
html[data-theme="light"] .nc-tabs button:hover { color: #0b2b20; background: rgba(24, 154, 102, 0.1); }
html[data-theme="light"] .nc-tabs button.active { color: #0d6f48; background: rgba(24, 154, 102, 0.14); }
html[data-theme="light"] .nc-search input {
  background: rgba(255, 255, 255, 0.85);
  color: var(--clover-text);
  border-color: rgba(20, 92, 66, 0.16);
}
html[data-theme="light"] .nc-search input::placeholder { color: rgba(80, 110, 96, 0.7); }
html[data-theme="light"] .nc-row { color: var(--clover-text); }
html[data-theme="light"] .nc-row:hover { background: rgba(24, 154, 102, 0.1); }
html[data-theme="light"] .nc-row.playing { background: rgba(24, 154, 102, 0.13); }
html[data-theme="light"] .nc-row-art { background: rgba(20, 92, 66, 0.06); color: rgba(13, 111, 72, 0.6); }
html[data-theme="light"] .nc-row-text small { color: rgba(70, 105, 90, 0.85); }
html[data-theme="light"] .nc-mini {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 92, 66, 0.16);
  color: var(--clover-text);
  box-shadow: 0 24px 50px -30px rgba(18, 62, 46, 0.4);
}
html[data-theme="light"] .nc-mini-play { background: rgba(24, 154, 102, 0.16); color: #0d6f48; }
html[data-theme="light"] .nc-mini-text small { color: rgba(70, 105, 90, 0.85); }

/* 亮色：侧栏卡片背景是 !important 硬编码，需要同级覆盖 */
html[data-theme="light"] body .side-card {
  background: rgba(255, 255, 255, 0.76) !important;
  border-color: rgba(20, 92, 66, 0.12) !important;
  box-shadow:
    0 18px 42px -36px rgba(18, 62, 46, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}
html[data-theme="light"] body .side-card:hover {
  box-shadow:
    0 26px 54px -36px rgba(18, 62, 46, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}
html[data-theme="light"] .side-card h3 { color: var(--clover-text); }
html[data-theme="light"] .recent-head b { color: var(--clover-text); }
html[data-theme="light"] .recent-head small { color: var(--clover-muted); }
html[data-theme="light"] .recent-item:hover .recent-info b,
html[data-theme="light"] .recent-item:hover .recent-arrow { color: var(--clover-green-deep); }

/* 亮色：强调色与次要文字加深，保证对比度 */
html[data-theme="light"] .clock-top small,
html[data-theme="light"] .clock-meta,
html[data-theme="light"] .clock-foot,
html[data-theme="light"] .quote-foot,
html[data-theme="light"] .lumiya-meta { color: #5b7267; }
html[data-theme="light"] .clock-meta span:last-child,
html[data-theme="light"] .clock-foot span:last-child { color: #0d6f48; }
html[data-theme="light"] .quote-refresh {
  color: #0d6f48;
  border-color: rgba(13, 111, 72, 0.28);
}
html[data-theme="light"] .quote-refresh:hover { background: rgba(24, 154, 102, 0.12); color: #0b3b29; }
html[data-theme="light"] .lumiya-tag { color: #0d6f48; }
html[data-theme="light"] .game-body small.is-recent { color: #0d6f48; }
html[data-theme="light"] .qqbot-state.is-online { color: #0d6f48; }
html[data-theme="light"] .nc-hint span { color: #0d6f48; }
html[data-theme="light"] .nc-row-badge { color: rgba(13, 111, 72, 0.8); }
html[data-theme="light"] .section-head p { color: var(--clover-muted) !important; }
