:root {
  color-scheme: light;

  /* 颜色 */
  --color-paper: #f6f1e9;
  --color-surface: #fbf7ef;
  --color-surface-deep: #f2eada;
  --color-ink: #1c1712;
  --color-ink-soft: #6b5f52;
  --color-gold: #c79a5b;
  --color-gold-deep: #8a5c2e;
  --color-line: #dfd4c1;
  --color-focus: #8a5c2e;

  /* 语义别名（契约必需） */
  --color-primary: var(--color-gold-deep);
  --color-background: var(--color-paper);
  --color-text: var(--color-ink);
  --color-muted-text: var(--color-ink-soft);
  --color-border: var(--color-line);

  /* 字体 */
  --font-display: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;

  /* 尺度 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --space-unit: 0.25rem;
  --content-width: 26rem;

  /* 层级 */
  --z-header: 100;
  --z-tabbar: 200;
  --z-sheet: 300;
}

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

html {
  background: #e9e0d1;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  min-height: 100dvh;
  max-width: var(--content-width);
  background: var(--color-paper);
  line-height: 1.55;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

body.no-tabbar {
  padding-bottom: env(safe-area-inset-bottom);
}

body.has-talkbar {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  left: 1rem;
  position: fixed;
  top: 0.75rem;
  transform: translateY(-200%);
  z-index: 400;
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 页头 ---------- */

.app-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  padding-top: env(safe-area-inset-top);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
}

.app-bar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.app-bar .spacer {
  margin-left: auto;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-decoration: none;
}

.wordmark .t {
  color: var(--color-gold-deep);
}

.bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin-right: -10px;
  padding: 0 10px;
  background: none;
  border: 0;
  font-size: 13px;
  color: var(--color-ink-soft);
  text-decoration: none;
}

/* ---------- 主内容 ---------- */

main {
  display: block;
  padding-top: 4px;
}

.section {
  padding: 20px 0 4px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 16px 12px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head .note {
  margin: 0;
  font-size: 11px;
  color: var(--color-ink-soft);
  letter-spacing: 0.02em;
}

.rule-line {
  width: 22px;
  height: 1px;
  background: var(--color-gold);
  flex: 0 0 auto;
}

/* ---------- 顶部三张规则大图 ---------- */

.hero-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 16px 6px;
  scrollbar-width: none;
}

.hero-rail::-webkit-scrollbar {
  display: none;
}

.hero-card {
  flex: 0 0 78%;
  scroll-snap-align: center;
  color: inherit;
  text-decoration: none;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface-deep);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  border-radius: 2px;
}

.hero-tag--gold {
  background: var(--color-gold-deep);
}

.hero-body {
  padding: 9px 2px 0;
}

.hero-no {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--color-gold-deep);
}

.hero-name {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.hero-name span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--color-ink-soft);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.hero-line {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--color-ink-soft);
}

.rail-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding: 10px 0 2px;
}

.rail-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-line);
}

.rail-dots i.on {
  background: var(--color-gold-deep);
}

/* ---------- 筛选 ---------- */

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 4px;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

/* ---------- 窗口卡片（双列） ---------- */

.grid {
  column-count: 2;
  column-gap: 10px;
  padding: 8px 16px 24px;
}

.win {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 10px;
  color: inherit;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.win img {
  width: 100%;
  object-fit: cover;
  background: var(--color-surface-deep);
}

.win--tall img {
  aspect-ratio: 4 / 5;
}

.win--square img {
  aspect-ratio: 1 / 1;
}

.win-body {
  padding: 9px 10px 11px;
}

.win-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.win-no {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--color-gold-deep);
}

.win-rule {
  width: 14px;
  height: 1px;
  background: var(--color-gold);
}

.win-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.win-meta {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--color-ink-soft);
}

.win-line {
  margin: 5px 0 0;
  font-size: 11.5px;
  color: var(--color-ink);
  line-height: 1.5;
}

.win-stat {
  margin: 6px 0 0;
  font-size: 10.5px;
  color: var(--color-gold-deep);
  letter-spacing: 0.02em;
}

/* ---------- 目录列表 ---------- */

.dir-group {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
}

.dir-group button {
  flex: 1;
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  background: transparent;
  font-size: 12.5px;
  color: var(--color-ink-soft);
  cursor: pointer;
  padding: 8px 0;
}

.dir-group button[aria-pressed="true"] {
  color: var(--color-ink);
  border-bottom-color: var(--color-gold-deep);
  font-weight: 600;
}

.dir-list {
  padding: 0 16px 24px;
}

.dir-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  color: inherit;
  text-decoration: none;
}

.dir-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex: 0 0 auto;
  background: var(--color-surface-deep);
}

.dir-item .txt {
  min-width: 0;
}

.dir-item .nm {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}

.dir-item .nm span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--color-ink-soft);
  margin-left: 6px;
}

.dir-item .ln {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--color-ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dir-item .st {
  margin: 4px 0 0;
  font-size: 10.5px;
  color: var(--color-gold-deep);
}

/* ---------- 主理人主页 ---------- */

.person-hero {
  position: relative;
  margin: 0;
}

.person-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.person-head {
  padding: 0 16px;
  margin-top: -26px;
  position: relative;
}

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--color-paper);
  background: var(--color-gold-deep);
  color: var(--color-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.person-name {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.person-name span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-ink-soft);
  margin-left: 8px;
}

.person-bio {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--color-ink);
  line-height: 1.6;
}

.person-loc {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--color-ink-soft);
  letter-spacing: 0.02em;
}

.stat-row {
  display: flex;
  gap: 22px;
  padding: 16px;
  margin-top: 14px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.stat {
  min-width: 0;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.stat i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--color-ink-soft);
  letter-spacing: 0.02em;
}

.feed {
  padding: 18px 16px 8px;
}

.post {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--color-line);
}

.post:last-child {
  border-bottom: 0;
}

.post-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface-deep);
}

.post-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.post-cap {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.post-time {
  margin: 6px 0 0;
  font-size: 10.5px;
  color: var(--color-ink-soft);
  letter-spacing: 0.04em;
}

.talk-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-tabbar);
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--color-ink);
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}

.btn--block {
  flex: 1;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

/* ---------- 发布 ---------- */

.compose-wrap {
  padding: 16px;
}

.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-ink-soft);
  margin-bottom: 8px;
}

.dropzone {
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-ink-soft);
  font-size: 12.5px;
  cursor: pointer;
  width: 100%;
}

.dropzone .plus {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-gold-deep);
  line-height: 1;
}

.textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}

.counter {
  margin: 6px 0 0;
  text-align: right;
  font-size: 10.5px;
  color: var(--color-ink-soft);
  letter-spacing: 0.04em;
}

.compose-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.done-box {
  margin: 40px 16px;
  padding: 28px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-align: center;
}

.done-box .mark {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-gold-deep);
}

.done-box h2 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.done-box p {
  margin: 0;
  font-size: 12.5px;
  color: var(--color-ink-soft);
  line-height: 1.65;
}

[data-state="complete"] .compose-form {
  display: none;
}

.compose-done {
  display: none;
}

[data-state="complete"] .compose-done {
  display: block;
}

/* ---------- 底部 Tab ---------- */

.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-tabbar);
  display: flex;
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  padding-bottom: env(safe-area-inset-bottom);
}

.tab-item {
  flex: 1;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  text-decoration: none;
}

.tab-mark {
  width: 14px;
  height: 1px;
  background: transparent;
}

.tab-item[aria-current="page"] {
  color: var(--color-ink);
}

.tab-item[aria-current="page"] .tab-mark {
  background: var(--color-gold-deep);
}

/* ---------- Sheet ---------- */

dialog.sheet {
  border: 0;
  padding: 0;
  margin: auto auto 0;
  width: 100%;
  max-width: var(--content-width);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-surface);
  color: var(--color-ink);
  z-index: var(--z-sheet);
  box-shadow: 0 -1px 0 var(--color-line);
}

dialog.sheet::backdrop {
  background: rgba(28, 23, 18, 0.42);
}

.sheet-inner {
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
}

.sheet-inner h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.sheet-inner .hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

.sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ==========================================================================
   v2 · 内容流层（2026-11-17）
   新增：动态流 / 频道 / 单条内容 / 个人主页 / 发布二分
   设计约束不变：无渐变、无阴影堆叠、最大圆角 12px、金色只做标记
   ========================================================================== */

/* ---------- 频道横滑条 ---------- */
.chan-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 16px 14px;
  scrollbar-width: none;
}
.chan-bar::-webkit-scrollbar { display: none; }

.chan {
  flex: 0 0 auto;
  scroll-snap-align: start;
  appearance: none;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 7px 15px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
  cursor: pointer;
  min-height: 34px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chan[aria-pressed="true"] {
  color: var(--color-ink);
  border-color: var(--color-gold-deep);
  background: var(--color-surface);
}

.chan-note {
  padding: 0 16px 18px;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

/* ---------- 动态流卡片 ---------- */
.stream { padding: 0 0 4px; }

.card {
  border-top: 1px solid var(--color-line);
  padding: 16px 16px 18px;
}
.card:first-child { border-top: 0; }

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.card-av {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-surface-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-ink);
  text-decoration: none;
}

.card-who { flex: 1 1 auto; min-width: 0; }
.card-name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.card-name a { color: inherit; text-decoration: none; }
.card-name span {
  font-weight: 400;
  color: var(--color-ink-soft);
  font-size: 11.5px;
  margin-left: 6px;
}
.card-when {
  margin: 3px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
}

.card-kind {
  flex: 0 0 auto;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--color-gold-deep);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 3px 6px;
  font-family: var(--font-body);
}

.card-media {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface-deep);
  position: relative;
  text-decoration: none;
}
.card-media img,
.card-media video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.card-media--wide img { aspect-ratio: 16 / 10; }
.card-media--tall img { aspect-ratio: 3 / 4; }

.vtip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(28, 23, 18, 0.78);
  color: #F6F1E9;
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.vtip i {
  width: 0; height: 0;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.card-txt {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.7;
}
.card-txt a { color: inherit; text-decoration: none; }

.card-tags {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--color-gold-deep);
  letter-spacing: 0.02em;
}

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

.act {
  appearance: none;
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--color-ink-soft);
  cursor: pointer;
  letter-spacing: 0.04em;
}
.act:hover { color: var(--color-ink); }
.act[aria-pressed="true"] { color: var(--color-gold-deep); }
.act svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.act[aria-pressed="true"] svg { fill: currentColor; }
.act--last { margin-left: auto; }

/* ---------- 单条内容页 ---------- */
.post-page { padding-bottom: 96px; }

.post-hero {
  margin: 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface-deep);
}
.post-hero img,
.post-hero video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.post-wrap { padding: 18px 16px 0; }

.post-author {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-line);
}
.post-author .card-av { width: 40px; height: 40px; font-size: 16px; }
.post-author .card-name { font-size: 14.5px; }

.btn--follow {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--color-gold-deep);
  background: transparent;
  color: var(--color-gold-deep);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  min-height: 34px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.btn--follow[aria-pressed="true"] {
  border-color: var(--color-line);
  color: var(--color-ink-soft);
  background: var(--color-surface);
}

.post-body {
  padding: 16px 0 18px;
  font-size: 14.5px;
  line-height: 1.85;
}
.post-body p { margin: 0 0 14px; }
.post-body p:last-child { margin-bottom: 0; }

.post-meta {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

.post-stats {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

/* ---------- 留言 ---------- */
.cmt-head {
  padding: 18px 16px 10px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--color-ink-soft);
  font-family: var(--font-body);
}

.cmt {
  display: flex;
  gap: 10px;
  padding: 11px 16px;
}
.cmt .card-av { width: 28px; height: 28px; font-size: 12px; }
.cmt-body { flex: 1 1 auto; min-width: 0; }
.cmt-name {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}
.cmt-name span {
  font-weight: 400;
  color: var(--color-ink-soft);
  font-size: 10.5px;
  margin-left: 6px;
}
.cmt-txt {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- 个人主页 ---------- */
.profile-cover {
  margin: 0;
  border-bottom: 1px solid var(--color-line);
}
.profile-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.profile-head {
  padding: 0 16px 16px;
  margin-top: -26px;
  position: relative;
}
.profile-av {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--color-paper);
  background: var(--color-surface-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-ink);
  margin-bottom: 10px;
}
.profile-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.04em;
}
.profile-name span {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--color-ink-soft);
  letter-spacing: 0.06em;
  margin-left: 8px;
  font-weight: 400;
}
.profile-bio {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-ink);
}
.profile-loc {
  margin: 7px 0 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--color-ink-soft);
}

.profile-acts {
  display: flex;
  gap: 9px;
  padding: 0 16px 16px;
}

.profile-tabs {
  display: flex;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.ptab {
  flex: 1 1 0;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1.5px solid transparent;
  padding: 12px 0;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-ink-soft);
  cursor: pointer;
}
.ptab[aria-selected="true"] {
  color: var(--color-ink);
  border-bottom-color: var(--color-gold-deep);
}

.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-line);
}
.p-cell {
  display: block;
  position: relative;
  background: var(--color-surface-deep);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.p-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-cell .vtip {
  right: 5px;
  bottom: 5px;
  padding: 2px 5px;
  font-size: 9px;
}

.p-empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

/* ---------- 发布页二分 ---------- */
.kind-row {
  display: flex;
  gap: 9px;
  padding: 0 0 4px;
}
.kind {
  flex: 1 1 0;
  appearance: none;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 13px 12px;
  min-height: 72px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s, background 0.15s;
}
.kind b {
  display: block;
  font-size: 13px;
  color: var(--color-ink);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}
.kind span {
  display: block;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--color-ink-soft);
}
.kind[aria-pressed="true"] {
  border-color: var(--color-gold-deep);
  background: var(--color-surface);
}

.field-hint {
  margin: 6px 0 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--color-ink-soft);
}

/* ---------- 底部导航 5 项微调 ---------- */
.app-tabbar .tab-item { font-size: 10.5px; }

/* ---------- 关注流空态 ---------- */
.stream-empty {
  padding: 56px 24px;
  text-align: center;
}
.stream-empty h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.stream-empty p {
  margin: 0 0 20px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--color-ink-soft);
}
