/* Bird Nest uses the existing palette, type and official bird. No framework. */
.header nav { gap:18px; }
.header nav a { white-space:nowrap; }
.community-page .header { height:80px; padding-top:0; }
.community-page { background:#090b0d; }
.community-header { max-width:1440px; margin:auto; }
.community-header nav a[aria-current=page] { color:#eeefed; border-bottom:1px solid #a6cbe3; }
.community-main { max-width:1240px; margin:auto; padding:72px 7% 88px; }
.community-intro { max-width:760px; margin-bottom:32px; }
.community-intro .eyebrow { color:#9faeb9; font-size:9px; }
.community-intro h1,.archive-entry h1 { font-size:clamp(34px,4.5vw,64px); font-weight:450; letter-spacing:-1.8px; line-height:1.3; margin:22px 0; overflow-wrap:anywhere; }
.community-intro h1 span { display:block; color:#939ba3; font-size:.62em; margin-top:8px; }
.community-intro>p:last-child { color:#aab4bc; font-size:15px; }
.community-status { font-size:12px; color:#aab7c0; border-left:1px solid #5e707e; padding:8px 0 8px 14px; margin:20px 0 32px; max-width:800px; }
.community-text-link,.community-back { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; font-size:12px; color:#bcccd7; }
.community-text-link:hover,.topic-card h3 a:hover,.community-back:hover { color:#fff; }
.nest-home-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; }
.nest-home-heading h2 { font-size:clamp(27px,3vw,42px); margin:18px 0 0; letter-spacing:-1px; }
.nest-home-heading h2 span { font:10px var(--mono); color:#9aabb8; letter-spacing:.5px; white-space:nowrap; }
.nest-home .eyebrow { font-size:9px; }
.nest-home .community-status { margin-bottom:18px; }
.nest-home-bottom { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:28px; }
.nest-home-bottom p { color:#9da9b3; font-size:12px; flex:1 1 360px; }
.topic-card { display:grid; grid-template-columns:88px minmax(0,1fr); gap:24px; padding:28px 0; border-top:1px solid #2a3036; }
.topic-author { display:flex; align-items:center; flex-direction:column; gap:8px; padding-top:5px; }
.topic-author img { object-fit:contain; }
.topic-author span { font:9px var(--mono); color:#8f9aa4; }
.topic-content { min-width:0; }
.topic-meta { display:flex; flex-wrap:wrap; gap:8px 16px; color:#93a2ae; font-size:10px; line-height:1.8; }
.topic-meta time { font:9px/1.8 var(--mono); }
.topic-card h3 { font-size:clamp(20px,2vw,26px); line-height:1.45; font-weight:450; letter-spacing:-.4px; margin:10px 0; }
.topic-card h3 a { display:inline; }
.topic-card .topic-content>p { color:#aab2bb; font-size:14px; line-height:1.85; max-width:780px; }
.topic-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; }
.topic-read,.topic-discuss { display:inline-flex; align-items:center; min-height:44px; color:#c0cfda; font-size:12px; }
.topic-pending { display:inline-flex; align-items:center; gap:10px; }
.topic-pending button { min-height:44px; padding:0; color:#a1abb3; cursor:default; font-size:12px; }
.topic-pending>span { color:#929aa1; font-size:10px; }
.forum-rooms { margin:42px 0 56px; border-top:1px solid #39454e; }
.forum-room { display:grid; grid-template-columns:36px minmax(0,1fr) 105px; gap:18px; align-items:center; padding:24px 0; border-bottom:1px solid #2a3036; min-height:108px; }
.forum-room-number { align-self:start; padding-top:6px; font:10px var(--mono); color:#91a4b3; }
.forum-room h2 { font-size:23px; font-weight:450; letter-spacing:-.4px; line-height:1.4; }
.forum-room p { color:#9faab3; font-size:13px; margin-top:8px; }
.forum-room-state { font-size:10px; color:#a8bbc9; text-align:right; }
.forum-room:hover h2 { color:#bdcfdd; }
.room-records { scroll-margin-top:24px; margin:48px 0; }
.room-title { margin-bottom:22px; }
.room-title .eyebrow { font-size:9px; color:#91a3b2; }
.room-title h2 { font-size:27px; letter-spacing:-.5px; margin-top:12px; }
.community-empty { color:#a5afb9; font-size:14px; padding:24px 0; border-top:1px solid #2a3036; }
.community-filters { display:flex; flex-wrap:wrap; gap:4px 14px; padding:10px 0 18px; border-bottom:1px solid #39454e; margin-bottom:8px; }
.community-filters button { min-height:44px; padding:8px 4px; color:#aab5bf; border-bottom:1px solid transparent; font-size:12px; }
.community-filters button[aria-pressed=true] { color:#f0f2f3; border-bottom-color:#acc4d5; }
.filter-summary { min-height:30px; color:#8e9da9; font:10px/30px var(--mono); padding:6px 0; }
.community-back { margin-bottom:38px; }
.archive-entry { max-width:820px; margin:0 auto; }
.archive-entry>.eyebrow { font-size:10px; color:#9dadb9; }
.archive-entry h1 { font-size:clamp(32px,4vw,52px); }
.entry-byline { display:flex; align-items:center; flex-wrap:wrap; gap:12px; color:#a6b3bf; font-size:12px; }
.entry-byline time { margin-left:auto; font:10px var(--mono); }
.entry-date-note { font-size:10px; color:#8d9aa5; margin-top:12px; }
.entry-body { margin:40px 0; }
.entry-body p { font-size:17px; line-height:2; color:#c3c9cf; }
.entry-body p+p { margin-top:22px; }
.entry-image { margin-top:32px; }
.entry-image img { width:100%; height:auto; }
.entry-discussion { margin-top:48px; padding-top:28px; border-top:1px solid #39454e; }
.entry-discussion h2 { font-size:25px; letter-spacing:-.6px; }
.entry-discussion p { margin:16px 0; color:#a5b1bb; font-size:13px; }
.community-footer { max-width:1240px; margin:auto; padding:30px 7%; border-top:1px solid #2a3036; }
.community-footer>span { font:9px var(--mono); color:#9baeba; }
.community-footer nav { display:flex; flex-wrap:wrap; gap:20px; margin-top:18px; }
.community-footer nav a { min-height:44px; display:inline-flex; align-items:center; font-size:12px; color:#aab8c3; }
.community-footer p { font-size:11px; color:#8b99a5; margin-top:12px; }
@media(max-width:600px) {
 .header nav { gap:10px; }
 .header nav a { font-size:10px; }
 .community-page .header { height:68px; padding:0 20px; }
 .community-main { padding:44px 23px 56px; }
 .community-intro h1 { font-size:34px; letter-spacing:-1px; }
 .community-intro>p:last-child { font-size:14px; }
 .nest-home-heading { display:block; }
 .nest-home-heading h2 span { display:block; margin-top:10px; }
 .nest-home-heading>.community-text-link { margin-top:10px; }
 .nest-home .community-status { margin-top:12px; }
 .topic-card { grid-template-columns:32px minmax(0,1fr); gap:12px; padding:24px 0; }
 .topic-author span { display:none; }
 .topic-card h3 { font-size:21px; }
 .topic-meta { gap:4px 12px; font-size:9px; }
 .topic-card .topic-content>p { font-size:13px; }
 .topic-pending { gap:7px; }
 .topic-actions { gap:8px; }
 .forum-rooms { margin-top:30px; }
 .forum-room { grid-template-columns:22px minmax(0,1fr); gap:12px; }
 .forum-room-state { grid-column:2; text-align:left; }
 .forum-room h2 { font-size:22px; }
 .community-filters { gap:2px 10px; }
 .community-filters button { font-size:11px; }
 .entry-body p { font-size:15px; }
 .entry-byline time { font-size:9px; }
 .community-back { margin-bottom:24px; }
 .community-footer { padding:30px 23px; }
}

.community-list-title { font:12px/1.8 var(--mono); color:#a0b0bc; margin:10px 0 24px; letter-spacing:1px; }
.nest-home { scroll-margin-top:100px; }

.record-search { margin:8px 0 20px; max-width:760px; }
.record-search label { display:block; color:var(--muted); font-size:12px; margin-bottom:10px; }
.record-search>div { display:flex; align-items:center; gap:12px; }
.record-search input { min-width:0; width:100%; min-height:48px; padding:12px 14px; color:var(--ink); background:#0d1115; border:1px solid var(--line); border-radius:0; font:14px Arial,"PingFang SC","Microsoft YaHei",sans-serif; }
.record-search input::placeholder { color:#8e9ca7; }
.record-search input:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
.record-search button,.search-empty button { min-height:44px; min-width:44px; padding:8px 4px; color:#bcccd7; white-space:nowrap; font-size:12px; }
.record-search button:active,.search-empty button:active,.community-filters button:active { transform:translateY(1px); }
.search-empty { padding:24px 0; border-bottom:1px solid var(--line); }
.search-empty p { color:var(--muted); font-size:14px; margin-bottom:12px; }
.related-topics { max-width:820px; margin:48px auto 0; border-top:1px solid var(--line); padding-top:28px; }
.related-topics h2 { font-size:23px; font-weight:450; letter-spacing:-.5px; margin-bottom:18px; }
.related-topics>a { display:grid; grid-template-columns:minmax(0,1fr) 20px; min-height:64px; gap:8px 16px; padding:16px 0; border-bottom:1px solid var(--line); font-size:15px; line-height:1.6; }
.related-topics>a span { grid-column:1; color:#98a9b6; font-size:10px; }
.related-topics>a b { grid-column:2; grid-row:1/3; align-self:center; font-weight:400; color:#bcccd7; }
.related-topics>a:hover { color:#cbdbe7; }
@media(prefers-reduced-motion:reduce) {
 .record-search button:active,.search-empty button:active,.community-filters button:active { transform:none; }
}
.brand { min-height:44px; }
.topic-card h3 a { display:inline-block; min-height:44px; }
.community-filters button { min-width:44px; }

/* Shared editorial hierarchy for the existing nest and archive content. */
.community-main { padding-top:clamp(56px,7vw,110px); }
.community-intro { max-width:880px; margin-bottom:48px; }
.community-intro h1 { font-size:clamp(42px,7.5vw,104px); font-weight:600; line-height:1.1; letter-spacing:-.055em; margin:28px 0; }
.community-intro h1 span { font-size:.32em; font-weight:400; letter-spacing:-.02em; margin-top:20px; }
.community-intro>p:last-child { max-width:54ch; line-height:1.95; }
.nest-home-heading h2 { font-size:clamp(32px,4.8vw,64px); line-height:1.2; letter-spacing:-.045em; }
.nest-home-heading h2 span { display:block; margin-top:16px; }
.topic-card { padding:34px 0; column-gap:28px; transition:background .25s,border-color .25s; }
.topic-card h3 { font-size:clamp(22px,2.3vw,30px); line-height:1.5; margin:12px 0; }
.topic-author img { width:40px; height:40px; }
.topic-meta { letter-spacing:.025em; }
.topic-read,.community-text-link { gap:10px; transition:color .2s; }
.topic-read { padding:0 16px; border:1px solid #50637160; border-radius:999px; }
.topic-pending { opacity:.85; }
.forum-rooms { margin:56px 0 72px; }
.forum-room { grid-template-columns:64px minmax(0,1fr) 120px; gap:24px; padding:32px 0; transition:background .25s; }
.forum-room-number { font-size:26px; letter-spacing:-1px; color:#aab8c2; }
.forum-room h2 { font-size:clamp(24px,2.6vw,34px); }
.forum-room p { line-height:1.9; max-width:56ch; }
.community-filters { gap:8px; padding:12px 0 22px; }
.community-filters button { padding:10px 16px; border:1px solid #36434d; border-radius:999px; transition:background .2s,color .2s; }
.community-filters button[aria-pressed=true] { background:#dbe3e9; color:#10151a; border-color:#dbe3e9; }
.record-search input { background:#161a1e; border-color:#ffffff24; border-radius:12px; padding:15px 16px; }
.archive-entry h1 { font-size:clamp(34px,4.5vw,60px); font-weight:500; line-height:1.4; letter-spacing:-.035em; }
.entry-body { margin:48px 0; }
.entry-body p { line-height:2.1; }
.entry-byline { padding:20px 0; border-top:1px solid #38444e; border-bottom:1px solid #38444e; }
.related-topics>a { transition:background .2s; }
@media(hover:hover) and (pointer:fine) {
 .topic-card:hover,.forum-room:hover,.related-topics>a:hover { background:#10161b; }
 .topic-card:hover { border-top-color:#8198a8; }
 .topic-read:hover { background:#dbe3e9; color:#10151a; }
}
@media(max-width:600px) {
 .community-main { padding-top:52px; }
 .community-intro { margin-bottom:36px; }
 .community-intro h1 { font-size:46px; }
 .community-intro h1 span { font-size:21px; }
 .topic-card { grid-template-columns:32px minmax(0,1fr); gap:14px; padding:28px 0; }
 .topic-author img { width:32px; height:32px; }
 .topic-card h3 { font-size:22px; }
 .topic-read { padding:0 12px; }
 .forum-room { grid-template-columns:34px minmax(0,1fr); gap:12px; padding:28px 0; }
 .forum-room-number { font-size:22px; }
 .community-filters { gap:8px 6px; }
 .community-filters button { padding:9px 12px; }
 .archive-entry h1 { font-size:34px; }
 .entry-body { margin:32px 0; }
}

/* Shared reading rhythm and control surfaces. */
.community-intro h1 { letter-spacing:-.045em; }
.community-intro h1 span { color:#a1a1a6; line-height:1.4; }
.community-intro>p:last-child { font-size:17px; color:#b2b5ba; }
.topic-card { border-top-color:#ffffff1c; }
.topic-card h3 { font-weight:550; letter-spacing:-.025em; }
.topic-card .topic-content>p { color:#aeb2b8; }
.topic-read { background:#171d22; border-color:#ffffff12; color:#e0e6eb; }
.community-filters button { border-color:#ffffff1c; background:#12161a; }
.community-filters button[aria-pressed=true] { background:#eceff1; color:#16191c; border-color:#eceff1; }
.record-search input { font-family:inherit; }
.forum-room { border-bottom-color:#ffffff1c; }
.forum-room h2 { font-weight:550; letter-spacing:-.025em; }
.forum-room-number { color:#7f8a94; font-size:22px; }
.entry-body p { color:#c9cbd0; }
.entry-byline { border-color:#ffffff1c; }
@media(max-width:600px) {
 .community-intro>p:last-child { font-size:15px; }
 .topic-card h3 { font-size:21px; line-height:1.55; }
 .forum-room-number { font-size:19px; }
}
