/* ═══════════════════════════════════════════════
   worldlines · Hub 页样式 · 3 列 Twitter 风
   - 复用 style.css 全部 token / 玻璃 / 卡片
   - 顶部 banner · 3 列布局 · 帖子流 + 穿插相关
   - 命名空间：hub-*（主）/ b-*（banner 私有，历史遗留）/ s-*（feedback 私有）
   - post-* / related-* 为 hub 私有流组件，不撞 style.css 公共类（本文件只被 hub.html 加载）
   - 新加类必须带 hub- 前缀；改公共类风格请走 style.css 顶部契约
   ═══════════════════════════════════════════════ */

main.hub { display: block; }

/* ───────── Banner(顶部全宽) ───────── */
.hub-banner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--pad-x) 0;
}
.hub-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}
.b-card {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.b-card.is-spot {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(var(--accent-2-rgb), 0.10), transparent 60%),
    var(--surface);
}
.b-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.b-title .h-num {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 400;
}
.b-pick { display: flex; flex-direction: column; gap: 0; }

/* ════════ 左:大图轮播 + 右:联动列表 ════════ */
.b-pick-carousel {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1fr;
  gap: 14px;
  align-items: stretch;
}

/* ─── 轮播 stage ─── */
.b-pc-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.b-pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.b-pc-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.b-pc-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.b-pc-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 30%,
      rgba(var(--bg-rgb), 0.5) 60%,
      rgba(var(--bg-rgb), 0.92) 100%
    );
  pointer-events: none;
}
.b-pc-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.b-pc-rank {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-2);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.b-pc-rank .h-n {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
}
.b-pc-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}
.b-pc-meta {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-2);
  letter-spacing: var(--tracking-wide);
  margin-top: 2px;
}
.b-pc-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}
.b-pc-dots {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  display: flex;
  gap: 5px;
  background: rgba(var(--bg-rgb), 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 5px 7px;
  border-radius: var(--r-pill);
}
.b-pc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--glass-rgb), 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--t-base) var(--ease);
}
.b-pc-dot.is-on {
  background: rgba(var(--accent-rgb), 0.95);
  width: 16px;
  border-radius: 3px;
}
.b-pc-dot:hover { background: rgba(var(--glass-rgb), 0.7); }
.b-pc-dot.is-on:hover { background: rgba(var(--accent-rgb), 1); }

/* ─── 列表(右) ─── */
.b-pc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.b-pc-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border: none;
  background: transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  border-left: 2px solid transparent;
  transition: all var(--t-base) var(--ease);
  font-family: inherit;
  color: inherit;
  flex: 1;
}
.b-pc-row:hover { background: var(--surface-hover); }
.b-pc-row.is-active {
  background: rgba(var(--accent-rgb), 0.07);
  border-left-color: rgba(var(--accent-rgb), 0.85);
}
.b-pc-row-n {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-3);
  font-weight: 500;
  letter-spacing: 0;
  padding-top: 1px;
}
.b-pc-row.is-active .b-pc-row-n { color: rgba(var(--accent-rgb), 0.95); }
.b-pc-row-body { min-width: 0; }
.b-pc-row-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: var(--leading-tight);
}
.b-pc-row.is-active .b-pc-row-name { color: var(--fg); }
.b-pc-row-meta {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Spotlight 创作者 */
.b-sp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.b-sp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--accent-2-rgb), 0.5);
  flex-shrink: 0;
}
.b-sp-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.b-sp-handle {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  display: flex;
  align-items: center;
  gap: 8px;
}
.b-sp-handle .h-tag {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
}
.b-sp-bio {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--fg-2);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-sp-follow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  cursor: pointer;
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  transition: all var(--t-base) var(--ease);
}
.b-sp-follow.is-on { background: rgba(var(--accent-2-rgb), 0.18); border-color: rgba(var(--accent-2-rgb), 0.5); }
.b-sp-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.b-sp-work {
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease);
}
.b-sp-work:hover { border-color: rgba(var(--accent-2-rgb), 0.55); }
.b-sp-work img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.b-sp-work-name {
  padding: 4px 6px 6px;
  font-family: var(--font-body);
  font-size: var(--text-3xs);
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═════════ 赛事 & 活动(替换本周创作者) ═════════ */
.b-events { display: flex; flex-direction: column; gap: 10px; }

/* Featured event · 大图 + 文字遮罩 */
.b-ev-feature {
  position: relative;
  display: block;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base) var(--ease);
}
.b-ev-feature:hover {
  border-color: rgba(var(--accent-2-rgb), 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(var(--bg-rgb), 0.32), 0 0 18px rgba(var(--accent-2-rgb), 0.18);
}
.b-ev-cover {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.b-ev-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 25%,
    rgba(var(--bg-rgb), 0.55) 55%,
    rgba(var(--bg-rgb), 0.95) 100%);
  pointer-events: none;
}
.b-ev-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  /* on-accent 文字 · 5 主题都为白(底色是 accent-2,够深) */
  color: #fff;
  background: rgba(var(--accent-2-rgb), 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--accent-2-rgb), 0.5);
  padding: 3px 7px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.b-ev-tag svg { width: 11px; height: 11px; }
.b-ev-time {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-wide);
  color: var(--fg);
  background: rgba(var(--bg-rgb), 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 3px 7px;
  border-radius: var(--r-xs);
}
.b-ev-time.is-urgent {
  color: var(--fg);
  background: rgba(var(--accent-2-rgb), 0.88);
  border-color: rgba(var(--accent-2-rgb), 0.6);
}
.b-ev-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.b-ev-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}
.b-ev-meta {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-2);
  letter-spacing: var(--tracking-wide);
  display: flex;
  align-items: center;
  gap: 6px;
}
.b-ev-meta .h-dot { color: var(--fg-3); }
.b-ev-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.b-ev-reward {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-2);
  letter-spacing: var(--tracking-wide);
}
.b-ev-reward b {
  color: rgba(var(--accent-rgb), 0.95);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-right: 3px;
  letter-spacing: 0;
}
.b-ev-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--fg);
  background: var(--accent-grad);
  border: none;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity var(--t-base) var(--ease);
}
.b-ev-btn:hover { opacity: 0.92; }
.b-ev-btn svg { width: 12px; height: 12px; }

/* Event list · 紧凑 3 行 */
.b-ev-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px dashed var(--line);
  padding-top: 2px;
}
.b-ev-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  color: inherit;
  transition: background var(--t-base) var(--ease);
}
.b-ev-row:last-child { border-bottom: none; }
.b-ev-row:hover { background: rgba(var(--accent-rgb), 0.04); }
.b-ev-row-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--surface-hover);
  color: rgba(var(--accent-rgb), 0.85);
  border: 1px solid var(--line);
}
.b-ev-row-icon svg { width: 12px; height: 12px; }
.b-ev-row.is-urgent .b-ev-row-icon { color: rgba(var(--accent-2-rgb), 0.95); border-color: rgba(var(--accent-2-rgb), 0.4); }
.b-ev-row.is-live .b-ev-row-icon { color: rgba(var(--accent-rgb), 0.95); border-color: rgba(var(--accent-rgb), 0.4); }
.b-ev-row-body { min-width: 0; }
.b-ev-row-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: var(--leading-tight);
}
.b-ev-row-meta {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.b-ev-row-status {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-2);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
}
.b-ev-row.is-urgent .b-ev-row-status { color: rgba(var(--accent-2-rgb), 0.95); border-color: rgba(var(--accent-2-rgb), 0.4); }
.b-ev-row.is-live .b-ev-row-status { color: rgba(var(--accent-rgb), 0.95); border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.08); }

/* ═════════ 3 列主布局 ═════════ */
.hub-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--pad-x) 60px;
  align-items: start;
}
.hub-col { display: flex; flex-direction: column; gap: 18px; }
.hub-col-right { position: sticky; top: calc(var(--topbar-py) * 2 + 50px); align-self: start; }

/* ───────── 侧栏卡(共用) ───────── */
.s-card {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.s-title .h-sub {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 400;
}
.s-more {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-2);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
  transition: color var(--t-base) var(--ease);
}
.s-more:hover { color: var(--fg); }

/* ───────── 左:Profile mini ───────── */
.s-profile { padding: 18px 18px 16px; }
.s-prof-head { display: flex; align-items: center; gap: 12px; }
.s-prof-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.25);
}
.s-prof-id { flex: 1; min-width: 0; }
.s-prof-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-prof-handle {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
}
.s-prof-tier {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.85);
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  background: rgba(var(--accent-rgb), 0.08);
  padding: 2px 5px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 4px;
}
.s-prof-bio {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: var(--leading-snug);
}
.s-prof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.s-prof-stat { text-align: center; }
.s-prof-stat-n {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}
.s-prof-stat-n.is-hot { color: rgba(var(--accent-2-rgb), 0.95); }
.s-prof-stat-l {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
  margin-top: 3px;
}
.s-prof-cta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg);
  background: var(--accent-grad);
  border: none;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: var(--tracking-wide);
}
.s-prof-cta:hover { opacity: 0.92; }
.s-prof-cta svg { width: 12px; height: 12px; }

/* ───────── 侧栏 feed (左) ───────── */
.s-feed { padding: 14px 18px 10px; }
.s-feed-list { display: flex; flex-direction: column; gap: 0; }
.s-feed-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.s-feed-item:last-child { border-bottom: none; }
.s-feed-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.s-feed-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: var(--leading-snug);
}
.s-feed-text .h-handle {
  font-family: var(--font-mono);
  color: var(--fg);
  font-weight: 500;
  margin-right: 4px;
}
.s-feed-text .h-target {
  color: rgba(var(--accent-rgb), 0.9);
  font-family: var(--font-display);
  font-weight: 500;
}
.s-feed-time {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
  display: block;
  margin-top: 2px;
}

/* ───────── 中央:posts ───────── */
.hub-stream { display: flex; flex-direction: column; gap: 14px; }
.stream-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.stream-tabs { display: flex; gap: 4px; }
.stream-tab {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg-2);
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  letter-spacing: var(--tracking-wide);
  transition: all var(--t-base) var(--ease);
}
.stream-tab.is-on { background: var(--surface-hover); color: var(--fg); border: 1px solid var(--line-strong); }
.stream-refresh {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
}

/* ───────── Post(基础 / large / tiny) ───────── */
.post {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-base) var(--ease);
}
.post:hover { border-color: rgba(var(--accent-rgb), 0.4); }
.post.is-large { padding: 20px 22px 18px; gap: 14px; }
.post.is-tiny { padding: 12px 16px 12px; gap: 6px; }

.post-head { display: flex; align-items: center; gap: 10px; }
.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.post.is-large .post-avatar { width: 42px; height: 42px; }
.post.is-tiny .post-avatar { width: 28px; height: 28px; }
.post-id { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--fg);
  font-weight: 500;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
}
.post-meta .h-dot { color: var(--fg-3); margin: 0 4px; }
.post.is-large .post-name { font-size: var(--text-md); }
.post.is-tiny .post-name { font-size: var(--text-xs); }
.post-pin {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.9);
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  background: rgba(var(--accent-rgb), 0.08);
  padding: 2px 6px;
  border-radius: 3px;
}
.post-body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--fg);
  line-height: var(--leading-normal);
}
.post.is-large .post-body { font-size: var(--text-body); line-height: var(--leading-relaxed); }
.post.is-tiny .post-body { font-size: var(--text-sm); line-height: var(--leading-snug); }
.post-body b { color: var(--fg); font-weight: 600; }
.post-body .h-ellip { color: var(--fg-3); }

/* Quote (大 / 小) */
.post-quote {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--surface-hover);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background var(--t-base) var(--ease);
}
.post-quote:hover { background: rgba(var(--accent-rgb), 0.06); }
.post-quote.is-full { grid-template-columns: 80px 1fr; }
.post-quote.is-compact { grid-template-columns: 40px 1fr; padding: 8px 10px; }
.post-quote.is-inline { grid-template-columns: 32px 1fr; padding: 6px 8px; background: transparent; border: none; }

.post-quote-thumb {
  width: 80px;
  height: 100px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.post-quote.is-compact .post-quote-thumb { width: 40px; height: 50px; }
.post-quote.is-inline .post-quote-thumb { width: 32px; height: 32px; border-radius: 50%; }
.post-quote-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.post-quote-kind {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: rgba(var(--accent-rgb), 0.85);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}
.post-quote.is-inline .post-quote-kind { display: inline; margin-right: 6px; }
.post-quote-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--fg);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-quote.is-compact .post-quote-name,
.post-quote.is-inline .post-quote-name { font-size: var(--text-sm); }
.post-quote-line {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-quote.is-compact .post-quote-line,
.post-quote.is-inline .post-quote-line { display: none; }

/* Action bar */
.post-actions {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
  align-items: center;
}
.post-actions span { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; transition: color var(--t-base) var(--ease); }
.post-actions span:hover { color: var(--fg); }
.post-actions svg { width: 14px; height: 14px; opacity: 0.7; }
.post-actions .h-like { color: rgba(var(--accent-2-rgb), 0.9); }
.post.is-tiny .post-actions { gap: 14px; font-size: var(--text-3xs); }
.post.is-tiny .post-actions svg { width: 12px; height: 12px; }

/* ───────── 穿插的「相关」section ───────── */
.related {
  position: relative;
  border-radius: var(--r-card);
  border: 1px dashed var(--line-strong);
  background: rgba(var(--accent-rgb), 0.025);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.related-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: var(--tracking-tight);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.related-label .h-sub {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--fg-3);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.related-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.related-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base) var(--ease);
  align-items: center;
}
.related-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: var(--surface-hover);
  transform: translateY(-1px);
}
.related-card-thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.related-card-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.related-card-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-card-meta {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
}
.related-card-cta {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: rgba(var(--accent-rgb), 0.95);
  letter-spacing: var(--tracking-wide);
}

/* ─── 相关 section 变体:创作者 ─── */
.related.is-creator {
  background: rgba(var(--accent-2-rgb), 0.04);
  border-color: rgba(var(--accent-2-rgb), 0.2);
}
.related.is-creator .related-label .h-sub { color: rgba(var(--accent-2-rgb), 0.85); }
.related-card.is-creator {
  grid-template-columns: 48px 1fr;
  background: linear-gradient(135deg, rgba(var(--accent-2-rgb), 0.05), var(--surface));
}
.related-card.is-creator:hover {
  border-color: rgba(var(--accent-2-rgb), 0.5);
  background: linear-gradient(135deg, rgba(var(--accent-2-rgb), 0.09), var(--surface-hover));
}
.related-card-creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(var(--accent-2-rgb), 0.4);
}
.related-card.is-creator .related-card-cta {
  color: rgba(var(--accent-2-rgb), 0.95);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.related-card.is-creator .related-card-cta svg { width: 10px; height: 10px; }

/* ───────── 右:反馈 ───────── */
.s-feedback { padding: 14px 16px 10px; }
.s-feedback-list { display: flex; flex-direction: column; gap: 0; }
.s-feedback-row {
  display: grid;
  grid-template-columns: 26px 1fr 56px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.s-feedback-row:last-child { border-bottom: none; }
.s-feedback-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.s-feedback-body { min-width: 0; }
.s-feedback-line1 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--fg-2);
  margin-bottom: 3px;
}
.s-feedback-line1 .h-handle {
  font-family: var(--font-mono);
  color: var(--fg);
  font-weight: 500;
  margin-right: 4px;
}
.s-feedback-line1 .h-on { color: var(--fg-3); margin: 0 4px; }
.s-feedback-line1 .h-target { color: rgba(var(--accent-rgb), 0.9); font-family: var(--font-display); font-weight: 500; }
.s-feedback-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--fg);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.s-feedback-text b { color: var(--fg); font-weight: 600; }
.s-feedback-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-top: 2px;
}
.s-feedback-thumb {
  width: 48px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid var(--line);
  opacity: 0.85;
}
.s-feedback-time {
  font-family: var(--font-mono);
  font-size: var(--text-3xs);
  color: var(--fg-3);
  letter-spacing: var(--tracking-wide);
}

/* ═════════ 响应式 ═════════ */
@media (max-width: 1180px) {
  .hub-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .hub-col-right { display: none; }
}
@media (max-width: 880px) {
  .hub-layout { grid-template-columns: 1fr; }
  .hub-col-left { display: none; }
  .hub-banner-grid { grid-template-columns: 1fr; }
  .related-row { grid-template-columns: 1fr; }
}
