/* Shared visual vocabulary. Media stays immersive; reading and editing stay light. */
:root{--ink:#232927;--muted:#7c827f;--paper:#f7f8f6;--line:#e9ece9;--mint:#edf3ef;--green:#126e5e;--yx-dark:#161616}
.back-head{background:#fff;border-bottom-color:var(--line);color:var(--ink)}
.back-head h1{color:var(--ink)}
/* The four discovery channels share the recommendation header and navigation. */
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage){color:#f5f5f5}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage):before{background:var(--yx-dark);height:139px}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .system-bar,
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .channel-toolbar{color:#f5f5f5;background:var(--yx-dark);text-shadow:none}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .tool-button svg{filter:none}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .capsule{color:#f5f5f5;background:#ffffff08;border-color:#ffffff42}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .capsule i{border-color:#ffffff42}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .bottom-nav{background:var(--yx-dark);border-top-color:#ffffff15;color:#929292}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .bottom-nav button{color:#929292}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .bottom-nav button.active{color:#fafafa}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .bottom-nav button.active svg{fill:none}
.phone.r423-reading.is-directory:not(.legacy-detail):not(.r421-subpage) .bottom-nav .nav-plus{background:#f4f4f4;color:var(--yx-dark)}
/* Utility text is neutral; brand green is reserved for actions and selected state. */
.r423-discovery-card,.r423-discovery-heading strong,.r423-discovery-directory,.r423-discovery-map-page,.r423-discovery-anchor-page{color:var(--ink)}
.r423-discovery-role,.r423-discovery-bottom,.r423-discovery-distance,.r423-discovery-public-age,.r423-discovery-place,.r423-discovery-facts{color:var(--muted)}
.r423-discovery-tags i{background:#f3f5f3;color:#747c77}
.r423-identity-page h1,.r423-identity-page h2,.r421-functions-hub strong{color:var(--ink)}
/* Header actions must end before the parent WeChat capsule (rightmost 101px). */
.r423-comfort-editor .back-head{padding-right:101px;grid-template-columns:44px minmax(0,1fr) auto}
.r423-comfort-editor .back-head h1{min-width:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r423-comfort-editor .back-head>div{min-width:44px}
.back-head:has(>div button){grid-template-columns:44px minmax(0,1fr) auto;padding-right:101px}
.back-head:has(>div button) h1{min-width:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r423-agenda-item-meta>.r423-agenda-meta-state{display:inline-flex;align-items:center;flex:0 0 auto;min-height:20px;padding:0 5px;border-radius:4px;background:#f3f5f3;color:#68716b;font-size:12px;line-height:20px;white-space:nowrap;word-break:keep-all}
