/* ==========================================================================
   赛勘社区 · SeqKan Community
   视觉体系：小米社区式简约布局 + SeqKan logo 蓝青配色
   ========================================================================== */

:root {
  --brand: #1e6ad1;
  --brand-deep: #12459f;
  --brand-light: #eaf2ff;
  --brand-soft: #f4f8ff;
  --mint: #7fe0bd;
  --mint-deep: #22a985;
  --mint-light: #e9faf4;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1b1f24;
  --text-2: #5b6472;
  --text-3: #9aa2ae;
  --line: #eef0f3;
  --line-strong: #e3e7ed;
  --shadow-sm: 0 1px 2px rgba(20, 40, 80, .04);
  --shadow-card: 0 2px 10px rgba(24, 50, 90, .05);
  --shadow-pop: 0 12px 36px rgba(18, 45, 90, .14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --header-h: 60px;
  --max-w: 1200px;
  --grad: linear-gradient(120deg, #1e6ad1 0%, #12459f 100%);
  --grad-soft: linear-gradient(120deg, #2f7fe0 0%, #1a56b4 100%);
  --grad-mint: linear-gradient(120deg, #22a985 0%, #7fe0bd 100%);
}

* { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; outline: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

::selection { background: rgba(30, 106, 209, .16); }

/* 滚动条（仅桌面） */
@media (min-width: 1025px) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-thumb { background: #d9dee6; border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: #c5ccd6; }
  ::-webkit-scrollbar-track { background: transparent; }
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 15px; height: 15px; }
.ico-lg { width: 22px; height: 22px; }

/* ============================ 顶栏 ============================ */
.sk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max-w);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(18, 69, 159, .22);
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #17202b;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  flex: none;
}

.main-nav a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 13px;
  font-size: 15px;
  color: #3c4553;
  transition: color .18s;
}

.main-nav a:hover { color: var(--brand); }

.main-nav a.active {
  color: var(--brand);
  font-weight: 600;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}

.header-search {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 280px;
  margin-left: auto;
}

.header-search input {
  width: 100%;
  height: 36px;
  padding: 0 16px 0 38px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #f4f5f7;
  font-size: 13px;
  color: var(--text);
  transition: background .18s, border-color .18s;
}

.header-search input::placeholder { color: #a6adb8; }
.header-search input:focus { background: #fff; border-color: rgba(30, 106, 209, .35); }

.header-search .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa2ae;
}

.search-pop {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--line);
  padding: 6px;
  display: none;
  z-index: 60;
}

.search-pop.open { display: block; }

.search-pop a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 8px;
}

.search-pop a:hover { background: var(--brand-soft); }
.search-pop strong { font-size: 13px; font-weight: 600; }
.search-pop span { font-size: 12px; color: var(--text-3); }
.search-pop .empty { padding: 16px; text-align: center; color: var(--text-3); font-size: 13px; }

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

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #59616e;
  transition: background .18s, color .18s;
}

.icon-btn:hover { background: #f3f5f8; color: var(--brand); }

.icon-btn .dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a4e;
  border: 1.5px solid #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .15s, box-shadow .18s, background .18s, color .18s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 82, 175, .22);
}

.btn-primary:hover { box-shadow: 0 6px 16px rgba(24, 82, 175, .3); }

.btn-ghost {
  background: var(--brand-light);
  color: var(--brand);
}

.btn-ghost:hover { background: #dfeaff; }

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  background: #fff;
}

.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-line {
  border: 1px solid rgba(30, 106, 209, .3);
  color: var(--brand);
  background: #fff;
}

.btn-line:hover { background: var(--brand-soft); }

.btn-sm { height: 29px; padding: 0 13px; border-radius: 15px; font-size: 12px; }
.btn-lg { height: 40px; padding: 0 22px; border-radius: 20px; font-size: 14px; }

.header-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-user .avatar { width: 32px; height: 32px; font-size: 13px; cursor: pointer; }

.user-menu {
  position: absolute;
  top: 44px;
  right: 0;
  width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-pop);
  padding: 6px;
  display: none;
  z-index: 80;
}

.user-menu.open { display: block; }

.user-menu a,
.user-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
  text-align: left;
}

.user-menu a:hover,
.user-menu button:hover { background: #f5f7fa; color: var(--brand); }
.user-menu .split { height: 1px; background: var(--line); margin: 5px 4px; }

/* ============================ 头像 / 等级 ============================ */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  flex: none;
  overflow: hidden;
  user-select: none;
  background: var(--grad);
}

.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.avatar.xl { width: 84px; height: 84px; font-size: 30px; border: 3px solid #fff; }

.avatar.official { background: var(--grad); position: relative; }
.avatar.official::after {
  content: "官";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint);
  color: #0b5b46;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.lv {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .2px;
  flex: none;
  background: #f0f2f5;
  color: #747d8c;
}

.lv-1 { background: #f1f3f6; color: #8b94a1; }
.lv-2 { background: #eef3fa; color: #6c88ab; }
.lv-3 { background: #e8f1fe; color: #3f7fd4; }
.lv-4 { background: #e2edfd; color: #1e6ad1; }
.lv-5 { background: #e2f6f6; color: #16879a; }
.lv-6 { background: #ddf6ee; color: #149473; }
.lv-7 {
  background: linear-gradient(120deg, #1e6ad1, #22a985);
  color: #fff;
  box-shadow: 0 2px 6px rgba(22, 128, 130, .25);
}

.badge-dot {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
  background: var(--brand-light);
  color: var(--brand);
}

.badge-pin { background: #eaf2ff; color: #1e6ad1; }
.badge-featured { background: #e9faf4; color: #168b6b; }
.badge-activity { background: #fff3e6; color: #c77700; }
.badge-qa { background: #f0f0ff; color: #6157cf; }

/* ============================ 布局 ============================ */
.page {
  padding: 20px 0 64px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.main-col { min-width: 0; }

.side-col {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.card-head {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.card-head h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.2px;
}

.card-head .more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--text-3);
}

.card-head .more:hover { color: var(--brand); }

.section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 14px;
}

.section-title h2 { font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.section-title span { font-size: 13px; color: var(--text-3); }

/* ============================ 轮播 ============================ */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f2a53;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 7;
  user-select: none;
  touch-action: pan-y;
}

.hero-track { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}

.hero-slide.active { opacity: 1; visibility: visible; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6.5s linear;
}

.hero-slide.active img { transform: scale(1.08); }

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 58, .82) 0%, rgba(8, 32, 66, .52) 42%, rgba(8, 32, 66, .08) 78%);
}

.hero-copy {
  position: absolute;
  left: 44px;
  bottom: 54px;
  z-index: 2;
  color: #fff;
  max-width: 62%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(127, 224, 189, .16);
  border: 1px solid rgba(127, 224, 189, .38);
  color: #b9f6e2;
  font-size: 11px;
  letter-spacing: .6px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.hero-copy h2 {
  font-size: 30px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -.6px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.hero-copy p {
  margin-top: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  color: #12459f;
  font-size: 13px;
  font-weight: 600;
  transition: transform .18s, background .18s;
}

.hero-cta:hover { transform: translateX(2px); background: #fff; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(16, 32, 56, .34);
  border: 1px solid rgba(255, 255, 255, .22);
  opacity: 0;
  transition: opacity .2s, background .2s;
  backdrop-filter: blur(4px);
}

.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(16, 32, 56, .6); }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  transition: width .25s, background .25s;
}

.hero-dots button.active { width: 20px; background: #fff; }

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  z-index: 3;
}

.hero-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--mint), #fff);
}

/* ============================ 信息流 ============================ */
.feed-card { margin-top: 16px; overflow: hidden; }

.feed-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.feed-tabs button {
  position: relative;
  height: 52px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .18s;
}

.feed-tabs button:hover { color: var(--brand); }

.feed-tabs button.active {
  color: var(--text);
  font-weight: 600;
}

.feed-tabs button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--brand);
}

.feed-tabs .tab-divider {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
  margin: 0 4px;
  flex: none;
}

.feed-filter {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-3);
  font-size: 12px;
  flex: none;
}

.post-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}

.post-item:last-child { border-bottom: none; }
.post-item:hover { background: #fbfcfe; }

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

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1;
}

.post-meta .name {
  font-size: 13px;
  color: #3d4654;
  font-weight: 500;
}

.post-meta .name:hover { color: var(--brand); }
.post-meta .circle-tag { color: var(--text-3); }
.post-meta .circle-tag:hover { color: var(--brand); }
.post-meta .dot-sep { width: 2px; height: 2px; border-radius: 50%; background: #c9cfd8; }

.post-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1;
}

.post-title {
  margin-top: 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #1c222b;
  letter-spacing: -.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .18s;
}

.post-item:hover .post-title { color: var(--brand); }

.post-excerpt {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 11px;
  font-size: 12px;
  color: var(--text-3);
}

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

.post-thumb {
  width: 138px;
  height: 92px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex: none;
  background: var(--brand-soft);
  border: 1px solid var(--line);
}

.post-thumb.wide { width: 158px; height: 100px; }

.post-thumb-link { display: block; flex: none; align-self: flex-start; margin-top: 2px; }

.post-meta .time { color: #a3aab5; font-size: 11px; white-space: nowrap; }

.post-meta .avatar { width: 24px; height: 24px; font-size: 10px; }
.post-meta .name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-meta { min-height: 24px; }

.circle-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7b92;
}
.circle-link:hover { color: var(--brand); }

.post-item.no-thumb .post-title { max-width: 92%; }

.chip { display: inline-flex; align-items: center; }

.feed-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

.feed-empty svg { margin: 0 auto 12px; color: #c8ced8; }

.feed-more {
  padding: 18px;
  text-align: center;
}

.feed-more button {
  width: 100%;
  height: 38px;
  border-radius: 19px;
  background: #f6f7f9;
  color: var(--text-2);
  font-size: 13px;
  transition: background .18s, color .18s;
}

.feed-more button:hover { background: var(--brand-light); color: var(--brand); }

/* ============================ 右栏 ============================ */
.growth-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.growth-head {
  position: relative;
  padding: 18px 18px 14px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(127, 224, 189, .22) 0%, rgba(127, 224, 189, 0) 52%),
    linear-gradient(135deg, #f2f7ff 0%, #eaf3ff 100%);
  border-bottom: 1px solid rgba(30, 106, 209, .06);
}

.growth-head::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 18px solid rgba(30, 106, 209, .05);
}

.growth-user {
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
  z-index: 1;
}

.growth-user .avatar { box-shadow: 0 4px 12px rgba(18, 69, 159, .18); }

.growth-id { min-width: 0; }

.growth-id .nick {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.growth-id .sub {
  margin-top: 3px;
  font-size: 11px;
  color: #74839a;
}

.growth-level {
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

.growth-level .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #5c6c82;
}

.growth-level .row strong { color: #12459f; font-variant-numeric: tabular-nums; }

.growth-bar {
  margin-top: 7px;
  height: 6px;
  border-radius: 4px;
  background: rgba(30, 106, 209, .12);
  overflow: hidden;
}

.growth-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #1e6ad1, #7fe0bd);
  transition: width .5s ease;
}

.growth-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.growth-actions .btn { flex: 1; height: 32px; border-radius: 16px; font-size: 12px; }

.growth-actions .btn-mint {
  background: var(--mint-light);
  color: #168b6b;
  border: 1px solid rgba(34, 169, 133, .22);
}

.growth-actions .btn-mint:hover { background: #dcf7ed; }
.growth-actions .btn[disabled] { opacity: .6; cursor: default; }

.growth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 13px 0;
  background: #fff;
}

.growth-stats a {
  text-align: center;
  border-right: 1px solid var(--line);
}

.growth-stats a:last-child { border-right: none; }
.growth-stats b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.2px; font-variant-numeric: tabular-nums; }
.growth-stats span { font-size: 11px; color: var(--text-3); }

.rail-card { padding: 16px 18px 18px; }

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rail-title h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.2px;
}

.rail-title h3 .ico { color: var(--brand); }
.rail-title a { font-size: 12px; color: var(--text-3); }
.rail-title a:hover { color: var(--brand); }

.news-list li { border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: none; }

.news-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  font-size: 13px;
  color: #454e5c;
  line-height: 1.5;
}

.news-list a:hover { color: var(--brand); }

.news-list .txt {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list .time { font-size: 11px; color: #b0b6c0; flex: none; }

.news-list .tag {
  flex: none;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--brand-light);
  color: var(--brand);
  line-height: 1.5;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 0;
}

.tool-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  font-size: 11px;
  color: #606a79;
  border-radius: 10px;
  transition: background .18s, color .18s;
}

.tool-grid a:hover { background: var(--brand-soft); color: var(--brand); }

.tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-light);
  color: var(--brand);
}

.tool-icon.mint { background: var(--mint-light); color: #168b6b; }
.tool-icon.blue2 { background: #eaf2ff; color: #2566c4; }
.tool-icon.gray { background: #f2f4f7; color: #64748b; }

.circle-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.circle-mini:last-child { border-bottom: none; padding-bottom: 0; }

.circle-mini .tile {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  flex: none;
  background: var(--grad);
}

.tile.dna { background: linear-gradient(135deg, #1e6ad1, #12459f); }
.tile.lab { background: linear-gradient(135deg, #16879a, #0d5f80); }
.tile.plot { background: linear-gradient(135deg, #22a985, #0e7a68); }
.tile.gene { background: linear-gradient(135deg, #3c74d8, #5b3fc0); }
.tile.gray { background: linear-gradient(135deg, #8293a8, #5d6c80); }

.circle-mini .info { flex: 1; min-width: 0; }
.circle-mini .info b { display: block; font-size: 13px; font-weight: 600; }
.circle-mini .info > span { font-size: 11px; color: var(--text-3); }
.circle-mini .join { flex: none; }

.ad-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad);
  color: #fff;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}

.ad-card::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, .08);
}

.ad-card .k { font-size: 10px; letter-spacing: 1px; opacity: .75; }
.ad-card h4 { margin-top: 4px; font-size: 15px; font-weight: 600; }
.ad-card p { margin-top: 3px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.ad-card span.arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
}

/* ============================ 圈子页 ============================ */
.circle-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #10294f;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 26px 30px;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.circle-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.circle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 30, 61, .94) 0%, rgba(9, 30, 61, .6) 55%, rgba(9, 30, 61, .2) 100%);
}

.circle-hero-inner { position: relative; z-index: 1; width: 100%; }

.circle-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.circle-logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  background: var(--grad);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  flex: none;
}

.circle-title-row h1 { font-size: 24px; font-weight: 700; letter-spacing: -.4px; }
.circle-title-row p { margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .7); }

.circle-stats {
  display: flex;
  gap: 26px;
  margin-top: 16px;
}

.circle-stats b { display: block; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.circle-stats span { font-size: 11px; color: rgba(255, 255, 255, .62); }

.circle-actions {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.circle-hero .join-btn {
  height: 36px;
  padding: 0 22px;
  border-radius: 18px;
  background: #fff;
  color: #12459f;
  font-size: 13px;
  font-weight: 600;
  transition: transform .18s;
}

.circle-hero .pub-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
  font-size: 13px;
  transition: background .18s;
}

.circle-hero .pub-btn:hover { background: rgba(255, 255, 255, .24); }
.circle-hero .join-btn:hover { transform: translateY(-1px); }
.circle-hero .join-btn.joined { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }

.circle-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 0 20px;
  height: 54px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.circle-tabs a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-2);
}

.circle-tabs a.active { color: var(--brand); font-weight: 600; }

.circle-tabs a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--brand);
}

.circle-tabs .right { margin-left: auto; font-size: 12px; color: var(--text-3); }

.circle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.circle-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  transition: transform .18s, box-shadow .18s;
  display: block;
}

.circle-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(24, 50, 90, .09); }

.circle-card .top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.circle-card .tile {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.circle-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.circle-card .meta-line { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.circle-card p {
  margin-top: 13px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.62;
  height: 39px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.circle-card .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-3);
}

.circle-card .members {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-3);
}

.circle-card .join-mini {
  height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
}

.circle-card .join-mini.joined { background: #f1f3f6; color: #8b94a1; }

.circle-intro-card { padding: 18px; }
.circle-intro-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.circle-intro-card p { font-size: 12px; color: var(--text-2); line-height: 1.7; }

.rule-list { margin-top: 10px; }
.rule-list li { position: relative; padding-left: 14px; font-size: 12px; color: var(--text-2); line-height: 1.8; }
.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint-deep);
}

.mod-list .circle-mini .tile { font-size: 12px; }

/* ============================ 帖子详情 ============================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-3);
}

.breadcrumb a:hover { color: var(--brand); }

.article-card { padding: 30px 36px 26px; }

.article-head .badges { display: flex; gap: 6px; margin-bottom: 10px; }

.article-head h1 {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #171c24;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.article-author .who { flex: 1; }
.article-author .who b { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.article-author .who span { font-size: 11px; color: var(--text-3); }
.article-author .follow {
  height: 28px;
  padding: 0 15px;
  border-radius: 14px;
  border: 1px solid rgba(30, 106, 209, .35);
  color: var(--brand);
  font-size: 12px;
}
.article-author .follow.followed { border-color: var(--line-strong); color: var(--text-3); background: #f7f8fa; }

.article-body {
  padding: 22px 0 8px;
  font-size: 15px;
  line-height: 1.95;
  color: #2b323d;
}

.article-body p { margin: 0 0 16px; }
.article-body h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 26px 0 10px;
  letter-spacing: -.3px;
  color: #1b212a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-body h2::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--mint));
}
.article-body strong { color: #12459f; font-weight: 600; }
.article-body ul { margin: 0 0 16px; padding-left: 0; }
.article-body li { position: relative; padding-left: 18px; margin-bottom: 7px; }
.article-body li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.figure {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.figure img { width: 100%; }
.figure figcaption { padding: 9px 12px; font-size: 11px; color: var(--text-3); text-align: center; border-top: 1px solid var(--line); }

.seq-block {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #0f2444;
  color: #b9d4ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .6px;
  overflow-x: auto;
}

.callout {
  margin: 18px 0;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  font-size: 13px;
  color: #3d5b86;
  line-height: 1.75;
}

.callout.mint { background: var(--mint-light); border-left-color: var(--mint-deep); color: #1d6a57; }

.article-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 0 6px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 20px;
  border-radius: 19px;
  background: #f5f7fa;
  color: #4f5866;
  font-size: 13px;
  transition: background .18s, color .18s, transform .15s;
}

.pill-action:hover { background: var(--brand-light); color: var(--brand); }
.pill-action.active { background: var(--brand-light); color: var(--brand); font-weight: 600; }
.pill-action.active.liked { background: #feeeee; color: #e05252; }
.pill-action.active.collected { background: #fff6e8; color: #c48a1a; }

.comment-card { margin-top: 16px; padding: 20px 26px 26px; }
.comment-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.comment-head h3 { font-size: 16px; font-weight: 600; }
.comment-head span { font-size: 12px; color: var(--text-3); }

.comment-editor {
  display: flex;
  gap: 12px;
  margin: 14px 0 22px;
  padding: 14px;
  background: #f7f9fc;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.comment-editor .field { flex: 1; }
.comment-editor textarea {
  width: 100%;
  min-height: 56px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.6;
}
.comment-editor textarea:focus { border-color: rgba(30, 106, 209, .45); }
.comment-editor .bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.comment-editor .hint { margin-right: auto; font-size: 11px; color: var(--text-3); }

.comment {
  display: flex;
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.comment:last-child { border-bottom: none; }
.comment .body { flex: 1; min-width: 0; }
.comment .body .line { display: flex; align-items: center; gap: 7px; }
.comment .body .line b { font-size: 13px; font-weight: 600; }
.comment .body .line time { font-size: 11px; color: var(--text-3); }
.comment .body p { margin-top: 5px; font-size: 13px; color: #3f4855; line-height: 1.72; }
.comment .body .ops { margin-top: 6px; display: flex; gap: 16px; font-size: 11px; color: var(--text-3); }
.comment .body .ops button:hover { color: var(--brand); }
.comment .body .ops button.liked { color: #e05252; }
.comment .body .ops button { display: inline-flex; align-items: center; gap: 4px; }
.comment .body .ops .ico { width: 13px; height: 13px; }
.comment .floor { font-size: 11px; color: #c3c9d2; }

.author-card { padding: 20px; text-align: center; }
.author-card .avatar { margin: 0 auto 10px; }
.author-card h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.author-card .bio { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.author-card .nums { display: flex; margin: 15px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-card .nums div { flex: 1; text-align: center; }
.author-card .nums b { display: block; font-size: 15px; font-weight: 600; }
.author-card .nums span { font-size: 11px; color: var(--text-3); }
.author-card .btn { width: 100%; }

.related-list a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
.related-list a:last-child { border-bottom: none; padding-bottom: 0; }
.related-list .t { font-size: 13px; color: #3f4855; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-list a:hover .t { color: var(--brand); }
.related-list .m { margin-top: 4px; font-size: 11px; color: var(--text-3); }

/* ============================ 个人中心 ============================ */
.profile-cover {
  position: relative;
  height: 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(80% 140% at 82% 20%, rgba(127, 224, 189, .5) 0%, rgba(127, 224, 189, 0) 55%),
    linear-gradient(120deg, #164a9e 0%, #1e6ad1 48%, #178a9b 100%);
}

.profile-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.profile-cover .deco {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -6px;
  color: rgba(255, 255, 255, .07);
  user-select: none;
}

.profile-card {
  position: relative;
  margin-top: -52px;
  padding: 0 32px 26px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.profile-top { display: flex; align-items: flex-end; gap: 18px; }

.profile-top .avatar { margin-top: -32px; box-shadow: 0 8px 22px rgba(18, 69, 159, .22); }

.profile-name { flex: 1; padding-bottom: 6px; }
.profile-name h1 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; display: flex; align-items: center; gap: 9px; }
.profile-name .line { margin-top: 4px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-name .line .tagchip {
  padding: 1px 8px;
  border-radius: 9px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
}

.profile-ops { display: flex; gap: 8px; padding-bottom: 6px; }

.profile-level {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, #f3f8ff, #f1fbf7);
  border: 1px solid rgba(30, 106, 209, .08);
}

.profile-level .badge-box { display: flex; align-items: center; gap: 10px; flex: none; }
.profile-level .badge-box .lv { height: 24px; padding: 0 10px; font-size: 12px; border-radius: 12px; }
.profile-level .badge-box b { font-size: 14px; }
.profile-level .bar-wrap { flex: 1; }
.profile-level .bar-wrap .row { display: flex; justify-content: space-between; font-size: 11px; color: #6d7b8f; margin-bottom: 5px; }
.profile-level .bar-wrap .row strong { color: #12459f; }
.profile-level .bar { height: 7px; border-radius: 4px; background: rgba(30, 106, 209, .12); overflow: hidden; }
.profile-level .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #1e6ad1, #7fe0bd); }

.profile-tabs {
  display: flex;
  gap: 26px;
  margin-top: 22px;
  border-bottom: 1px solid var(--line);
}

.profile-tabs button {
  position: relative;
  padding: 0 2px 12px;
  font-size: 14px;
  color: var(--text-2);
}

.profile-tabs button.active { color: var(--text); font-weight: 600; }
.profile-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
}

.profile-content { padding-top: 6px; }

.badge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }

.badge-item {
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
  background: #fff;
  transition: border-color .18s, transform .18s;
}

.badge-item:hover { border-color: rgba(30, 106, 209, .3); transform: translateY(-2px); }

.badge-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.badge-item.unlocked .badge-icon { background: linear-gradient(135deg, #e8f2ff, #e7fbf4); color: #168b6b; }
.badge-item.locked { opacity: .5; }
.badge-item b { display: block; font-size: 12px; font-weight: 600; }
.badge-item span { display: block; margin-top: 2px; font-size: 10px; color: var(--text-3); }

.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.stat-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.stat-box span { font-size: 12px; color: var(--text-3); }
.stat-box b { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.stat-box small { font-size: 11px; color: var(--mint-deep); margin-left: 4px; font-weight: 500; }

/* ============================ 等级体系 ============================ */
.levels-hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 88% 10%, rgba(127, 224, 189, .35), transparent 62%),
    linear-gradient(120deg, #103e8c 0%, #1e6ad1 55%, #178a9b 100%);
  box-shadow: var(--shadow-card);
}

.levels-hero::after {
  content: "Lv.";
  position: absolute;
  right: 36px;
  bottom: -46px;
  font-size: 190px;
  font-weight: 800;
  letter-spacing: -10px;
  color: rgba(255, 255, 255, .07);
  line-height: 1;
}

.levels-hero .kicker { font-size: 11px; letter-spacing: 2px; color: #b9f6e2; }
.levels-hero h1 { margin-top: 8px; font-size: 30px; font-weight: 700; letter-spacing: -.6px; }
.levels-hero p { margin-top: 8px; max-width: 560px; font-size: 13px; color: rgba(255, 255, 255, .78); line-height: 1.7; }

.levels-hero .mini-stats { display: flex; gap: 34px; margin-top: 24px; position: relative; z-index: 1; }
.levels-hero .mini-stats b { display: block; font-size: 20px; font-weight: 600; }
.levels-hero .mini-stats span { font-size: 11px; color: rgba(255, 255, 255, .62); }

.level-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 22px 20px;
}

.level-step {
  text-align: center;
  padding: 16px 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.level-step:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(24, 50, 90, .08); }
.level-step.current { border-color: rgba(30, 106, 209, .4); background: var(--brand-soft); }

.level-step .orb {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 5px 12px rgba(30, 106, 209, .2);
}

.level-step.lv-1 .orb { background: linear-gradient(135deg, #aeb6c2, #8c96a5); box-shadow: none; }
.level-step.lv-2 .orb { background: linear-gradient(135deg, #8ba3c4, #6c88ab); box-shadow: none; }
.level-step.lv-3 .orb { background: linear-gradient(135deg, #5b95e2, #3f7fd4); }
.level-step.lv-4 .orb { background: linear-gradient(135deg, #2f7fe0, #1e6ad1); }
.level-step.lv-5 .orb { background: linear-gradient(135deg, #1a9bb5, #16879a); }
.level-step.lv-6 .orb { background: linear-gradient(135deg, #22b997, #149473); }
.level-step.lv-7 .orb { background: linear-gradient(135deg, #1e6ad1, #7fe0bd); }

.level-step b { display: block; font-size: 12px; font-weight: 600; }
.level-step span { display: block; margin-top: 3px; font-size: 10px; color: var(--text-3); }
.level-step em { display: block; margin-top: 7px; font-size: 10px; color: var(--brand); font-style: normal; font-weight: 600; }

.level-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }

.level-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.level-row .orb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.level-row .txt { flex: 1; }
.level-row .txt b { font-size: 13px; font-weight: 600; }
.level-row .txt p { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.level-row .need { font-size: 12px; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; }

.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }

.rule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 12px;
  background: linear-gradient(120deg, #f7faff, #f6fcf9);
  border: 1px solid rgba(30, 106, 209, .06);
}

.rule-item .ico-wrap {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(24, 50, 90, .07);
  flex: none;
}

.rule-item b { display: block; font-size: 12px; font-weight: 600; }
.rule-item span { font-size: 11px; color: var(--text-3); }
.rule-item .plus { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--mint-deep); }

/* 排行榜 */
.rank-list { margin-top: 4px; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 10px;
  transition: background .18s;
}
.rank-row:hover { background: #f8fafc; }
.rank-row.me { background: var(--brand-soft); }
.rank-no {
  width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #a4acb8;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.rank-no.top1 { color: #d9a520; }
.rank-no.top2 { color: #8e9daf; }
.rank-no.top3 { color: #b9835b; }
.rank-row .who { flex: 1; min-width: 0; }
.rank-row .who b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.rank-row .who span { font-size: 11px; color: var(--text-3); }
.rank-row .pts { font-size: 14px; font-weight: 700; color: #12459f; font-variant-numeric: tabular-nums; }
.rank-row .pts small { font-size: 10px; font-weight: 500; color: var(--text-3); margin-left: 2px; }

/* ============================ 圈子广场 ============================ */
.page-head { margin-bottom: 18px; }
.page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.page-head p { margin-top: 4px; font-size: 13px; color: var(--text-3); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-size: 12px;
  transition: all .18s;
}
.chip:hover { border-color: rgba(30, 106, 209, .4); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============================ 弹窗 ============================ */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 26, 44, .48);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}

.modal-mask.open { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 30, 60, .26);
  padding: 28px 28px 24px;
  position: relative;
  transform: translateY(12px) scale(.98);
  transition: transform .22s;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-mask.open .modal { transform: none; }
.modal.wide { max-width: 620px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #98a0ac;
  transition: background .18s;
}

.modal-close:hover { background: #f3f5f8; color: #4a5361; }

.modal-logo { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(18, 69, 159, .2); }
.modal h2 { font-size: 21px; font-weight: 700; letter-spacing: -.4px; }
.modal .sub { margin-top: 5px; font-size: 12px; color: var(--text-3); }

.auth-tabs { display: flex; gap: 22px; margin: 20px 0 16px; border-bottom: 1px solid var(--line); }
.auth-tabs button { position: relative; padding-bottom: 10px; font-size: 14px; color: var(--text-3); }
.auth-tabs button.active { color: var(--text); font-weight: 600; }
.auth-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fafbfc;
  font-size: 13px;
  transition: border-color .18s, background .18s;
}
.form-field textarea { height: auto; min-height: 110px; padding: 11px 13px; resize: vertical; line-height: 1.7; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: rgba(30, 106, 209, .5); background: #fff; }

.form-row { display: flex; gap: 10px; }
.form-row .form-field { flex: 1; }

.form-check { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; color: var(--text-3); line-height: 1.5; margin: 4px 0 14px; }
.form-check input { width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.form-check a { color: var(--brand); }

.modal .btn-block { width: 100%; height: 42px; border-radius: 21px; font-size: 14px; }

.modal-tip {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
}

.or-line { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #c2c8d1; font-size: 11px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.publish-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.publish-thumbs label { position: relative; width: 62px; height: 46px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; }
.publish-thumbs input { position: absolute; opacity: 0; }
.publish-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.publish-thumbs label.sel { border-color: var(--brand); }

/* ============================ Toast ============================ */
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 22px;
  background: rgba(22, 32, 48, .92);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 26px rgba(10, 25, 50, .2);
  animation: toastIn .25s ease;
  backdrop-filter: blur(6px);
}

.toast .ico { color: var(--mint); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ============================ 页脚 ============================ */
.sk-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 34px 0 30px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 9px; }
.footer-brand b { font-size: 15px; display: block; letter-spacing: -.2px; }
.footer-brand span { font-size: 11px; color: var(--text-3); display: block; }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-2); }
.footer-links a:hover { color: var(--brand); }

.footer-meta { width: 100%; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: #a8afb9; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-meta a:hover { color: var(--brand); }

/* ============================ 移动底栏 ============================ */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.mobile-tabbar .inner { display: flex; }
.mobile-tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: #8a929e;
  padding: 3px 0;
}
.mobile-tabbar a.active { color: var(--brand); }
.mobile-tabbar .plus {
  width: 40px;
  height: 30px;
  margin-top: -2px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(24, 82, 175, .24);
}

/* 回到顶部 */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(20, 40, 80, .1);
  display: grid;
  place-items: center;
  color: #6a7382;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s, color .2s;
}

.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { color: var(--brand); }

/* ============================ 响应式 ============================ */
@media (max-width: 1100px) {
  .header-inner { gap: 18px; }
  .main-nav a { padding: 0 10px; }
  .hero-copy h2 { font-size: 26px; }
}

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .side-col .growth-card,
  .side-col .ad-card { grid-column: span 1; }
  .header-search { max-width: 220px; }
  .main-nav a { font-size: 14px; }
  .article-card { padding: 24px 26px 20px; }
}

@media (max-width: 860px) {
  :root { --header-h: 54px; }
  .header-inner { padding: 0 14px; gap: 12px; }
  .main-nav { display: none; }
  .brand-name { font-size: 16px; }
  .header-search { max-width: none; margin-left: auto; }
  .header-search input { height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-publish { display: none; }
  .container { padding: 0 14px; }
  .page { padding: 14px 0 84px; }
  .hero-copy { left: 22px; right: 22px; bottom: 42px; max-width: none; }
  .hero-copy h2 { font-size: 20px; }
  .hero-copy p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-kicker { height: 21px; font-size: 10px; margin-bottom: 8px; }
  .hero-cta { margin-top: 11px; height: 30px; font-size: 12px; }
  .hero-dots { right: 14px; bottom: 14px; }
  .hero-arrow { display: none; }
  .hero { aspect-ratio: 16 / 7; }
  .post-item { padding: 15px 14px; }
  .post-title { font-size: 15px; }
  .post-excerpt { -webkit-line-clamp: 2; font-size: 12px; }
  .post-thumb { width: 104px; height: 72px; }
  .post-thumb.wide { width: 112px; height: 78px; }
  .post-badge { top: 15px; right: 14px; }
  .post-foot { gap: 12px; }
  .post-item.has-badge .post-meta { padding-right: 46px; }
  .feed-tabs { padding: 0 10px; height: 48px; }
  .feed-tabs button { height: 48px; padding: 0 11px; font-size: 14px; }
  .feed-tabs button.active::after { bottom: 7px; }
  .side-col { grid-template-columns: minmax(0, 1fr); }
  .growth-stats { padding: 12px 0; }
  .circle-grid { grid-template-columns: minmax(0, 1fr); }
  .circle-hero { min-height: 190px; padding: 20px; }
  .circle-title-row h1 { font-size: 20px; }
  .circle-logo { width: 52px; height: 52px; border-radius: 14px; font-size: 13px; }
  .circle-hero .circle-actions { position: static; margin-top: 16px; }
  .circle-stats { gap: 20px; margin-top: 13px; }
  .article-card { padding: 20px 16px 16px; }
  .article-head h1 { font-size: 21px; }
  .article-body { font-size: 14px; line-height: 1.9; }
  .article-author .follow { display: none; }
  .comment-card { padding: 18px 16px 20px; }
  .comment-editor { padding: 11px; }
  .profile-cover { height: 150px; }
  .profile-card { margin-top: -42px; padding: 0 18px 20px; }
  .profile-top { gap: 12px; flex-wrap: wrap; }
  .profile-top .avatar.xl { width: 72px; height: 72px; font-size: 25px; }
  .profile-name h1 { font-size: 19px; }
  .profile-ops { width: 100%; padding-bottom: 0; }
  .profile-ops .btn { flex: 1; }
  .profile-level { flex-direction: column; align-items: stretch; gap: 11px; padding: 13px; }
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .badge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .levels-hero { padding: 26px 22px; }
  .levels-hero h1 { font-size: 23px; }
  .levels-hero::after { font-size: 120px; right: 18px; }
  .levels-hero .mini-stats { gap: 22px; margin-top: 18px; }
  .level-track { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 16px 14px; }
  .level-detail { grid-template-columns: minmax(0, 1fr); }
  .rule-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-tabbar { display: block; }
  .back-top { bottom: 84px; right: 16px; }
  .toast-wrap { bottom: 92px; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .sk-footer { padding: 26px 0 84px; }
  .footer-links { gap: 18px; }
  .search-pop { position: fixed; top: 60px; left: 14px; right: 14px; }
  .article-actions { gap: 8px; }
  .pill-action { padding: 0 15px; height: 36px; font-size: 12px; }
  .hero-slide img { transform: none !important; }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .header-search input { padding-left: 34px; font-size: 12px; }
  .header-search .ico { left: 12px; width: 16px; height: 16px; }
  .header-actions .icon-btn.msg { display: none; }
  .post-thumb { width: 92px; height: 68px; }
  .post-thumb.wide { width: 96px; height: 70px; }
  .post-excerpt { display: none; }
  .level-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   v2 视觉重构 · 参考小米社区
   扁平纸面 / 黑白灰为骨 / 青绿为魂 / 无渐变堆叠 / 无重阴影
   ========================================================================== */

:root {
  --brand: #0e8f86;
  --brand-deep: #0a6f68;
  --brand-light: #e9f7f5;
  --brand-soft: #f3fbf9;
  --mint: #0e9c8f;
  --mint-deep: #0a7a70;
  --mint-light: #eaf8f5;
  --bg: #f3f4f7;
  --card: #ffffff;
  --text: #0e151c;
  --text-2: rgba(14, 21, 28, .6);
  --text-3: rgba(14, 21, 28, .4);
  --line: rgba(14, 21, 28, .07);
  --line-strong: rgba(14, 21, 28, .12);
  --shadow-sm: none;
  --shadow-card: none;
  --shadow-pop: 0 10px 30px rgba(10, 20, 30, .12);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --max-w: 1080px;
  --grad: #0e151c;
  --grad-soft: #232f38;
  --grad-mint: linear-gradient(120deg, #0e8f86, #0e9c8f);
}

body {
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
}

::selection { background: rgba(14, 143, 134, .16); }

.container { padding: 0 20px; }

/* ---------------------------- 顶栏 ---------------------------- */
.sk-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner { gap: 30px; }

.brand { gap: 9px; }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; box-shadow: none; }
.brand-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.brand-name { font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: 0; }

.main-nav { gap: 0; }
.main-nav a { padding: 0 15px; font-size: 15px; color: var(--text-2); }
.main-nav a:hover { color: var(--text); }
.main-nav a.active { font-size: 15px; font-weight: 600; color: var(--text); }
.main-nav a.active::after { display: none; }

.header-search { max-width: 280px; }
.header-search input {
  height: 32px;
  padding: 0 14px 0 36px;
  border-radius: 90px;
  background: #f5f6f8;
  font-size: 13px;
}
.header-search input:focus { background: #fff; border-color: var(--line-strong); }
.header-search .ico { left: 13px; width: 16px; height: 16px; color: var(--text-3); }

.header-actions { gap: 12px; }
.icon-btn { width: 32px; height: 32px; color: var(--text-2); }
.icon-btn:hover { background: #f5f6f8; color: var(--text); }
.icon-btn .dot { background: #f04d4d; }
.header-user .avatar { width: 30px; height: 30px; font-size: 12px; }

.user-menu {
  top: 42px;
  width: 176px;
  padding: 4px;
  border-radius: 8px;
  border-color: var(--line);
  box-shadow: var(--shadow-pop);
}
.user-menu a, .user-menu button { padding: 9px 10px; border-radius: 6px; font-size: 13px; color: var(--text-2); }
.user-menu a:hover, .user-menu button:hover { background: #f5f6f8; color: var(--text); }

.search-pop { top: 42px; border-radius: 8px; border-color: var(--line); box-shadow: var(--shadow-pop); }
.search-pop a:hover { background: #f5f6f8; }
.search-pop strong { font-weight: 500; }

/* ---------------------------- 按钮 ---------------------------- */
.btn {
  height: 32px;
  padding: 0 15px;
  border-radius: 90px;
  font-size: 13px;
  font-weight: 500;
}
.btn-primary { background: var(--text); color: #fff; box-shadow: none; }
.btn-primary:hover { background: #28323b; box-shadow: none; }
.btn-ghost { background: #f4f5f8; color: var(--text-2); }
.btn-ghost:hover { background: #eceef1; color: var(--text); }
.btn-outline { border-color: var(--line-strong); color: var(--text-2); }
.btn-outline:hover { border-color: rgba(14, 21, 28, .28); color: var(--text); }
.btn-line { border-color: rgba(14, 143, 134, .35); color: var(--brand); }
.btn-line:hover { background: var(--brand-soft); }
.btn-sm { height: 28px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 38px; padding: 0 20px; font-size: 13px; }

/* ---------------------------- 头像 / 等级 / 标签 ---------------------------- */
.avatar { background: #c3cbd3; }
.avatar.official::after { background: var(--brand); color: #fff; }

.lv {
  height: 17px;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  background: #f2f3f5;
  color: rgba(14, 21, 28, .5);
}
.lv-1, .lv-2, .lv-3, .lv-4 { background: #f2f3f5; color: rgba(14, 21, 28, .5); }
.lv-5 { background: var(--brand-light); color: var(--brand-deep); }
.lv-6 { background: #d8f2ee; color: #0a6f68; }
.lv-7 { background: var(--text); color: #fff; box-shadow: none; }

.badge-dot {
  flex: none;
  white-space: nowrap;
  height: 18px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  background: #f2f3f5;
  color: var(--text-2);
}
.badge-pin { background: #fff1e6; color: #b2601a; }
.badge-featured { background: #e9f7f5; color: #0a6f68; }
.badge-activity { background: #fff3e0; color: #a86a12; }
.badge-qa { background: #eef0fb; color: #4f5bbd; }

/* ---------------------------- 布局 ---------------------------- */
.page { padding: 16px 0 64px; }
.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.side-col { top: calc(var(--header-h) + 16px); gap: 12px; }
.card { border-radius: var(--radius); }
.card-head { height: 50px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }

.section-title h2 { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.section-title span { color: var(--text-3); }

/* ---------------------------- 首屏轮播 ---------------------------- */
.hero {
  aspect-ratio: 2 / 1;
  border-radius: 8px;
  box-shadow: none;
  background: #0d1519;
}
.hero-slide img,
.hero-slide.active img { transform: none; }
.hero-slide::after { background: linear-gradient(90deg, rgba(5, 10, 13, .74) 0%, rgba(5, 10, 13, .34) 48%, rgba(5, 10, 13, 0) 76%); }
.hero-copy { left: 32px; bottom: 34px; max-width: 56%; }
.hero-kicker {
  height: 22px;
  padding: 0 8px;
  margin-bottom: 10px;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3px;
}
.hero-copy h2 { font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; text-shadow: none; }
.hero-copy p { margin-top: 8px; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.hero-cta {
  height: 32px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 90px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}
.hero-cta:hover { background: #fff; opacity: .88; transform: none; }
.hero-arrow { border: none; background: rgba(8, 14, 18, .4); }
.hero-arrow:hover { background: rgba(8, 14, 18, .62); }
.hero-progress { background: rgba(255, 255, 255, .14); }
.hero-progress i { background: #fff; }

/* 四入口白条 */
.quick-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.quick-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 92px;
  font-size: 13px;
  color: var(--text-2);
  transition: background .18s, color .18s;
}

.quick-item + .quick-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 34px;
  transform: translateY(-50%);
  background: var(--line);
}

.quick-item:hover { background: #fafbfc; color: var(--text); }

.quick-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f6f8;
  color: rgba(14, 21, 28, .62);
  transition: background .18s, color .18s;
}

.quick-ico .ico { width: 18px; height: 18px; }
.quick-item:hover .quick-ico { background: var(--text); color: #fff; }

/* ---------------------------- 信息流 ---------------------------- */
.feed-card { margin-top: 12px; border-radius: 8px; overflow: hidden; }
.feed-tabs { height: 50px; padding: 0 24px; gap: 26px; border-bottom: 1px solid var(--line); }
.feed-tabs button { height: 50px; padding: 0; font-size: 15px; color: var(--text-2); }
.feed-tabs button:hover { color: var(--text); }
.feed-tabs button.active { color: var(--text); font-weight: 600; }
.feed-tabs button.active::after { display: none; }
.feed-tabs .tab-divider { height: 12px; margin: 0 2px; background: var(--line-strong); }
.feed-filter { gap: 2px; font-size: 12px; color: var(--text-3); }

.post-item { padding: 18px 24px; gap: 22px; border-bottom: 1px solid var(--line); }
.post-item:hover { background: #fafbfc; }
.post-meta { gap: 7px; font-size: 12px; color: var(--text-3); }
.post-meta .name { font-size: 13px; font-weight: 400; color: var(--text-2); }
.post-item:hover .post-meta .name { color: var(--text); }
.post-meta .time { font-size: 12px; color: var(--text-3); }
.post-title { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 0; color: var(--text); }
.post-item:hover .post-title { color: var(--brand); }
.post-excerpt { margin-top: 4px; font-size: 13px; line-height: 1.65; color: var(--text-2); }
.post-foot { margin-top: 10px; gap: 20px; font-size: 12px; color: var(--text-3); }
.post-thumb { width: 148px; height: 84px; border: none; border-radius: 4px; background: #f2f3f5; }
.post-thumb.wide { width: 160px; height: 90px; }
.circle-link { color: var(--text-3); }
.circle-link:hover { color: var(--brand); }

.feed-more button { height: 36px; border-radius: 90px; background: #f4f5f8; font-size: 13px; color: var(--text-2); }
.feed-more button:hover { background: #eceef1; color: var(--text); }

/* ---------------------------- 右栏 ---------------------------- */
.growth-card { border-radius: 8px; box-shadow: none; }
.growth-head { padding: 20px 18px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.growth-head::after { display: none; }
.growth-user .avatar { box-shadow: none; }
.growth-id .nick { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.growth-id .sub { margin-top: 2px; font-size: 11px; color: var(--text-3); }
.growth-level { margin-top: 16px; }
.growth-level .row { font-size: 12px; color: var(--text-3); }
.growth-level .row strong { color: var(--text); font-weight: 500; }
.growth-bar { height: 4px; border-radius: 2px; background: #f0f1f3; }
.growth-bar i { border-radius: 2px; background: var(--brand); }
.growth-actions .btn { height: 32px; border-radius: 90px; }
.growth-actions .btn-mint { background: var(--brand-light); color: var(--brand-deep); border: 1px solid rgba(14, 143, 134, .2); }
.growth-actions .btn-mint:hover { background: #dcf3f0; }
.growth-stats b { font-size: 17px; }

.rail-card { padding: 18px; }
.rail-title { margin-bottom: 6px; }
.rail-title h3 { gap: 6px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.rail-title h3 .ico { width: 16px; height: 16px; color: var(--text-3); }
.rail-title a { color: var(--text-3); }
.rail-title a:hover { color: var(--text); }

.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { padding: 10px 0; font-size: 13px; color: var(--text-2); }
.news-list a:hover { color: var(--brand); }
.news-list .tag { padding: 0 5px; border-radius: 3px; background: #f2f3f5; color: var(--text-2); font-size: 10px; }
.news-list .time { font-size: 11px; color: var(--text-3); }

.tool-grid a { font-size: 11px; color: var(--text-2); }
.tool-icon { width: 36px; height: 36px; border-radius: 9px; background: #f5f6f8; color: rgba(14, 21, 28, .64); }
.tool-icon.mint, .tool-icon.blue2, .tool-icon.gray { background: #f5f6f8; color: rgba(14, 21, 28, .64); }
.tool-grid a:hover { background: #fafbfc; color: var(--text); }

.circle-mini .tile { width: 38px; height: 38px; border-radius: 9px; font-size: 11px; }
.circle-mini .info b { font-size: 13px; }
.tile.dna { background: #2586d8; }
.tile.lab { background: #0e9c8f; }
.tile.plot { background: #12a37a; }
.tile.gene { background: #4f63d6; }
.tile.gray { background: #8a929c; }

.ad-card { padding: 18px; border-radius: 8px; background: #0e151c; box-shadow: none; }
.ad-card::before { border-color: rgba(255, 255, 255, .06); }
.ad-card .k { color: #4fd8ca; letter-spacing: 1.4px; opacity: 1; }
.ad-card h4 { font-size: 15px; font-weight: 600; }
.ad-card p { font-size: 12px; color: rgba(255, 255, 255, .6); }
.ad-card span.arrow { background: rgba(255, 255, 255, .14); }

/* ---------------------------- 圈子 ---------------------------- */
.circle-hero {
  min-height: 200px;
  padding: 26px 28px;
  border-radius: 8px;
  background: #0d1418;
  box-shadow: none;
}
.circle-hero .bg { opacity: .42; }
.circle-hero::after { background: linear-gradient(90deg, rgba(6, 12, 15, .9) 0%, rgba(6, 12, 15, .5) 58%, rgba(6, 12, 15, .12) 100%); }
.circle-logo { width: 56px; height: 56px; border: none; border-radius: 10px; box-shadow: none; }
.circle-title-row h1 { font-size: 22px; font-weight: 600; letter-spacing: 0; }
.circle-title-row p { font-size: 12px; color: rgba(255, 255, 255, .62); }
.circle-stats b { font-size: 17px; font-weight: 600; }
.circle-stats span { font-size: 11px; color: rgba(255, 255, 255, .58); }
.circle-hero .join-btn { height: 34px; border-radius: 90px; background: #fff; color: var(--text); font-size: 13px; font-weight: 500; }
.circle-hero .join-btn:hover { transform: none; opacity: .9; }
.circle-hero .join-btn.joined { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.circle-hero .pub-btn { height: 34px; border-radius: 90px; border-color: rgba(255, 255, 255, .28); font-size: 13px; }

.circle-tabs {
  height: 50px;
  margin-top: 12px;
  padding: 0 20px;
  gap: 22px;
  border-radius: 8px;
  box-shadow: none;
}
.circle-tabs a { font-size: 14px; color: var(--text-2); }
.circle-tabs a.active { color: var(--text); font-weight: 600; }
.circle-tabs a.active::after { bottom: 0; height: 2px; border-radius: 0; background: var(--text); }
.circle-tabs .right { font-size: 12px; color: var(--text-3); }

.circle-grid { gap: 12px; }
.circle-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color .18s;
}
.circle-card:hover { transform: none; border-color: rgba(14, 21, 28, .16); box-shadow: none; }
.circle-card .tile { width: 44px; height: 44px; border-radius: 10px; }
.circle-card h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.circle-card .meta-line { font-size: 11px; color: var(--text-3); }
.circle-card p { margin-top: 12px; font-size: 12px; color: var(--text-2); }
.circle-card .bottom { padding-top: 12px; border-top: 1px solid var(--line); }
.circle-card .join-mini { height: 26px; border-radius: 90px; background: #f4f5f8; color: var(--text-2); }
.circle-card .join-mini.joined { background: #f4f5f8; color: var(--text-3); }

.circle-intro-card h3 { font-size: 15px; font-weight: 600; }
.circle-intro-card p { font-size: 12px; color: var(--text-2); }
.rule-list li::before { background: rgba(14, 21, 28, .25); }

.chip-row { margin-bottom: 16px; }
.chip { height: 30px; border-radius: 90px; border-color: var(--line-strong); color: var(--text-2); font-size: 12px; }
.chip:hover { border-color: rgba(14, 21, 28, .26); color: var(--text); }
.chip.active { background: var(--text); border-color: var(--text); color: #fff; }
.page-head h1 { font-size: 22px; font-weight: 600; letter-spacing: 0; }
.page-head p { font-size: 13px; color: var(--text-3); }

/* ---------------------------- 帖子详情 ---------------------------- */
.article-card { padding: 28px 32px 24px; border-radius: 8px; }
.article-head h1 { font-size: 24px; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--text); }
.article-author { border-bottom: 1px solid var(--line); }
.article-author .who b { font-size: 13px; font-weight: 600; }
.article-author .follow { height: 28px; border-radius: 90px; border-color: var(--line-strong); color: var(--text-2); }
.article-author .follow.followed { background: #f4f5f8; }
.article-body { font-size: 15px; line-height: 1.9; color: rgba(14, 21, 28, .78); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body h2 { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--text); }
.article-body h2::before { width: 3px; height: 15px; background: var(--brand); }
.article-body li::before { background: rgba(14, 21, 28, .28); }
.figure { border-radius: 6px; }
.figure img { border-radius: 0; }
.callout { padding: 12px 14px; border-radius: 6px; background: #f5f6f8; border-left: 2px solid var(--text); color: var(--text-2); }
.callout.mint { background: var(--brand-soft); border-left-color: var(--brand); color: var(--brand-deep); }
.seq-block { border: 1px solid rgba(255, 255, 255, .06); border-radius: 6px; background: #0d1418; color: #a9c9c4; }
.article-actions { border-top: 1px solid var(--line); gap: 10px; }
.pill-action { height: 36px; border-radius: 90px; background: #f4f5f8; color: var(--text-2); font-size: 13px; }
.pill-action:hover { background: #eceef1; color: var(--text); }
.pill-action.active { background: #eef0f1; color: var(--text); }
.pill-action.active.liked { background: #fdeeee; color: #d94646; }
.pill-action.active.collected { background: #fff6e6; color: #a86a12; }

.comment-card { margin-top: 12px; padding: 20px 24px 24px; border-radius: 8px; }
.comment-head h3 { font-size: 16px; font-weight: 600; }
.comment-editor { padding: 14px; background: #f7f8f9; border-color: var(--line); border-radius: 8px; }
.comment-editor textarea { border-radius: 6px; border-color: var(--line-strong); }
.comment-editor textarea:focus { border-color: rgba(14, 21, 28, .2); }
.comment .body p { color: var(--text-2); }
.comment .body .ops button:hover { color: var(--text); }
.comment .body .ops button.liked { color: #d94646; }
.author-card { border-radius: 8px; }
.author-card h3 { font-weight: 600; }
.related-list a:hover .t { color: var(--brand); }

/* ---------------------------- 个人中心 ---------------------------- */
.profile-cover {
  height: 180px;
  border-radius: 8px;
  background:
    radial-gradient(120% 170% at 86% 0%, rgba(14, 156, 143, .32) 0%, rgba(14, 156, 143, 0) 58%),
    linear-gradient(120deg, #0a1216 0%, #101c22 55%, #0c2726 100%);
}
.profile-cover::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.profile-cover .deco { right: 5%; font-size: 84px; letter-spacing: -4px; color: rgba(255, 255, 255, .05); }

.profile-card { margin-top: -48px; padding: 0 28px 24px; border-radius: 8px; box-shadow: none; }
.profile-top .avatar { box-shadow: none; }
.profile-name h1 { font-size: 21px; font-weight: 600; letter-spacing: 0; }
.profile-name .line .tagchip { padding: 1px 7px; border-radius: 3px; background: #f2f3f5; color: var(--text-2); }
.profile-level { background: #f7f8f9; border: none; border-radius: 8px; }
.profile-level .badge-box .lv { height: 22px; padding: 0 9px; border-radius: 4px; font-size: 11px; }
.profile-level .bar-wrap .row { color: var(--text-3); }
.profile-level .bar-wrap .row strong { color: var(--text); font-weight: 600; }
.profile-level .bar { height: 6px; border-radius: 3px; background: #e8eaed; }
.profile-level .bar i { border-radius: 3px; background: var(--brand); }
.profile-tabs { gap: 24px; border-bottom: 1px solid var(--line); }
.profile-tabs button.active::after { height: 2px; border-radius: 0; background: var(--text); }

.badge-grid { gap: 10px; }
.badge-item { padding: 16px 12px; border-color: var(--line); border-radius: 8px; }
.badge-item:hover { transform: none; border-color: rgba(14, 21, 28, .16); }
.badge-icon { width: 44px; height: 44px; border-radius: 10px; background: #f4f5f8; color: var(--text-3); }
.badge-item.unlocked .badge-icon { background: var(--brand-light); color: var(--brand); }
.badge-item b { font-weight: 600; }

.profile-stats-row { gap: 10px; }
.stat-box { padding: 16px 18px; border-radius: 8px; background: #f7f8f9; box-shadow: none; }
.stat-box span { font-size: 12px; color: var(--text-3); }
.stat-box b { margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: 0; }
.stat-box small { color: var(--brand-deep); }

/* ---------------------------- 等级与勋章 ---------------------------- */
.levels-hero {
  padding: 34px 36px;
  border-radius: 8px;
  background:
    radial-gradient(110% 150% at 88% 0%, rgba(14, 156, 143, .26) 0%, rgba(14, 156, 143, 0) 60%),
    linear-gradient(120deg, #0a1216 0%, #101c22 60%, #0d2a29 100%);
  box-shadow: none;
}
.levels-hero::after { right: 30px; bottom: -42px; font-size: 170px; color: rgba(255, 255, 255, .04); }
.levels-hero .kicker { font-size: 10px; letter-spacing: 2px; color: #5ad9c9; }
.levels-hero h1 { margin-top: 10px; font-size: 28px; font-weight: 600; letter-spacing: -.2px; }
.levels-hero p { font-size: 13px; color: rgba(255, 255, 255, .66); }
.levels-hero .mini-stats b { font-size: 19px; font-weight: 600; }
.levels-hero .mini-stats span { font-size: 11px; color: rgba(255, 255, 255, .5); }

.level-track { gap: 10px; padding: 20px 18px; }
.level-step { padding: 16px 8px 14px; border-color: var(--line); border-radius: 8px; }
.level-step:hover { transform: none; box-shadow: none; border-color: rgba(14, 21, 28, .16); }
.level-step.current { background: var(--brand-soft); border-color: rgba(14, 143, 134, .4); }
.level-step .orb { width: 42px; height: 42px; font-size: 12px; font-weight: 600; box-shadow: none; }
.level-step.lv-1 .orb { background: #b3bac2; }
.level-step.lv-2 .orb { background: #99a3ac; }
.level-step.lv-3 .orb { background: #7c8892; }
.level-step.lv-4 .orb { background: #5d6a75; }
.level-step.lv-5 .orb { background: #0e9c8f; }
.level-step.lv-6 .orb { background: #0a7a70; }
.level-step.lv-7 .orb { background: #0e151c; }
.level-step b { font-weight: 600; }
.level-step em { color: var(--brand-deep); }

.level-row { border-color: var(--line); border-radius: 8px; padding: 14px 16px; }
.level-row .orb { border-radius: 10px; }
.level-row .txt b { font-weight: 600; }
.level-row .need { color: var(--brand-deep); font-weight: 600; }

.rule-item { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fafbfc; }
.rule-item .ico-wrap { width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--text-2); box-shadow: none; }
.rule-item .plus { color: var(--brand); }

.rank-row { border-radius: 6px; }
.rank-row:hover { background: #f8f9fa; }
.rank-row.me { background: var(--brand-soft); }
.rank-row .pts { color: var(--text); font-weight: 600; }

/* ---------------------------- 弹窗 / 表单 ---------------------------- */
.modal-mask { background: rgba(9, 15, 20, .46); }

.modal {
  padding: 26px 26px 22px;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(8, 16, 22, .2);
}

.modal-logo { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; box-shadow: none; }
.modal h2 { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.modal .sub { font-size: 12px; color: var(--text-3); }
.modal-close:hover { background: #f4f5f8; color: var(--text); }

.auth-tabs { gap: 22px; border-bottom: 1px solid var(--line); }
.auth-tabs button { font-size: 14px; color: var(--text-3); }
.auth-tabs button.active { color: var(--text); font-weight: 600; }
.auth-tabs button.active::after { height: 2px; border-radius: 0; background: var(--text); }

.form-field label { font-size: 12px; color: var(--text-2); }
.form-field input,
.form-field textarea,
.form-field select {
  height: 42px;
  border-color: transparent;
  border-radius: 8px;
  background: #f6f7f8;
  font-size: 13px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: rgba(14, 21, 28, .18); background: #fff; }
.form-check { color: var(--text-3); }
.form-check input { accent-color: var(--text); }
.form-check a { color: var(--brand); }
.modal .btn-block { height: 42px; border-radius: 90px; font-size: 14px; }
.publish-thumbs label.sel { border-color: var(--text); }

/* ---------------------------- Toast / 页脚 / 移动栏 ---------------------------- */
.toast { border-radius: 90px; background: rgba(14, 21, 28, .92); font-size: 13px; }
.toast .ico { color: #5ad9c9; }

.sk-footer { padding: 30px 0 26px; border-top: 1px solid var(--line); }
.footer-brand img { border-radius: 7px; }
.footer-brand b { font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-meta { color: var(--text-3); }
.footer-meta a:hover { color: var(--text); }

.mobile-tabbar { background: #fff; border-top: 1px solid var(--line); backdrop-filter: none; }
.mobile-tabbar a { color: var(--text-3); }
.mobile-tabbar a.active { color: var(--text); }
.mobile-tabbar .plus { width: 38px; height: 28px; border-radius: 90px; background: var(--text); box-shadow: none; }

.back-top { box-shadow: 0 6px 18px rgba(10, 20, 30, .1); color: var(--text-2); }
.back-top:hover { color: var(--text); }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1100px) {
  .header-inner { gap: 18px; }
  .main-nav a { padding: 0 11px; }
}

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .header-search { max-width: 220px; }
}

@media (max-width: 860px) {
  :root { --header-h: 54px; }
  .header-inner { padding: 0 14px; gap: 12px; }
  .brand-logo { width: 26px; height: 26px; }
  .brand-name { font-size: 16px; }
  .header-search { max-width: none; }
  .header-search input { height: 32px; }
  .container { padding: 0 12px; }
  .page { padding: 12px 0 84px; }
  .layout { gap: 12px; }
  .side-col { grid-template-columns: minmax(0, 1fr); }

  .hero-copy { left: 20px; right: 20px; bottom: 24px; max-width: none; }
  .hero-copy h2 { font-size: 19px; }
  .hero-copy p { font-size: 12px; }
  .hero-kicker { height: 20px; margin-bottom: 8px; font-size: 10px; }
  .hero-cta { height: 30px; margin-top: 11px; font-size: 12px; }
  .hero-dots { right: 14px; bottom: 14px; }

  .quick-item { height: 78px; gap: 7px; font-size: 12px; }
  .quick-ico { width: 32px; height: 32px; }
  .quick-ico .ico { width: 17px; height: 17px; }

  .feed-tabs { height: 46px; padding: 0 14px; gap: 18px; }
  .feed-tabs button { height: 46px; font-size: 14px; }
  .post-item { padding: 15px 14px; gap: 12px; }
  .post-thumb { width: 104px; height: 68px; }
  .post-thumb.wide { width: 112px; height: 74px; }
  .post-title { font-size: 15px; }
  .post-excerpt { font-size: 12px; }
  .post-foot { gap: 16px; flex-wrap: nowrap; overflow: hidden; }
  .post-foot span, .post-foot a { white-space: nowrap; }
  .post-foot > *:last-child { display: none; }
  .post-meta { flex-wrap: nowrap; gap: 6px; }
  .post-meta .name { max-width: 76px; }
  .post-meta .lv { display: none; }
  .post-meta .time { font-size: 11px; }
  .post-item.no-thumb .post-title { max-width: 100%; }

  .circle-hero { min-height: 180px; padding: 20px; }
  .circle-hero .circle-actions { position: static; margin-top: 14px; }
  .circle-title-row h1 { font-size: 20px; }
  .circle-tabs { height: 48px; padding: 0 16px; gap: 20px; }
  .circle-grid { grid-template-columns: minmax(0, 1fr); }

  .article-card { padding: 20px 16px 16px; }
  .article-head h1 { font-size: 20px; }
  .article-body { font-size: 14px; line-height: 1.85; }
  .comment-card { padding: 18px 16px 20px; }

  .profile-cover { height: 140px; }
  .profile-cover .deco { right: 2%; font-size: 64px; }
  .profile-card { margin-top: -40px; padding: 0 16px 20px; }
  .profile-top { flex-wrap: wrap; align-items: flex-start; gap: 0 14px; }
  .profile-top .avatar { width: 68px; height: 68px; font-size: 24px; margin-top: -34px; }
  .profile-name { flex: 1; min-width: 0; padding-bottom: 0; padding-top: 2px; }
  .profile-name h1 { flex-wrap: wrap; gap: 6px; font-size: 19px; }
  .profile-name .line { gap: 8px; font-size: 11px; }
  .profile-ops { order: 4; width: 100%; padding: 16px 0 0; gap: 8px; }
  .profile-ops .btn { flex: 1; height: 34px; font-size: 13px; }
  .profile-tabs { gap: 0; justify-content: space-between; margin-top: 18px; overflow-x: auto; }
  .profile-tabs button { flex: none; padding: 0 0 11px; font-size: 13px; }
  .profile-level .bar-wrap .row { font-size: 11px; }

  .levels-hero { padding: 24px 20px; }
  .levels-hero h1 { font-size: 22px; }
  .level-track { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 14px; }
  .level-detail { grid-template-columns: minmax(0, 1fr); }
  .rule-grid { grid-template-columns: minmax(0, 1fr); }

  .mobile-tabbar .plus { background: var(--text); }
  .toast-wrap { bottom: 92px; }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .post-thumb { width: 92px; height: 64px; }
  .post-thumb.wide { width: 96px; height: 68px; }
  .post-excerpt { display: none; }
  .quick-item { height: 72px; gap: 6px; font-size: 11px; }
  .quick-ico { width: 30px; height: 30px; }
  .level-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   v3 清淡版 · 更轻的底色、更多留白、避免大面积深色
   ========================================================================== */

:root {
  --bg: #f6f7f9;
  --text: #1a232b;
  --text-2: rgba(26, 35, 43, .56);
  --text-3: rgba(26, 35, 43, .36);
  --line: rgba(26, 35, 43, .06);
  --line-strong: rgba(26, 35, 43, .1);
}

/* 主按钮换成克制的青绿，不再整块纯黑 */
.btn-primary { background: #0f948a; color: #fff; }
.btn-primary:hover { background: #0d8178; }
.btn-line { border-color: rgba(15, 148, 138, .32); color: var(--brand); }
.btn-line:hover { background: #f1faf8; }
.mobile-tabbar .plus { background: #0f948a; }
.icon-btn .dot { background: #ff7a6b; }

/* 轮播：文字放进白色磨砂小卡，图片只做背景 */
.hero { border-radius: 10px; background: #e6ecef; }
.hero-slide::after { background: linear-gradient(90deg, rgba(8, 16, 20, .2) 0%, rgba(8, 16, 20, 0) 62%); }
.hero-copy {
  left: 24px;
  bottom: 24px;
  max-width: 52%;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-kicker {
  margin-bottom: 8px;
  background: var(--brand-light);
  color: var(--brand-deep);
  backdrop-filter: none;
}
.hero-copy h2 { font-size: 23px; color: var(--text); }
.hero-copy p { margin-top: 6px; color: var(--text-2); }
.hero-cta { margin-top: 12px; background: #0f948a; color: #fff; }
.hero-cta:hover { background: #0d8178; opacity: 1; }

/* 快捷入口更安静 */
.quick-item:hover { background: #fafbfc; }
.quick-item:hover .quick-ico { background: var(--brand-light); color: var(--brand); }
.quick-ico { background: #f4f6f7; color: rgba(26, 35, 43, .55); }

/* 信息流：标题与辅助信息再轻一点 */
.post-title { color: var(--text); font-weight: 600; }
.post-item:hover .post-title { color: var(--brand-deep); }
.post-meta .name { color: var(--text-2); }
.badge-pin { background: #fff3e8; color: #a86522; }
.badge-featured { background: #eef8f5; color: #0a6f68; }

/* 等级标签：取消黑色块 */
.lv-7 { background: #e4f4f1; color: #0a6f68; }

/* 成长卡与右栏 */
.growth-bar i { background: #0f948a; }
.growth-actions .btn-mint { background: #f1faf8; color: var(--brand-deep); border-color: rgba(15, 148, 138, .16); }
.ad-card {
  background: #f8f9fa;
  border: 1px solid var(--line);
  color: var(--text);
}
.ad-card::before { display: none; }
.ad-card .k { color: var(--brand-deep); }
.ad-card h4 { color: var(--text); }
.ad-card p { color: var(--text-2); }
.ad-card span.arrow { background: #fff; color: var(--text-2); border: 1px solid var(--line); }

/* 圈子头图保留图片，但压得更轻 */
.circle-hero {
  min-height: 184px;
  padding: 26px 28px;
  border: 1px solid rgba(15, 148, 138, .1);
  background: linear-gradient(118deg, #f3faf8 0%, #e9f5f1 58%, #e4f1ed 100%);
}
.circle-hero .bg { opacity: .12; filter: grayscale(1); }
.circle-hero::after { background: linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, 0) 72%); }
.circle-logo { background: linear-gradient(135deg, #12a396, #0a7a70); }
.circle-title-row h1 { color: var(--text); }
.circle-title-row p { color: var(--text-2); }
.circle-stats b { color: var(--text); }
.circle-stats span { color: var(--text-3); }
.circle-hero .join-btn { background: rgba(255, 255, 255, .9); color: var(--text); border: 1px solid var(--line-strong); }
.circle-hero .join-btn.joined { background: rgba(255, 255, 255, .72); border: 1px solid var(--line-strong); color: var(--text-2); }
.circle-hero .pub-btn { background: #0f948a; border-color: #0f948a; color: #fff; }
.circle-hero .pub-btn:hover { background: #0d8178; }

/* 帖子正文：代码块与提示块去掉深色 */
.seq-block {
  background: #f7f8f9;
  border: 1px solid var(--line);
  color: #3a4a53;
  border-radius: 8px;
}
.seq-block .k { color: var(--brand-deep); }
.article-body strong { color: var(--text); }
.article-body h2::before { background: #0f948a; }
.callout { background: #f7f8f9; border-left: 2px solid #b9c3c8; color: var(--text-2); }
.callout.mint { background: #f2faf8; border-left-color: #0f948a; color: #0a6f68; }
.pill-action.active.liked { background: #fdeeee; color: #d05757; }
.pill-action.active.collected { background: #fff7e9; color: #9c7024; }

/* 个人中心：封面改为浅青纸面 */
.profile-cover {
  height: 156px;
  background: linear-gradient(118deg, #f0f7f5 0%, #e8f4f0 52%, #e2f0ec 100%);
}
.profile-cover::before { opacity: .5; }
.profile-cover .deco { color: rgba(15, 148, 138, .09); }
.profile-card { margin-top: -40px; }
.profile-level { background: #f8f9fa; }
.profile-level .bar { background: #e9edee; }
.profile-level .bar i { background: #0f948a; }

/* 等级页：浅色 hero，大面积深色收掉 */
.levels-hero {
  padding: 30px 34px;
  border: 1px solid rgba(15, 148, 138, .12);
  background: linear-gradient(118deg, #f3faf8 0%, #eaf5f2 60%, #e4f1ed 100%);
}
.levels-hero::after { color: rgba(15, 148, 138, .05); }
.levels-hero .kicker { color: var(--brand-deep); }
.levels-hero h1 { color: var(--text); font-weight: 600; }
.levels-hero p { color: var(--text-2); }
.levels-hero .mini-stats b { color: var(--text); }
.levels-hero .mini-stats span { color: rgba(26, 35, 43, .48); }
.level-step .orb,
.level-step.lv-7 .orb { box-shadow: none; }
.level-step.lv-1 .orb { background: #c6ccd2; }
.level-step.lv-2 .orb { background: #b2bac1; }
.level-step.lv-3 .orb { background: #9aa5ad; }
.level-step.lv-4 .orb { background: #7e8b94; }
.level-step.lv-5 .orb { background: #34a99d; }
.level-step.lv-6 .orb { background: #0f948a; }
.level-step.lv-7 .orb { background: #0a6f68; }
.level-step.current { background: #f2faf8; border-color: rgba(15, 148, 138, .35); }
.level-step em { color: var(--brand-deep); }
.level-row .need { color: var(--brand-deep); }
.rule-item { background: #fafbfb; }
.rule-item .plus { color: var(--brand); }
.rank-row.me { background: #f3faf8; }

/* 页脚、顶栏保持白净 */
.sk-header { border-bottom-color: rgba(26, 35, 43, .06); }
.footer-meta { color: var(--text-3); }

@media (max-width: 860px) {
  .hero-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 13px 14px;
  }
  .hero-copy h2 { font-size: 18px; }
  .hero-copy p { font-size: 12px; }
  .hero-kicker { height: 20px; margin-bottom: 6px; }
  .hero-cta { height: 30px; margin-top: 10px; font-size: 12px; }
  .profile-cover { height: 132px; }
  .profile-card { margin-top: -36px; }
  .levels-hero { padding: 22px 18px; }
  .levels-hero h1 { font-size: 21px; }
  .levels-hero::after { display: none; }
}

@media (max-width: 420px) {
  .hero-copy p { display: none; }
  .hero-copy { padding: 12px 14px; }
  .hero-copy h2 { font-size: 17px; }
}

/* ==========================================================================
   v4 · 首屏大图改为浅色纸面 + 线性 DNA 装饰
   ========================================================================== */

.hero {
  background: #f2f8f6;
  border: 1px solid rgba(15, 148, 138, .07);
}

.hero-slide {
  background:
    radial-gradient(92% 130% at 84% 4%, rgba(15, 148, 138, .1) 0%, rgba(15, 148, 138, 0) 60%),
    linear-gradient(118deg, #f9fbfa 0%, #eef7f4 100%);
}
.hero-slide:nth-child(2) {
  background:
    radial-gradient(92% 130% at 84% 4%, rgba(37, 134, 216, .08) 0%, rgba(37, 134, 216, 0) 60%),
    linear-gradient(118deg, #f9fbfd 0%, #eef4fa 100%);
}
.hero-slide:nth-child(3) {
  background:
    radial-gradient(92% 130% at 84% 4%, rgba(18, 163, 122, .09) 0%, rgba(18, 163, 122, 0) 60%),
    linear-gradient(118deg, #f9fcfb 0%, #edf7f2 100%);
}
.hero-slide:nth-child(4) {
  background:
    radial-gradient(92% 130% at 84% 4%, rgba(15, 148, 138, .07) 0%, rgba(15, 148, 138, 0) 60%),
    linear-gradient(118deg, #fafcfb 0%, #f0f7f5 100%);
}
.hero-slide:nth-child(5) {
  background:
    radial-gradient(92% 130% at 84% 4%, rgba(128, 140, 152, .1) 0%, rgba(128, 140, 152, 0) 60%),
    linear-gradient(118deg, #fafbfc 0%, #f1f4f6 100%);
}
.hero-slide::after { display: none; }

.hero-copy {
  top: 50%;
  bottom: auto;
  left: 40px;
  max-width: 56%;
  padding: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text);
  transform: translateY(-50%);
}
.hero-kicker { background: #e3f3ef; color: #0a6f68; }
.hero-copy h2 { font-size: 28px; line-height: 1.32; color: var(--text); }
.hero-copy p { max-width: 30em; font-size: 13px; color: var(--text-2); }
.hero-cta { background: #0f948a; color: #fff; }
.hero-cta:hover { background: #0d8178; opacity: 1; }

.hero-arrow {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-2);
  box-shadow: 0 2px 8px rgba(10, 20, 30, .06);
}
.hero-arrow:hover { background: #f5f8f8; color: var(--text); }
.hero-dots button { background: rgba(26, 35, 43, .16); }
.hero-dots button.active { background: #0f948a; }
.hero-progress { background: rgba(15, 148, 138, .12); }
.hero-progress i { background: #0f948a; }

@media (max-width: 860px) {
  .hero-copy { left: 18px; right: 18px; top: 50%; bottom: auto; max-width: none; padding: 0; transform: translateY(-50%); }
  .hero-copy h2 { font-size: 18px; }
  .hero-copy p { display: none; }
  .hero-cta { height: 30px; margin-top: 10px; font-size: 12px; }
  .hero-kicker { height: 20px; margin-bottom: 6px; }
}

/* ==========================================================================
   v5 · 小米式黑白：白底、黑字、灰线，仅保留 logo 的颜色
   ========================================================================== */

:root {
  --brand: #17181a;
  --brand-deep: #000000;
  --brand-light: #f4f4f5;
  --brand-soft: #f8f8f9;
  --mint: #7d7d82;
  --mint-deep: #333336;
  --mint-light: #f4f4f5;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #111111;
  --text-2: #6b6b70;
  --text-3: #9b9ba1;
  --line: #f0f0f1;
  --line-strong: #e6e6e8;
}

body { background: #fff; }

.sk-header { background: #fff; border-bottom: 1px solid #ededee; }
.header-search input { background: #f5f5f6; }
.header-search input:focus { background: #fff; border-color: #dcdcdf; }
.main-nav a.active { color: #111; }
.main-nav a:hover { color: #111; }

.btn-primary { background: #111; color: #fff; }
.btn-primary:hover { background: #2b2b2e; }
.btn-ghost { background: #f5f5f6; color: #55555a; }
.btn-ghost:hover { background: #efeff0; color: #111; }
.btn-line { border-color: #dcdcdf; color: #111; }
.btn-line:hover { background: #f7f7f8; }
.icon-btn .dot { background: #111; }

.avatar.official::after { background: #111; color: #fff; }
.lv { background: #fff; border: 1px solid #e7e7e9; color: #7d7d82; }
.lv-1, .lv-2, .lv-3, .lv-4 { background: #fff; border: 1px solid #e7e7e9; color: #7d7d82; }
.lv-5, .lv-6 { background: #f4f4f5; color: #444448; border-color: transparent; }
.lv-7 { background: #111; color: #fff; border-color: #111; }

.badge-dot,
.badge-pin,
.badge-featured,
.badge-activity,
.badge-qa { background: #f4f4f5; color: #5c5c60; }

.card { border: 1px solid #f0f0f1; }

/* 首屏：纯白纸面 + 灰色线稿 */
.hero { background: #fff; border: 1px solid #f0f0f1; }
.hero-slide,
.hero-slide:nth-child(2),
.hero-slide:nth-child(3),
.hero-slide:nth-child(4),
.hero-slide:nth-child(5) {
  background:
    radial-gradient(90% 130% at 84% 4%, rgba(17, 17, 17, .035) 0%, rgba(17, 17, 17, 0) 60%),
    linear-gradient(118deg, #ffffff 0%, #fafafa 100%);
}
.hero-kicker { background: #f4f4f5; color: #4a4a4e; }
.hero-copy h2 { color: #111; }
.hero-copy p { color: #6b6b70; }
.hero-cta { background: #111; color: #fff; }
.hero-cta:hover { background: #2b2b2e; }
.hero-arrow { background: #fff; border-color: #e8e8ea; color: #55555a; }
.hero-arrow:hover { background: #f6f6f7; color: #111; }
.hero-dots button { background: rgba(17, 17, 17, .15); }
.hero-dots button.active { background: #111; }
.hero-progress { background: rgba(17, 17, 17, .08); }
.hero-progress i { background: #111; }

/* 四入口 */
.quick-ico { background: #f5f5f6; color: #5c5c60; }
.quick-item:hover { background: #fafafa; color: #111; }
.quick-item:hover .quick-ico { background: #f0f0f1; color: #111; }

/* 信息流 */
.feed-tabs button.active { color: #111; }
.post-title { color: #111; }
.post-item:hover .post-title { color: #000; }
.post-meta .name:hover { color: #111; }
.circle-link:hover { color: #111; }
.post-thumb { background: #f2f2f3; }
.feed-more button { background: #f5f5f6; color: #55555a; }
.feed-more button:hover { background: #efeff0; color: #111; }

/* 右栏 */
.growth-bar i { background: #111; }
.growth-actions .btn-mint { background: #111; color: #fff; border-color: #111; }
.growth-actions .btn-mint:hover { background: #2b2b2e; }
.tool-icon,
.tool-icon.mint,
.tool-icon.blue2,
.tool-icon.gray { background: #f5f5f6; color: #4a4a4e; }
.tool-grid a:hover { color: #111; }
.news-list .tag { background: #f4f4f5; color: #77777c; }
.news-list a:hover { color: #111; }
.rail-title a:hover { color: #111; }
.tile.dna, .tile.lab, .tile.plot, .tile.gene { background: #2e3236; }
.tile.gray { background: #8a8f94; }
.circle-card .join-mini { background: #f5f5f6; color: #55555a; }
.ad-card { background: #fafafa; border: 1px solid #f0f0f1; }
.ad-card .k { color: #8a8a8f; }
.ad-card h4 { color: #111; }
.ad-card p { color: #6b6b70; }
.ad-card span.arrow { background: #fff; border: 1px solid #e6e6e8; color: #55555a; }

/* 圈子 */
.circle-hero {
  border-color: #f0f0f1;
  background: linear-gradient(118deg, #fdfdfd 0%, #f7f7f8 100%);
}
.circle-hero .bg { opacity: .07; filter: grayscale(1); }
.circle-hero::after { background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, 0) 72%); }
.circle-logo { background: #222529; }
.circle-title-row h1 { color: #111; }
.circle-title-row p { color: #6b6b70; }
.circle-stats b { color: #111; }
.circle-stats span { color: #9b9ba1; }
.circle-hero .join-btn { background: #fff; color: #333; border: 1px solid #e6e6e8; }
.circle-hero .join-btn.joined { background: #f7f7f8; border: 1px solid #e6e6e8; color: #77777c; }
.circle-hero .pub-btn { background: #111; border-color: #111; color: #fff; }
.circle-hero .pub-btn:hover { background: #2b2b2e; }
.circle-tabs a.active { color: #111; }
.circle-tabs a.active::after { background: #111; }
.circle-card { border-color: #f0f0f1; }
.circle-card:hover { border-color: #dededf; }
.circle-card .join-mini.joined { background: #f7f7f8; color: #9b9ba1; }
.chip { border-color: #e6e6e8; color: #6b6b70; }
.chip.active { background: #111; border-color: #111; color: #fff; }

/* 帖子 */
.article-body h2::before { background: #111; }
.callout { background: #f7f7f8; border-left-color: #c9c9cc; color: #55555a; }
.callout.mint { background: #f7f7f8; border-left-color: #111; color: #444448; }
.seq-block { background: #fafafa; border-color: #f0f0f1; color: #444448; }
.pill-action.active,
.pill-action.active.liked,
.pill-action.active.collected { background: #f2f2f3; color: #111; }
.comment .body .ops button.liked { color: #111; }
.comment-editor { background: #fafafa; }

/* 个人中心 */
.profile-cover { background: linear-gradient(118deg, #fdfdfd 0%, #f3f3f4 100%); border: 1px solid #f0f0f1; }
.profile-cover .deco { color: rgba(17, 17, 17, .05); }
.profile-cover::before { opacity: .5; }
.profile-level { background: #f7f7f8; }
.profile-level .bar { background: #e9e9eb; }
.profile-level .bar i { background: #111; }
.profile-level .bar-wrap .row strong { color: #111; }
.stat-box { background: #f7f7f8; }
.stat-box small { color: #55555a; }
.badge-icon { background: #f7f7f8; color: #9b9ba1; }
.badge-item.unlocked .badge-icon { background: #f3f3f4; color: #222; }
.badge-item { border-color: #f0f0f1; }
.profile-name .line .tagchip { background: #f4f4f5; color: #5c5c60; }

/* 等级页 */
.levels-hero { background: linear-gradient(118deg, #fdfdfd 0%, #f6f6f7 100%); border-color: #f0f0f1; }
.levels-hero::after { color: rgba(17, 17, 17, .04); }
.levels-hero .kicker { color: #8a8a8f; }
.levels-hero h1 { color: #111; }
.levels-hero p { color: #6b6b70; }
.levels-hero .mini-stats b { color: #111; }
.levels-hero .mini-stats span { color: #9b9ba1; }
.level-step.lv-1 .orb { background: #cdced1; }
.level-step.lv-2 .orb { background: #b8babd; }
.level-step.lv-3 .orb { background: #a3a6aa; }
.level-step.lv-4 .orb { background: #8b8f94; }
.level-step.lv-5 .orb { background: #6f7479; }
.level-step.lv-6 .orb { background: #4f545a; }
.level-step.lv-7 .orb { background: #222529; }
.level-step.current { background: #f7f7f8; border-color: #b9b9bd; }
.level-step em, .level-row .need { color: #333338; }
.rule-item { background: #fafafa; border-color: #f0f0f1; }
.rule-item .plus { color: #333338; }
.rank-row.me { background: #f7f7f8; }
.rank-row .pts { color: #111; }

/* 弹窗 / 其他 */
.auth-tabs button.active::after { background: #111; }
.form-field input, .form-field textarea, .form-field select { background: #f5f5f6; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #cdcdd0; background: #fff; }
.toast { background: rgba(17, 17, 17, .92); }
.toast .ico { color: #fff; }
.mobile-tabbar { background: #fff; border-top: 1px solid #f0f0f1; }
.mobile-tabbar a.active { color: #111; }
.mobile-tabbar .plus { background: #111; }
.sk-footer { background: #fff; border-top: 1px solid #f0f0f1; }
.footer-links a:hover { color: #111; }
.back-top { background: #fff; border-color: #f0f0f1; color: #55555a; }
.back-top:hover { color: #111; }

@media (max-width: 860px) {
  .hero-copy h2 { font-size: 18px; }
}

/* ==========================================================================
   v6 · 白底 + 贴合 logo 的青绿主色（保留小米式留白与细线）
   ========================================================================== */

:root {
  --brand: #0e8f86;
  --brand-deep: #0a726b;
  --brand-light: #e9f6f4;
  --brand-soft: #f3fbfa;
  --mint: #c8f7e4;
  --mint-deep: #0a726b;
  --mint-light: #eefaf6;
  --bg: #ffffff;
  --text: #111111;
  --text-2: #666b70;
  --text-3: #9b9ba1;
  --line: #efeff1;
  --line-strong: #e4e6e7;
}

::selection { background: rgba(14, 156, 143, .16); }
body { background: #fff; }

/* 顶栏 */
.sk-header { background: #fff; border-bottom: 1px solid #ededee; }
.brand-logo { box-shadow: 0 3px 8px rgba(14, 156, 143, .22); }
.main-nav a.active { color: var(--brand); }
.main-nav a:hover { color: var(--brand); }
.header-search input:focus { background: #fff; border-color: #bfe4e0; }
.icon-btn:hover { background: #f2f7f6; color: var(--brand); }
.icon-btn .dot { background: var(--brand); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(14, 143, 134, .22); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 6px 16px rgba(14, 143, 134, .28); }
.btn-ghost { background: var(--brand-light); color: var(--brand-deep); }
.btn-ghost:hover { background: #ddf1ee; color: var(--brand-deep); }
.btn-line { border-color: #bfe4e0; color: var(--brand-deep); }
.btn-line:hover { background: var(--brand-soft); }
.avatar.official::after { background: var(--brand); color: #fff; }

/* 等级 / 标签：单一色相梯度 */
.lv { background: #f3f4f5; border: 1px solid transparent; color: #7c8287; }
.lv-1 { background: #f3f4f5; color: #7c8287; }
.lv-2 { background: #edf3f3; color: #6d777c; }
.lv-3 { background: #e4f1f0; color: #4d7a78; }
.lv-4 { background: #d9efec; color: #0f7d75; }
.lv-5 { background: #ccebe7; color: #0a6f68; }
.lv-6 { background: #b6e3dd; color: #075c57; }
.lv-7 { background: linear-gradient(120deg, #2f7cf6, #0e9c8f); color: #fff; }

.badge-dot,
.badge-pin,
.badge-featured,
.badge-activity,
.badge-qa { background: #eef8f6; color: #0d7c73; }

.card { border: 1px solid #efeff1; }

/* 首屏 */
.hero { background: #fff; border: 1px solid #efeff1; }
.hero-slide,
.hero-slide:nth-child(2),
.hero-slide:nth-child(3),
.hero-slide:nth-child(4),
.hero-slide:nth-child(5) {
  background:
    radial-gradient(90% 130% at 84% 4%, rgba(14, 156, 143, .08) 0%, rgba(14, 156, 143, 0) 62%),
    linear-gradient(118deg, #ffffff 0%, #f7fcfb 100%);
}
.hero-kicker { background: #eef8f6; color: #0d7c73; }
.hero-copy h2 { color: #111; }
.hero-copy p { color: #666b70; }
.hero-cta { background: var(--brand); color: #fff; }
.hero-cta:hover { background: var(--brand-deep); }
.hero-arrow { background: #fff; border-color: #e8eaeb; color: #555a5f; }
.hero-arrow:hover { background: #f4f8f7; color: var(--brand); }
.hero-dots button { background: rgba(17, 17, 17, .16); }
.hero-dots button.active { background: var(--brand); }
.hero-progress { display: none; }

/* 四入口 */
.quick-ico { background: #eef8f6; color: var(--brand); }
.quick-item:hover { background: #fafdfc; color: #111; }
.quick-item:hover .quick-ico { background: #e2f4f1; color: var(--brand-deep); }

/* 信息流 */
.feed-tabs button.active { color: var(--brand); }
.post-title { color: #111; }
.post-item:hover .post-title { color: var(--brand-deep); }
.post-meta .name:hover { color: var(--brand-deep); }
.circle-link:hover { color: var(--brand); }
.post-thumb { background: #f2f3f4; }
.feed-more button { background: #f5f6f7; color: #555a5f; }
.feed-more button:hover { background: #eef7f6; color: var(--brand-deep); }

/* 右栏 */
.growth-bar i { background: var(--brand); }
.growth-actions .btn-mint { background: var(--brand); color: #fff; border-color: var(--brand); }
.growth-actions .btn-mint:hover { background: var(--brand-deep); }
.tool-icon,
.tool-icon.mint,
.tool-icon.blue2,
.tool-icon.gray { background: #eef8f6; color: var(--brand); }
.tool-grid a:hover { color: var(--brand-deep); }
.news-list .tag { background: #f2f4f5; color: #6f767b; }
.news-list a:hover { color: var(--brand-deep); }
.rail-title a:hover { color: var(--brand); }
.tile.dna, .tile.lab, .tile.plot, .tile.gene { background: linear-gradient(135deg, #137f78, #0a5f5a); }
.tile.gray { background: #8a8f94; }
.circle-card .join-mini { background: #eef8f6; color: var(--brand-deep); }
.circle-card .join-mini.joined { background: #f4f6f6; color: #9b9ba1; }
.ad-card { background: #fafcfc; border: 1px solid #efeff1; }
.ad-card .k { color: #0d7c73; }
.ad-card h4 { color: #111; }
.ad-card p { color: #666b70; }
.ad-card span.arrow { background: #fff; border: 1px solid #e4e6e7; color: #555a5f; }

/* 圈子 */
.circle-hero {
  border-color: #e9eeed;
  background: linear-gradient(118deg, #fbfefd 0%, #eef8f6 100%);
}
.circle-hero .bg { opacity: .10; filter: none; }
.circle-hero::after { background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, 0) 72%); }
.circle-logo { background: linear-gradient(135deg, #2f7cf6, #0e9c8f); }
.circle-title-row h1 { color: #111; }
.circle-title-row p { color: #666b70; }
.circle-stats b { color: #111; }
.circle-stats span { color: #9b9ba1; }
.circle-hero .join-btn { background: #fff; color: #333; border: 1px solid #dcdfe0; }
.circle-hero .join-btn.joined { background: #f3f6f6; border: 1px solid #e2e5e6; color: #777d82; }
.circle-hero .pub-btn { background: var(--brand); border-color: var(--brand); color: #fff; }
.circle-hero .pub-btn:hover { background: var(--brand-deep); }
.circle-tabs a.active { color: var(--brand); }
.circle-tabs a.active::after { background: var(--brand); }
.circle-card { border-color: #efeff1; }
.circle-card:hover { border-color: #d5e6e3; }
.chip { border-color: #e0e3e4; color: #666b70; }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 帖子 */
.article-body h2::before { background: var(--brand); }
.callout { background: #f6f8f8; border-left-color: #c9d3d2; color: #555a5f; }
.callout.mint { background: #f0f9f7; border-left-color: var(--brand); color: #2f4a47; }
.seq-block { background: #fafafa; border-color: #efeff1; color: #444a4e; }
.pill-action.active,
.pill-action.active.liked,
.pill-action.active.collected { background: #e9f6f4; color: var(--brand-deep); }
.comment .body .ops button.liked { color: var(--brand); }
.comment-editor { background: #fafbfb; }

/* 个人中心 */
.profile-cover { background: linear-gradient(118deg, #fbfefd 0%, #edf7f5 100%); border: 1px solid #eef1f0; }
.profile-cover .deco { color: rgba(14, 156, 143, .06); }
.profile-cover::before { opacity: .5; }
.profile-level { background: #f4faf9; }
.profile-level .bar { background: #dcecea; }
.profile-level .bar i { background: var(--brand); }
.profile-level .bar-wrap .row strong { color: #111; }
.stat-box { background: #f7f8f8; }
.stat-box small { color: #555a5f; }
.badge-icon { background: #f4f6f6; color: #9b9ba1; }
.badge-item.unlocked .badge-icon { background: #e9f6f4; color: var(--brand-deep); }
.badge-item { border-color: #efeff1; }
.profile-name .line .tagchip { background: #f0f4f4; color: #5c6469; }

/* 等级页 */
.levels-hero { background: linear-gradient(118deg, #fbfefd 0%, #eef8f6 100%); border-color: #e9eeed; }
.levels-hero::after { color: rgba(14, 156, 143, .05); }
.levels-hero .kicker { color: #0d7c73; }
.levels-hero h1 { color: #111; }
.levels-hero p { color: #666b70; }
.levels-hero .mini-stats b { color: #111; }
.levels-hero .mini-stats span { color: #9b9ba1; }
.level-step.lv-1 .orb { background: #cdced1; }
.level-step.lv-2 .orb { background: #b8babd; }
.level-step.lv-3 .orb { background: #a3a6aa; }
.level-step.lv-4 .orb { background: #8b8f94; }
.level-step.lv-5 .orb { background: linear-gradient(135deg, #4f9f97, #2f7f77); }
.level-step.lv-6 .orb { background: linear-gradient(135deg, #0e8f86, #0a6b64); }
.level-step.lv-7 .orb { background: linear-gradient(135deg, #2f7cf6, #0e9c8f); }
.level-step.current { background: #f3fbfa; border-color: #9fd5cf; }
.level-track .level-step,
.level-track .level-step.lv-1,
.level-track .level-step.lv-2,
.level-track .level-step.lv-3,
.level-track .level-step.lv-4,
.level-track .level-step.lv-5,
.level-track .level-step.lv-6,
.level-track .level-step.lv-7 { background: #fff; color: #111; }
.level-track .level-step.current { background: #f3fbfa; border-color: #9fd5cf; }
.level-track .level-step.lv-7 { border-color: #8ed0c9; }
.level-step em, .level-row .need { color: var(--brand-deep); }
.rule-item { background: #fafcfc; border-color: #efeff1; }
.rule-item .plus { color: var(--brand-deep); }
.rank-row.me { background: #f3fbfa; }
.rank-row .pts { color: var(--brand-deep); }

/* 弹窗 / 其他 */
.auth-tabs button.active::after { background: var(--brand); }
.form-field input, .form-field textarea, .form-field select { background: #f5f6f7; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #a9d9d4; background: #fff; }
.toast { background: rgba(17, 17, 17, .92); }
.toast .ico { color: var(--mint); }
.mobile-tabbar { background: #fff; border-top: 1px solid #efeff1; }
.mobile-tabbar a.active { color: var(--brand); }
.mobile-tabbar .plus { background: var(--brand); }
.sk-footer { background: #fff; border-top: 1px solid #efeff1; }
.footer-links a:hover { color: var(--brand); }
.back-top { background: #fff; border-color: #efeff1; color: #555a5f; }
.back-top:hover { color: var(--brand); border-color: #bfe4e0; }

/* ==========================================================================
   v7 · 主色改为 logo 蓝（#2f7cf6 → #0e9c8f），替换 v6 的青绿
   ========================================================================== */

:root {
  --brand: #2586d8;
  --brand-deep: #1a6ba9;
  --brand-light: #e9f3fb;
  --brand-soft: #f4f9fd;
  --mint-deep: #1a6ba9;
}

::selection { background: rgba(37, 134, 216, .16); }
.brand-logo { box-shadow: 0 3px 8px rgba(37, 134, 216, .22); }
.header-search input:focus { border-color: #c2dff2; }
.icon-btn:hover { background: #f3f7fe; color: var(--brand); }

.btn-primary { box-shadow: 0 4px 12px rgba(37, 134, 216, .22); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(37, 134, 216, .28); }
.btn-ghost:hover { background: #e0ebfd; color: var(--brand-deep); }
.btn-line { border-color: #c2dff2; }

.lv { height: 18px; padding: 0 7px; font-size: 11px; font-weight: 600; }
.lv-2 { background: #edf1f6; color: #69737e; }
.lv-3 { background: #e5edf9; color: #4a6d9e; }
.lv-4 { background: #d9e6fb; color: #2360c0; }
.lv-5 { background: #c9ddfa; color: #1a52b0; }
.lv-6 { background: #b3cdf6; color: #123f8f; }

.badge-dot,
.badge-pin,
.badge-featured,
.badge-activity,
.badge-qa { background: #eef4ff; color: #1f74b8; }

.hero-slide,
.hero-slide:nth-child(2),
.hero-slide:nth-child(3),
.hero-slide:nth-child(4),
.hero-slide:nth-child(5) {
  background:
    radial-gradient(90% 130% at 84% 4%, rgba(37, 134, 216, .08) 0%, rgba(37, 134, 216, 0) 62%),
    linear-gradient(118deg, #ffffff 0%, #f8fbff 100%);
}
.hero-kicker { background: #eef4ff; color: #1f74b8; }
.hero-arrow:hover { background: #f5f8fe; }
.hero-dots button.active { background: var(--brand); }

.quick-ico { background: #eef4ff; color: var(--brand); }
.quick-item:hover { background: #fbfdff; }
.quick-item:hover .quick-ico { background: #e3edfd; color: var(--brand-deep); }

.feed-more button:hover { background: #eef4ff; color: var(--brand-deep); }

.tool-icon,
.tool-icon.mint,
.tool-icon.blue2,
.tool-icon.gray { background: #eef4ff; color: var(--brand); }
.tile.dna, .tile.lab, .tile.plot, .tile.gene, .tile.gray { background: linear-gradient(135deg, #3a9de4, #1a6ba9); }
.circle-card .join-mini { background: #eef4ff; color: var(--brand-deep); }
.ad-card .k { color: #1f74b8; }

.circle-hero { border-color: #e9eef5; background: linear-gradient(118deg, #fbfdff 0%, #eef4fe 100%); }
.circle-hero .bg { opacity: .07; filter: grayscale(1); }
.circle-card:hover { border-color: #d6e3f8; }

.callout.mint { background: #f3f7fe; border-left-color: var(--brand); color: #2f3f52; }
.pill-action.active,
.pill-action.active.liked,
.pill-action.active.collected { background: #eaf2fe; color: var(--brand-deep); }

.profile-cover { background: linear-gradient(118deg, #fbfdff 0%, #edf4fd 100%); }
.profile-cover .deco { color: rgba(37, 134, 216, .06); }
.profile-level { background: #f4f9ff; }
.profile-level .bar { background: #dce8f8; }
.badge-item.unlocked .badge-icon { background: #eaf2fe; color: var(--brand-deep); }
.profile-name .line .tagchip { background: #f1f4f9; color: #5c6469; }

.levels-hero { background: linear-gradient(118deg, #fbfdff 0%, #eef4fe 100%); border-color: #e9eef5; }
.levels-hero::after { color: rgba(37, 134, 216, .05); }
.levels-hero .kicker { color: #1f74b8; }
.level-step.lv-5 .orb { background: linear-gradient(135deg, #5aa6e2, #2586d8); }
.level-step.lv-6 .orb { background: linear-gradient(135deg, #2586d8, #17689e); }
.level-track .level-step.current { background: #f4f8ff; border-color: #a8d2ec; }
.level-track .level-step.lv-7 { border-color: #a8d5ef; }
.rule-item { background: #fbfcff; }
.rank-row.me { background: #f4f8ff; }

.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #a8d2ec; }
.article-body strong { color: #1a6ba9; }
.toast .ico { color: #fff; }
.back-top:hover { border-color: #c2dff2; }

/* 首页右栏：推荐圈子 + 广告吸顶 */
body[data-page="home"] .layout { align-items: stretch; }
body[data-page="home"] #sideMount { height: 100%; }
body[data-page="home"] .side-col { position: static; height: 100%; }
.rail-sticky {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================ v8 · 搜索页 ============================ */
body[data-page="search"] .header-search { display: none; }

.search-page { padding: 26px 0 76px; }
.search-shell { max-width: 760px; margin: 0 auto; }

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px 0 40px;
  border-radius: 22px;
  background: #f5f5f6;
  transition: background .18s;
}
.search-bar:focus-within { background: #f1f1f3; }
.search-bar > .ico {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #9b9ba1;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: none;
  font-size: 15px;
  color: var(--text);
  appearance: none;
}
.search-bar input::placeholder { color: #a5a5ab; }
.search-bar input::-webkit-search-cancel-button { display: none; }

.sb-clear {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border-radius: 50%;
  background: #1b1b1e;
  color: #fff;
  place-items: center;
  flex: none;
}
.sb-clear.show { display: grid; }
.sb-clear .ico { width: 10px; height: 10px; color: #fff; stroke-width: 2.6; }

.search-tabs {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
}
.search-tabs button {
  position: relative;
  padding: 0 0 13px;
  font-size: 15px;
  color: var(--text-2);
  transition: color .18s;
}
.search-tabs button:hover { color: var(--text); }
.search-tabs button.active { color: var(--text); font-weight: 600; }

.search-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.sr-card {
  padding: 2px 18px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.sr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}
.sr-card-head h3 { font-size: 15px; font-weight: 600; color: var(--text); }
.sr-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--text-3);
  transition: color .18s;
}
.sr-more:hover { color: var(--text-2); }
.sr-more .ico { width: 12px; height: 12px; }

/* 帖子 */
.sr-post {
  display: flex;
  gap: 16px;
  padding: 15px 0 16px;
}
.sr-post + .sr-post { border-top: 1px solid #f5f5f6; }
.sr-post-main { flex: 1; min-width: 0; }
.sr-post-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-2);
}
.sr-post-head .avatar { width: 22px; height: 22px; font-size: 10px; }
.sr-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}
.sr-post-title:hover { color: var(--brand-deep); }
.sr-post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}
.sr-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-3);
}
.sr-post-meta .ops {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.sr-post-meta .ops span { display: inline-flex; align-items: center; gap: 4px; }
.sr-thumb-link { flex: none; }
.sr-thumb {
  width: 106px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f5f6;
}

/* 话题 */
.sr-topic { display: block; padding: 12px 0; }
.sr-topic + .sr-topic { border-top: 1px solid #f5f5f6; }
.sr-topic b { font-size: 15px; font-weight: 600; color: var(--text); }
.sr-topic b:hover { color: var(--brand-deep); }
.sr-topic span { display: block; margin-top: 4px; font-size: 12px; color: var(--text-3); }

/* 圈子 */
.sr-circle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-3);
}
.sr-circle + .sr-circle { border-top: 1px solid #f5f5f6; }
.sr-circle .tile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.sr-circle .meta { flex: 1; min-width: 0; }
.sr-circle b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.sr-circle small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); }
.sr-circle:hover b { color: var(--brand-deep); }

/* 用户 */
.sr-user { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.sr-user + .sr-user { border-top: 1px solid #f5f5f6; }
.sr-user .avatar { width: 42px; height: 42px; font-size: 15px; }
.sr-user .meta { flex: 1; min-width: 0; }
.sr-user .name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.sr-user .name:hover { color: var(--brand-deep); }
.sr-user small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sr-user .btn { flex: none; }

/* 热门搜索 */
.sr-hot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 2px 0 14px;
}
.sr-hot button {
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  background: #f5f5f6;
  font-size: 13px;
  color: var(--text-2);
  transition: background .18s, color .18s;
}
.sr-hot button:hover { background: #ececee; color: var(--text); }

.sr-more-btn {
  display: block;
  width: 100%;
  height: 40px;
  margin: 6px 0 8px;
  border-radius: 6px;
  background: #f7f7f8;
  font-size: 13px;
  color: var(--text-2);
  transition: background .18s;
}
.sr-more-btn:hover { background: #f0f0f2; }

.sr-empty { padding: 56px 0 40px; text-align: center; }
.sr-empty .ico { width: 34px; height: 34px; color: #c9c9ce; margin: 0 auto 14px; }
.sr-empty > div { font-size: 14px; color: var(--text-2); }
.sr-empty .sr-empty-tip { margin-top: 6px; font-size: 12px; color: var(--text-3); }
.sr-empty .sr-hot { justify-content: center; padding: 18px 0 0; }

@media (max-width: 640px) {
  .search-page { padding: 12px 0 84px; }
  .search-bar { height: 40px; padding: 0 12px 0 36px; }
  .search-bar > .ico { left: 13px; width: 16px; height: 16px; }
  .search-bar input { font-size: 14px; }
  .search-tabs { margin-top: 16px; padding: 0 2px; }
  .search-tabs button { font-size: 14px; padding-bottom: 11px; }
  .search-results { margin-top: 12px; gap: 10px; }
  .sr-card { padding: 0 14px 6px; }
  .sr-card-head { height: 46px; }
  .sr-post { gap: 12px; padding: 13px 0 14px; }
  .sr-post-title { font-size: 15px; }
  .sr-thumb { width: 84px; height: 64px; }
  .sr-post-meta .ops { gap: 12px; }
  .sr-user .avatar { width: 38px; height: 38px; font-size: 14px; }
}

/* 首页大图：纯色纸面，无装饰图案 */

/* 等级页：右侧 Lv. 水印（完整显示，不裁切） */
.levels-hero::after {
  content: "Lv.";
  right: 30px;
  bottom: 20px;
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  color: rgba(37, 134, 216, .09);
}

@media (max-width: 860px) {
  .levels-hero::after { right: 16px; bottom: 12px; font-size: 54px; letter-spacing: -2px; }
}

/* 发布菜单：发动态 / 写文章 */
.publish-wrap { position: relative; }

.publish-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 236px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(18, 45, 90, .12);
  display: none;
  z-index: 120;
}

.publish-menu.open { display: block; }

.publish-menu button {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  text-align: left;
}

.publish-menu button:hover { background: #f4f8fd; }

.publish-menu button i {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--brand);
  font-style: normal;
}

.publish-menu b { display: block; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; }
.publish-menu small { display: block; margin-top: 2px; font-size: 11px; color: var(--text-3); line-height: 1.4; }

.publish-menu.sheet {
  position: fixed;
  top: auto;
  left: 14px;
  right: 14px;
  bottom: 78px;
  width: auto;
  padding: 8px;
  z-index: 130;
}

/* 发布弹窗：用户上传配图 */
.pub-upload { display: flex; align-items: center; gap: 10px; }

.pub-pick {
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #fafbfd;
  color: var(--text-3);
  font-size: 12px;
  transition: border-color .18s, color .18s, background .18s;
}

.pub-pick:hover { border-color: var(--brand); color: var(--brand); background: #f5f9ff; }

.pub-pick[hidden], .pub-preview[hidden] { display: none; }

.pub-preview { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.pub-preview img { width: 100%; height: 100%; object-fit: cover; }

.pub-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 17, 17, .55);
  color: #fff;
}

.pub-remove:hover { background: rgba(17, 17, 17, .75); }

/* 弹窗内不显示滚动条 */
.modal { scrollbar-width: none; }
.modal::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* 弹窗打开时锁定页面滚动，避免滚动时背景/弹窗上下移动 */
body:has(.modal-mask.open) { overflow: hidden; }

/* 信息流：动态（纯文字 + 多图网格） */
.post-item.is-moment .post-title { font-size: 15px; font-weight: 600; line-height: 1.65; }
.post-item.is-moment .post-excerpt { display: none; }

/* 信息流：单图右侧大图（贴近小米比例） */
.post-item .post-thumb { width: 160px; height: 104px; border-radius: 6px; }

/* 信息流：多图网格（2–3 张） */
.post-gallery { display: flex; gap: 6px; margin-top: 10px; }

.post-gallery a {
  display: block;
  width: 106px;
  height: 106px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.post-gallery a:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .post-item .post-thumb { width: 104px; height: 74px; }
  .post-gallery a { width: 92px; height: 92px; }
}

/* ============================ 写文章（独立编辑页） ============================ */
.editor-head { display: flex; align-items: baseline; gap: 14px; margin: 4px 0 16px; }
.editor-head h1 { font-size: 20px; font-weight: 700; }
.editor-head span { font-size: 12px; color: var(--text-3); }
.editor-back { font-size: 13px; color: var(--text-2); }
.editor-back:hover { color: var(--brand); }

.editor-card { padding: 28px 32px; border-radius: 10px; }

.ed-title {
  width: 100%;
  border: none;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.4px;
}
.ed-title::placeholder { color: #c3c8d0; font-weight: 600; }

.ed-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.ed-select { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.ed-select select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fafbfd;
  font-size: 12px;
  color: var(--text);
}

.ed-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin-top: 16px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #fafbfd;
  overflow-x: auto;
}

.ed-toolbar button {
  min-width: 30px;
  flex: none;
  height: 28px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}

.ed-toolbar button:hover { background: #eef4fb; color: var(--brand); }
.ed-divider { width: 1px; height: 16px; margin: 0 6px; background: var(--line-strong); }

.ed-body {
  min-height: 380px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  line-height: 1.85;
  outline: none;
}

.ed-body:empty::before { content: attr(data-placeholder); color: #c3c8d0; }

.ed-publish { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* 富文本正文（编辑区与帖子详情共用） */
.ed-body h2, .article-body h2 { margin: 20px 0 10px; font-size: 18px; font-weight: 700; }
.ed-body blockquote, .article-body blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--brand);
  background: #f7fafe;
  color: var(--text-2);
  font-size: 13px;
}
.ed-body ul, .article-body ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.ed-body ol, .article-body ol { margin: 10px 0; padding-left: 20px; list-style: decimal; }
.ed-body a, .article-body a { color: var(--brand); text-decoration: underline; }
.ed-body img, .article-body img { max-width: 100%; margin: 10px 0; border-radius: 8px; }

/* v10 · 等级标签统一：所有等级同一尺寸、同一视觉重量 */
.lv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 37px;
  padding: 0 7px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: middle;
}
.lv-7 {
  background: linear-gradient(120deg, #a6cdf2, #a9e0d8);
  color: #0e4b63;
  box-shadow: none;
}

/* v11 · 信息流仿小米：减少信息、拉开层级
   作者行 → 标题/正文 → 图片 → 底部「来源·时间 / 评论·点赞」 */
.post-item {
  display: block;
  padding: 20px 24px;
}
.post-body { display: flex; align-items: flex-start; gap: 20px; }
.post-item .post-main { flex: 1; min-width: 0; }

.post-item .post-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  font-size: 12px;
  color: var(--text-3);
}
.post-item .post-meta .avatar { width: 22px; height: 22px; font-size: 10px; }
.post-item .post-meta .name {
  max-width: 150px;
  font-size: 13px;
  font-weight: 400;
  color: #4b5159;
}

.post-item .post-title {
  max-width: none;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  color: #16181d;
}
.post-item .post-excerpt {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #6e747d;
  -webkit-line-clamp: 2;
}

/* 动态：正文当标题，常规字重，下面直接跟图片 */
.post-item.is-moment .post-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1c21;
}

/* 右侧大图（文章） */
.post-item .post-thumb {
  width: 176px;
  height: 118px;
  border: none;
  border-radius: 6px;
  background: #f2f3f4;
}
.post-thumb-link { margin-top: 30px; }

/* 多图网格（动态） */
.post-item .post-gallery { gap: 4px; margin-top: 12px; }
.post-item .post-gallery a {
  width: 136px;
  height: 136px;
  border: none;
  border-radius: 4px;
}

/* 底部：左来源+时间，右评论/点赞 */
.post-item .post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
  color: #a6abb3;
}
.post-source { display: inline-flex; align-items: center; gap: 8px; color: #a6abb3; }
.post-source a { color: #a6abb3; }
.post-source a:hover { color: var(--brand); }
.sep-dot { width: 2px; height: 2px; border-radius: 50%; background: #c9ced6; }
.post-acts { display: inline-flex; align-items: center; gap: 22px; flex: none; }
.post-acts span { display: inline-flex; align-items: center; gap: 5px; color: #a6abb3; }
.post-acts .ico { width: 15px; height: 15px; }

@media (max-width: 640px) {
  .post-item { padding: 16px 14px; }
  .post-body { gap: 12px; }
  .post-item .post-thumb { width: 108px; height: 76px; }
  .post-item .post-thumb-link { margin-top: 28px; }
  .post-item .post-title { font-size: 15px; }
  .post-item.is-moment .post-title { font-size: 15px; }
  .post-item .post-excerpt { font-size: 12.5px; -webkit-line-clamp: 3; }
  .post-item .post-gallery a { width: 96px; height: 96px; }
  .post-item .post-foot > .post-acts { display: inline-flex; }
  .post-acts { gap: 16px; }
}

@media (max-width: 640px) {
  .editor-card { padding: 18px; }
  .ed-title { font-size: 19px; }
  .ed-body { min-height: 300px; padding: 14px; }
  .editor-head span { display: none; }
  .ed-publish .btn { flex: 1; }
}

/* v12 · 信息流陈列：整块白底 + 细分隔线，悬停不变色 */
.feed-card { background: #fff; }
.post-item,
.post-item:hover { background: #fff; }
.post-item:hover .post-meta .name { color: #4b5159; }
.post-item:hover .post-title { color: #16181d; }
.post-item.is-moment:hover .post-title { color: #1a1c21; }

/* v13 · 分割线与内容同宽 */
.post-item { border-bottom: none; }
.post-item::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
.post-item:last-child::after { display: none; }

@media (max-width: 640px) {
  .post-item::after { left: 14px; right: 14px; }
}

/* v14 · 信息流里的等级标签：缩小为原来的一半 */
.post-meta .lv {
  height: 12px;
  min-width: 24px;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 8px;
  line-height: 1;
}

/* v15 · 等级配色：7 个等级用不同色相区分 */
.lv-1 { background: #eef2f5; color: #5f7488; }
.lv-2 { background: #e2f4f7; color: #1f7f93; }
.lv-3 { background: #e0f5ee; color: #17795c; }
.lv-4 { background: #dcebfa; color: #1a5f95; }
.lv-5 { background: #e3e7fb; color: #3c50b0; }
.lv-6 { background: #eee6fa; color: #6a3fae; }
.lv-7 { background: #fdf1dc; color: #b06d0f; }

.level-step.lv-1 .orb { background: linear-gradient(135deg, #93a7b8, #71879b); }
.level-step.lv-2 .orb { background: linear-gradient(135deg, #4fb0c6, #2f8ba6); }
.level-step.lv-3 .orb { background: linear-gradient(135deg, #43b393, #268a6d); }
.level-step.lv-4 .orb { background: linear-gradient(135deg, #3a92cd, #1f6a9e); }
.level-step.lv-5 .orb { background: linear-gradient(135deg, #6278dd, #4157bd); }
.level-step.lv-6 .orb { background: linear-gradient(135deg, #9268d8, #6f43b8); }
.level-step.lv-7 .orb { background: linear-gradient(135deg, #eaa53c, #cf7d18); }

/* v16 · 全站等级标签统一缩小一半（24×12 / 8px） */
.lv,
.profile-level .badge-box .lv {
  height: 12px;
  min-width: 24px;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 8px;
  line-height: 1;
}
.article-author .who .lv,
.rank-row .who .lv { font-size: 8px; }

/* v17 · 信息流昵称右侧「···」与关注按钮 */
.post-more-wrap {
  position: absolute;
  top: 18px;
  right: 22px;
  display: flex;
  align-items: center;
  z-index: 3;
}
.post-more {
  width: 26px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #b0b6bf;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  transition: background .15s, color .15s;
}
.post-more:hover { background: #f4f5f7; color: #4b5159; }
.post-more-wrap.open .post-more { background: #f4f5f7; color: #4b5159; }
.post-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 124px;
  padding: 4px;
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(20, 30, 45, .12);
  z-index: 30;
}
.post-more-wrap.open .post-more-menu { display: block; }
.post-more-menu button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 9px;
  border-radius: 4px;
  font-size: 12px;
  color: #3d434b;
  white-space: nowrap;
  text-align: left;
}
.post-more-menu button:hover { background: #f3f7fb; color: var(--brand); }
.post-more-menu .ico { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .post-more-wrap { top: 12px; right: 12px; }
}

/* v18 · 勋章中心：带 SEQKAN 标识的圆形徽章 */
.badge-item {
  padding: 18px 10px 16px;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  background: #fff;
  opacity: 1;
  transition: border-color .2s, box-shadow .2s;
}
.badge-item:hover { transform: none; border-color: #dfe6ee; box-shadow: 0 4px 14px rgba(23, 44, 68, .06); }
.badge-medal {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  padding: 4px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--c1, #8cc9ee), var(--c2, #2586d8) 35%, var(--c3, #5cc4b4) 60%, var(--c2, #2586d8) 85%, var(--c1, #8cc9ee));
  box-shadow: 0 3px 10px rgba(37, 134, 216, .16);
}
.medal-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  color: var(--ic, var(--brand));
  background: radial-gradient(circle at 34% 26%, #fff 0, #f4faff 55%, #e2f0fb 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset 0 -3px 6px rgba(37, 134, 216, .08);
}
.medal-inner .ico { width: 24px; height: 24px; }
.medal-brand {
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--ic, #5787ad);
  opacity: .6;
}
.badge-item.locked {
  background: color-mix(in srgb, var(--c2, #dfe3e8) 6%, #fff);
  border-color: color-mix(in srgb, var(--c2, #dfe3e8) 14%, #fff);
}
.badge-item.locked .badge-medal {
  background: conic-gradient(from 200deg, var(--c2, #94a3b1), var(--c2, #94a3b1) 65%, var(--c3, #dfe3e8));
  box-shadow: none;
}
.badge-item.locked .medal-inner {
  color: var(--ic, #b9c0c9);
  background: radial-gradient(circle at 34% 26%, #fff, #fbfcfd 70%, #f2f4f7 100%);
}
.badge-item.locked .medal-inner .ico { opacity: .9; }
.badge-item.locked .medal-brand { color: var(--ic, #c3c9d1); opacity: .6; }
.badge-item.locked b { color: #606770; }
.badge-item.locked > span { color: #a5abb3; }

/* v19 · 个人主页（参考小米社区）：封面数据、扁平等级条 */
.cover-stats {
  position: absolute;
  right: 30px;
  top: 24px;
  display: flex;
  gap: 36px;
}
.cover-stats div { text-align: center; }
.cover-stats b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #1b2026;
}
.cover-stats span { font-size: 11px; color: #7c838c; }
.profile-level {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  background: #f7fafc;
  box-shadow: none;
}
.profile-name .line span { color: #7c838c; }

@media (max-width: 640px) {
  .cover-stats { right: 16px; top: 16px; gap: 18px; }
  .cover-stats b { font-size: 15px; }
  .cover-stats span { font-size: 10px; }
  .profile-level { padding: 10px 12px; flex-wrap: wrap; gap: 10px; }
  .profile-level .badge-box { display: none; }
  .profile-level .bar-wrap { flex: 1 1 100%; order: 2; }
  .profile-level > a { order: 1; margin-left: auto; }
  .profile-ops .btn[data-follow] { flex: none; padding: 0 22px; }
}

/* v20 · 个人主页内容列表（参考小米动态卡片） */
.pd-item {
  padding: 18px 0;
  border-bottom: 1px solid #f2f3f5;
}
.pd-item:last-child { border-bottom: 0; }
.pd-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pd-head .avatar { width: 26px; height: 26px; font-size: 12px; }
.pd-head .name { font-size: 13px; font-weight: 600; color: #3c4148; }
.pd-head .name:hover { color: var(--brand); }
.pd-title {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: #1d2126;
}
.pd-title:hover { color: var(--brand); }
.pd-media { display: flex; gap: 6px; margin-top: 10px; }
.pd-media a {
  display: block;
  flex: none;
  width: 150px;
  height: 150px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #f0f2f4;
}
.pd-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: #9aa0a8;
}
.pd-actions { display: flex; gap: 20px; }
.pd-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #9aa0a8;
}
.pd-actions a:hover { color: var(--brand); }

@media (max-width: 640px) {
  .pd-item { padding: 16px 0; }
  .pd-media a { width: 96px; height: 96px; }
  .pd-title { font-size: 15px; }
  .pd-actions { gap: 16px; }
}


/* v22 · 登录 / 注册 / 找回密码 */
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; min-width: 0; }
.code-btn {
  flex: none;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-size: 13px;
  white-space: nowrap;
}
.code-btn:disabled { border-color: #dfe4ea; color: #9aa0a8; background: #f7f8fa; }
.auth-row { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.auth-row a { font-size: 12px; color: var(--brand); }
.auth-row a:hover { text-decoration: underline; }

/* v23 · 账号组件（登录弹窗与独立登录页共用，SeqKan 账号组件视觉，配色随站点主题） */
.ska-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 88vh;
  overflow: auto;
  box-sizing: border-box;
  padding: 44px 24px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(14, 24, 40, .24);
  font-size: 14px;
  color: #1c2a3d;
}
.ska-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8496ad;
  background: transparent;
}
.ska-close:hover { background: #f1f5fb; color: #33455f; }
.ska-close .ico { width: 16px; height: 16px; }
.ska-title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #12233d;
}

.ska-form { display: flex; flex-direction: column; gap: 10px; }
.ska-form input:not([type="checkbox"]) {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #cfd9e8;
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
}
.ska-form input:not([type="checkbox"]):focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 106, 209, .12);
}
.ska-code-row { display: flex; gap: 8px; }
.ska-code-row input { flex: 1; min-width: 0; width: auto; }
.ska-code-row button {
  flex: none;
  min-width: 108px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #b9caea;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  white-space: nowrap;
}
.ska-code-row button:disabled {
  border-color: #dde5f1;
  background: #f7f9fd;
  color: #a3b1c4;
}
.ska-check {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8496ad;
}
.ska-check input { width: 14px; height: 14px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.ska-check a { color: var(--brand); }
.ska-primary {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.ska-primary:hover { background: var(--brand-deep); }
.ska-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: #c2ccda;
}
.ska-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 12.5px;
}
.ska-links button:hover { text-decoration: underline; }
.ska-note { margin-top: 12px; font-size: 11.5px; text-align: center; color: #a3b1c4; }

@media (max-width: 480px) {
  .modal.ska-card { padding: 44px 16px 16px; border-radius: 14px; }
  .ska-code-row { flex-wrap: wrap; }
  .ska-code-row button { width: 100%; height: 34px; }
}

/* v25 · 帖子详情（布局参考小米社区） */
.mi-post { padding: 24px 28px 18px; }
.mi-post-author { display: flex; align-items: center; gap: 10px; }
.mi-post-author .avatar { width: 38px; height: 38px; font-size: 15px; }
.mi-post-author .who { flex: 1; min-width: 0; }
.mi-post-author .who b { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #2a3038; }
.mi-post-author .who b a:hover { color: var(--brand); }
.mi-post-author .who span { display: block; margin-top: 2px; font-size: 11.5px; color: #9aa2ae; }
.mi-follow {
  flex: none;
  height: 28px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  border-radius: 14px;
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}
.mi-follow:hover { background: var(--brand); color: #fff; }
.mi-follow.followed {
  border-color: #e3e7ed;
  background: #f7f8fa;
  color: #9aa2ae;
  font-weight: 400;
}
.mi-post-badges { display: flex; gap: 6px; margin-top: 14px; }
.mi-post-title {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.2px;
  color: #1b1f24;
}
.mi-post .article-body { padding: 18px 0 4px; font-size: 15px; line-height: 1.9; }
.mi-post .article-body img { display: block; width: 100%; margin: 12px 0; border-radius: 6px; }
.mi-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f2f3f5;
  font-size: 12px;
  color: #9aa0a8;
}
.mi-post-meta i { font-style: normal; color: #d3d7dd; }
.comment-card { scroll-margin-top: calc(var(--header-h) + 16px); }

.comment-head { margin-bottom: 12px; gap: 12px; }
.comment-head h3 { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; }
.comment-head h3 span { font-size: 13px; font-weight: 400; color: #9aa0a8; }
.cmt-sort { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: #f4f6f9; }
.cmt-sort button { padding: 5px 12px; border-radius: 7px; font-size: 12px; color: #7b8494; }
.cmt-sort button.on { background: #fff; color: #1b1f24; font-weight: 600; box-shadow: 0 1px 3px rgba(20, 40, 80, .08); }

.comment { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 16px 0; border-bottom: 1px solid #f2f3f5; }
.comment .avatar { width: 34px; height: 34px; font-size: 13px; }
.comment .body { flex: 1; min-width: 0; padding-right: 46px; }
.comment .body .line { display: flex; align-items: center; gap: 6px; }
.comment .body .line b { font-size: 13px; font-weight: 600; color: #3c4148; }
.comment .body .line .nick:hover b { color: var(--brand); }
.comment .body p { margin-top: 5px; font-size: 13.5px; line-height: 1.75; color: #3f4855; }
.comment .body .foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 11.5px; color: #9aa0a8; }
.comment .body .foot button:hover { color: var(--brand); }
.cmt-like {
  position: absolute;
  right: 0;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #9aa0a8;
}
.cmt-like:hover { color: #e05252; }
.cmt-like.liked { color: #e05252; }

.hot-refresh { border: 0; background: none; padding: 0; font-size: 11.5px; color: #9aa0a8; cursor: pointer; }
.hot-refresh:hover { color: var(--brand); }
.hot-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; padding: 0; list-style: none; }
.hot-list li { min-width: 0; }
.hot-list a { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; color: #3c4148; }
.hot-list a:hover span { color: var(--brand); }
.hot-list i { flex: none; width: 16px; font-style: normal; font-weight: 600; text-align: center; color: #b6bcc6; }
.hot-list li:nth-child(1) i { color: #ff5a4f; }
.hot-list li:nth-child(2) i { color: #ff8a3d; }
.hot-list li:nth-child(3) i { color: #f2b53c; }
.hot-list span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-empty { font-size: 12px; color: #9aa0a8; }

.post-dock {
  position: fixed;
  bottom: 16px;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 54px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid #eef1f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 32px rgba(20, 45, 90, .14);
  backdrop-filter: blur(8px);
}
.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  color: #5b6472;
}
.dock-btn .ico { width: 19px; height: 19px; }
.dock-btn:hover { background: #f5f8fc; color: var(--brand); }
.dock-btn.liked { color: #e05252; }
.dock-btn.collected { color: #c48a1a; }
.post-dock-space { height: 64px; }

@media (max-width: 900px) {
  .mi-post { padding: 18px 16px 14px; }
  .mi-post-title { font-size: 19px; }
  .mi-post .article-body { font-size: 14.5px; }
  .comment .body { padding-right: 40px; }
  .post-dock {
    left: 12px !important;
    right: 12px;
    width: auto !important;
    bottom: calc(66px + env(safe-area-inset-bottom));
    height: 50px;
    padding: 0 4px;
  }
  .dock-btn { padding: 0 10px; font-size: 12px; }
  .dock-btn .ico { width: 18px; height: 18px; }
  .post-dock-space { height: 80px; }
}
