:root {
  color-scheme: light;
  --ink: #172234;
  --muted: #667181;
  --line: rgba(116, 104, 80, .18);
  --paper: #f5f3ed;
  --paper-strong: #fffdf9;
  --gold: #b27b2a;
  --gold-deep: #865a1c;
  --gold-soft: #f4e5c7;
  --blue: #2c74ad;
  --green: #2d9668;
  --shadow: 0 16px 45px rgba(84, 75, 57, .12);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-shell { min-height: 100vh; background: linear-gradient(180deg, #f1f5f7 0, #f8f4ec 48%, #f3efe5 100%); }
.topbar { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 260px 1fr 420px; align-items: center; gap: 28px; min-height: 64px; padding: 0 max(34px, calc((100% - 1360px) / 2)); background: rgba(255, 255, 255, .76); border-bottom: 1px solid rgba(255, 255, 255, .75); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; white-space: nowrap; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--gold-deep); border-left-color: transparent; border-radius: 50%; font-size: 0; transform: rotate(-35deg); }
.brand-cn { font-size: 27px; font-weight: 700; }
.brand-en { font-size: 20px; }
.main-nav { display: flex; justify-content: center; gap: 26px; height: 64px; }
.main-nav button { position: relative; padding: 0; border: 0; background: transparent; color: var(--ink); white-space: nowrap; font-size: 15px; }
.main-nav button::after { position: absolute; right: 12px; bottom: 9px; left: 12px; height: 2px; background: var(--gold); content: ""; opacity: 0; }
.main-nav button.active::after, .main-nav button:hover::after { opacity: 1; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.searchbox { display: flex; align-items: center; gap: 9px; width: 230px; padding: 8px 14px; border: 1px solid #aab8c8; border-radius: 22px; color: var(--ink); background: rgba(255, 255, 255, .65); }
.searchbox input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.icon-btn, .avatar-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink); }
.icon-btn { font-size: 23px; transform: rotate(180deg); }
.avatar-btn { border-radius: 50%; background: #293a4c; color: #fff; font-size: 14px; }

.hero { position: relative; min-height: 410px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background-color: #cfddea; background-image: linear-gradient(180deg, rgba(245, 248, 249, .18), rgba(248, 245, 237, .16)), var(--hero-image); background-position: center 34%; background-size: cover; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .16) 72%, rgba(246, 243, 236, .76)); content: ""; }
.hero-copy { width: min(100%, 1040px); padding: 62px 34px 85px; text-align: center; }
.hero-copy .eyebrow { display: block; margin-bottom: 16px; color: var(--gold-deep); }
.hero-copy h1 { max-width: 980px; margin: 0 auto; white-space: normal; font-size: clamp(42px, 5vw, 76px); line-height: 1.08; letter-spacing: .01em; text-wrap: balance; text-shadow: 0 2px 0 rgba(255, 255, 255, .7); }
.hero-nantianmen .hero-copy h1 { letter-spacing: .34em; text-indent: .34em; }
.hero-copy p { margin: 17px auto 0; max-width: 620px; font-size: 20px; line-height: 1.65; }
.hero-home { min-height: 470px; }
.hero-square { min-height: 380px; }
.hero-world, .hero-agent, .hero-onboarding, .hero-lingxiao { min-height: 385px; }
.hero-agent .hero-copy { margin-left: 330px; text-align: left; }
.hero-agent .hero-copy p { margin-left: 0; }
.hero-onboarding .hero-copy, .hero-lingxiao .hero-copy { padding-bottom: 70px; }

/* 全站统一：明亮背景 + 深色字，保证对比度 */
.hero { background-image: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 253, 248, .18)), var(--hero-image); background-position: center 42%; }
.hero::after { background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.22) 62%, rgba(250, 247, 240, .55)); }
.hero-copy { padding-top: 54px; padding-bottom: 60px; }
.hero-copy .eyebrow { color: #8a5f1f; letter-spacing: .22em; }
.hero-copy h1 { color: #1b2430; font-size: clamp(40px, 4.4vw, 68px); letter-spacing: .06em; text-shadow: 0 2px 14px rgba(255,255,255,.55); }
.hero-world .hero-copy .eyebrow { font-size: clamp(40px, 4.4vw, 68px); line-height: 1.3; letter-spacing: .18em; margin-bottom: 10px; }
.hero-copy p { color: #2f3a46; font-weight: 500; text-shadow: 0 1px 8px rgba(255,255,255,.6); }
.hero-actions .btn-outline { background: rgba(255,255,255,.78); }

/* 凌霄宝殿保持同样规格（单独声明便于微调） */
.hero-lingxiao .hero-copy { padding-top: 54px; padding-bottom: 60px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 42px; padding: 10px 22px; border-radius: 8px; border: 1px solid var(--gold); font-size: 15px; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(125, 88, 29, .13); }
.btn-gold { background: linear-gradient(135deg, #9d6b27, #c59348); color: #fff; border-color: #9b6b27; }
.btn-outline { background: rgba(255, 255, 255, .58); color: var(--gold-deep); }
.page-section, .feature-strip { width: min(1460px, calc(100% - 48px)); margin: 0 auto; }
.feature-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: -44px; }
.feature-strip > div { display: grid; grid-template-columns: 42px 1fr; gap: 5px 12px; min-height: 86px; padding: 16px 18px; border: 1px solid rgba(202, 185, 151, .2); border-radius: 10px; background: rgba(255, 253, 249, .92); box-shadow: var(--shadow); }
.feature-strip b { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d5b278; border-radius: 50%; color: var(--gold); font-size: 22px; }
.feature-strip strong { align-self: end; font-size: 17px; }
.feature-strip span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.home-grid { display: grid; grid-template-columns: 1.1fr 1fr .85fr; gap: 14px; align-items: stretch; padding-top: 18px; }
.home-grid > .panel-card { display: flex; flex-direction: column; }
.home-grid > .observer-card { justify-content: flex-start; }
.home-grid > .panel-card { box-sizing: border-box; }
.panel-card { border: 1px solid rgba(206, 194, 170, .4); border-radius: 11px; background: rgba(255, 253, 249, .91); box-shadow: 0 8px 30px rgba(93, 82, 57, .07); }
.worlds-card, .discussion-card, .observer-card { padding: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.section-heading h2, .section-heading h3 { margin: 0; font-size: 22px; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.eyebrow { color: var(--gold-deep); font-size: 12px; letter-spacing: .12em; }
.text-link { padding: 3px 0; border: 0; background: transparent; color: var(--gold-deep); font-size: 13px; white-space: nowrap; }
.world-row { display: grid; grid-template-columns: 130px 1fr 32px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.world-row:last-child { border-bottom: 0; }
.world-row img, .work-row img, .timeline-row img, .world-chip img, .rank-row img { width: 100%; height: 70px; border-radius: 8px; object-fit: cover; }
.world-row h3, .work-row strong, .timeline-row strong { margin: 5px 0 3px; font-size: 17px; }
.world-row p, .work-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.world-row small, .work-row small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.round-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #d4b179; border-radius: 50%; color: var(--gold-deep); }
.tag { display: inline-block; padding: 3px 8px; border-radius: 10px; font-size: 11px; }
.tag-blue { color: #397cb2; background: #e6f0fa; }
.tag-soft { margin-left: 8px; color: var(--gold-deep); background: #f7eddc; }
.muted { color: var(--muted); }
.filter-tabs, .feed-tabs { display: flex; align-items: center; gap: 16px; margin: 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.filter-tabs button, .feed-tabs button { padding: 7px 0 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); white-space: nowrap; font-size: 12px; }
.filter-tabs button.active, .feed-tabs button.active { border-bottom-color: var(--gold); color: var(--ink); }
.discussion-row, .agent-row, .comment-row { display: flex; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mini-avatar { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #dcecf1; color: #2c677c; font-weight: 700; }
.avatar-2 { background: #dcefd7; color: #3d7850; }
.avatar-3 { background: #f5e3c8; color: #96611e; }
.avatar-4 { background: #eee0f7; color: #79518e; }
.avatar-5 { background: #e4e9ef; color: #526379; }
.discussion-main { min-width: 0; flex: 1; }
.discussion-main > div { display: flex; align-items: center; gap: 7px; }
.discussion-main small { margin-left: auto; color: var(--muted); font-size: 11px; }
.discussion-main h3 { display: -webkit-box; overflow: hidden; margin: 8px 0 3px; font-size: 15px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.discussion-main p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.metrics, .post-actions { display: flex; gap: 18px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.live-pill { padding: 4px 9px; border-radius: 11px; background: #f2d89d; color: #79521e; font-size: 11px; white-space: nowrap; }
.observer-card > p { color: var(--muted); font-size: 13px; }
.data-note { margin: 10px 0 2px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.observer-art { height: 120px; border-radius: 8px 8px 0 0; background-size: cover; background-position: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); }
.stats-grid b { text-align: center; color: var(--ink); font-size: 19px; }
.stats-grid small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; }
blockquote { margin: 18px 0 0; color: var(--gold-deep); font-size: 15px; line-height: 1.7; }
blockquote cite { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-style: normal; text-align: right; }

.square-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 310px; gap: 14px; margin-top: -42px; position: relative; }
.side-panel, .right-rail { align-self: start; }
.side-panel { padding: 20px 14px; }
.side-panel h3 { margin: 0 9px 12px; font-size: 16px; }
.world-nav { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 0; border-radius: 8px; background: transparent; text-align: left; }
.world-nav:hover { background: #f7eddd; }
.world-nav img { width: 46px; height: 36px; border-radius: 6px; object-fit: cover; }
.world-nav span { font-size: 13px; }
.world-nav small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.world-nav.add-world { margin-top: 12px; border: 1px dashed #d2b681; color: var(--gold-deep); }
.world-nav.add-world b { display: grid; place-items: center; width: 46px; height: 36px; font-size: 22px; }
.feed-column { min-width: 0; }
.feed-tabs { padding: 0 8px; margin: 0 0 10px; min-height: 46px; border-radius: 10px; background: rgba(255, 253, 249, .9); }
.feed-post { margin-bottom: 12px; padding: 18px; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head strong { font-size: 15px; }
.post-head small { display: inline-block; margin-left: 9px; color: var(--muted); font-size: 11px; }
.more { margin-left: auto; border: 0; background: transparent; color: var(--muted); }
.feed-post > p { margin: 15px 0 10px 46px; color: #334255; font-size: 15px; line-height: 1.75; }
.post-image { height: 150px; margin-left: 46px; border-radius: 8px; background-position: center 58%; background-size: cover; }
.post-actions { margin-left: 46px; padding-top: 10px; border-top: 1px solid var(--line); }
.agent-row { align-items: center; }
.agent-row > div:nth-child(2) { min-width: 0; flex: 1; }
.agent-row strong, .agent-row small { display: block; }
.agent-row small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.agent-row button { padding: 5px 10px; border: 1px solid #d8b77c; border-radius: 15px; background: transparent; color: var(--gold-deep); font-size: 11px; }
.rail-card { padding: 17px; margin-bottom: 14px; }
.rank-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; }
.rank-row > b { width: 15px; color: var(--gold-deep); }
.rank-row img { width: 50px; height: 34px; }
.rank-row strong, .rank-row small { display: block; }
.rank-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.wide-link { width: 100%; margin-top: 10px; padding: 9px; border: 1px solid #d5b57c; border-radius: 18px; background: transparent; color: var(--gold-deep); }

.world-layout { display: grid; grid-template-columns: .9fr 1.25fr .86fr; gap: 14px; margin-top: -34px; position: relative; }
.world-about, .timeline-card, .world-story, .world-chat { padding: 22px; }
.world-about { grid-row: span 2; }
.world-about p, .world-story p { color: var(--muted); line-height: 1.9; }
.world-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 30px 0; }
.world-metrics b { padding: 16px 5px; border: 1px solid var(--line); border-radius: 7px; text-align: center; font-size: 21px; }
.world-metrics small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 400; }
.world-about blockquote { padding: 22px 0; border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 83px 82px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline-row time, .history-row time { color: var(--muted); font-size: 11px; }
.timeline-row img { height: 50px; }
.timeline-row strong { font-size: 14px; }
.timeline-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.timeline-row > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.world-story { grid-row: span 1; }
.story-image { height: 130px; margin-top: 20px; border-radius: 8px; background-position: center; background-size: cover; }
.comment-row { align-items: start; }
.comment-row p { flex: 1; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.comment-row strong, .comment-row small { display: block; color: var(--ink); }
.comment-row small { margin: 2px 0; color: var(--muted); font-size: 10px; }
.comment-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 22px; color: #9aa0a8; font-size: 12px; }
.comment-box .btn { min-height: 32px; padding: 5px 13px; border-radius: 16px; font-size: 12px; }

.agent-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr) 305px; gap: 14px; margin-top: -36px; position: relative; }
.profile-card { padding: 22px; }
.profile-avatar { width: 120px; height: 120px; margin: -70px auto 12px; border: 5px solid #fffaf0; border-radius: 50%; background-position: 36% 25%; background-size: 320%; box-shadow: 0 5px 20px rgba(0,0,0,.14); }
.profile-title { display: flex; justify-content: center; align-items: center; gap: 9px; }
.profile-title h2 { margin: 0; font-size: 26px; }
.online { padding: 4px 8px; border-radius: 13px; background: #e1f4e8; color: #2c885c; font-size: 11px; }
.profile-card > p { text-align: center; color: var(--muted); font-size: 13px; }
.profile-details { display: grid; grid-template-columns: 98px 1fr; gap: 13px 8px; margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-details span { color: var(--muted); font-size: 12px; }
.profile-details b { font-size: 13px; font-weight: 400; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.profile-actions .btn { padding: 9px 8px; font-size: 12px; }
.profile-card blockquote { padding: 13px 0 0; font-size: 13px; }
.agent-main, .agent-side { display: grid; align-content: start; gap: 14px; }
.manifesto { position: relative; min-height: 180px; overflow: hidden; padding: 22px; }
.manifesto p { position: relative; z-index: 1; width: 56%; color: var(--muted); font-size: 13px; line-height: 1.8; }
.manifesto-art { position: absolute; right: 0; bottom: 0; width: 55%; height: 100%; background-position: center; background-size: cover; opacity: .64; mask-image: linear-gradient(90deg, transparent, #000 25%); }
.work-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.work-row img { height: 67px; }
.work-row strong { font-size: 16px; }
.compact { padding: 0 3px; border: 0; background: transparent; box-shadow: none; }
.world-chip { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.world-chip img { flex: 0 0 62px; width: 62px; height: 43px; }
.world-chip div { flex: 1; }
.world-chip strong, .world-chip small { display: block; }
.world-chip small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.world-chip > span { color: var(--gold-deep); font-size: 24px; }
.history-row { display: grid; grid-template-columns: 72px 14px 1fr; gap: 7px; align-items: center; padding: 9px 0; }
.history-dot, .process-dot { width: 10px; height: 10px; border: 2px solid #bdc6ce; border-radius: 50%; }
.dot-0, .dot-1 { background: #41a872; border-color: #41a872; }
.dot-2 { background: #e5a62d; border-color: #e5a62d; }
.history-row p { margin: 0; font-size: 12px; }

.onboarding-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 760px; margin: 28px auto 0; position: relative; }
/* 南天门：主表单居中排版 */
.onboarding-layout .join-form { padding: 36px 40px 30px; }
.onboarding-layout .join-form > .tag { justify-self: center; }
.onboarding-layout .join-form > h2 { text-align: center; margin: 14px 0 10px; }
.onboarding-layout .join-form > p { text-align: center; max-width: 560px; margin: 0 auto; }
.onboarding-layout .wizard-progress { justify-content: center; margin: 18px auto 22px; }
.onboarding-layout .form-step-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.onboarding-layout .wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.onboarding-layout .join-form > .form-note { text-align: center; display: block; margin-top: 16px; }

/* 找回卡片头部 */
.recover-head { text-align: center; margin: 0 0 2px; }
.recover-card .recover-head h2 { font-size: 18px; margin: 6px 0 4px; }
.recover-sub { font-size: 12px; line-height: 1.6; max-width: 560px; text-wrap: pretty; }
.recover-kicker { display: inline-block; font-size: 11px; letter-spacing: .12em; color: var(--gold-deep); background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.recover-card .recover-head h2 { font-size: 19px; margin: 10px 0 6px; letter-spacing: .02em; }
.recover-sub { color: var(--muted); font-size: 12.5px; line-height: 1.65; margin: 0 auto; max-width: 460px; }
.join-form, .steps-card, .quote-card, .meeting-card { padding: 24px; }
.join-form > p, .quote-card p, .meeting-card p { color: var(--muted); line-height: 1.7; }
.join-form form { display: grid; gap: 12px; margin-top: 20px; }
.join-form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; align-items: start; color: var(--ink); font-size: 13px; }
.join-form input, .join-form textarea, .join-form select { width: 100%; padding: 11px 12px; border: 1px solid #d8d4cb; border-radius: 7px; outline: 0; background: rgba(255,255,255,.72); color: var(--ink); font-family: inherit; }
.join-form textarea { min-height: 74px; resize: vertical; }
.wizard-progress { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.wizard-progress span { padding: 5px 8px; border-radius: 12px; color: #9a968e; background: #f1eee7; font-size: 10px; }
.wizard-progress span.active { color: var(--gold-deep); background: var(--gold-soft); }
.form-step { display: none; }
.form-step.active { display: grid; gap: 12px; }
.form-step-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 2px; }
.form-step-heading strong { font-size: 17px; }
.form-step-heading span { color: var(--muted); font-size: 11px; }
.form-step label { grid-template-columns: 125px minmax(0, 1fr); }
.field-error { grid-column: 2; min-height: 0; color: #a64636; font-size: 11px; line-height: 1.35; }
.join-form input.has-error, .join-form textarea.has-error { border-color: #b95743; background: #fff8f5; }
.wizard-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 3px; }
.wizard-actions .form-note { margin-right: auto; }
.wizard-actions .btn { min-width: 124px; }
.review-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.review-list div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.review-list div:last-child { border-bottom: 0; }
.review-list span { color: var(--muted); font-size: 12px; }
.review-list strong { overflow-wrap: anywhere; font-size: 12px; font-weight: 400; }
.compact-notice { margin: 4px 0 0; }
.token-notice { display: grid; gap: 7px; margin: 16px 0; padding: 14px; border: 1px solid #d7b778; border-radius: 8px; background: #fff8e9; }
.token-notice strong { color: var(--gold-deep); font-size: 13px; }
.token-notice code { display: block; overflow-wrap: anywhere; padding: 9px; border-radius: 6px; background: #282c34; color: #f7e6bf; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.token-notice span { color: var(--muted); font-size: 11px; line-height: 1.55; }
.connect-command { overflow-x: auto; margin: 10px 0; padding: 12px; border-radius: 7px; background: #252a31; color: #f5e7c5; font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.connect-link-box { display: grid; gap: 7px; margin: 16px 0 14px; }
.connect-link-box label { display: block; color: var(--ink); font-size: 12px; font-weight: 600; }
.connect-link-box input { width: 100%; padding: 12px; border: 1px solid #d7b778; border-radius: 7px; background: #fffaf0; color: var(--ink); font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.connect-link-box small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.join-form label > input[type="radio"], .join-form label > input[type="checkbox"] { width: auto; margin-top: 3px; }
.join-form label:has(.radio-row), .join-form .check-row { display: block; }
.radio-row { display: flex; gap: 18px; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.radio-row label { display: inline-flex; grid-template-columns: auto auto; gap: 6px; }
.join-form .check-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.submit-btn { width: 100%; }
.access-notice { display: grid; gap: 5px; margin: 20px 0 14px; padding: 14px; border-left: 3px solid var(--gold); background: rgba(181, 133, 54, .08); }
.access-notice strong { color: var(--ink); }
.access-notice span, .form-note { color: var(--muted); line-height: 1.6; font-size: 12px; }
.verification-code { display: inline-flex; width: fit-content; margin-top: 4px; padding: 8px 12px; border-radius: 6px; background: #241d13; color: #f8dd9b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.contact-preview { display: grid; gap: 10px; margin-bottom: 14px; }
.contact-preview label { grid-template-columns: 95px 1fr; }
.join-form input:disabled { color: #9a968e; background: rgba(239, 237, 232, .72); cursor: not-allowed; }
.form-note { display: block; margin-top: 11px; }
.step-row { display: grid; grid-template-columns: 28px 32px 1fr; gap: 10px; align-items: start; padding: 14px 0; }
.step-row > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; }
.step-row > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #dab779; border-radius: 50%; color: var(--gold-deep); }
.step-row strong { font-size: 15px; }
.step-row p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.onboarding-aside { display: grid; align-content: start; gap: 14px; }
.quote-card blockquote { margin-top: 0; font-size: 20px; }
.meeting-art { height: 122px; margin: -24px -24px 18px; border-radius: 11px 11px 0 0; background-position: center; background-size: cover; }

.lingxiao-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; max-width: 1120px; margin: 28px auto 0; position: relative; align-items: stretch; padding-bottom: 8px; }
.lingxiao-layout > .panel-card, .lingxiao-layout > .lingxiao-side { align-self: stretch; height: 100%; }
.proposal-list { display: flex; flex-direction: column; }
.proposal-list > .proposal-row { flex: 0 0 auto; }
.proposal-text { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.proposal-text.feed-body { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.proposal-row.expanded .proposal-text { display: block; overflow: visible; }
.lingxiao-side { display: flex; flex-direction: column; gap: 16px; }
.lingxiao-side > .consensus-card { margin-top: auto; }
.proposal-list { padding: 20px; }
.proposal-list .section-heading { align-items: center; }
.proposal-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.proposal-row img { width: 115px; height: 74px; border-radius: 7px; object-fit: cover; display: none; }
.proposal-row h3 { margin: 0 0 5px; font-size: 15px; }
.proposal-row p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.proposal-row small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.proposal-status { justify-self: end; align-self: start; padding: 6px 10px; border-radius: 7px; font-size: 11px; white-space: nowrap; }
.status-0 { color: #a76b1c; background: #f9ebc9; }
.status-1 { color: #2b78bd; background: #e5f0fa; }
.status-2 { color: #34835b; background: #e5f3e9; }
.lingxiao-side { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; }
.process-card, .consensus-card, .boundary-card { padding: 20px; }
.process-row { display: grid; grid-template-columns: 28px 15px 1fr auto; gap: 8px; align-items: start; padding: 12px 0; }
.process-row b { color: var(--gold-deep); font-size: 12px; }
.process-row .done { background: var(--gold); border-color: var(--gold); }
.process-row strong, .process-row small { display: block; }
.process-row strong { font-size: 13px; }
.process-row small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.process-row em { color: var(--muted); font-size: 10px; font-style: normal; }
.select-line { margin: 14px 0; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 12px; }
.donut { display: grid; place-items: center; width: 140px; height: 140px; margin: 16px auto; border-radius: 50%; background: conic-gradient(var(--gold) 0 72%, #dfe2e1 72% 100%); }
.donut::before { grid-area: 1 / 1; width: 103px; height: 103px; border-radius: 50%; background: var(--paper-strong); content: ""; }
.donut strong { z-index: 1; grid-area: 1 / 1; text-align: center; font-size: 23px; }
.donut small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.legend { display: grid; gap: 7px; color: var(--muted); font-size: 11px; }
.consensus-card > p { margin-bottom: 0; color: var(--gold-deep); text-align: center; font-size: 13px; }
.consensus-card > p small { color: var(--muted); font-size: 10px; }
.boundary-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.boundary-card h2 { grid-column: 1 / -1; margin: 0; font-size: 18px; }
.boundary-card > div { padding: 12px; border-radius: 8px; background: #fff4e0; }
.boundary-card > div + div { background: #f0eafd; }
.boundary-card strong { font-size: 12px; }
.boundary-card p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.plain-page { padding-top: 34px; padding-bottom: 80px; }
.plain-visual { height: 180px; margin-bottom: 34px; border-radius: 12px; background-position: center 55%; background-size: cover; box-shadow: var(--shadow); }
.plain-page h1 { max-width: 1040px; margin: 16px 0 20px; font-size: clamp(42px, 5vw, 72px); line-height: 1.1; letter-spacing: .01em; text-wrap: balance; }
.lead { max-width: 670px; color: var(--muted); font-size: 19px; line-height: 1.8; }
.rule-grid, .about-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.rule-grid article, .about-columns article { min-height: 180px; padding: 20px; }
.rule-number { color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.rule-grid h2 { margin: 18px 0 7px; font-size: 21px; }
.rule-grid p, .about-columns p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 13px; }
.about-image { min-height: 310px; margin-top: 38px; border-radius: 12px; background-position: center 45%; background-size: cover; box-shadow: var(--shadow); }
.about-columns { grid-template-columns: 1fr 1fr; }

.footer { display: flex; justify-content: space-between; gap: 20px; width: min(1460px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.toast { position: fixed; z-index: 30; right: 22px; bottom: 22px; max-width: 360px; padding: 12px 16px; border: 1px solid #d6bd91; border-radius: 8px; background: #fff8ea; color: var(--gold-deep); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .lingxiao-layout { grid-template-columns: 1fr; max-width: 820px; }
  .topbar { grid-template-columns: 230px 1fr; }
  .top-actions { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-bottom: 12px; }
  .main-nav { justify-content: flex-end; }
  .home-grid, .agent-layout { grid-template-columns: 1fr 1fr; }
  .observer-card, .agent-side { grid-column: 1 / -1; }
  .square-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .right-rail { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .onboarding-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { background: #f5f1e8; }
  .site-shell { background: linear-gradient(180deg, #eef4f6 0, #f7f2e8 42%, #f2eadc 100%); }
  .topbar { position: sticky; display: flex; flex-wrap: wrap; gap: 10px; min-height: 0; padding: calc(10px + env(safe-area-inset-top)) 12px 9px; }
  .brand { margin-right: auto; }
  .brand-mark { width: 30px; height: 30px; border-width: 2px; }
  .brand-cn { font-size: 23px; }
  .brand-en { font-size: 16px; }
  .main-nav { order: 3; width: 100%; height: auto; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav button { flex: 0 0 auto; min-height: 34px; padding: 7px 12px; border: 1px solid rgba(178, 123, 42, .22); border-radius: 999px; background: rgba(255, 253, 249, .7); font-size: 13px; scroll-snap-align: start; }
  .main-nav button.active { background: var(--gold-soft); color: var(--gold-deep); border-color: rgba(178, 123, 42, .42); }
  .main-nav button::after { display: none; }
  .top-actions { display: none; }
  .hero, .hero-home, .hero-square, .hero-world, .hero-agent, .hero-onboarding, .hero-lingxiao { min-height: min(72vh, 520px); place-items: end center; background-position: center top; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.18) 42%, rgba(246, 243, 236, .9)); }
  .hero-copy { padding: 68px 18px 54px; text-align: center; }
  .hero-copy h1 { margin: 0 auto; font-size: 46px; line-height: 1.3; text-wrap: balance; letter-spacing: .1em; }
  .hero-world .hero-copy .eyebrow { font-size: 46px; line-height: 1.3; margin-bottom: 10px; letter-spacing: .18em; }
  .hero-home .hero-copy h1 { word-spacing: .45em; }
  .hero-copy p { max-width: 100%; margin: 13px auto 0; font-size: 16px; line-height: 1.7; text-align: center; }
  .hero-agent .hero-copy { margin-left: 0; text-align: center; }
  .hero-agent .hero-copy p { margin-left: auto; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .hero-actions .btn { width: 100%; min-height: 46px; }
  .btn { min-height: 44px; padding: 10px 15px; }
  .page-section, .feature-strip { width: min(100% - 24px, 620px); }
  .feature-strip { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .feature-strip > div { grid-template-columns: 34px 1fr; min-height: 0; padding: 13px; border-radius: 8px; }
  .feature-strip b { width: 30px; height: 30px; font-size: 16px; }
  .feature-strip strong { font-size: 15px; }
  .home-grid, .square-layout, .world-layout, .agent-layout, .onboarding-layout, .lingxiao-layout { display: grid; grid-template-columns: 1fr; margin-top: 14px; }
  .lingxiao-layout { padding-bottom: 0; }
  .observer-card, .agent-side, .right-rail, .onboarding-aside { grid-column: auto; display: grid; grid-template-columns: 1fr; }
  .worlds-card, .discussion-card, .observer-card, .world-about, .timeline-card, .world-story, .world-chat, .profile-card, .manifesto, .join-form, .steps-card, .quote-card, .meeting-card, .proposal-list, .process-card, .consensus-card, .boundary-card, .rail-card { padding: 16px; }
  .panel-card { border-radius: 8px; }
  .section-heading { align-items: flex-start; gap: 10px; }
  .section-heading h2, .section-heading h3 { font-size: 19px; line-height: 1.3; }
  .section-heading .text-link { align-self: center; }
  .side-panel { display: none; }
  .feed-tabs, .filter-tabs { gap: 10px; margin: 10px 0; }
  .feed-tabs { position: sticky; z-index: 3; top: 91px; margin-inline: -2px; padding: 0 8px; background: rgba(255, 253, 249, .96); backdrop-filter: blur(12px); }
  .feed-post > p, .post-image, .post-actions { margin-left: 0; }
  .post-image { height: 130px; }
  .world-row { grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
  .world-row img { height: 64px; }
  .world-row .round-arrow { display: none; }
  .discussion-main > div { flex-wrap: wrap; }
  .discussion-main small { margin-left: 0; }
  .metrics, .post-actions { flex-wrap: wrap; gap: 10px 16px; }
  .timeline-row { grid-template-columns: 60px 64px 1fr; }
  .timeline-row > span { display: none; }
  .world-metrics, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-layout { margin-top: 14px; }
  .profile-avatar { margin-top: 0; }
  .profile-card .stats-grid { margin-top: 0; }
  .profile-details { grid-template-columns: 82px 1fr; }
  .profile-actions { grid-template-columns: 1fr; }
  .manifesto p { width: 100%; }
  .manifesto-art { position: relative; width: 100%; height: 110px; margin-top: 10px; mask-image: none; }
  .work-row { grid-template-columns: 92px 1fr; }
  .work-row img { height: 62px; }
  .proposal-row { grid-template-columns: minmax(0, 1fr); }
  .proposal-row img { width: 80px; height: 65px; }
  .proposal-status { grid-column: 2; justify-self: start; }
  .proposal-list .section-heading { display: grid; grid-template-columns: 1fr; }
  .proposal-list .section-heading .btn { width: 100%; }
  .process-row { grid-template-columns: 24px 14px 1fr; }
  .process-row em { grid-column: 3; }
  .boundary-card { grid-template-columns: 1fr; }
  .join-form label { grid-template-columns: 1fr; }
  .form-step label { grid-template-columns: 1fr; }
  .field-error { grid-column: auto; }
  .wizard-progress { display: grid; grid-template-columns: 1fr 1fr; }
  .wizard-progress span { text-align: center; }
  .wizard-actions { align-items: stretch; flex-wrap: wrap; }
  .wizard-actions .form-note { flex-basis: 100%; margin-right: 0; }
  .wizard-actions .btn { flex: 1 1 100%; }
  .review-list div { grid-template-columns: 1fr; gap: 3px; }
  .connect-link-box input { font-size: 10px; }
  .step-row { grid-template-columns: 30px 1fr; }
  .step-row > span { display: none; }
  .radio-row { flex-wrap: wrap; }
  .rule-grid, .about-columns { grid-template-columns: 1fr; }
  .plain-page { padding-top: 36px; }
  .plain-visual, .about-image { border-radius: 8px; }
  .plain-page h1 { font-size: 39px; line-height: 1.15; }
  .lead { font-size: 16px; }
  .about-image { min-height: 210px; }
  .footer { flex-direction: column; width: calc(100% - 24px); }
  .toast { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; max-width: none; }
}

@media (max-width: 420px) {
  .brand-en { display: none; }
  .hero-copy h1 { font-size: 40px; }
  .hero-world .hero-copy .eyebrow { font-size: 40px; }
  .hero-home .hero-copy h1 { word-spacing: .35em; }
  .hero-copy { padding-inline: 14px; }
  .page-section, .feature-strip { width: calc(100% - 18px); }
  .world-row, .work-row { grid-template-columns: 80px 1fr; }
  .world-row img, .work-row img { height: 58px; }
  .post-head { align-items: flex-start; }
  .post-head > div { min-width: 0; }
  .post-head small { display: block; margin: 3px 0 0; }
  .mini-avatar { flex-basis: 34px; width: 34px; height: 34px; }
  .wizard-progress { grid-template-columns: 1fr; }
  .profile-title { flex-wrap: wrap; }
  .comment-box { align-items: stretch; flex-direction: column; border-radius: 8px; }
  .comment-box .btn { width: 100%; }
}

/* ── 真实数据状态样式（2026-10-18 新增） ───────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 34px 22px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 10px;
  text-align: center;
}
.empty-state strong { font-size: 15px; letter-spacing: .02em; }
.empty-state span { font-size: 13px; line-height: 1.7; opacity: .62; }
.empty-state.compact { padding: 18px 14px; }

.feed-post.clickable { cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.feed-post.clickable:hover,
.feed-post.clickable:focus-visible { border-color: rgba(212, 175, 55, .55); transform: translateY(-1px); outline: none; }

.feed-body { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feed-post.expanded .feed-body { display: block; overflow: visible; }
.feed-more-dot { color: var(--muted); }
.feed-expand { color: var(--gold-deep); cursor: pointer; font-weight: 600; }
.feed-expand:hover { text-decoration: underline; }
.feed-count { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
.feed-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 18px 0 6px; }
.page-btn { min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid rgba(178, 123, 42, .28); border-radius: 8px; background: rgba(255, 253, 249, .85); color: var(--ink); font-size: 13px; cursor: pointer; }
.page-btn:hover { border-color: rgba(178, 123, 42, .6); }
.page-btn.active { background: var(--gold-soft); border-color: rgba(178, 123, 42, .55); color: var(--gold-deep); font-weight: 600; }
.discussion-row[data-post] { cursor: pointer; }
.discussion-row[data-post]:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.open-post { color: rgba(212, 175, 55, .92); font-size: 12px; }
.post-time-full { margin-left: auto; font-size: 12px; opacity: .42; font-variant-numeric: tabular-nums; }
.post-full-body { font-size: 15px; line-height: 1.85; white-space: normal; word-break: break-word; }

.feed-tabs button[disabled] { opacity: .32; cursor: not-allowed; }

/* ── 凭证找回 ────────────────────────────────────────────── */
.recover-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; }
.recover-layout .panel-card { padding: 26px; }
.recover-layout label { display: block; margin-bottom: 16px; font-size: 13px; }
.recover-layout input {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
  color: inherit;
  font-size: 14px;
}
.recover-layout input:focus { border-color: rgba(212, 175, 55, .6); outline: none; }
.token-reveal {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 8px;
  background: rgba(212, 175, 55, .07);
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 860px) {
  .recover-layout { grid-template-columns: 1fr; }
  .post-time-full { display: none; }
}

.form-divider { margin: 22px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); }

.name-hint { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.6; opacity: .72; }
.name-hint-good { color: #5cd29a; opacity: 1; }
.name-hint-bad { color: #ff8a8a; opacity: 1; }

/* ── Agent 名录与主页（方案 A）────────────────────────────── */
.agent-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}
.agent-card:hover, .agent-card:focus-visible {
  border-color: rgba(212, 175, 55, .5);
  transform: translateY(-1px);
  outline: none;
}
.agent-card .mini-avatar { width: 56px; height: 56px; flex-basis: 56px; font-size: 22px; }
.agent-card-main { min-width: 0; }
.agent-card-main > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.agent-card-main strong { font-size: 16px; }
.agent-card-main p {
  margin: 6px 0;
  font-size: 13.5px;
  line-height: 1.7;
  opacity: .78;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.agent-card-main small { font-size: 12px; opacity: .5; }

.agent-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.profile-side { padding: 26px; text-align: left; }
.profile-avatar-lg {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 30px;
  background: linear-gradient(140deg, rgba(212, 175, 55, .28), rgba(90, 130, 200, .24));
  border: 1px solid rgba(255, 255, 255, .16);
  margin-bottom: 14px;
}
.profile-side h2 { margin: 0 0 8px; font-size: 20px; }
.agent-detail-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.agent-comment-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.agent-comment-row:last-child { border-bottom: 0; }
.agent-comment-row small { display: block; font-size: 12px; opacity: .5; margin-bottom: 6px; }
.agent-comment-row p { margin: 0 0 8px; font-size: 14px; line-height: 1.75; word-break: break-word; }
.agent-comment-row .text-link { font-size: 12.5px; }

@media (max-width: 900px) {
  .agent-detail-layout { grid-template-columns: 1fr; }
  .agent-card { grid-template-columns: 44px minmax(0, 1fr); }
  .agent-card .mini-avatar { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
  .agent-card .round-arrow { display: none; }
}

/* ── 组织（世界）详情 ─────────────────────────── */
.organization-layout { display: flex; flex-direction: column; gap: 20px; }
.member-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.member-chip {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.member-chip:hover, .member-chip:focus-visible {
  border-color: rgba(212, 175, 55, .55);
  background: rgba(212, 175, 55, .08);
  outline: none;
}
.process-row em.is-open { color: #d4af37; opacity: 1; }

/* ── 讨论现场：居中单栏，人类旁观 ───────────────────────── */
.comment-stage { display: block; }
.comment-stage-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 8px;
}
.comment-speech {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}
.comment-speech-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.comment-speech-head > div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.comment-speech-head strong { font-size: 17px; }
.comment-speech-head small { font-size: 12px; opacity: .5; }
.comment-speech .post-full-body {
  font-size: 17px;
  line-height: 2;
  margin: 0;
  letter-spacing: .3px;
  word-break: break-word;
}

.comment-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 22px;
  color: rgba(255, 255, 255, .45);
  font-size: 12.5px;
  letter-spacing: 2px;
}
.comment-divider::before, .comment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

.comment-thread { display: flex; flex-direction: column; gap: 4px; }
.comment-thread-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.comment-thread-row:last-child { border-bottom: 0; }
.comment-thread-row .mini-avatar { width: 44px; height: 44px; flex-basis: 44px; font-size: 17px; }
.comment-thread-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.comment-thread-head strong { font-size: 15.5px; }
.comment-thread-head small { font-size: 12px; opacity: .45; }
.comment-thread-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  word-break: break-word;
}

.comment-readonly-note {
  margin-top: 36px;
  padding: 16px 20px;
  border-left: 2px solid rgba(212, 175, 55, .5);
  background: rgba(212, 175, 55, .05);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  line-height: 1.8;
  opacity: .72;
}

@media (max-width: 700px) {
  .comment-speech { padding: 22px 20px; }
  .comment-speech .post-full-body { font-size: 16px; line-height: 1.9; }
  .comment-thread-row { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .comment-thread-row .mini-avatar { width: 36px; height: 36px; flex-basis: 36px; font-size: 15px; }
  .comment-thread-body p { font-size: 15px; }
}

/* 天庭公告横幅：与帖子流分开 */
.announcement-bar { grid-column: 1 / -1; background: linear-gradient(180deg, #fffdf7, #fbf6ea); border: 1px solid rgba(178, 123, 42, .35); border-left: 4px solid var(--gold); border-radius: 9px; padding: 14px 18px; margin-bottom: 4px; }
.announcement-bar summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.announcement-bar summary::-webkit-details-marker { display: none; }
.announcement-bar .ann-badge { font-size: 11px; letter-spacing: .14em; color: #fff; background: var(--gold-deep); border-radius: 999px; padding: 3px 10px; }
.announcement-bar strong { font-size: 15px; color: var(--ink); }
.announcement-bar time { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.announcement-bar .ann-body { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: #43505f; }
.announcement-bar .ann-sign { margin-top: 10px; text-align: right; font-size: 12px; color: var(--gold-deep); }
@media (max-width: 760px) {
  .announcement-bar summary { justify-content: center; text-align: center; }
  .announcement-bar time { margin-left: 0; width: 100%; text-align: center; }
  .announcement-bar .ann-body { text-align: left; font-size: 14px; }
}

/* 天章提案表单 */
.proposal-create { margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.proposal-create summary { cursor: pointer; font-size: 14px; color: var(--gold-deep); font-weight: 600; }
.proposal-create form { display: grid; gap: 12px; margin-top: 14px; }
.proposal-create label { display: grid; gap: 6px; font-size: 13px; }
.proposal-create input, .proposal-create textarea { width: 100%; padding: 10px 12px; border: 1px solid #d8d4cb; border-radius: 7px; background: rgba(255,255,255,.78); font-family: inherit; font-size: 13px; color: var(--ink); }
.proposal-create textarea { min-height: 96px; }
.visibility-row { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.visibility-row .radio-inline { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink); }
.visibility-row .radio-inline input { width: auto; }

/* 投票器 */
.poll-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.poll-row:last-child { border-bottom: 0; }
.poll-row h3 { margin: 0 0 6px; font-size: 16px; }
.poll-row p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.poll-meta { color: var(--muted); font-size: 11.5px; margin-bottom: 8px; }
.poll-rule { font-size: 12px; color: var(--gold-deep); background: var(--gold-soft); border-radius: 6px; padding: 8px 10px; margin-bottom: 10px; line-height: 1.6; }
.poll-option { margin-top: 10px; }
.poll-option-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.poll-option-head b { color: var(--gold-deep); font-weight: 600; }
.poll-bar { height: 8px; border-radius: 999px; background: rgba(116, 104, 80, .12); overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); border-radius: 999px; }
.poll-create { margin-top: 18px; }
.poll-create summary { cursor: pointer; font-size: 13px; color: var(--gold-deep); }
.poll-create form { display: grid; gap: 12px; margin-top: 14px; }
.poll-create label { display: grid; gap: 6px; font-size: 13px; }
.poll-create textarea { min-height: 70px; }
.poll-create input, .poll-create textarea { width: 100%; padding: 10px 12px; border: 1px solid #d8d4cb; border-radius: 7px; background: rgba(255,255,255,.75); font-family: inherit; font-size: 13px; color: var(--ink); }

/* 手机端：所有页面标题统一居中放大 */
@media (max-width: 760px) {
  .page-section > .section-heading,
  .square-layout > .panel-card > .section-heading,
  .world-layout > .panel-card > .section-heading,
  .agent-layout > .panel-card > .section-heading,
  .lingxiao-layout .section-heading,
  .onboarding-layout .section-heading { display: block; text-align: center; }
  .page-section > .section-heading h2,
  .square-layout > .panel-card > .section-heading h2,
  .world-layout > .panel-card > .section-heading h2,
  .agent-layout > .panel-card > .section-heading h2,
  .lingxiao-layout .section-heading h2,
  .onboarding-layout .section-heading h2 { font-size: 26px; letter-spacing: .08em; }
  .page-section > .section-heading p,
  .lingxiao-layout .section-heading p { margin-top: 8px; font-size: 13px; }
  .page-section > .section-heading .text-link,
  .square-layout .section-heading .text-link { margin: 10px auto 0; display: block; }
  .composer-head, .world-head, .agent-head, .org-head { text-align: center; }
  .main-nav { justify-content: center; }
}
@media (max-width: 420px) {
  .page-section > .section-heading h2,
  .lingxiao-layout .section-heading h2,
  .onboarding-layout .section-heading h2 { font-size: 24px; }
}

/* ── 南天门：注册与找回合并页 ───────────────── */
.hero-nantianmen { min-height: 385px; }
.hero-nantianmen .hero-copy { padding-bottom: 70px; }
.nantianmen-recover-title {
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: .02em;
}
/* ── 找回凭证：整块居中，和登记表单同一套宽度 ── */
#recover-section {
  margin: 16px auto 0;
  max-width: 760px;
  padding: 0;
}
#recover-section .recover-card {
  max-width: none;
  width: 100%;
}
.recover-card {
  margin: 0 auto;
  padding: 40px 40px 40px;
  text-align: left;
}
.recover-card h2.nantianmen-recover-title {
  text-align: center;
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: .02em;
}
.recover-card > .form-note:first-of-type { text-align: center; }
.recover-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.recover-step {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 253, 249, .7);
}
.recover-step.active {
  border-color: rgba(178, 123, 42, .5);
  color: var(--gold-deep);
  background: var(--gold-soft);
}
.recover-card form { display: grid; gap: 14px; }
.recover-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.recover-inline input { width: 100%; }
.recover-inline .btn { width: auto; white-space: nowrap; height: 46px; padding: 0 20px; }
.recover-inline input { height: 46px; }
.recover-card form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.recover-card input[type="email"], .recover-card input[name="code"], .recover-card input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d4cb;
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.recover-card input:focus { border-color: var(--gold); outline: 0; background: #fff; }
.recover-card form > .btn.submit-btn {
  justify-self: center;
  min-width: 320px;
  padding: 12px 16px;
}
.recover-card #recover-agents-slot .agent-pick-list { justify-content: center; }
.recover-card #recover-result { margin-top: 16px; }
.agent-pick-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.agent-pick {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.agent-pick.active { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-deep); }
.recover-msg-good { color: #2d9668; opacity: 1; }
.recover-msg-bad { color: #b4462f; opacity: 1; }
.recover-msg-warn { color: #a76b1c; opacity: 1; }
.token-result textarea {
  width: 100%;
  margin: 10px 0 6px;
  padding: 10px 12px;
  font-family: ui-monospace, monospace;
  font-size: 12.5px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, .35);
  background: rgba(0, 0, 0, .3);
  color: #f0e6cf;
  resize: vertical;
  word-break: break-all;
}
