[hidden] { display: none !important; }

/* ============================================================
   个人门户 · 样式
   深色为主，浅色为备；无外部字体、无 CDN，全部本地渲染。
   ============================================================ */

:root {
  --bg: #07080f;
  --fg: #f2f4fa;
  --muted: #99a1b8;
  --muted-2: #6f7891;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --card-from: rgba(255, 255, 255, 0.062);
  --card-to: rgba(255, 255, 255, 0.018);
  --card-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.9);
  --chip: rgba(255, 255, 255, 0.06);
  --accent: #7f9dff;
  --name-grad: linear-gradient(100deg, #b9c4ff 0%, #7f9dff 42%, #5be3c8 100%);
  --radius: 24px;
  --dot-a: rgba(94, 118, 255, 0.42);
  --dot-b: rgba(48, 214, 178, 0.26);
  --dot-c: rgba(255, 126, 92, 0.20);
  --grain-opacity: 0.05;
  --selection: rgba(127, 157, 255, 0.32);
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --fg: #12141d;
  --muted: #5c6478;
  --muted-2: #7b8396;
  --line: rgba(16, 18, 28, 0.11);
  --line-soft: rgba(16, 18, 28, 0.07);
  --card-from: rgba(255, 255, 255, 0.92);
  --card-to: rgba(255, 255, 255, 0.62);
  --card-shadow: 0 24px 60px -34px rgba(22, 28, 54, 0.34);
  --chip: rgba(16, 18, 28, 0.05);
  --accent: #4457d6;
  --name-grad: linear-gradient(100deg, #3d4fc9 0%, #4c63e6 45%, #0f9f88 100%);
  --dot-a: rgba(120, 140, 255, 0.30);
  --dot-b: rgba(64, 208, 176, 0.22);
  --dot-c: rgba(255, 150, 110, 0.20);
  --grain-opacity: 0.035;
  --selection: rgba(76, 99, 230, 0.20);
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui,
    -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--selection); }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 背景光晕 ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.aurora__blob {
  position: absolute;
  display: block;
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aurora__blob--a {
  top: -16vw;
  left: -10vw;
  background: radial-gradient(circle at 50% 50%, var(--dot-a), transparent 68%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aurora__blob--b {
  right: -14vw;
  top: 8vh;
  background: radial-gradient(circle at 50% 50%, var(--dot-b), transparent 68%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.aurora__blob--c {
  left: 24vw;
  bottom: -24vw;
  background: radial-gradient(circle at 50% 50%, var(--dot-c), transparent 68%);
  animation: drift-c 38s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(6vw, 5vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-5vw, 8vh, 0) scale(0.92); } }
@keyframes drift-c { to { transform: translate3d(4vw, -6vh, 0) scale(1.08); } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 32px 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  color: #dfe6ff;
  background: linear-gradient(150deg, rgba(127, 157, 255, 0.30), rgba(91, 227, 200, 0.12));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .brand__mark { color: #36409a; }

.brand__mark svg { width: 20px; height: 20px; }

.brand__text { display: flex; flex-direction: column; min-width: 0; }

.brand__name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__sub {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.4;
}

.topbar__right { display: flex; align-items: center; gap: 16px; }

.clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.clock__time {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.clock__date {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.account {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

.account__name {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 6px;
}

.account a {
  font-size: 12.5px;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.account a:hover { color: var(--fg); border-color: var(--line); background: var(--chip); }

.iconbtn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.iconbtn:hover { border-color: var(--accent); transform: translateY(-1px); }
.iconbtn:active { transform: translateY(0) scale(0.97); }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn__sun { display: none; }
[data-theme="light"] .iconbtn__sun { display: block; }
[data-theme="light"] .iconbtn__moon { display: none; }

/* ---------- 主体 ---------- */

.shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 32px;
  flex: 1 0 auto;
}

.hero { padding: 3vh 0 30px; max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade9b;
  box-shadow: 0 0 0 0 rgba(74, 222, 155, 0.55);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 155, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 155, 0); }
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero__name {
  background: var(--name-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero__lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  color: var(--muted);
  letter-spacing: 0.005em;
}

.hero__feed {
  margin: 16px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.hero__feed[hidden] { display: none; }

.hero__feed::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- 卡片 ---------- */

.grid {
  display: grid;
  /* 自动适配入口数量：2 个→两大张，3 个→三列，4 个→四列（窄屏自动降列） */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  --card-accent: #7f9dff;
  --card-glow: rgba(127, 157, 255, 0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, var(--card-from), var(--card-to));
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.42s ease, box-shadow 0.42s ease;
}

.card--dota { --card-accent: var(--accent); --card-glow: rgba(127, 157, 255, 0.16); }
.card--ai { --card-accent: #5be3c8; --card-glow: rgba(91, 227, 200, 0.18); }

[data-theme="light"] .card--dota { --card-accent: #b3450d; --card-glow: rgba(179, 69, 13, 0.10); }
[data-theme="light"] .card--ai { --card-accent: #0a7f6c; --card-glow: rgba(10, 127, 108, 0.10); }

.card__glow {
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    var(--card-glow),
    transparent 62%
  );
}

.card:hover { transform: translateY(-5px); border-color: var(--card-accent); }
.card:hover .card__glow { opacity: 1; }
.card:hover .card__arrow { transform: translateX(4px); }
.card:hover .card__icon { transform: translateY(-2px) rotate(-3deg); }

/* 没有权限时的卡片 */
.card--locked { cursor: default; }
.card--locked .card__icon { opacity: 0.55; }
.card--locked .card__go { color: var(--muted-2); }
.card--locked:hover { transform: none; border-color: var(--line); }
.card--locked:hover .card__arrow { transform: none; }
.card--locked:hover .card__icon { transform: none; }
.card--locked:hover .card__glow { opacity: 0; }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: var(--card-accent);
  border: 1px solid var(--line);
  background: var(--chip);
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card__icon svg { width: 24px; height: 24px; }

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--chip);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.card__title {
  margin: 0 0 8px;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.card__desc {
  margin: 0 0 26px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
  max-width: 40ch;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.card__meta {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--card-accent);
}

.card__arrow {
  display: inline-grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card__arrow svg { width: 17px; height: 17px; }

/* ---------- 信息条 ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--chip);
}

.fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.fact__k {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.fact__v {
  font-size: 13px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 32px 34px;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

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

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 4.5vh; }
  .topbar, .shell { padding-left: 22px; padding-right: 22px; }
  .footer { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 560px) {
  .topbar { padding-top: 18px; }
  .brand__sub { display: none; }
  .clock__date { display: none; }
  .account__name { display: none; }
  .account a { padding: 5px 7px; }
  .topbar__right { gap: 8px; }
  .card { padding: 22px 20px 18px; }
  .facts { grid-template-columns: 1fr; gap: 12px; padding: 16px 20px; }
  .fact { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .hero { padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (hover: none) {
  .card:hover { transform: none; }
}

/* ---------- 细节打磨：悬停光边 + 信息条 ---------- */
.card:hover {
  box-shadow: 0 34px 80px -38px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.facts {
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.brand__mark svg { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.brand:hover .brand__mark svg { transform: rotate(-8deg) scale(1.06); }
/* ---------- 收尾:统一节奏 ---------- */
.hero__title { letter-spacing: -0.045em; }

.card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: gap 0.25s ease;
}

.card:hover .card__go { gap: 10px; }

.facts__item b { font-variant-numeric: tabular-nums; }
/* ============================================================
   浅色 = 默认主题。加一点纸感和蓝紫冷调，避免纯白刺眼。
   ============================================================ */
[data-theme="light"] body {
  background:
    radial-gradient(48vw 44vw at 4% -8%, rgba(76, 99, 230, 0.14), transparent 62%),
    radial-gradient(42vw 40vw at 98% 2%, rgba(15, 159, 136, 0.12), transparent 60%),
    radial-gradient(40vw 36vw at 62% 104%, rgba(255, 150, 110, 0.10), transparent 62%),
    var(--bg);
}

[data-theme="light"] .card {
  background: linear-gradient(158deg, #ffffff, #fbfcff);
  border: 1px solid rgba(16, 18, 28, 0.08);
  box-shadow:
    0 22px 50px -32px rgba(22, 28, 54, 0.45),
    inset 0 1px 0 #ffffff;
}

[data-theme="light"] .card:hover {
  border-color: rgba(79, 99, 230, 0.35);
  box-shadow:
    0 30px 60px -30px rgba(22, 28, 54, 0.5),
    inset 0 1px 0 #ffffff;
}

[data-theme="light"] .card__icon {
  background: linear-gradient(150deg, rgba(76, 99, 230, 0.14), rgba(15, 159, 136, 0.08));
  border-color: rgba(76, 99, 230, 0.22);
  color: #3d4fc9;
}

[data-theme="light"] .hero__name {
  background: var(--name-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .brand__mark {
  background: linear-gradient(150deg, rgba(76, 99, 230, 0.18), rgba(15, 159, 136, 0.10));
  border-color: rgba(76, 99, 230, 0.25);
  color: #3d4fc9;
}

[data-theme="light"] .facts,
[data-theme="light"] .hero__feed {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 18, 28, 0.07);
}

[data-theme="light"] .card__tag {
  background: rgba(16, 18, 28, 0.045);
  border-color: rgba(16, 18, 28, 0.06);
}
/* 浅色下把卡片强调色彻底收回到主色，别留橙红 */
[data-theme="light"] .card--dota,
[data-theme="light"] .card--chat {
  --card-accent: var(--accent);
  --card-glow: rgba(76, 99, 230, 0.16);
}
[data-theme="light"] .card__go { color: var(--accent); }
[data-theme="light"] .card--locked .card__go { color: var(--muted-2); }
/* ---------- 便签墙 ---------- */
.notes { margin-top: 34px; }
.notes__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.notes__title { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.notes__hint { font-size: 12px; color: var(--muted-2); }

.notes__list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }

.note {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  font-size: 13px;
}
.note__who { font-weight: 600; color: var(--fg); white-space: nowrap; }
.note__text { color: var(--muted); line-height: 1.6; word-break: break-word; }
.note__when { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
.note__del {
  border: none; background: none; color: var(--muted-2); cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0 2px;
}
.note__del:hover { color: #ff7d6e; }
.note__empty { margin: 0; font-size: 12.5px; color: var(--muted-2); }

.notes__form { display: flex; gap: 8px; }
.notes__form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-size: 13px;
}
.notes__form input:focus { outline: none; border-color: var(--accent); }
.notes__form button {
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #080a12;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

[data-theme="light"] .note { background: rgba(255, 255, 255, 0.8); border-color: rgba(16,18,28,.08); }
[data-theme="light"] .notes__form input { background: #fff; }

/* ---------- 留言板（与入口卡同材质） ---------- */
.notes { margin: 0 0 22px; }
.notes__card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(158deg, var(--card-from), var(--card-to));
  box-shadow: var(--card-shadow);
  padding: 20px 22px 18px;
}
.notes__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.notes__intro { flex: 1; min-width: 0; }
.notes__title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.notes__hint { margin: 3px 0 0; font-size: 12px; color: var(--muted-2); }
.notes__count { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; padding-top: 3px; }

.notes__list { display: flex; flex-direction: column; gap: 6px; }
.note {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--chip);
  font-size: 13px;
}
.note__who { font-weight: 600; white-space: nowrap; }
.note__text { color: var(--muted); line-height: 1.6; word-break: break-word; }
.note__when { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.note__del { border: 0; background: none; color: var(--muted-2); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; }
.note__del:hover { color: #e5533d; }
.note__empty { margin: 0; padding: 14px 2px; font-size: 12.5px; color: var(--muted-2); }

.notes__form { display: flex; gap: 8px; margin-top: 12px; }
.notes__form input {
  flex: 1; padding: 9px 13px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--chip);
  color: var(--fg); font-size: 13px;
}
.notes__form input:focus { outline: none; border-color: var(--accent); }
.notes__form button {
  padding: 9px 18px; border-radius: 11px; border: 0;
  background: var(--accent); color: #080a12; font-weight: 600; font-size: 13px; cursor: pointer;
}
.notes__login { margin: 10px 0 0; font-size: 12px; color: var(--muted-2); }


/* 留言板与卡片网格保持一致的宽度与间距 */
.notes__card { padding: 18px 22px 16px; }
.notes .notes__title { font-size: 14.5px; }
.notes__list:empty { display: none; }

/* 留言板：收紧空白，输入框紧跟标题 */
.notes__card { padding: 16px 20px 14px; }
.notes__head { margin-bottom: 10px; }
.notes__list { margin: 0 0 10px; }
.note__empty { padding: 4px 2px 10px; }
.notes__form { margin-top: 0; }
.notes .notes__hint { margin-top: 2px; }

/* ---------- 改昵称弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(6px);
}
.modal__box {
  width: min(340px, calc(100vw - 40px));
  padding: 22px 22px 18px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
[data-theme="light"] .modal__box { background: #fff; }
.modal__title { margin: 0; font-size: 15px; font-weight: 600; }
.modal__hint { margin: 4px 0 14px; font-size: 12px; color: var(--muted-2); }
.modal__input {
  width: 100%; box-sizing: border-box;
  padding: 10px 13px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--chip);
  color: var(--fg); font-size: 14px;
}
.modal__input:focus { outline: none; border-color: var(--accent); }
.modal__msg { margin: 8px 0 0; font-size: 12px; color: #e5533d; min-height: 16px; }
.modal__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.modal__cancel, .modal__save {
  padding: 8px 16px; border-radius: 10px; font-size: 13px; cursor: pointer;
  border: 1px solid var(--line); background: var(--chip); color: var(--fg);
}
.modal__save { background: var(--accent); border-color: transparent; color: #080a12; font-weight: 600; }

.account__name { cursor: pointer; }
.account__name:hover { text-decoration: underline; text-underline-offset: 3px; }


/* 留言的赞踩 */
.note__votes { display: inline-flex; gap: 6px; align-items: center; }
.vote {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s, color .2s, background .2s;
}
.vote:hover { border-color: var(--accent); color: var(--accent); }
.vote.up.on { color: #2f9e6b; border-color: rgba(47,158,107,.45); background: rgba(47,158,107,.10); }
.vote.down.on { color: #d9534f; border-color: rgba(217,83,79,.45); background: rgba(217,83,79,.10); }


/* 留言行：5 个元素（人/正文/赞踩/时间/删除），列数要够 */
.note {
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  row-gap: 6px;
}
.note__thread {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
  padding-left: 2px;
}
.comment {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.comment__who { font-weight: 600; color: var(--fg); font-size: 12px; }
.comment__text { flex: 1; min-width: 0; word-break: break-word; line-height: 1.55; }
.comment__when { font-size: 10.5px; color: var(--muted-2); white-space: nowrap; }

.comment__add {
  align-self: flex-start;
  border: 0; background: none; cursor: pointer;
  font-size: 11.5px; color: var(--muted-2); padding: 2px 0;
}
.comment__add:hover { color: var(--accent); }

.comment__form { display: flex; gap: 6px; margin-top: 2px; }
.comment__form input {
  flex: 1; min-width: 0;
  padding: 6px 10px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--chip);
  color: var(--fg); font-size: 12.5px;
}
.comment__form input:focus { outline: none; border-color: var(--accent); }
.comment__form button {
  padding: 6px 12px; border-radius: 9px; border: 0;
  background: var(--accent); color: #080a12; font-size: 12px; font-weight: 600; cursor: pointer;
}
[data-theme="light"] .comment { background: rgba(16, 18, 28, 0.03); }


/* ==========================================================================
   留言板：酷炫化
   ========================================================================== */
.notes__card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(127, 157, 255, 0.14), transparent 58%),
    linear-gradient(158deg, var(--card-from), var(--card-to));
  box-shadow:
    0 30px 70px -40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.notes__card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 157, 255, 0.75), rgba(91, 227, 200, 0.6), transparent);
}

.notes__title {
  background: linear-gradient(96deg, var(--fg) 10%, #8fa8ff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 留言行：6 列 + 悬停浮起 */
.note {
  grid-template-columns: 34px auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.note:hover {
  background: rgba(127, 157, 255, 0.07);
  border-color: rgba(127, 157, 255, 0.22);
  transform: translateX(2px);
}

.note__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, #7f9dff, #5be3c8);
  box-shadow: 0 0 14px -4px rgba(127, 157, 255, 0.75);
  text-transform: uppercase;
}

.note__who { font-weight: 650; letter-spacing: -0.01em; }

/* 赞踩：胶囊 + 点亮发光 */
.vote {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  transition: transform .2s cubic-bezier(.2,.7,.2,1), border-color .2s, color .2s, box-shadow .2s;
}
.vote:hover { transform: translateY(-1px) scale(1.04); }
.vote.up.on {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.12);
  box-shadow: 0 0 16px -6px rgba(52, 211, 153, 0.9);
}
.vote.down.on {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.5);
  background: rgba(251, 113, 133, 0.12);
  box-shadow: 0 0 16px -6px rgba(251, 113, 133, 0.9);
}

/* 评论：左侧渐变竖线 */
.note__thread {
  padding-left: 14px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, rgba(127,157,255,.55), rgba(91,227,200,.35), transparent) 1;
}
.comment {
  border-radius: 10px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.03);
  transition: background .2s;
}
.comment:hover { background: rgba(127, 157, 255, 0.08); }
.comment__avatar {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #0b0d14;
  background: linear-gradient(140deg, #c9d6ff, #9ae6d6);
  flex: none;
}
.comment__add {
  border-radius: 999px;
  padding: 3px 12px;
  border: 1px dashed var(--line);
  transition: border-color .2s, color .2s, background .2s;
}
.comment__add:hover {
  border-color: rgba(127, 157, 255, .55);
  background: rgba(127, 157, 255, .10);
  color: #cfd9ff;
}

/* 发送区：主色按钮发光 */
.notes__form input:focus { box-shadow: 0 0 0 3px rgba(127, 157, 255, 0.16); }
.notes__form button {
  background: linear-gradient(120deg, #8fa8ff, #5be3c8);
  color: #06080f;
  transition: transform .2s, box-shadow .2s;
}
.notes__form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(127, 157, 255, 0.9);
}

[data-theme="light"] .note:hover { background: rgba(76, 99, 230, 0.07); }
[data-theme="light"] .note__avatar { color: #fff; }
[data-theme="light"] .comment { background: rgba(16, 18, 28, 0.035); }


/* ==========================================================================
   气泡模式
   ========================================================================== */
.notes__list { display: flex; flex-direction: column; gap: 14px; }

.note, .bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: none;
  border: 0;
  padding: 0;
  transform: none;
}
.note:hover, .bubble:hover { background: none; border-color: transparent; transform: none; }

.note.mine, .bubble.mine { flex-direction: row-reverse; }

.bubble__avatar {
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, #7f9dff, #5be3c8);
  box-shadow: 0 0 14px -5px rgba(127, 157, 255, 0.85);
  text-transform: uppercase;
}
.bubble--sm .bubble__avatar {
  width: 24px; height: 24px; font-size: 10px;
  background: linear-gradient(140deg, #c9d6ff, #9ae6d6);
  color: #0b0d14;
  box-shadow: none;
}

.bubble__body { max-width: min(560px, 78%); min-width: 0; }
.note.mine .bubble__body, .bubble.mine .bubble__body { display: flex; flex-direction: column; align-items: flex-end; }

.bubble__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; padding: 0 4px; }
.note.mine .bubble__head, .bubble.mine .bubble__head { flex-direction: row-reverse; }
.bubble__who { font-size: 12.5px; font-weight: 650; color: var(--fg); }
.bubble__when { font-size: 11px; color: var(--muted-2); }

.bubble__text {
  position: relative;
  padding: 10px 14px;
  border-radius: 16px;
  border-top-left-radius: 5px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13.5px;
  line-height: 1.65;
  word-break: break-word;
  box-shadow: 0 12px 26px -22px rgba(0, 0, 0, 0.5);
}
.note.mine .bubble__text, .bubble.mine .bubble__text {
  border-top-left-radius: 16px;
  border-top-right-radius: 5px;
  background: linear-gradient(140deg, rgba(127, 157, 255, 0.26), rgba(91, 227, 200, 0.16));
  border-color: rgba(127, 157, 255, 0.38);
  color: var(--fg);
}

.bubble__meta {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 4px 0;
  font-size: 11.5px; color: var(--muted-2);
}
.note.mine .bubble__meta, .bubble.mine .bubble__meta { flex-direction: row-reverse; }

.bubble__thread {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 10px;
  padding-left: 8px;
  border-left: 1px solid rgba(127, 157, 255, 0.25);
  width: 100%;
}
.note.mine .bubble__thread { border-left: 0; border-right: 1px solid rgba(127, 157, 255, 0.25); padding-left: 0; padding-right: 8px; }

.bubble--sm .bubble__text {
  padding: 7px 12px;
  font-size: 12.5px;
  border-radius: 13px;
  border-top-left-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}
.bubble--sm.mine .bubble__text {
  border-top-left-radius: 13px;
  border-top-right-radius: 4px;
  background: linear-gradient(140deg, rgba(127, 157, 255, 0.22), rgba(91, 227, 200, 0.13));
}

.bubble__reply {
  align-self: flex-start;
  margin-top: 2px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: none;
  color: var(--muted-2);
  font-size: 11.5px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.bubble__reply:hover { color: #cfd9ff; border-color: rgba(127,157,255,.55); background: rgba(127,157,255,.10); }
.note.mine .bubble__reply { align-self: flex-end; }

.bubble__form { display: flex; gap: 6px; width: 100%; margin-top: 4px; }
.bubble__form input {
  flex: 1; min-width: 0;
  padding: 8px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--chip);
  color: var(--fg); font-size: 12.5px;
}
.bubble__form input:focus { outline: none; border-color: var(--accent); }
.bubble__form button {
  padding: 8px 14px; border-radius: 12px; border: 0;
  background: linear-gradient(120deg, #8fa8ff, #5be3c8);
  color: #06080f; font-size: 12px; font-weight: 600; cursor: pointer;
}

/* 旧样式在这个页面里不再生效 */
.note__avatar, .note__who, .note__text, .note__when { display: none; }


/* 清掉旧「留言行」留下的浅色底板，气泡才是唯一背景 */
.note, .bubble {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.note:hover, .bubble:hover { background: none !important; border: 0 !important; transform: none !important; }
.bubble__body { background: none !important; }
.notes__list > * { background: none !important; }


/* ==========================================================================
   气泡（全新类名，不受旧 .note 影响）
   ========================================================================== */
.bub {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.bub.mine { flex-direction: row-reverse; }
.bub__avatar {
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(140deg, #7f9dff, #5be3c8);
  box-shadow: 0 0 14px -5px rgba(127, 157, 255, 0.85);
  text-transform: uppercase;
}
.bub--sm .bub__avatar {
  width: 24px; height: 24px; font-size: 10px; color: #0b0d14;
  background: linear-gradient(140deg, #c9d6ff, #9ae6d6); box-shadow: none;
}
.bub__body { max-width: min(520px, 76%); min-width: 0; }
.bub.mine .bub__body { display: flex; flex-direction: column; align-items: flex-end; }
.bub__head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px 4px; }
.bub.mine .bub__head { flex-direction: row-reverse; margin: 0 4px 4px 0; }
.bub__who { font-size: 12.5px; font-weight: 650; }
.bub__when { font-size: 11px; color: var(--muted-2); }
.bub__text {
  padding: 10px 14px;
  border-radius: 16px 16px 16px 5px;
  background: #ffffff;
  border: 1px solid rgba(16, 18, 28, 0.08);
  color: var(--fg);
  font-size: 13.5px;
  line-height: 1.65;
  word-break: break-word;
  box-shadow: 0 10px 24px -20px rgba(22, 28, 54, 0.5);
}
.bub.mine .bub__text {
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(140deg, #eef1ff, #e6fbf5);
  border-color: rgba(127, 157, 255, 0.35);
}
.bub__meta { display: flex; align-items: center; gap: 8px; margin: 6px 4px 0; }
.bub.mine .bub__meta { flex-direction: row-reverse; margin: 6px 4px 0 0; }
.bub__thread {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 10px; padding-left: 8px;
  border-left: 1px solid rgba(127, 157, 255, 0.22);
  width: 100%;
}
.bub.mine .bub__thread { border-left: 0; border-right: 1px solid rgba(127,157,255,.22); padding: 0 8px 0 0; }
.bub--sm .bub__text {
  padding: 7px 12px; font-size: 12.5px;
  border-radius: 13px 13px 13px 4px;
  background: #fbfcff;
}
.bub--sm.mine .bub__text { border-radius: 13px 13px 4px 13px; background: #f3f6ff; }
.bub__reply {
  align-self: flex-start; margin-top: 2px;
  padding: 3px 12px; border-radius: 999px;
  border: 1px dashed var(--line); background: none;
  color: var(--muted-2); font-size: 11.5px; cursor: pointer;
}
.bub.mine .bub__reply { align-self: flex-end; }
.bub__reply:hover { color: #3d4fc9; border-color: rgba(76,99,230,.5); background: rgba(76,99,230,.08); }
.bub__form { display: flex; gap: 6px; width: 100%; margin-top: 4px; }
.bub__form input {
  flex: 1; min-width: 0; padding: 8px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--fg); font-size: 12.5px;
}
.bub__form input:focus { outline: none; border-color: var(--accent); }
.bub__form button {
  padding: 8px 14px; border-radius: 12px; border: 0;
  background: linear-gradient(120deg, #8fa8ff, #5be3c8);
  color: #06080f; font-size: 12px; font-weight: 600; cursor: pointer;
}
[data-theme="dark"] .bub__text { background: rgba(255,255,255,.06); border-color: var(--line); }
[data-theme="dark"] .bub.mine .bub__text { background: linear-gradient(140deg, rgba(127,157,255,.26), rgba(91,227,200,.16)); }
[data-theme="dark"] .bub--sm .bub__text { background: rgba(255,255,255,.04); }
[data-theme="dark"] .bub__form input { background: rgba(255,255,255,.05); }


/* 留言板紧凑化：卡片下方、默认两条 */
.notes { margin: 18px 0 10px; }
.notes__card { padding: 14px 18px 12px; }
.notes__list { gap: 10px; }
.bub__avatar { width: 28px; height: 28px; font-size: 11px; }
.bub__text { padding: 8px 12px; font-size: 13px; }
.bub__head { margin-bottom: 3px; }
.bub__meta { margin-top: 4px; }
.notes__more {
  align-self: center;
  margin: 2px 0 4px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: none;
  color: var(--muted-2);
  font-size: 12px;
  cursor: pointer;
}
.notes__more:hover { color: var(--accent); border-color: var(--accent); }


/* ==========================================================================
   便签墙：代替气泡
   ========================================================================== */
.notes__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  align-items: start;
}

.bub, .bub.mine {
  --note-bg: #fffdf3;
  --note-edge: rgba(180, 160, 90, 0.18);
  position: relative;
  display: block;
  flex-direction: initial;
  padding: 12px 14px 10px;
  border-radius: 10px;
  background: var(--note-bg);
  border: 1px solid var(--note-edge);
  box-shadow: 0 10px 22px -18px rgba(22, 28, 54, 0.55);
  transition: transform .22s ease, box-shadow .22s ease;
}
.bub:nth-child(4n+2) { --note-bg: #f4f8ff; --note-edge: rgba(90, 130, 200, 0.18); }
.bub:nth-child(4n+3) { --note-bg: #f4fdf7; --note-edge: rgba(70, 160, 110, 0.18); }
.bub:nth-child(4n+4) { --note-bg: #fdf4fb; --note-edge: rgba(180, 90, 150, 0.16); }

.bub:nth-child(3n+1) { transform: rotate(-0.5deg); }
.bub:nth-child(3n+2) { transform: rotate(0.4deg); }

.bub:hover {
  transform: translateY(-3px) rotate(0deg);
  box-shadow: 0 18px 32px -20px rgba(22, 28, 54, 0.55);
}

/* 便签左上角的「贴纸」高光 */
.bub::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, rgba(255, 214, 107, 0.55), rgba(255, 214, 107, 0));
}

.bub__avatar {
  width: 22px; height: 22px; font-size: 10px;
  color: #fff;
  background: linear-gradient(140deg, #8fa8ff, #5be3c8);
  box-shadow: none;
  position: absolute;
  right: 10px; top: 10px;
}
.bub__body { max-width: none; width: 100%; }
.bub.mine .bub__body { align-items: flex-start; }
.bub__head { margin: 0 32px 6px 0; }
.bub.mine .bub__head { flex-direction: row; margin: 0 32px 6px 0; }
.bub__who { font-size: 12px; }
.bub__when { font-size: 10.5px; }

.bub__text {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.6;
  color: #2b2a26;
}
.bub.mine .bub__text { background: none; border: 0; }

.bub__meta { margin: 8px 0 0; }
.bub.mine .bub__meta { flex-direction: row; }

.bub__thread { margin-top: 8px; padding-left: 8px; border-left: 1px solid var(--note-edge); }
.bub--sm {
  --note-bg: rgba(255, 255, 255, 0.6);
  --note-edge: rgba(0, 0, 0, 0.06);
  padding: 6px 9px 5px;
  border-radius: 8px;
  box-shadow: none;
  transform: none !important;
}
.bub--sm .bub__avatar { display: none; }
.bub--sm .bub__head { margin: 0 0 2px; }
.bub--sm .bub__text { font-size: 12px; }
.bub--sm .bub__who { font-size: 11.5px; }

.bub__reply { padding: 2px 10px; font-size: 11px; margin-top: 6px; }
.bub__form input { background: #fff; }
.notes__more { grid-column: 1 / -1; }

/* 深色主题下的便签 */
[data-theme="dark"] .bub {
  --note-bg: rgba(255, 255, 255, 0.055);
  --note-edge: rgba(255, 255, 255, 0.09);
}
[data-theme="dark"] .bub:nth-child(4n+2) { --note-bg: rgba(143, 168, 255, 0.09); }
[data-theme="dark"] .bub:nth-child(4n+3) { --note-bg: rgba(94, 224, 194, 0.08); }
[data-theme="dark"] .bub:nth-child(4n+4) { --note-bg: rgba(255, 155, 200, 0.07); }
[data-theme="dark"] .bub__text { color: var(--fg); }
[data-theme="dark"] .bub--sm { --note-bg: rgba(255, 255, 255, 0.04); }
[data-theme="dark"] .bub__form input { background: rgba(255, 255, 255, 0.06); }


/* 用更高优先级锁死便签外观（旧气泡样式彻底失效） */
#notesList { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 12px !important; }
#notesList .bub {
  background: var(--note-bg) !important;
  border: 1px solid var(--note-edge) !important;
  border-radius: 10px !important;
  padding: 12px 14px 10px !important;
  box-shadow: 0 10px 22px -18px rgba(22, 28, 54, 0.55) !important;
}
#notesList .bub__text {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
#notesList .bub--sm { background: rgba(255, 255, 255, 0.6) !important; }


/* ==========================================================================
   留言板 UI 优化
   ========================================================================== */
.notes__card {
  border-radius: 20px;
  padding: 16px 18px 14px;
  background:
    radial-gradient(120% 80% at 0% -20%, rgba(127, 157, 255, 0.10), transparent 60%),
    linear-gradient(158deg, var(--card-from), var(--card-to));
}

.notes__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.notes__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
}
.notes__title::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, #8fa8ff, #5be3c8);
}
.notes__hint { margin: 0; font-size: 11.5px; color: var(--muted-2); }
.notes__count {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--muted-2);
}

/* 便签：更紧凑，底部一元信息 */
.notes__list { gap: 10px; margin-bottom: 12px; }
#notesList .bub {
  padding: 11px 13px 9px !important;
  border-radius: 12px !important;
}
.bub__head { margin: 0 24px 5px 0; gap: 6px; }
.bub__who { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.bub__when { font-size: 10.5px; }
.bub__avatar {
  width: 20px; height: 20px; font-size: 9.5px;
  right: 9px; top: 9px;
}
.bub__text { font-size: 13px; line-height: 1.55; }

.bub__meta { margin: 7px 0 0; gap: 6px; }
.vote {
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 999px;
}
.bub__reply {
  margin-top: 5px;
  padding: 2px 10px;
  font-size: 10.5px;
}

/* 发送区：像输入框组 */
.notes__form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}
.notes__form input {
  border: 0 !important;
  background: transparent !important;
  padding: 8px 10px !important;
  font-size: 13px;
}
.notes__form input:focus { box-shadow: none !important; }
.notes__form button {
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-size: 12.5px !important;
}

.notes__more {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 4px 0 2px;
}
.notes__login { margin: 8px 2px 0; }

[data-theme="light"] .notes__form { background: rgba(16, 18, 28, 0.035); }
[data-theme="light"] .notes__count { background: rgba(16, 18, 28, 0.05); }


/* 卡片图标：悬停时轻微抬起+发光 */
.card__icon { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s, color .28s; }
.card:hover .card__icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 24px -12px rgba(127, 157, 255, .75);
  color: var(--accent);
}

/* 备案号 */
.footer .icp,
.footer a.icp {
  color: var(--muted-2, #8b90a3);
  font-size: 12px;
  text-decoration: none;
  transition: color .2s;
}
.footer .icp:hover { color: var(--accent, #7f9dff); text-decoration: underline; }
.footer__domain { font-size: 12px; color: var(--muted-2, #8b90a3); letter-spacing: .02em; }
