:root {
  color-scheme: light;
  --bg: #f6f7f3;
  --ink: #17201b;
  --muted: #607169;
  --line: #d9dfd6;
  --panel: #ffffff;
  --green: #1f7a4d;
  --blue: #215a9d;
  --amber: #b56a1d;
  --red: #b6463d;
  --shadow: 0 18px 60px rgba(23, 32, 27, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell,
main,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.section-heading,
.search-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: white;
  background: var(--green);
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  background: #edf2ea;
  color: var(--ink);
}

.workspace {
  min-height: calc(100vh - 72px);
  display: block;
  padding: 28px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 22%, rgba(31, 122, 77, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(33, 90, 157, 0.12), rgba(181, 106, 29, 0.1) 58%, transparent);
}

.control-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.runtime-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.runtime-bar span,
.admin-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.runtime-bar button,
.admin-actions button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.control-panel h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.control-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-grid article,
.signal-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-grid span,
.signal-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-actions button:nth-child(2) {
  background: var(--blue);
  border-color: var(--blue);
}

.admin-status {
  min-height: 18px;
  margin: 0;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  margin: 6px 0 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-copy {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

.goal-picker {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

select,
input,
button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

select,
input {
  padding: 0 12px;
}

button {
  padding: 0 18px;
  background: var(--green);
  color: white;
  border-color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  background: #d8ddd6;
  border-color: #d8ddd6;
  color: #6d756e;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(35, 124, 214, 0.72);
  outline-offset: 3px;
}

.feed-list {
  display: grid;
  gap: 8px;
}

.feed-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.feed-item:hover {
  border-color: rgba(31, 122, 77, 0.45);
  box-shadow: 0 12px 34px rgba(23, 32, 27, 0.08);
  transform: translateY(-1px);
}

.score-rail {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  background: #e8f2ec;
  border-right: 1px solid var(--line);
}

.score-rail strong {
  font-size: 27px;
  line-height: 1;
}

.score-rail span,
.feed-meta,
.tag-row span,
.task-card span,
.search-results span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feed-body {
  padding: 14px 16px 12px;
}

.feed-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.feed-meta {
  min-height: 24px;
}

.feed-meta span:nth-child(2) {
  color: var(--blue);
}

.feed-meta span:nth-child(3) {
  color: var(--amber);
}

.feed-body h3,
.task-card h3,
.timeline-node h3 {
  margin: 6px 0 5px;
  font-size: 19px;
  line-height: 1.25;
}

.feed-body h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.feed-body p,
.task-card p,
.timeline-node p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.feed-body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feed-guide,
.feed-action {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.feed-signals {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 8px;
  margin-top: 10px;
}

.feed-signals span {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf7;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.36;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-signals em {
  margin-right: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
}

.feed-action {
  border-color: rgba(31, 122, 77, 0.2);
  background: #eef7f1;
}

.feed-guide span,
.feed-action span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feed-guide strong,
.feed-action strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.tag-row {
  margin-left: auto;
}

.tag-row span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f0f3ef;
  color: #526158;
  font-size: 11px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
}

.task-board,
.timeline,
.search-results {
  display: grid;
  gap: 12px;
}

.task-card,
.timeline-node,
.search-box,
.search-results article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.task-card {
  padding: 20px;
}

.task-card:nth-child(2) span {
  color: var(--red);
}

.task-card:nth-child(3) span {
  color: var(--blue);
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-node {
  min-height: 180px;
  padding: 18px;
}

.timeline-node strong {
  color: var(--green);
  font-size: 26px;
}

.search-box {
  padding: 20px;
}

.search-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.search-row {
  gap: 8px;
}

.search-row input {
  width: 100%;
}

.search-results {
  margin-top: 16px;
}

.search-results a {
  padding: 14px;
}

.search-results strong,
.search-results span,
.search-results small {
  display: block;
}

.search-results a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: inherit;
}

.search-results a:hover {
  border-color: rgba(31, 122, 77, 0.45);
}

.search-results span {
  margin-top: 4px;
}

.search-results small {
  margin-top: 6px;
  color: #3f554e;
  font-size: 14px;
  line-height: 1.42;
}

.search-match-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.search-match-row span {
  display: inline-flex;
  margin-top: 0;
  padding: 3px 7px;
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 999px;
  background: #f0f3ef;
  color: #526158;
  font-size: 11px;
  line-height: 1.2;
}

.footer {
  display: grid;
  gap: 18px;
  padding: 42px 0;
  color: var(--muted);
  font-weight: 750;
}

.footer-growth {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.footer-growth h2 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.5;
}

.footer-principle {
  margin: 14px 0 0;
  color: #364f47;
  font-size: 15px;
  line-height: 1.5;
}

.footer-principle span {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-metrics article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.footer-model-card {
  grid-column: 1 / -1;
}

.footer-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.footer-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.footer-metrics p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.model-weights {
  display: grid;
  grid-template-columns: 3fr 3fr 2fr 2fr;
  gap: 0;
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 6px;
  background: #fffdf4;
}

.model-weights span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  padding: 10px 12px;
  border-right: 1px solid rgba(16, 35, 29, 0.1);
  background: transparent;
}

.model-weights span:last-child {
  border-right: 0;
}

.model-weights span::before {
  position: absolute;
  inset: 0;
  width: auto;
  content: "";
  background:
    linear-gradient(90deg, rgba(31, 122, 77, 0.2), rgba(181, 106, 29, 0.1)),
    linear-gradient(90deg, rgba(255, 253, 244, 0.62), rgba(255, 253, 244, 0.2));
  opacity: 0.9;
}

.model-weights strong,
.model-weights em {
  position: relative;
  z-index: 1;
  font-family: var(--utility, ui-monospace, monospace);
  font-style: normal;
  line-height: 1.1;
}

.model-weights strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.model-weights em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.footer-lines {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.admin-header,
.admin-toolbar,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header {
  margin-bottom: 18px;
}

.admin-header h1 {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.1;
}

.admin-toolbar span,
.panel-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.secondary-button {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.status-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.growth-strip {
  margin-top: 12px;
}

.status-strip article {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.status-strip article:last-child {
  border-right: 0;
}

.status-strip span,
.ops-note span,
.content-table-head span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.secondary-admin-layout {
  grid-template-columns: 1fr 1fr;
}

.ops-panel,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.ops-panel {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.ops-panel h2,
.panel-title h2 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.15;
}

.ops-panel button {
  width: 100%;
}

.ops-panel button:nth-of-type(2) {
  background: var(--blue);
  border-color: var(--blue);
}

.ops-note {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.ops-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-panel {
  overflow: hidden;
}

.panel-title {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.content-table {
  width: 100%;
}

.content-table-head,
.content-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 110px 90px minmax(130px, 170px) 120px;
  gap: 14px;
  align-items: center;
}

.content-table-head {
  padding: 10px 18px;
  background: #f0f3ef;
  border-bottom: 1px solid var(--line);
}

.content-row {
  min-height: 72px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.content-row:last-child {
  border-bottom: 0;
}

.content-row strong,
.content-row small {
  display: block;
}

.content-row strong {
  font-size: 15px;
  line-height: 1.25;
}

.content-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  max-width: 720px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-row > span {
  color: #3f4e45;
  font-size: 13px;
  font-weight: 750;
}

.admin-signal-list {
  display: grid;
}

.admin-signal-list article {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.admin-signal-list article:last-child {
  border-bottom: 0;
}

.admin-signal-list strong,
.admin-signal-list span {
  display: block;
}

.admin-signal-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.content-main {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.author-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.author-detail {
  min-height: calc(100vh - 120px);
}

.author-page {
  position: relative;
}

.author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: stretch;
  padding: 72px 0 24px;
  border-bottom: 1px solid var(--line);
}

.author-identity {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.author-avatar {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid #b9c7ba;
  background: #eaf0e8;
  color: #234837;
  font-size: 34px;
  font-weight: 900;
}

.author-avatar-logo {
  width: 112px;
  padding: 0 10px;
  border-color: transparent;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.author-avatar-logo span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-openai,
.brand-anthropic,
.brand-apple,
.brand-uber,
.brand-palantir,
.brand-xai {
  background: #111815;
  color: #ffffff;
}

.brand-google {
  background: #ffffff;
  border-color: #cfd8cf;
  color: #1a73e8;
}

.brand-microsoft {
  background: #f2f5ee;
  border-color: #cfd8cf;
  color: #2f5f4b;
}

.brand-meta {
  background: #0f5bc6;
}

.brand-aws,
.brand-together {
  background: #202632;
  color: #ffcf66;
}

.brand-nvidia {
  background: #76b900;
  color: #10220f;
}

.brand-tesla,
.brand-adobe {
  background: #b3262d;
}

.brand-linkedin {
  background: #0a66c2;
}

.brand-airbnb {
  background: #ff385c;
}

.brand-salesforce,
.brand-snowflake {
  background: #1f8dcf;
}

.brand-databricks {
  background: #ff5f46;
}

.brand-canva {
  background: #2a7de1;
}

.brand-bytedance {
  background: #151515;
}

.brand-minimax {
  background: #3347ff;
}

.brand-runway,
.brand-generic {
  background: #244c3b;
}

.author-hero h1 {
  max-width: 780px;
  margin: 6px 0 8px;
  color: var(--ink);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.author-hero p {
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.author-score-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.author-score-panel span,
.author-score-panel small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.author-score-panel strong {
  color: var(--ink);
  font-size: 64px;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.author-evidence-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  margin-top: 18px;
}

.author-evidence-main,
.author-signal-grid,
.author-bio,
.author-article {
  border: 1px solid var(--line);
  background: #ffffff;
}

.author-evidence-main {
  padding: 20px;
}

.author-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.author-section-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.author-section-head > span {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #cdd8ce;
  color: #365343;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.author-credibility {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.author-credibility article {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  min-height: 92px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.author-credibility article > span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background: #2e6f57;
}

.author-credibility strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.author-credibility p,
.author-bio p,
.author-article p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.author-signal-grid {
  display: grid;
  align-content: start;
  gap: 0;
}

.author-signal-grid article {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.author-signal-grid article:last-child {
  border-bottom: 0;
}

.author-signal-grid article > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.author-signal-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.author-signal-grid strong {
  color: var(--ink);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.author-signal-bar {
  height: 7px;
  overflow: hidden;
  background: #e6eadf;
}

.author-signal-bar::before {
  display: block;
  width: var(--signal-score);
  height: 100%;
  background: #2e6f57;
  content: "";
}

.author-bio {
  margin-top: 16px;
  padding: 20px;
}

.author-bio p {
  max-width: 820px;
  margin: 0;
  font-size: 15px;
}

.author-articles {
  margin-top: 36px;
}

.author-articles-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.author-article-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.author-article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 34px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.author-article:hover {
  border-color: #94a99b;
  background: #fbfcf8;
  transform: translateY(-1px);
}

.author-article:focus-visible {
  outline: 3px solid rgba(46, 111, 87, 0.28);
  outline-offset: 3px;
}

.author-article-score {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #cdd8ce;
  background: #f3f6ef;
}

.author-article-score strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.author-article-score span,
.author-article-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.author-article-body {
  min-width: 0;
}

.author-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.author-article-body > strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.author-article-arrow {
  color: #547466;
  font-size: 32px;
  line-height: 1;
}

.author-link-button {
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto) 14px;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  max-width: min(100%, 360px);
  padding: 7px 10px 7px 8px;
  border: 1px solid #b9c9bd;
  background: #f9fbf6;
  color: #244c3b;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.author-link-button:hover {
  border-color: #6e8f7e;
  background: #eef5ed;
  transform: translateY(-1px);
}

.author-link-button:focus-visible {
  outline: 3px solid rgba(46, 111, 87, 0.28);
  outline-offset: 2px;
}

.author-link-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: #244c3b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.author-link-logo {
  width: 78px;
  padding: 0 8px;
  border: 0;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
}

.author-link-logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-link-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.author-link-copy em {
  color: #65776d;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.author-link-copy strong {
  overflow: hidden;
  color: #244c3b;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-link-arrow {
  color: #547466;
  font-size: 20px;
  font-weight: 800;
}

.feed-author-link {
  vertical-align: middle;
}

.feed-meta .author-link-button {
  display: inline-grid;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 5px 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  letter-spacing: 0;
  text-transform: none;
}

.feed-meta .author-link-button:hover {
  border-color: transparent;
  background: transparent;
  transform: none;
}

.feed-author-link .author-link-logo {
  width: auto;
  min-width: 104px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #10221d;
  border-radius: 999px;
  background: #10221d;
  color: #ffffff;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}

.feed-author-link .author-link-logo span {
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: inherit;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  overflow: visible;
  text-overflow: clip;
  text-transform: none;
  white-space: nowrap;
}

.feed-author-link:hover .author-link-logo {
  filter: brightness(1.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 0 2px rgba(36, 76, 59, 0.18);
}

.detail-byline {
  flex: 0 0 auto;
  margin: 0;
}

.detail-author-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 5px 8px 5px 5px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.detail-author-link:hover {
  border-color: rgba(36, 76, 59, 0.28);
  background: rgba(230, 238, 229, 0.72);
}

.detail-author-link:focus-visible {
  outline: 3px solid rgba(46, 111, 87, 0.28);
  outline-offset: 2px;
}

.detail-author-link .author-link-mark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 5px;
}

.detail-author-link .author-link-logo {
  width: 68px;
  padding-inline: 7px;
  font-size: 10px;
}

.detail-author-name {
  max-width: 180px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-author-chevron {
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.detail-taxonomy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  margin-top: 10px;
}

.detail-taxonomy-row .tag-row {
  display: contents;
}

.content-detail {
  position: relative;
  min-height: calc(100vh - 120px);
}

.reader-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 0;
  align-items: start;
  transition: grid-template-columns 0.22s ease, gap 0.22s ease;
}

.reader-layout.comments-open {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.comment-connector-layer {
  position: fixed;
  inset: 0;
  z-index: 17;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.comment-connector {
  fill: none;
  stroke: #d6a236;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
  opacity: 0.92;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85));
}

.selection-toolbar {
  position: absolute;
  z-index: 6;
  transform: translateX(-50%);
  padding: 6px;
  border: 1px solid rgba(23, 32, 27, 0.16);
  border-radius: 8px;
  background: #17201b;
  box-shadow: 0 12px 30px rgba(23, 32, 27, 0.22);
}

.selection-toolbar[hidden] {
  display: none;
}

.selection-toolbar::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #17201b;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.selection-toolbar button {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 0 12px;
  border-color: transparent;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.comment-drawer-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 16;
  min-height: 40px;
  padding: 0 12px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(23, 32, 27, 0.12);
}

.comment-drawer-toggle span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  border-radius: 999px;
  background: #edf2ea;
  color: var(--muted);
  font-size: 12px;
}

.reader-layout.comments-open .comment-drawer-toggle {
  opacity: 0;
  pointer-events: none;
}

.document-page,
.comment-sidebar {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.document-page {
  min-height: calc(100vh - 150px);
  padding: 32px min(8vw, 92px) 64px;
}

.detail-back-link {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(16, 35, 29, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 243, 0.82);
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(16, 34, 29, 0.1);
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  border-color: rgba(10, 107, 83, 0.32);
  background: var(--ink);
  color: #fffdf4;
}

.document-header {
  max-width: 820px;
  margin: 0 auto 14px;
  padding-left: 46px;
}

.content-detail h1 {
  margin: 8px 0 8px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Back control lives inline as the first chip of the meta row so it shares a
   single line with the format tags (no wasted top band on the hero). A divider
   and extra gap set it apart from the metadata pills so it still reads as a
   distinct navigation control, not another tag. */
.content-detail .detail-back-inline {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin-right: 16px;
  padding: 0 14px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.content-detail .detail-back-arrow {
  font-size: 16px;
  font-weight: 700;
}

/* Divider sets the back control apart from the metadata pills that follow. */
.content-detail .detail-back-inline::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
}

.content-detail .detail-back-inline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.26);
  transform: translateX(-2px);
}

.detail-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-summary {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.reader-mode {
  display: inline-flex;
  gap: 4px;
  margin: 6px 0 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.reader-mode button {
  min-height: 32px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.reader-mode button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.reader-mode button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}

.detail-actions button {
  cursor: pointer;
}

.reader-primer {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: 0;
  max-width: 920px;
  margin: 10px auto 8px;
  border: 1px solid rgba(31, 122, 77, 0.2);
  border-radius: 8px;
  background: linear-gradient(90deg, #f3faf5 0%, #fff 58%);
  overflow: hidden;
}

.reader-primer article {
  min-width: 0;
  padding: 11px 16px;
}

.primer-why {
  border-right: 1px solid rgba(31, 122, 77, 0.16);
}

.reader-primer span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.reader-primer strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.34;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.reader-primer p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.primer-insights ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: insight;
}

.primer-insights li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  color: #2f3d35;
  font-size: 13px;
  line-height: 1.38;
  max-height: 18px;
  overflow: hidden;
}

.primer-insights li::before {
  counter-increment: insight;
  content: counter(insight, decimal-leading-zero);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-link {
  background: var(--green);
  color: #fff;
}

.secondary-link,
.text-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.detail-body {
  border-top: 1px solid var(--line);
  max-width: 820px;
  margin: 0 auto;
  padding-top: 16px;
  color: #26312b;
  font-size: 17px;
  line-height: 1.82;
}

.growth-brief,
.growth-conversion,
.deep-reader {
  max-width: 920px;
  margin: 0 auto 24px;
}

.brief-lead,
.brief-grid article,
.next-question,
.action-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.brief-lead {
  padding: 22px;
  border-color: rgba(31, 122, 77, 0.22);
  background: #f3faf5;
}

.brief-lead span,
.brief-grid span,
.next-question span,
.action-steps span,
.fit-tags span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brief-lead strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.25;
}

.brief-lead p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.brief-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  margin-top: 14px;
}

.brief-grid article,
.next-question {
  padding: 20px;
}

.brief-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #34433a;
  line-height: 1.65;
}

.brief-grid li {
  margin: 8px 0;
}

.conversion-head,
.deep-reader-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin: 24px 0 12px;
}

.conversion-head h2,
.deep-reader-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.fit-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.fit-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #4f6157;
}

.action-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.action-steps article {
  min-height: 138px;
  padding: 18px;
}

.action-steps strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.4;
}

.next-question {
  margin-top: 12px;
  border-color: rgba(33, 90, 157, 0.22);
  background: #f3f7fb;
}

.next-question strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.4;
}

.deep-reader {
  margin-top: 18px;
}

.deep-reader .detail-body {
  max-width: none;
}

.brief-drawer {
  max-width: 920px;
  margin: 28px auto 24px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.brief-drawer summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  cursor: pointer;
  list-style: none;
}

.brief-drawer summary::-webkit-details-marker {
  display: none;
}

.brief-drawer summary span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.brief-drawer summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.brief-drawer summary::after {
  content: "展开";
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.brief-drawer[open] summary::after {
  content: "收起";
}

.brief-drawer .growth-brief,
.brief-drawer .growth-conversion {
  margin-top: 16px;
  margin-bottom: 0;
}

.source-faithfulness,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.source-faithfulness {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.source-faithfulness strong {
  color: var(--ink);
}

.empty-state {
  padding: 24px;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.detail-body h2,
.detail-body h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  line-height: 1.25;
}

.detail-body > :first-child {
  margin-top: 0;
}

.detail-body h2 {
  font-size: 28px;
}

.detail-body h3 {
  font-size: 22px;
}

.detail-body h4,
.detail-body h5 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.detail-body p {
  margin: 0 0 18px;
}

.detail-body ul,
.detail-body ol {
  margin: 0 0 20px;
  padding-left: 26px;
}

.detail-body li {
  margin: 7px 0;
}

.detail-body blockquote {
  margin: 22px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--green);
  background: #f4f8f5;
  color: #3f4e45;
}

.detail-body pre {
  overflow-x: auto;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #17201b;
  color: #f4f8f5;
  line-height: 1.55;
}

.detail-body code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #edf2ea;
  color: #1b4f35;
  font-size: 0.92em;
}

.detail-body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.detail-body hr {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: var(--line);
}

.detail-body .math-block {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 20px 0;
  padding: 4px 0;
  text-align: center;
}

.detail-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.detail-body table th,
.detail-body table td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.detail-body table thead th {
  background: #f4f8f5;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
}

.detail-body table tbody tr:nth-child(even) {
  background: #fafbfa;
}

.detail-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bilingual-block {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
}

.bilingual-chinese > :last-child,
.bilingual-english > :last-child {
  margin-bottom: 0;
}

.bilingual-english {
  padding-left: 14px;
  border-left: 2px solid #e2e8df;
  color: #526158;
  font-size: 0.94em;
  line-height: 1.68;
}

.bilingual-empty {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  color: var(--muted);
}

.comment-mark {
  padding: 2px 3px;
  border-radius: 4px;
  background: #fff0b8;
  box-shadow: inset 0 -2px 0 rgba(214, 162, 54, 0.45);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.comment-mark:hover,
.comment-mark:focus,
.comment-mark.is-active {
  position: relative;
  z-index: 4;
  background: #ffe38b;
  box-shadow: 0 0 0 2px rgba(214, 162, 54, 0.32), inset 0 -2px 0 #d6a236;
  outline: 0;
}

.comment-sidebar {
  position: relative;
  top: auto;
  z-index: 15;
  width: 340px;
  max-width: 100%;
  max-height: none;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.18s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: none;
}

.reader-layout.comments-open .comment-sidebar {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  box-shadow: 0 18px 42px rgba(23, 32, 27, 0.08);
}

.comment-sidebar-head,
.comment-composer,
.comment-card,
.empty-comments {
  padding: 16px;
}

.comment-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.comment-close {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.comment-sidebar-head span,
.comment-composer label,
.comment-card time {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comment-sidebar-head strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1;
}

.comment-sidebar-head small {
  max-width: 150px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.comment-composer {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  box-shadow: 0 14px 34px rgba(23, 32, 27, 0.14);
}

.comment-composer[hidden] {
  display: none;
}

.comment-composer blockquote {
  min-height: 54px;
  max-height: 120px;
  overflow: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #3f4e45;
  font-size: 13px;
  line-height: 1.45;
}

.comment-composer textarea {
  min-height: 96px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  line-height: 1.5;
}

.comment-composer textarea:disabled,
.comment-composer button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.comment-list {
  position: relative;
  overflow: visible;
}

.comment-list.is-aligned .comment-card {
  position: absolute;
  left: 0;
  right: 0;
}

.comment-card {
  position: relative;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.comment-card:hover,
.comment-card:focus,
.comment-card.is-active {
  position: relative;
  z-index: 4;
  border-left-color: #d6a236;
  background: #fffaf0;
  box-shadow: inset 0 0 0 1px rgba(214, 162, 54, 0.28);
  outline: 0;
}

.comment-card blockquote {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid #d6a236;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.comment-card p {
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.55;
}

.empty-comments {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .topbar,
  .section-heading,
  .two-column,
  .footer-growth,
  .footer-metrics,
  .brief-grid,
  .action-steps {
    grid-template-columns: 1fr;
  }

  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .workspace {
    min-height: auto;
    padding: 18px 0 32px;
    gap: 24px;
  }

  .control-panel {
    position: static;
  }

  .model-weights {
    grid-template-columns: 1fr;
  }

  .model-weights span {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 35, 29, 0.1);
  }

  .model-weights span:last-child {
    border-bottom: 0;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }

  .score-rail {
    grid-template-columns: auto auto;
    justify-content: flex-start;
    padding: 12px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header,
  .admin-toolbar,
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-strip,
  .admin-layout,
  .secondary-admin-layout,
  .author-hero,
  .author-evidence-board,
  .content-table-head,
  .content-row,
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .author-hero {
    gap: 16px;
    padding-top: 58px;
  }

  .author-identity {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .author-avatar {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .author-avatar-logo {
    width: 92px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .author-hero h1 {
    font-size: 42px;
  }

  .author-score-panel {
    min-height: 0;
  }

  .author-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .author-section-head h2 {
    font-size: 22px;
  }

  .author-article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .author-article-score {
    width: 100%;
    height: auto;
    min-height: 48px;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 8px;
    padding: 10px 12px;
  }

  .author-article-arrow {
    display: none;
  }

  .author-link-button {
    width: 100%;
    max-width: 100%;
  }

  .reader-layout.comments-open {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .document-page {
    padding: 28px 20px 44px;
  }

  .content-detail h1 {
    font-size: 32px;
  }

  .detail-body {
    font-size: 16px;
  }

  .conversion-head,
  .deep-reader-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .fit-tags {
    justify-content: flex-start;
  }

  .brief-lead strong {
    font-size: 22px;
  }

  .comment-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .reader-layout:not(.comments-open) .comment-sidebar {
    display: none;
  }

  .comment-composer {
    position: relative;
    left: auto;
    right: auto;
    top: auto !important;
    margin-bottom: 12px;
  }

  .comment-list.is-aligned .comment-card {
    position: relative;
    left: auto;
    right: auto;
  }

  .status-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip article:last-child {
    border-bottom: 0;
  }
}

/* Header identity pass */
.topbar {
  min-height: 82px;
}

.brand {
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 174, 156, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 68% 24%, rgba(15, 174, 156, 0.42), transparent 28%),
    linear-gradient(145deg, #10221d, #0b4f42 58%, #12362f);
  box-shadow:
    0 14px 30px rgba(16, 34, 29, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(255, 253, 243, 0.18);
  border-radius: 6px;
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
}

.logo-frame,
.logo-cut,
.logo-signal {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-frame,
.logo-cut {
  stroke: rgba(255, 253, 243, 0.88);
  stroke-width: 2.2;
}

.logo-signal {
  stroke: #18d9c2;
  stroke-width: 2.6;
}

.logo-node {
  fill: #fffdf4;
  stroke: #18d9c2;
  stroke-width: 1.5;
}

.brand strong {
  font-size: 23px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
}

.nav-links {
  align-self: center;
  display: inline-flex;
  gap: 3px;
  padding: 5px;
  border-radius: 999px;
  border-color: rgba(16, 35, 29, 0.14);
  background: rgba(255, 253, 243, 0.74);
  backdrop-filter: blur(16px);
}

.nav-links a {
  min-width: 76px;
  min-height: 42px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #314840;
  font-size: 14px;
}

.nav-links a[aria-current="page"] {
  border-color: rgba(10, 107, 83, 0.16);
  background: #fffdf4;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 34, 29, 0.1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--ink);
  color: #fffdf4;
}

.search-page {
  min-height: calc(100dvh - 82px);
  align-items: start;
  padding-top: 42px;
}

.search-page h1 {
  max-width: 720px;
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 760;
  line-height: 1.02;
}

.search-page .search-box {
  position: sticky;
  top: 18px;
}

.workspace-intro h1,
.search-page h1 {
  max-width: 620px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
}

.message-banner {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(16, 35, 29, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 174, 156, 0.12), rgba(201, 115, 20, 0.1)),
    rgba(255, 253, 243, 0.84);
}

.message-banner span {
  color: var(--green);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 900;
}

.message-banner strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 760;
  line-height: 1.12;
}

.search-message-banner {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 72px;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 74px;
    gap: 12px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark svg {
    width: 31px;
    height: 31px;
  }

  .brand strong {
    font-size: 20px;
  }

  .nav-links {
    align-self: stretch;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    min-width: 0;
  }

  .search-page {
    min-height: auto;
    padding-top: 24px;
  }

  .search-page h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .search-page .search-box {
    position: static;
  }

  .message-banner {
    margin-top: 14px;
    padding: 16px;
  }

  .message-banner strong {
    font-size: clamp(22px, 7vw, 30px);
  }

  .search-message-banner {
    width: min(100% - 24px, 1220px);
    margin-bottom: 36px;
  }
}

/* EveryTik signal-desk redesign */
:root {
  --bg: #e9f0ee;
  --ink: #10221d;
  --muted: #566b64;
  --line: #bdcbc6;
  --panel: #fffdf3;
  --green: #0a6b53;
  --blue: #237cd6;
  --amber: #c97314;
  --red: #bd443b;
  --signal: #0fae9c;
  --violet: #4f46a3;
  --paper: #fffaf0;
  --shadow: 0 18px 54px rgba(16, 34, 29, 0.14);
  --display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --body: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --utility: "SFMono-Regular", "Roboto Mono", ui-monospace, monospace;
}

body {
  background:
    linear-gradient(90deg, rgba(16, 34, 29, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 34, 29, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  font-family: var(--body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(15, 174, 156, 0.12), transparent 34%),
    linear-gradient(295deg, rgba(201, 115, 20, 0.14), transparent 42%),
    linear-gradient(210deg, rgba(79, 70, 163, 0.08), transparent 48%);
}

.app-shell,
main,
.footer {
  width: min(1220px, calc(100% - 36px));
}

.topbar {
  min-height: 76px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.38) 48% 52%, transparent 52%),
    linear-gradient(180deg, var(--ink), #1f4d41);
  font-family: var(--utility);
  font-size: 13px;
  letter-spacing: 0;
}

.brand strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 750;
}

.brand small,
.eyebrow,
.feed-meta,
.tag-row span,
.score-rail span,
.search-results span,
.footer-metrics span {
  font-family: var(--utility);
  letter-spacing: 0;
}

.nav-links {
  gap: 0;
  padding: 3px;
  border-radius: 999px;
  border-color: rgba(16, 35, 29, 0.16);
  background: rgba(251, 252, 247, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #3f504a;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--ink);
  color: #fffdf4;
  outline-color: rgba(35, 124, 214, 0.88);
}

.workspace {
  min-height: auto;
  padding: 18px 0 56px;
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.88), rgba(233, 240, 238, 0.74)),
    repeating-linear-gradient(90deg, rgba(16, 34, 29, 0.055) 0 1px, transparent 1px 72px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.workspace-main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

.workspace-intro {
  padding: 4px 0 14px;
}

.workspace-intro h1 {
  max-width: 780px;
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 760;
  line-height: 1.06;
}

.workspace-copy,
.section-copy {
  max-width: 620px;
  color: #364f47;
  font-size: 15px;
  line-height: 1.48;
}

.feed-heading {
  margin-bottom: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 35, 29, 0.14);
}

h2,
.footer-growth h2,
.control-panel h1,
.content-detail h1 {
  font-family: var(--display);
}

h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 760;
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.feed-list {
  gap: 8px;
}

.feed-item {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  border-color: rgba(16, 35, 29, 0.14);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.feed-item::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(180deg, var(--signal), var(--amber));
  transform: scaleX(var(--growth-score));
  transform-origin: left;
}

.feed-item:hover,
.feed-item:focus-visible {
  border-color: rgba(13, 111, 85, 0.48);
  box-shadow: 0 18px 44px rgba(16, 35, 29, 0.13);
  transform: translateY(-2px);
}

.score-rail {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 48px;
  gap: 0;
  padding: 5px 6px;
  border: 1px solid rgba(16, 35, 29, 0.14);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(15, 174, 156, 0.14), rgba(201, 115, 20, 0.11)),
    #edf7f2;
  transform: translateY(-50%);
}

.score-rail strong {
  align-self: center;
  font-family: var(--utility);
  font-size: 24px;
  line-height: 1;
}

.score-rail span {
  align-self: center;
  color: #445c54;
  font-size: 9px;
  writing-mode: horizontal-tb;
}

.feed-body {
  padding: 14px 16px 13px 84px;
}

.feed-body h3 {
  max-width: 820px;
  margin: 6px 0 4px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 740;
  line-height: 1.22;
}

.feed-body p {
  max-width: 790px;
  color: #3f554e;
  font-size: 15px;
  line-height: 1.38;
}

.feed-meta span,
.tag-row span {
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 999px;
  background: transparent;
}

.feed-meta span {
  padding: 4px 7px;
}

/* Content-type badges: 动态 (X) and 讨论 (Reddit) stand out from 文章. */
.feed-meta .meta-type-moment,
.feed-meta .meta-type-discussion {
  font-weight: 700;
  border-color: transparent;
}
.feed-meta .meta-type-moment {
  background: rgba(75, 130, 216, 0.14);
  color: #2f5fa8;
}
.feed-meta .meta-type-discussion {
  background: rgba(255, 75, 64, 0.13);
  color: #c0392b;
}

.feed-signals {
  margin-top: 8px;
}

.section {
  padding: 66px 0;
}

.search-section {
  align-items: start;
}

.search-box {
  border-color: rgba(16, 35, 29, 0.14);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
}

select,
input,
button,
.primary-link,
.secondary-link,
.text-link {
  border-radius: 6px;
}

button,
.primary-link {
  background: var(--ink);
  border-color: var(--ink);
}

button:hover,
.primary-link:hover {
  background: var(--green);
  border-color: var(--green);
}

.search-results a {
  border-radius: 4px;
  background: var(--paper);
}

.footer-growth {
  border-color: rgba(16, 35, 29, 0.14);
  border-radius: 6px;
  background: rgba(255, 250, 240, 0.88);
}

.footer-lines span {
  padding: 6px 9px;
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 999px;
  background: rgba(251, 252, 247, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 820px) {
  .app-shell,
  main,
  .footer {
    width: min(100% - 24px, 1220px);
  }

  .workspace {
    border-radius: 6px;
    padding-top: 14px;
  }

  .workspace-intro {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 0;
    padding-bottom: 12px;
  }

  .workspace-intro h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.03;
  }

  .workspace-copy {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .feed-heading {
    padding-top: 18px;
  }

  .feed-heading h2 {
    font-size: 30px;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }

  .feed-item::before {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    width: auto;
    transform: scaleX(var(--growth-score));
  }

  .score-rail {
    top: 50%;
    left: 12px;
    display: flex;
    width: 54px;
    height: 46px;
    padding: 5px 6px;
    border: 1px solid rgba(16, 35, 29, 0.14);
  }

  .score-rail span {
    writing-mode: horizontal-tb;
  }

  .feed-body {
    padding: 12px 14px 12px 78px;
  }

  .feed-signals {
    grid-template-columns: 1fr;
  }

  .tag-row {
    width: 100%;
    margin-left: 0;
  }

  .reader-primer {
    grid-template-columns: 1fr;
  }

  .primer-why {
    border-right: 0;
    border-bottom: 1px solid rgba(31, 122, 77, 0.16);
  }
}

/* Detail reader workspace efficiency pass */
.content-main {
  width: min(1540px, calc(100% - 32px));
  padding-top: 12px;
}

.reader-layout {
  grid-template-columns: minmax(0, 1fr) 0;
}

.reader-layout.comments-open {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.document-page {
  min-height: calc(100dvh - 110px);
  padding: 22px clamp(18px, 2.4vw, 34px) 34px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 253, 243, 0.98)),
    var(--panel);
}

.document-header {
  max-width: none;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 35, 29, 0.12);
}

.content-detail h1 {
  max-width: 1080px;
  margin: 8px 0 12px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.02;
}

.document-header-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 1.08fr);
  gap: 18px;
  align-items: start;
}

.detail-summary {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.55;
}

.document-header .tag-row {
  width: auto;
  margin: 0;
}

.document-header .admin-status {
  margin: 8px 0 0;
}

.detail-actions {
  justify-content: flex-end;
  margin: 0;
  gap: 6px;
}

.detail-actions .primary-link,
.detail-actions .secondary-link {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.detail-actions .primary-link {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffdf4;
  box-shadow: 0 8px 18px rgba(16, 34, 29, 0.14);
}

.detail-actions .secondary-link {
  border-color: rgba(16, 35, 29, 0.16);
  background: rgba(255, 253, 243, 0.68);
  color: #2f423b;
  box-shadow: none;
}

.detail-actions .secondary-link:hover,
.detail-actions .secondary-link:focus-visible {
  border-color: rgba(10, 107, 83, 0.32);
  background: rgba(237, 247, 242, 0.92);
  color: var(--green);
}

.document-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.reader-layout.comments-open .document-workbench {
  grid-template-columns: minmax(0, 1fr);
}

.reader-layout.comments-open .detail-aside {
  display: none;
}

.reading-column {
  min-width: 0;
}

.deep-reader {
  max-width: none;
  margin: 0;
}

.deep-reader-head {
  position: sticky;
  top: 0;
  z-index: 8;
  align-items: center;
  margin: 0 0 12px;
  padding: 8px 0 10px;
  border-bottom: 1px solid rgba(16, 35, 29, 0.1);
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(14px);
}

.deep-reader-head h2 {
  font-size: 24px;
}

.reader-mode {
  margin: 0;
}

.source-faithfulness {
  margin-bottom: 14px;
}

.detail-body {
  max-width: 920px;
  margin: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 18px;
  line-height: 1.78;
}

.detail-body h2 {
  font-size: 30px;
}

.detail-body p,
.detail-body li {
  max-width: 76ch;
}

.detail-body pre,
.detail-body blockquote,
.bilingual-block {
  max-width: 100%;
}

.detail-aside {
  order: -1;
  position: static;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.reader-primer {
  display: grid;
  grid-template-columns: 1fr;
  max-width: none;
  margin: 0;
  border-color: rgba(16, 35, 29, 0.14);
  background: rgba(243, 250, 245, 0.88);
}

.reader-primer article {
  padding: 14px;
}

.primer-why {
  border-right: 0;
  border-bottom: 1px solid rgba(31, 122, 77, 0.16);
}

.reader-primer strong {
  -webkit-line-clamp: unset;
  font-size: 15px;
}

.primer-insights li {
  max-height: none;
}

@media (min-width: 1280px) {
  .reader-layout.comments-open .detail-body {
    max-width: 820px;
  }
}

@media (max-width: 1120px) {
  .document-header-grid,
  .document-workbench {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    justify-content: flex-start;
  }

  .detail-aside {
    position: static;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .content-main {
    width: min(100% - 20px, 1540px);
    padding-top: 6px;
  }

  .document-page {
    padding: 18px 14px 28px;
  }

  .detail-back-link {
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .document-header {
    padding-left: 40px;
  }

  .content-detail h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.08;
  }

  .document-header-grid,
  .detail-aside {
    grid-template-columns: 1fr;
  }

  .detail-summary,
  .detail-body {
    font-size: 16px;
  }

  .deep-reader-head {
    position: static;
    align-items: flex-start;
    padding-top: 0;
    background: transparent;
  }

  .reader-mode {
    width: 100%;
  }

  .reader-mode button {
    flex: 1;
  }

  .detail-actions .primary-link,
  .detail-actions .secondary-link {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Final header logo and navigation override */
.topbar {
  min-height: 82px;
}

.brand {
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 174, 156, 0.34);
  border-radius: 10px;
  color: #fffdf4;
  background:
    radial-gradient(circle at 68% 24%, rgba(15, 174, 156, 0.42), transparent 28%),
    linear-gradient(145deg, #10221d, #0b4f42 58%, #12362f);
  box-shadow:
    0 14px 30px rgba(16, 34, 29, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark::before {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(255, 253, 243, 0.18);
  border-radius: 6px;
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
}

.logo-frame,
.logo-cut,
.logo-signal {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-frame,
.logo-cut {
  stroke: rgba(255, 253, 243, 0.88);
  stroke-width: 2.2;
}

.logo-signal {
  stroke: #18d9c2;
  stroke-width: 2.6;
}

.logo-node {
  fill: #fffdf4;
  stroke: #18d9c2;
  stroke-width: 1.5;
}

.brand strong {
  font-size: 23px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
}

.nav-links {
  align-self: center;
  display: inline-flex;
  gap: 3px;
  padding: 5px;
  border-radius: 999px;
  border-color: rgba(16, 35, 29, 0.14);
  background: rgba(255, 253, 243, 0.74);
  backdrop-filter: blur(16px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-width: 76px;
  min-height: 42px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #314840;
  font-size: 14px;
}

.nav-links a[aria-current="page"] {
  border-color: rgba(10, 107, 83, 0.16);
  background: #fffdf4;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 34, 29, 0.1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--ink);
  color: #fffdf4;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 74px;
    gap: 12px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark svg {
    width: 31px;
    height: 31px;
  }

  .brand strong {
    font-size: 20px;
  }

  .nav-links {
    align-self: stretch;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    min-width: 0;
  }
}

/* Final page title and bottom banner sizing */
.workspace-intro h1,
.search-page h1 {
  max-width: 620px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
}

.message-banner {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(16, 35, 29, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 174, 156, 0.12), rgba(201, 115, 20, 0.1)),
    rgba(255, 253, 243, 0.84);
}

.message-banner span {
  color: var(--green);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 900;
}

.message-banner strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 760;
  line-height: 1.12;
}

.search-message-banner {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 72px;
}

@media (max-width: 820px) {
  .workspace-intro h1,
  .search-page h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .message-banner {
    margin-top: 14px;
    padding: 16px;
  }

  .message-banner strong {
    font-size: clamp(22px, 7vw, 30px);
  }

  .search-message-banner {
    width: min(100% - 24px, 1220px);
    margin-bottom: 36px;
  }
}

/* Final EveryTik wordmark */
.brand {
  gap: 0;
}

.brand > span {
  display: grid;
  gap: 3px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: stretch;
  width: max-content;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 29, 0.16);
  border-radius: 8px;
  background: #10221d;
  color: #fffdf4;
  font-family: Inter, "Arial Black", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(16, 34, 29, 0.12);
}

.brand-word,
.brand-block {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
}

.brand-word {
  color: #fffdf4;
}

.brand-block {
  margin: 3px 3px 3px 0;
  min-height: 32px;
  border-radius: 5px;
  background: #28d7b1;
  color: #10221d;
}

.brand small {
  margin-top: 0;
  padding-left: 2px;
  color: #4c625a;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

@media (max-width: 820px) {
  .brand-wordmark {
    font-size: 20px;
  }

  .brand-word,
  .brand-block {
    min-height: 34px;
    padding-inline: 8px;
  }

  .brand-block {
    min-height: 28px;
  }
}

/* Author channel page */
.author-main {
  width: 100%;
  max-width: none;
  padding: 0 0 96px;
  background: #fff;
}

.author-detail {
  min-height: 100vh;
}

.author-page {
  --author-red: #ff3b30;
  --author-ink: #111311;
  --author-muted: #686d69;
  --author-soft: #f5f6f4;
  --author-line: #e5e7e4;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  color: var(--author-ink);
}

.author-main {
  padding-top: 0;
}

.author-topbar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
}

.author-back-link,
.author-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--author-ink);
  font-size: 14px;
  font-weight: 760;
}

.author-back-link > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--author-line);
  border-radius: 50%;
  font-size: 17px;
  transition: background 160ms ease, transform 160ms ease;
}

.author-back-link:hover > span:first-child {
  background: var(--author-soft);
  transform: translateX(-2px);
}

.author-brand > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--author-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.author-channel-header {
  border-bottom: 0;
}

.author-cover {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 30px 34px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 77% 38%, rgba(255, 59, 48, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 38%, rgba(255, 59, 48, 0.2), transparent 22%),
    linear-gradient(125deg, #111312 0%, #242923 60%, #111312 100%);
  color: #fff;
}

.author-cover::before,
.author-cover::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.author-cover::before {
  width: 430px;
  height: 430px;
  top: -200px;
  right: 5%;
}

.author-cover::after {
  width: 230px;
  height: 230px;
  right: 13%;
  bottom: -155px;
}

.author-cover-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.author-cover-kicker,
.author-cover-score {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.author-cover > strong {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 34px;
  max-width: 68%;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.author-cover-score {
  position: absolute;
  right: 34px;
  bottom: 32px;
  padding-left: 24px;
}

.author-cover-score::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--author-red);
  box-shadow: 0 0 0 7px rgba(255, 59, 48, 0.14);
  content: "";
  transform: translateY(-50%);
}

.author-profile-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 28px 26px;
}

.author-profile-main {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  gap: 22px;
}

.author-page .author-avatar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  margin-top: -42px;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(17, 19, 17, 0.12);
  font-size: 44px;
}

.author-page .author-avatar-logo {
  width: 132px;
  padding: 0 15px;
  font-size: 15px;
}

.author-profile-copy {
  min-width: 0;
  padding-top: 20px;
}

.author-name-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-name-line h1 {
  max-width: 720px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.author-verified {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.author-handle,
.author-title-line {
  margin: 7px 0 0;
  color: var(--author-muted);
  font-size: 14px;
}

.author-handle {
  font-weight: 720;
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 17px;
  color: var(--author-muted);
  font-size: 13px;
}

.author-stats strong {
  color: var(--author-ink);
  font-size: 15px;
}

.author-primary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--author-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.author-primary-action:hover {
  background: #2b302c;
  transform: translateY(-1px);
}

.author-tabs {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  gap: 30px;
  padding: 0 28px;
  border-top: 1px solid var(--author-line);
  border-bottom: 1px solid var(--author-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.author-tabs a {
  position: relative;
  padding: 17px 2px 15px;
  color: var(--author-muted);
  font-size: 14px;
  font-weight: 760;
}

.author-tabs a:hover,
.author-tabs a.is-active {
  color: var(--author-ink);
}

.author-tabs a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--author-ink);
  content: "";
}

.author-page .author-articles {
  margin-top: 0;
  padding: 52px 28px 64px;
}

.author-page .author-section-head {
  align-items: center;
}

.author-page .author-section-head h2 {
  margin-top: 6px;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.author-page .eyebrow {
  color: var(--author-red);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.author-page .author-section-head > span {
  min-height: auto;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--author-soft);
  color: var(--author-muted);
  font-size: 12px;
}

.author-page .author-article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 24px;
}

.author-content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.author-content-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--author-line);
  border-radius: 999px;
  background: transparent;
  color: var(--author-ink);
  cursor: pointer;
}

.author-content-tab span {
  font-size: 13px;
  font-weight: 760;
}

.author-content-tab strong {
  min-width: 20px;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--author-soft);
  color: var(--author-muted);
  font-size: 11px;
  line-height: 1;
}

.author-content-tab:hover,
.author-content-tab.is-active {
  border-color: var(--author-ink);
  background: var(--author-ink);
  color: #fff;
}

.author-content-tab:hover strong,
.author-content-tab.is-active strong {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.author-content-panel[hidden] {
  display: none;
}

.author-article-list-inline {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
}

.author-page .author-article {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.author-page .author-article:hover {
  border: 0;
  background: transparent;
  transform: none;
}

.author-article-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 45%),
    #1b211d;
  color: #fff;
}

.author-article-visual::before {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -60px;
  bottom: -110px;
  border: 32px solid rgba(255, 59, 48, 0.75);
  border-radius: 50%;
  content: "";
  transition: transform 240ms ease;
}

.author-article-visual::after {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.26) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(135deg, #000, transparent 55%);
  content: "";
}

.author-article:hover .author-article-visual::before {
  transform: scale(1.08) rotate(-7deg);
}

.author-article-visual.cover-has-image::before {
  display: none;
}

.author-article:hover .cover-image {
  transform: scale(1.025);
  transition: transform 260ms ease;
}

.author-article-format,
.author-article-value,
.author-article-read {
  position: absolute;
  z-index: 1;
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-article-format {
  top: 18px;
  left: 18px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
}

.author-article-visual > strong {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 34px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.author-article-value {
  bottom: 14px;
  left: 20px;
  color: rgba(255,255,255,0.58);
  font-size: 8px;
}

.author-article-read {
  right: 18px;
  bottom: 17px;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  transform: translateY(4px);
}

.author-article:hover .author-article-read {
  opacity: 1;
  transform: translateY(0);
}

.author-page .author-article-body {
  padding: 14px 2px 0;
}

.author-page .author-article-body > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.38;
  letter-spacing: -0.018em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.author-page .author-article p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--author-muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.author-page .author-article .tag-row {
  gap: 6px;
  margin-top: 12px;
}

.author-page .author-article .tag-row span {
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: var(--author-soft);
  color: #535854;
  font-size: 10px;
}

.author-page .author-article-meta {
  display: flex;
  gap: 12px;
  margin: 12px 0 0;
  color: #8a8e8b;
}

.author-page .author-article-meta span {
  font-size: 11px;
  font-weight: 650;
}

.author-page .author-article-inline {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--author-line);
  border-radius: 16px;
  background: #fff;
}

.author-page .author-article-inline:hover {
  border-color: #d8dad7;
  background: #fff;
}

.author-inline-score {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 86px;
  border-radius: 12px;
  background: #1b211d;
  color: #fff;
}

.author-inline-score strong {
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.author-inline-score span,
.author-inline-meta span,
.author-inline-footer span {
  color: #8b908c;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-inline-score span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.55);
}

.author-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.author-page .author-article-inline .author-article-body {
  padding: 0;
}

.author-page .author-article-inline p {
  max-width: none;
  margin-top: 10px;
}

.author-inline-copy.is-collapsed p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.author-inline-expand {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--author-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.author-page .inline-text-link,
.inline-text-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.author-inline-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.author-inline-source {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--author-line);
  border-radius: 8px;
  color: var(--author-ink);
  font-size: 13px;
  font-weight: 760;
}

.author-inline-source:hover,
.author-inline-source:focus-visible {
  border-color: var(--author-ink);
  background: var(--author-ink);
  color: #fff;
}

.author-content-empty {
  padding: 22px;
  border: 1px solid var(--author-line);
  border-radius: 16px;
  background: var(--author-soft);
}

.author-content-empty strong {
  color: var(--author-ink);
  font-size: 16px;
}

.author-content-empty p {
  margin-top: 6px;
  color: var(--author-muted);
  font-size: 13px;
}

.author-credibility-section {
  padding: 58px 28px 64px;
  border-top: 1px solid var(--author-line);
}

.author-page .author-evidence-board {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-top: 24px;
}

.author-page .author-credibility,
.author-page .author-signal-grid {
  border: 1px solid var(--author-line);
  border-radius: 18px;
  background: #fff;
}

.author-page .author-credibility {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 8px 22px;
}

.author-page .author-credibility article {
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 0;
  align-items: start;
  gap: 12px;
  padding: 20px 0;
  border-top: 0;
  border-bottom: 1px solid var(--author-line);
}

.author-page .author-credibility article:last-child {
  border-bottom: 0;
}

.author-page .author-credibility article > span {
  display: grid;
  width: 24px;
  height: 24px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  background: #eaf8ef;
  color: #18864b;
  font-size: 12px;
  font-weight: 900;
}

.author-page .author-credibility strong {
  font-size: 15px;
}

.author-page .author-credibility p {
  margin-top: 6px;
  font-size: 13px;
}

.author-page .author-signal-grid {
  overflow: hidden;
}

.author-page .author-signal-grid article {
  gap: 8px;
  padding: 15px 18px;
  border-bottom-color: var(--author-line);
}

.author-page .author-signal-grid strong {
  font-size: 22px;
}

.author-page .author-signal-bar {
  height: 4px;
  border-radius: 4px;
  background: #edf0ed;
}

.author-page .author-signal-bar::before {
  border-radius: inherit;
  background: var(--author-red);
}

.author-page .author-bio {
  margin: 0 28px;
  padding: 54px 0;
  border: 0;
  border-top: 1px solid var(--author-line);
  background: transparent;
}

.author-page .author-bio h2 {
  margin-top: 7px;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.author-page .author-bio > p:last-child {
  max-width: 760px;
  margin-top: 18px;
  color: var(--author-muted);
  font-size: 15px;
  line-height: 1.7;
}

.author-page a:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.35);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .author-page .author-article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-page .author-evidence-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .author-page {
    width: min(100%, calc(100% - 24px));
  }

  .author-topbar {
    min-height: 58px;
  }

  .author-back-link > span:last-child,
  .author-brand strong {
    display: none;
  }

  .author-cover {
    min-height: 180px;
    padding: 22px;
    border-radius: 18px;
  }

  .author-cover > strong {
    bottom: 24px;
    left: 22px;
    max-width: 88%;
    font-size: clamp(38px, 13vw, 64px);
  }

  .author-cover-score {
    display: none;
  }

  .author-profile-row {
    display: block;
    padding: 0 12px 22px;
  }

  .author-profile-main {
    display: block;
  }

  .author-page .author-avatar,
  .author-page .author-avatar-logo {
    width: 96px;
    height: 96px;
    margin-top: -30px;
    border-width: 5px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .author-profile-copy {
    padding-top: 13px;
  }

  .author-name-line {
    align-items: flex-start;
  }

  .author-name-line h1 {
    font-size: 30px;
  }

  .author-handle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .author-primary-action {
    width: 100%;
    margin-top: 20px;
  }

  .author-tabs {
    gap: 24px;
    padding: 0 12px;
  }

  .author-page .author-articles,
  .author-credibility-section {
    padding: 38px 12px 48px;
  }

  .author-page .author-section-head {
    align-items: flex-start;
  }

  .author-page .author-article-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .author-page .author-article-inline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .author-inline-score {
    display: none;
  }

  .author-page .author-article-body > strong {
    font-size: 18px;
  }

  .author-page .author-bio {
    margin: 0 12px;
  }
}

/* Feed density and hierarchy refinement */
.workspace {
  padding-bottom: 72px;
}

.workspace-intro {
  min-height: 300px;
  grid-template-columns: minmax(0, 1fr) 160px;
  padding: 38px 44px;
  border-radius: 20px;
}

.workspace-intro h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.94;
}

.workspace-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.feed-live-status strong {
  font-size: 58px;
}

.feed-section-heading {
  padding-top: 38px;
  padding-bottom: 18px;
}

.score-legend {
  max-width: 330px;
  text-align: right;
  line-height: 1.45;
}

.score-legend strong {
  color: #303431;
  font-weight: 800;
}

.feed-list {
  gap: 30px 22px;
}

.feed-item-featured {
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  padding-bottom: 34px;
}

.feed-item-featured .feed-visual {
  aspect-ratio: 16 / 8.4;
}

.feed-item-compact {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 220px;
  padding: 14px;
  border: 1px solid #e5e7e4;
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feed-item-compact:hover,
.feed-item-compact:focus-visible {
  border: 1px solid #cfd3cf;
  box-shadow: 0 14px 34px rgba(17, 19, 17, 0.07);
  transform: translateY(-2px);
}

.feed-item-compact .feed-visual {
  min-height: 190px;
  aspect-ratio: auto;
  border-radius: 11px;
}

.feed-item-compact .feed-visual::before {
  right: -155px;
  bottom: -118px;
  width: 260px;
  height: 260px;
  border-width: 34px;
}

.feed-item-compact .feed-rank {
  top: 14px;
  left: 14px;
}

.feed-item-compact .feed-open {
  display: none;
}

.feed-item-compact .score-rail {
  left: 14px;
  bottom: 16px;
}

.feed-item-compact .score-rail strong {
  font-size: 46px;
  line-height: 0.82;
}

.feed-item-compact .score-rail span {
  margin-top: 9px;
  font-size: 7px;
}

.feed-item-compact .feed-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2px 2px 0;
}

.feed-item-compact .feed-body h3 {
  margin-top: 11px;
  font-size: 20px;
  line-height: 1.25;
}

.feed-item-compact .feed-body > p {
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.feed-item-compact .tag-row {
  margin-top: 10px;
}

.feed-item-compact .tag-row span:nth-child(n + 3) {
  display: none;
}

.feed-item-compact .feed-signals {
  margin-top: auto;
  padding-top: 10px;
  border-top: 0;
}

.feed-item-compact .feed-signals span {
  padding: 9px 0 0;
  border-top: 1px solid #e5e7e4;
  border-bottom: 0;
}

.feed-item-compact .feed-signals span:nth-child(2) {
  display: none;
}

.feed-item-compact .feed-signals em {
  min-width: 58px;
}

.feed-meta .meta-signal {
  background: #eef5ff;
  color: #1767b8;
}

.feed-meta .meta-value {
  background: #fff4e7;
  color: #a65d10;
}

.feed-meta .meta-stage {
  color: #676c68;
}

@media (max-width: 900px) {
  .workspace-intro {
    min-height: 280px;
  }

  .feed-item-featured {
    grid-template-columns: 1fr;
  }

  .feed-item-featured .feed-visual {
    aspect-ratio: 16 / 8;
  }

  .feed-item-featured .feed-body {
    padding-top: 16px;
  }

  .feed-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .workspace {
    padding-bottom: 54px;
  }

  .workspace-intro {
    min-height: 290px;
    padding: 28px 22px;
  }

  .workspace-intro h1 {
    max-width: 96%;
    font-size: 40px;
    line-height: 0.98;
  }

  .workspace-copy {
    max-width: 78%;
    font-size: 13px;
  }

  .feed-live-status {
    right: 22px;
    bottom: 24px;
  }

  .feed-live-status strong {
    font-size: 44px;
  }

  .feed-section-heading {
    align-items: flex-start;
    padding-top: 32px;
  }

  .score-legend {
    max-width: 145px;
    font-size: 10px;
  }

  .feed-item-featured .feed-visual {
    aspect-ratio: 4 / 3;
  }

  .feed-item-compact {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 13px;
    min-height: 210px;
    padding: 10px;
    border-radius: 14px;
  }

  .feed-item-compact .feed-visual {
    min-height: 188px;
  }

  .feed-item-compact .score-rail strong {
    font-size: 38px;
  }

  .feed-item-compact .feed-meta .meta-stage,
  .feed-item-compact .feed-meta .feed-author-link {
    display: none;
  }

  .feed-item-compact .feed-body h3 {
    font-size: 18px;
  }

  .feed-item-compact .feed-body > p {
    -webkit-line-clamp: 3;
  }

  .feed-item-compact .tag-row {
    display: none;
  }
}

/* Final cover overrides: must remain after legacy feed rules. */
.feed-item .feed-visual.cover-visual {
  background:
    radial-gradient(circle at var(--cover-shift) 28%, color-mix(in srgb, var(--cover-accent) 22%, transparent), transparent 30%),
    linear-gradient(145deg, #1c231f, #101311);
}

.feed-item .feed-visual.cover-visual::before,
.feed-item .feed-visual.cover-visual::after {
  display: none;
  content: none;
}

.feed-item .feed-visual.cover-has-image::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, rgba(10, 14, 12, 0.72), rgba(10, 14, 12, 0.12) 72%);
  content: "";
}

.feed-item:hover .feed-visual.cover-visual::before {
  transform: none;
}

/* Topic-aware article covers */
.cover-visual {
  isolation: isolate;
  background:
    radial-gradient(circle at var(--cover-shift) 28%, color-mix(in srgb, var(--cover-accent) 22%, transparent), transparent 30%),
    linear-gradient(145deg, #1c231f, #101311);
}

.cover-visual::before,
.cover-visual::after {
  display: none;
}

.cover-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04) brightness(0.7);
}

.cover-has-image::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, rgba(10, 14, 12, 0.72), rgba(10, 14, 12, 0.12) 72%);
  content: "";
}

.cover-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  transition: transform 260ms ease;
}

.cover-has-image .cover-art {
  opacity: 0.26;
  mix-blend-mode: screen;
}

.feed-item:hover .cover-art {
  transform: scale(1.025);
}

.cover-variant-1 .cover-art {
  transform: rotate(180deg) scale(1.08);
}

.cover-variant-2 .cover-art {
  transform: scaleX(-1) rotate(-12deg) scale(0.92);
}

.feed-item:hover .cover-variant-1 .cover-art {
  transform: rotate(180deg) scale(1.11);
}

.feed-item:hover .cover-variant-2 .cover-art {
  transform: scaleX(-1) rotate(-12deg) scale(0.95);
}

.cover-art i {
  position: absolute;
  display: block;
  border-color: var(--cover-accent);
  background: var(--cover-accent);
}

.cover-topic {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  color: color-mix(in srgb, var(--cover-accent) 72%, white);
  font: 800 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.feed-item-compact .cover-topic {
  display: none;
}

.cover-theme-benchmark .cover-art i:first-child {
  width: 62%;
  height: 62%;
  right: -12%;
  bottom: -26%;
  border: clamp(24px, 4.2vw, 52px) solid var(--cover-accent);
  border-radius: 50%;
  background: transparent;
}

.cover-theme-benchmark .cover-art i:nth-child(2) {
  width: 34%;
  height: 34%;
  right: 11%;
  bottom: -8%;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 55%, white);
  border-radius: 50%;
  background: transparent;
}

.cover-theme-benchmark .cover-art i:nth-child(3) {
  width: 7px;
  height: 7px;
  top: 28%;
  right: 25%;
  border-radius: 50%;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--cover-accent) 18%, transparent);
}

.cover-theme-agent .cover-art {
  background-image:
    linear-gradient(55deg, transparent 49.5%, color-mix(in srgb, var(--cover-accent) 38%, transparent) 50%, transparent 50.5%),
    linear-gradient(-38deg, transparent 49.5%, rgba(255,255,255,0.14) 50%, transparent 50.5%);
  background-size: 56% 70%, 64% 66%;
  background-position: 70% 20%, 84% 74%;
  background-repeat: no-repeat;
}

.cover-theme-agent .cover-art i {
  width: clamp(34px, 6vw, 72px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 70%, white);
  border-radius: 14px;
  background: color-mix(in srgb, var(--cover-accent) 16%, #151a17);
  transform: rotate(45deg);
}

.cover-theme-agent .cover-art i:first-child {
  top: 16%;
  right: 16%;
}

.cover-theme-agent .cover-art i:nth-child(2) {
  right: 35%;
  bottom: 12%;
  scale: 0.68;
}

.cover-theme-agent .cover-art i:nth-child(3) {
  top: 42%;
  right: 4%;
  scale: 0.42;
}

.cover-theme-infra .cover-art i {
  right: -5%;
  width: 62%;
  height: 17%;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 55%, white);
  border-radius: 5px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cover-accent) 54%, transparent), rgba(255,255,255,0.04));
  transform: skewX(-20deg);
}

.cover-theme-infra .cover-art i:first-child {
  top: 21%;
}

.cover-theme-infra .cover-art i:nth-child(2) {
  top: 43%;
  right: 5%;
}

.cover-theme-infra .cover-art i:nth-child(3) {
  top: 65%;
  right: 15%;
}

.cover-theme-robotics .cover-art {
  background:
    linear-gradient(132deg, transparent 0 51%, color-mix(in srgb, var(--cover-accent) 54%, transparent) 51.3% 52%, transparent 52.3%),
    linear-gradient(36deg, transparent 0 61%, rgba(255,255,255,0.17) 61.3% 62%, transparent 62.3%);
}

.cover-theme-robotics .cover-art i {
  width: clamp(38px, 7vw, 84px);
  aspect-ratio: 1;
  border: 2px solid var(--cover-accent);
  border-radius: 50% 50% 50% 12%;
  background: transparent;
}

.cover-theme-robotics .cover-art i:first-child {
  top: 12%;
  right: 12%;
}

.cover-theme-robotics .cover-art i:nth-child(2) {
  right: 36%;
  bottom: 8%;
  scale: 0.58;
}

.cover-theme-robotics .cover-art i:nth-child(3) {
  top: 56%;
  right: 3%;
  scale: 0.3;
}

.cover-theme-model .cover-art i {
  width: 52%;
  height: 52%;
  right: -8%;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 64%, white);
  background: transparent;
  transform: rotate(45deg);
}

.cover-theme-model .cover-art i:first-child {
  top: -22%;
}

.cover-theme-model .cover-art i:nth-child(2) {
  top: 22%;
  right: 7%;
  scale: 0.68;
}

.cover-theme-model .cover-art i:nth-child(3) {
  top: 51%;
  right: 23%;
  scale: 0.38;
}

.cover-theme-signal .cover-art i {
  height: 2px;
  left: 18%;
  border-radius: 999px;
  transform-origin: left;
}

.cover-theme-signal .cover-art i:first-child {
  top: 30%;
  width: 72%;
  transform: rotate(14deg);
}

.cover-theme-signal .cover-art i:nth-child(2) {
  top: 48%;
  width: 58%;
  opacity: 0.64;
  transform: rotate(-9deg);
}

.cover-theme-signal .cover-art i:nth-child(3) {
  top: 66%;
  width: 44%;
  opacity: 0.38;
  transform: rotate(20deg);
}

.cover-visual .feed-visual-grid,
.cover-visual .feed-rank,
.cover-visual .score-rail,
.cover-visual .feed-open {
  z-index: 3;
}

@media (max-width: 680px) {
  .feed-item-featured .cover-topic {
    top: 18px;
    right: 18px;
  }
}

/* Measurement Loop: high-contrast scoring explanation */
.footer {
  padding-top: 48px;
}

.footer-growth {
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: stretch;
  padding: 34px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 59, 48, 0.13), transparent 24%),
    linear-gradient(135deg, #111311, #181d19);
}

.footer-growth-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer-growth h2 {
  max-width: 360px;
  margin-top: 10px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.footer-principle {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.footer-principle span {
  margin-bottom: 7px;
  color: #ff5c52;
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.footer-growth-copy {
  max-width: 380px;
  margin: auto 0 0;
  padding-top: 32px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.footer-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-metrics article {
  min-height: 126px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-metrics article > span,
.footer-model-heading span {
  color: rgba(255, 255, 255, 0.58);
  font: 750 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.05em;
}

.footer-metrics article > strong {
  margin-top: 12px;
  color: #fff;
  font-size: 40px;
  letter-spacing: -0.045em;
}

.footer-metrics article > small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 600;
}

.footer-metric-score {
  position: relative;
  overflow: hidden;
}

.footer-metric-score::after {
  position: absolute;
  width: 92px;
  height: 92px;
  right: -44px;
  bottom: -54px;
  border: 14px solid rgba(255, 59, 48, 0.58);
  border-radius: 50%;
  content: "";
}

.footer-model-card {
  padding: 20px !important;
}

.footer-model-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-model-heading p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
}

.footer-model-heading > strong {
  color: #fff;
  font: 750 24px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.footer-growth .model-weights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-growth .model-weights > div {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  overflow: hidden;
  padding: 13px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
}

.footer-growth .model-weights > div::after {
  position: absolute;
  right: auto;
  bottom: 0;
  left: 0;
  width: var(--weight);
  height: 4px;
  background: #ff4b40;
  content: "";
}

.footer-growth .model-weights span {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.footer-growth .model-weights span::before {
  display: none;
}

.footer-growth .model-weights strong,
.footer-growth .model-weights small {
  display: block;
}

.footer-growth .model-weights strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-growth .model-weights small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.46);
  font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-growth .model-weights em {
  flex: 0 0 auto;
  color: #fff;
  font: 750 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 900px) {
  .footer-growth {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-growth-copy {
    margin-top: 10px;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .footer {
    padding-top: 34px;
  }

  .footer-growth {
    gap: 24px;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .footer-growth h2 {
    font-size: 28px;
  }

  .footer-principle {
    margin-top: 20px;
  }

  .footer-metrics {
    grid-template-columns: 1fr;
  }

  .footer-metrics article {
    min-height: 112px;
  }

  .footer-model-card {
    grid-column: auto;
  }

  .footer-growth .model-weights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final reader and search overrides. Keep at the end of this file. */
.content-detail .document-header {
  min-height: 380px;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 32px;
  padding: 38px 44px;
  border-radius: 20px;
}

.content-detail h1 {
  max-width: 900px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.content-detail .detail-summary {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.55;
}

.content-detail .detail-meta span {
  padding: 5px 8px;
  border-radius: 6px;
}

.content-detail .detail-taxonomy-row {
  margin-top: 18px;
}

.content-detail .detail-taxonomy-row .tag-row span {
  background: rgba(255, 255, 255, 0.08);
}

.detail-score-visual strong {
  margin: 14px 0 10px;
  font-size: 66px;
}

.detail-score-visual small {
  max-width: 140px;
  line-height: 1.45;
}

.detail-primer-wrap {
  padding: 34px 0 40px;
}

.detail-primer-wrap .reader-primer {
  width: min(820px, calc(100% - 88px));
  margin-inline: auto;
  border-radius: 14px;
}

.detail-primer-wrap .reader-primer article {
  min-height: 170px;
  padding: 22px 24px;
}

.detail-primer-wrap .reader-primer strong {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.5;
}

.detail-primer-wrap .reader-primer p,
.detail-primer-wrap .primer-insights li {
  font-size: 13px;
  line-height: 1.55;
}

.content-detail .reading-column {
  width: min(820px, calc(100% - 88px));
  padding-top: 42px;
}

.content-detail .deep-reader-head {
  margin-bottom: 24px;
  padding: 12px 0;
}

.content-detail .detail-body {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.86;
}

.search-hero {
  min-height: 330px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  gap: 44px;
  padding: 38px 44px;
  border-radius: 20px;
}

.search-main .search-page h1 {
  max-width: 520px;
  margin-top: 12px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 0.98;
}

.search-hero-copy > p:last-child {
  max-width: 480px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.search-main .search-box {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.search-main .search-box label {
  font-size: 17px;
}

.search-main .search-box > p {
  margin-top: 6px;
  font-size: 12px;
}

.search-main .search-row {
  margin-top: 16px;
}

.search-main .search-row input,
.search-main .search-row button {
  min-height: 52px;
}

.search-suggestions {
  margin-top: 12px;
}

.search-result-section {
  padding-top: 38px;
}

.search-result-heading {
  padding-bottom: 16px;
}

.search-main .search-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.search-main .search-result-card {
  grid-template-columns: 92px minmax(0, 1fr) 22px;
  gap: 16px;
  min-height: 170px;
  padding: 14px;
  border: 1px solid #e5e7e4;
  border-radius: 14px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-main .search-result-card:hover,
.search-main .search-result-card:focus-visible {
  border-color: #cfd3cf;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 19, 17, 0.07);
  transform: translateY(-2px);
}

.search-result-signal {
  min-height: 140px;
  padding: 12px;
  border-radius: 10px;
}

.search-result-signal strong {
  font-size: 38px;
}

.search-result-signal small {
  font-size: 6px;
}

.search-result-body > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result-body > small {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.search-main .search-match-row {
  margin-top: 10px;
}

.search-main .search-match-row span:nth-child(n + 4) {
  display: none;
}

.search-result-arrow {
  font-size: 18px;
}

@media (max-width: 900px) {
  .content-detail .document-header {
    min-height: 360px;
    grid-template-columns: 1fr;
  }

  .detail-score-visual {
    display: none;
  }

  .search-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .search-main .search-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .content-detail .document-header {
    min-height: 390px;
    padding: 58px 22px 26px;
    border-radius: 18px;
  }

  .content-detail h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 9.8vw, 43px);
    line-height: 1.03;
  }

  .content-detail .detail-summary {
    font-size: 14px;
  }

  .content-detail .detail-taxonomy-row .tag-row {
    display: none;
  }

  .detail-primer-wrap {
    padding: 24px 0 30px;
  }

  .detail-primer-wrap .reader-primer {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .detail-primer-wrap .reader-primer article {
    min-height: 0;
    padding: 20px;
  }

  .detail-primer-wrap .primer-why {
    border-right: 0;
    border-bottom: 1px solid var(--reader-line);
  }

  .content-detail .reading-column {
    width: 100%;
    padding: 30px 0 60px;
  }

  .content-detail .deep-reader-head {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .content-detail .reader-mode {
    width: 100%;
  }

  .content-detail .reader-mode button {
    flex: 1;
    min-height: 40px;
  }

  .content-detail .detail-body {
    font-size: 16px;
    line-height: 1.82;
  }

  .search-hero {
    gap: 22px;
    padding: 28px 22px;
  }

  .search-main .search-page h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1;
  }

  .search-main .search-box {
    padding: 18px;
  }

  .search-result-heading {
    align-items: flex-start;
  }

  .search-main .search-results {
    gap: 12px;
    padding-top: 14px;
  }

  .search-main .search-result-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    min-height: 150px;
    padding: 10px;
    border-radius: 12px;
  }

  .search-result-signal {
    min-height: 128px;
  }

  .search-result-body > strong {
    font-size: 17px;
  }

  .search-main .search-result-arrow {
    display: none;
  }
}

/* Reader and search density refinement */
.content-detail .document-header {
  min-height: 380px;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 32px;
  padding: 38px 44px;
  border-radius: 20px;
}

.content-detail h1 {
  max-width: 900px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.content-detail .detail-summary {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.55;
}

.content-detail .detail-meta span {
  padding: 5px 8px;
  border-radius: 6px;
}

.content-detail .detail-taxonomy-row {
  margin-top: 18px;
}

.content-detail .detail-taxonomy-row .tag-row span {
  background: rgba(255, 255, 255, 0.08);
}

.detail-score-visual strong {
  margin: 14px 0 10px;
  font-size: 66px;
}

.detail-score-visual small {
  max-width: 140px;
  line-height: 1.45;
}

.detail-primer-wrap {
  padding: 34px 0 40px;
}

.detail-primer-wrap .reader-primer {
  width: min(820px, calc(100% - 88px));
  margin-inline: auto;
  border-radius: 14px;
}

.detail-primer-wrap .reader-primer article {
  min-height: 170px;
  padding: 22px 24px;
}

.detail-primer-wrap .reader-primer strong {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.5;
}

.detail-primer-wrap .reader-primer p,
.detail-primer-wrap .primer-insights li {
  font-size: 13px;
  line-height: 1.55;
}

.content-detail .reading-column {
  width: min(820px, calc(100% - 88px));
  padding-top: 42px;
}

.content-detail .deep-reader-head {
  margin-bottom: 24px;
  padding: 12px 0;
}

.content-detail .detail-body {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.86;
}

.search-hero {
  min-height: 330px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  gap: 44px;
  padding: 38px 44px;
  border-radius: 20px;
}

.search-main .search-page h1 {
  max-width: 520px;
  margin-top: 12px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 0.98;
}

.search-hero-copy > p:last-child {
  max-width: 480px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.search-main .search-box {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.search-main .search-box label {
  font-size: 17px;
}

.search-main .search-box > p {
  margin-top: 6px;
  font-size: 12px;
}

.search-main .search-row {
  margin-top: 16px;
}

.search-main .search-row input {
  min-height: 52px;
}

.search-main .search-row button {
  min-height: 52px;
}

.search-suggestions {
  margin-top: 12px;
}

.search-result-section {
  padding-top: 38px;
}

.search-result-heading {
  padding-bottom: 16px;
}

.search-main .search-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.search-main .search-result-card {
  grid-template-columns: 92px minmax(0, 1fr) 22px;
  gap: 16px;
  min-height: 170px;
  padding: 14px;
  border: 1px solid #e5e7e4;
  border-radius: 14px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-main .search-result-card:hover,
.search-main .search-result-card:focus-visible {
  border-color: #cfd3cf;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 19, 17, 0.07);
  transform: translateY(-2px);
}

.search-result-signal {
  min-height: 140px;
  padding: 12px;
  border-radius: 10px;
}

.search-result-signal strong {
  font-size: 38px;
}

.search-result-signal small {
  font-size: 6px;
}

.search-result-body > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 19px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result-body > small {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.search-main .search-match-row {
  margin-top: 10px;
}

.search-main .search-match-row span:nth-child(n + 4) {
  display: none;
}

.search-result-arrow {
  font-size: 18px;
}

@media (max-width: 900px) {
  .content-detail .document-header {
    min-height: 360px;
    grid-template-columns: 1fr;
  }

  .detail-score-visual {
    display: none;
  }

  .search-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .search-main .search-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .content-detail .document-header {
    min-height: 390px;
    padding: 58px 22px 26px;
    border-radius: 18px;
  }

  .content-detail h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 9.8vw, 43px);
    line-height: 1.03;
  }

  .content-detail .detail-summary {
    font-size: 14px;
  }

  .content-detail .detail-taxonomy-row .tag-row {
    display: none;
  }

  .detail-primer-wrap {
    padding: 24px 0 30px;
  }

  .detail-primer-wrap .reader-primer {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .detail-primer-wrap .reader-primer article {
    min-height: 0;
    padding: 20px;
  }

  .detail-primer-wrap .primer-why {
    border-right: 0;
    border-bottom: 1px solid var(--reader-line);
  }

  .content-detail .reading-column {
    width: 100%;
    padding: 30px 0 60px;
  }

  .content-detail .deep-reader-head {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .content-detail .reader-mode {
    width: 100%;
  }

  .content-detail .reader-mode button {
    flex: 1;
    min-height: 40px;
  }

  .content-detail .detail-body {
    font-size: 16px;
    line-height: 1.82;
  }

  .search-hero {
    gap: 22px;
    padding: 28px 22px;
  }

  .search-main .search-page h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1;
  }

  .search-main .search-box {
    padding: 18px;
  }

  .search-result-heading {
    align-items: flex-start;
  }

  .search-main .search-results {
    gap: 12px;
    padding-top: 14px;
  }

  .search-main .search-result-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    min-height: 150px;
    padding: 10px;
    border-radius: 12px;
  }

  .search-result-signal {
    min-height: 128px;
  }

  .search-result-body > strong {
    font-size: 17px;
  }

  .search-main .search-result-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .author-page *,
  .author-page *::before,
  .author-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Unified channel system: feed + reader */
.app-shell {
  width: min(1240px, calc(100% - 48px));
}

.topbar {
  min-height: 68px;
}

.brand-wordmark {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.brand-word,
.brand-block {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #111311;
}

.brand-block {
  margin-left: 2px;
  color: #ff3b30;
}

.brand small {
  color: #777c78;
  font-size: 10px;
}

/* Wordmark: a "boxed second word" lockup (PornHub-style) — "Every" as plain
   bold text, "Tik" inside a filled rounded box. Keeps our palette: ink black +
   signal red. Overrides `.brand strong`'s display-serif via higher specificity. */
.brand .brand-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand .brand-word {
  padding: 0;
  color: #111311;
}

.brand .brand-block {
  margin-left: 5px;
  padding: 2px 8px;
  border-radius: 7px;
  background: #ff3b30;
  color: #fff;
}

.brand .brand-tagline,
.brand small {
  color: #5b615c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.nav-links {
  gap: 4px;
  padding: 3px;
  border-color: #e5e7e4;
  background: #f5f6f4;
  box-shadow: none;
}

.nav-links a {
  min-height: 38px;
  padding: 0 15px;
  color: #686d69;
  font-size: 13px;
}

.nav-links a[aria-current="page"] {
  background: #111311;
  color: #fff;
}

main:not(.content-main):not(.author-main) {
  width: 100%;
  max-width: none;
}

.workspace {
  min-height: 0;
  padding: 0 0 88px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.workspace-main {
  width: min(1240px, calc(100% - 48px));
}

.workspace-intro {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: end;
  gap: 40px;
  overflow: hidden;
  padding: 46px 48px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 36%, rgba(255, 59, 48, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 36%, rgba(255, 59, 48, 0.18), transparent 21%),
    linear-gradient(125deg, #111312, #252b26 62%, #111312);
  color: #fff;
}

.workspace-intro::before,
.workspace-intro::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 50%;
  content: "";
}

.workspace-intro::before {
  width: 520px;
  height: 520px;
  top: -250px;
  right: 2%;
}

.workspace-intro::after {
  width: 280px;
  height: 280px;
  right: 11%;
  bottom: -190px;
}

.workspace-intro > div:first-child {
  position: relative;
  z-index: 1;
}

.workspace-intro .eyebrow,
.feed-section-heading .eyebrow {
  color: #ff5c52;
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
}

.workspace-intro h1 {
  max-width: 880px;
  margin: 14px 0 18px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.workspace-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

.feed-live-status {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  justify-items: end;
  text-align: right;
}

.feed-live-status span,
.feed-live-status small {
  color: rgba(255,255,255,0.55);
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.feed-live-status span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 7px rgba(255,59,48,0.14);
  content: "";
}

.feed-live-status strong {
  margin: 14px 0 5px;
  color: #fff;
  font-size: 68px;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.feed-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 4px 20px;
}

.feed-section-heading h2 {
  margin: 7px 0 0;
  color: #111311;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 34px;
  letter-spacing: -0.045em;
}

.feed-section-heading > span {
  color: #777c78;
  font-size: 12px;
  font-weight: 700;
}

.feed-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 22px;
}

.feed-item {
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feed-item::before {
  display: none;
}

.feed-item:hover,
.feed-item:focus-visible {
  border: 0;
  box-shadow: none;
  transform: none;
}

.feed-item-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: center;
  padding-bottom: 46px;
  border-bottom: 1px solid #e5e7e4;
}

.feed-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), transparent 42%),
    #1a201c;
  color: #fff;
}

.feed-visual::before {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -90px;
  bottom: -190px;
  border: 48px solid rgba(255,59,48,0.78);
  border-radius: 50%;
  content: "";
  transition: transform 260ms ease;
}

.feed-visual::after {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background-image: radial-gradient(rgba(255,255,255,0.26) 1px, transparent 1px);
  background-size: 15px 15px;
  mask-image: linear-gradient(135deg, #000, transparent 60%);
  content: "";
}

.feed-item:hover .feed-visual::before {
  transform: scale(1.08) rotate(-6deg);
}

.feed-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.feed-rank,
.feed-open {
  position: absolute;
  z-index: 2;
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.feed-rank {
  top: 20px;
  left: 20px;
  color: rgba(255,255,255,0.62);
}

.feed-open {
  right: 20px;
  bottom: 18px;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  transform: translateY(4px);
}

.feed-item:hover .feed-open {
  opacity: 1;
  transform: translateY(0);
}

.feed-item .score-rail {
  position: absolute;
  z-index: 2;
  top: auto;
  left: 20px;
  bottom: 20px;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  transform: none;
}

.feed-item .score-rail strong {
  display: block;
  color: #fff;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 0.76;
  letter-spacing: -0.075em;
}

.feed-item .score-rail span {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,0.54);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.feed-item .feed-body {
  padding: 16px 3px 0;
}

.feed-item-featured .feed-body {
  padding: 0;
}

.feed-meta {
  gap: 6px;
}

.feed-meta span {
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: #f5f6f4;
  color: #686d69;
  font: 750 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.feed-meta .feed-author-link {
  width: auto;
  min-width: 0;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.feed-meta .feed-author-link .author-link-logo {
  width: auto;
  min-width: 76px;
  height: 28px;
  padding: 0 10px;
  font-size: 9px;
}

.feed-item .feed-body h3 {
  display: -webkit-box;
  max-width: 680px;
  margin: 14px 0 9px;
  overflow: hidden;
  color: #111311;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: -0.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feed-item-featured .feed-body h3 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.05;
  -webkit-line-clamp: 3;
}

.feed-item .feed-body > p {
  max-width: 680px;
  color: #686d69;
  font-size: 14px;
  line-height: 1.58;
  -webkit-line-clamp: 2;
}

.feed-item .tag-row {
  width: 100%;
  gap: 6px;
  margin: 13px 0 0;
}

.feed-item .tag-row span {
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: #f5f6f4;
  color: #585d59;
  font-size: 9px;
}

.feed-signals {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid #e5e7e4;
}

.feed-signals span {
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #e5e7e4;
  border-radius: 0;
  background: transparent;
  color: #4e534f;
  font-size: 12px;
}

.feed-signals em {
  display: inline-block;
  min-width: 68px;
  color: #ff3b30;
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer {
  width: min(1240px, calc(100% - 48px));
}

.footer-growth {
  border: 0;
  border-radius: 24px;
  background: #111311;
  color: #fff;
}

.footer-growth h2,
.footer-metric strong {
  color: #fff;
}

.footer-growth .eyebrow {
  color: #ff5c52;
}

/* Reader */
.content-main {
  width: 100%;
  max-width: none;
  padding: 0 0 96px;
  background: #fff;
}

.content-detail {
  --reader-red: #ff3b30;
  --reader-ink: #111311;
  --reader-muted: #686d69;
  --reader-soft: #f5f6f4;
  --reader-line: #e5e7e4;
  min-height: 100vh;
}

.content-detail .reader-layout {
  display: block;
}

.content-detail .document-page {
  width: min(1240px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.detail-topbar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
}

.content-detail .detail-back-link,
.detail-brand {
  position: static;
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--reader-ink);
  font-size: 14px;
  font-weight: 760;
}

.content-detail .detail-back-overlay {
  position: absolute;
  z-index: 10;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(17,19,17,0.36);
  color: #fff;
  backdrop-filter: blur(10px);
}

.content-detail .detail-back-overlay:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.content-detail .detail-back-link > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--reader-line);
  border-radius: 50%;
  font-size: 17px;
}

.content-detail .detail-back-link:hover {
  background: transparent;
  color: var(--reader-ink);
}

.content-detail .detail-back-link:hover > span:first-child {
  background: var(--reader-soft);
}

.detail-brand > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--reader-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.content-detail .document-header {
  position: relative;
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-content: end;
  align-items: end;
  gap: 42px;
  overflow: hidden;
  margin: 0;
  padding: 48px;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 34%, rgba(255,59,48,0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 34%, rgba(255,59,48,0.18), transparent 22%),
    linear-gradient(125deg, #111312, #252b26 62%, #111312);
  color: #fff;
}

.content-detail .document-header::before,
.content-detail .document-header::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  content: "";
}

.content-detail .document-header::before {
  width: 540px;
  height: 540px;
  top: -290px;
  right: 1%;
}

.content-detail .document-header::after {
  width: 280px;
  height: 280px;
  right: 10%;
  bottom: -195px;
}

.detail-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.detail-hero-copy,
.detail-score-visual {
  position: relative;
  z-index: 2;
}

.content-detail .detail-meta span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.66);
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.content-detail h1 {
  max-width: 980px;
  margin: 18px 0 20px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.content-detail .detail-summary {
  max-width: 760px;
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  line-height: 1.58;
}

.content-detail .detail-taxonomy-row {
  margin-top: 22px;
}

.content-detail .detail-taxonomy-row .tag-row {
  gap: 6px;
}

.content-detail .detail-taxonomy-row .tag-row span {
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.66);
  font-size: 9px;
}

.content-detail .detail-author-link {
  gap: 8px;
  min-width: 0;
  min-height: 30px;
  padding: 3px 13px 3px 3px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  backdrop-filter: blur(8px);
}

.content-detail .detail-author-link:hover {
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.13);
}

.content-detail .detail-author-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font: 800 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.content-detail .detail-author-eyebrow {
  color: rgba(255,255,255,0.5);
  font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-detail .detail-author-name {
  max-width: 200px;
  overflow: hidden;
  color: #fff;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.005em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-detail .detail-author-arrow {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.detail-score-visual {
  display: grid;
  align-content: end;
  justify-items: end;
  text-align: right;
}

.detail-score-visual > span,
.detail-score-visual small {
  color: rgba(255,255,255,0.56);
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.11em;
}

.detail-score-visual > span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--reader-red);
  box-shadow: 0 0 0 7px rgba(255,59,48,0.14);
  content: "";
}

.detail-score-visual strong {
  margin: 18px 0 8px;
  font-size: 88px;
  line-height: 0.72;
  letter-spacing: -0.08em;
}

.document-header > .admin-status {
  display: none;
}

.detail-primer-wrap {
  padding: 54px 48px;
  border-bottom: 1px solid var(--reader-line);
}

.detail-primer-wrap .reader-primer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  max-width: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--reader-line);
  border-radius: 18px;
  background: #fff;
}

.detail-primer-wrap .reader-primer article {
  padding: 26px 28px;
}

.detail-primer-wrap .primer-why {
  border-right: 1px solid var(--reader-line);
  border-bottom: 0;
  background: var(--reader-soft);
}

.detail-primer-wrap .reader-primer span {
  color: var(--reader-red);
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-primer-wrap .reader-primer strong {
  margin-top: 12px;
  color: var(--reader-ink);
  font-size: 19px;
  line-height: 1.45;
  -webkit-line-clamp: unset;
}

.detail-primer-wrap .reader-primer p {
  color: var(--reader-muted);
}

.detail-primer-wrap .primer-insights li {
  max-height: none;
  color: #484d49;
  font-size: 13px;
  line-height: 1.55;
}

.detail-primer-wrap .primer-insights li::before {
  color: var(--reader-red);
}

.content-detail .document-workbench {
  display: block;
}

.content-detail .reading-column {
  width: min(850px, calc(100% - 96px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.content-detail .deep-reader {
  margin: 0;
}

.content-detail .deep-reader-head {
  position: sticky;
  top: 0;
  z-index: 8;
  align-items: center;
  margin: 0 0 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--reader-line);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
}

.content-detail .deep-reader-head .eyebrow {
  color: var(--reader-red);
  font: 800 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.11em;
}

.content-detail .deep-reader-head h2 {
  margin-top: 6px;
  color: var(--reader-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.content-detail .reader-mode {
  gap: 3px;
  margin: 0;
  padding: 3px;
  border-color: var(--reader-line);
  border-radius: 999px;
  background: var(--reader-soft);
}

.content-detail .reader-mode button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--reader-muted);
  font-size: 12px;
}

.content-detail .reader-mode button[aria-pressed="true"] {
  background: var(--reader-ink);
  color: #fff;
}

.content-detail .source-faithfulness {
  margin-bottom: 34px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--reader-soft);
  color: var(--reader-muted);
  font-size: 12px;
}

.content-detail .detail-body {
  max-width: 760px;
  margin: 0 auto;
  color: #343936;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.9;
}

.content-detail .detail-body h2,
.content-detail .detail-body h3,
.content-detail .detail-body h4,
.content-detail .detail-body h5 {
  color: var(--reader-ink);
  font-family: Inter, "PingFang SC", sans-serif;
  letter-spacing: -0.03em;
}

.content-detail .detail-body h3 {
  margin-top: 58px;
  font-size: 30px;
}

.content-detail .detail-body h4 {
  margin-top: 42px;
  font-size: 22px;
}

.content-detail .detail-body p {
  margin-bottom: 24px;
}

.content-detail .detail-body blockquote {
  padding: 20px 22px;
  border-left-color: var(--reader-red);
  border-radius: 0 12px 12px 0;
  background: var(--reader-soft);
}

.content-detail .detail-body pre {
  border: 0;
  border-radius: 14px;
  background: #171a18;
}

.content-detail a:focus-visible,
.content-detail button:focus-visible,
.feed-item:focus-visible {
  outline: 3px solid rgba(22,119,255,0.35);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .feed-item-featured {
    display: block;
  }

  .feed-item-featured .feed-body {
    padding-top: 18px;
  }

  .content-detail .document-header {
    grid-template-columns: 1fr;
  }

  .detail-score-visual {
    display: none;
  }
}

@media (max-width: 680px) {
  .app-shell,
  .workspace-main,
  .footer,
  .content-detail .document-page {
    width: min(100% - 24px, 1240px);
  }

  .topbar {
    min-height: 58px;
  }

  .brand small {
    display: none;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 12px;
  }

  .workspace-intro {
    display: block;
    min-height: 360px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .workspace-intro h1 {
    margin-top: 14px;
    font-size: clamp(46px, 14vw, 64px);
  }

  .feed-live-status {
    position: absolute;
    right: 24px;
    bottom: 28px;
  }

  .feed-live-status strong {
    font-size: 50px;
  }

  .feed-section-heading {
    padding: 42px 2px 20px;
  }

  .feed-section-heading h2 {
    font-size: 30px;
  }

  .feed-list {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .feed-item-featured {
    grid-column: auto;
    padding-bottom: 38px;
  }

  .feed-item-featured .feed-body h3,
  .feed-item .feed-body h3 {
    font-size: 22px;
    line-height: 1.26;
  }

  .feed-signals span {
    white-space: normal;
  }

  .detail-topbar {
    min-height: 58px;
  }

  .content-detail .detail-back-link > span:last-child,
  .detail-brand strong {
    display: none;
  }

  .content-detail .detail-back-overlay {
    top: 14px;
    left: 14px;
  }

  .content-detail .document-header {
    min-height: 480px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .content-detail h1 {
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 1;
  }

  .content-detail .detail-summary {
    font-size: 15px;
  }

  .content-detail .detail-taxonomy-row .tag-row {
    margin-top: 10px;
  }

  .detail-primer-wrap {
    padding: 38px 12px;
  }

  .detail-primer-wrap .reader-primer {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .detail-primer-wrap .primer-why {
    border-right: 0;
    border-bottom: 1px solid var(--reader-line);
  }

  .detail-primer-wrap .reader-primer article {
    padding: 22px 20px;
  }

  .content-detail .reading-column {
    width: calc(100% - 24px);
    padding: 40px 0 64px;
  }

  .content-detail .deep-reader-head {
    position: static;
    align-items: flex-start;
    background: transparent;
  }

  .content-detail .reader-mode {
    width: 100%;
  }

  .content-detail .reader-mode button {
    flex: 1;
  }

  .content-detail .detail-body {
    font-size: 16px;
    line-height: 1.85;
  }

  .content-detail .detail-body h3 {
    margin-top: 44px;
    font-size: 26px;
  }

  .content-detail .detail-body h4 {
    font-size: 20px;
  }
}

/* Unified channel system: search */
.search-main {
  width: 100%;
  max-width: none;
  padding: 0 0 96px;
  background: #fff;
}

.search-main .search-page {
  width: min(1240px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
}

.search-hero {
  position: relative;
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: end;
  gap: 56px;
  overflow: clip;
  padding: 48px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 31%, rgba(255,59,48,0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 31%, rgba(255,59,48,0.2), transparent 22%),
    linear-gradient(125deg, #111312, #252b26 62%, #111312);
  color: #fff;
}

.search-hero::before,
.search-hero::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 50%;
  content: "";
}

.search-hero::before {
  width: 520px;
  height: 520px;
  top: -270px;
  right: 1%;
}

.search-hero::after {
  width: 280px;
  height: 280px;
  right: 12%;
  bottom: -195px;
}

.search-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.search-hero-copy,
.search-main .search-box {
  position: relative;
  z-index: 2;
}

.search-hero-copy .eyebrow,
.search-result-heading .eyebrow {
  color: #ff5c52;
  font: 800 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.13em;
}

.search-main .search-page h1 {
  max-width: 620px;
  margin: 16px 0 20px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.search-hero-copy > p:last-child {
  max-width: 480px;
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  line-height: 1.6;
}

.search-main .search-box {
  position: static;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.search-main .search-box label {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.search-main .search-box > p {
  margin: 8px 0 20px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.search-main .search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.search-main .search-row input {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  color: #111311;
  font-size: 15px;
}

.search-main .search-row input::placeholder {
  color: #8b8f8c;
}

.search-main .search-row button {
  display: inline-flex;
  min-width: 112px;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  background: #ff3b30;
  color: #fff;
  font-size: 14px;
  font-weight: 780;
}

.search-main .search-row button:hover {
  background: #ff544a;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.search-suggestions button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font: 750 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

.search-suggestions button:hover {
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.search-result-section {
  padding: 56px 4px 0;
}

.search-result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7e4;
}

.search-result-heading h2 {
  margin: 7px 0 0;
  color: #111311;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 34px;
  letter-spacing: -0.045em;
}

.search-result-heading > span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f6f4;
  color: #686d69;
  font-size: 12px;
  font-weight: 700;
}

.search-main .search-results {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.search-main .search-results > p {
  margin: 0;
  padding: 56px 0;
  color: #777c78;
  font-size: 15px;
}

.search-main .search-result-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 34px;
  gap: 26px;
  align-items: center;
  min-height: 190px;
  padding: 28px 4px;
  border: 0;
  border-bottom: 1px solid #e5e7e4;
  border-radius: 0;
  background: transparent;
  color: #111311;
  transition: background 180ms ease;
}

.search-main .search-result-card:hover {
  border-color: #e5e7e4;
  background: #fafbfa;
}

.search-result-signal {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: end;
  overflow: hidden;
  padding: 15px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,59,48,0.9) 0 2px, transparent 3px),
    linear-gradient(145deg, #1b211d, #111311);
  color: #fff;
}

.search-result-signal::after {
  position: absolute;
  width: 92px;
  height: 92px;
  right: -36px;
  bottom: -52px;
  border: 15px solid rgba(255,59,48,0.76);
  border-radius: 50%;
  content: "";
}

.search-result-signal > span,
.search-result-signal small {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.54);
  font: 800 7px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
}

.search-result-signal > span {
  position: absolute;
  top: 13px;
  left: 13px;
}

.search-result-signal strong {
  position: relative;
  z-index: 1;
  margin-bottom: 7px;
  color: #fff;
  font-size: 44px;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.search-result-body {
  min-width: 0;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.search-main .search-result-meta span {
  display: inline-flex;
  margin: 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: #f5f6f4;
  color: #686d69;
  font: 750 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.search-result-body > strong {
  color: #111311;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.search-result-body > small {
  display: -webkit-box;
  max-width: 780px;
  overflow: hidden;
  margin-top: 9px;
  color: #686d69;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-main .search-match-row {
  gap: 6px;
  margin-top: 14px;
}

.search-main .search-match-row span {
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: #f5f6f4;
  color: #555a56;
  font-size: 9px;
}

.search-result-arrow {
  color: #777c78;
  font-size: 22px;
  transition: color 160ms ease, transform 160ms ease;
}

.search-result-card:hover .search-result-arrow {
  color: #ff3b30;
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .search-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .search-main .search-page {
    width: min(100% - 24px, 1240px);
  }

  .search-hero {
    min-height: 0;
    align-content: start;
    align-items: start;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .search-main .search-page h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .search-main .search-box {
    padding: 20px;
    border-radius: 15px;
  }

  .search-main .search-row {
    grid-template-columns: 1fr;
  }

  .search-main .search-row button {
    width: 100%;
  }

  .search-result-section {
    padding-top: 42px;
  }

  .search-result-heading h2 {
    font-size: 30px;
  }

  .search-main .search-result-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 24px 0;
  }

  .search-result-signal {
    min-height: 108px;
    padding: 12px;
  }

  .search-result-signal strong {
    font-size: 36px;
  }

  .search-result-body > strong {
    font-size: 18px;
  }

  .search-result-body > small {
    -webkit-line-clamp: 3;
  }

  .search-main .search-result-arrow {
    display: none;
  }

  .search-main .search-match-row {
    grid-column: 1 / -1;
  }
}

/* Final feed hierarchy overrides. Keep after the unified channel styles. */
.content-detail .document-header {
  min-height: 380px;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 32px;
  padding: 38px 44px;
  border-radius: 20px;
}

.content-detail h1 {
  max-width: 900px;
  margin: 14px 0 16px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1;
}

.content-detail .detail-summary {
  max-width: 800px;
  font-size: 15px;
}

.content-detail .detail-taxonomy-row {
  margin-top: 18px;
}

.detail-score-visual strong {
  margin: 14px 0 10px;
  font-size: 66px;
}

.detail-score-visual small {
  max-width: 140px;
  line-height: 1.45;
}

.detail-primer-wrap {
  padding: 34px 0 40px;
}

.detail-primer-wrap .reader-primer {
  width: min(820px, calc(100% - 88px));
  margin-inline: auto;
  border-radius: 14px;
}

.detail-primer-wrap .reader-primer article {
  min-height: 170px;
  padding: 22px 24px;
}

.content-detail .reading-column {
  width: min(820px, calc(100% - 88px));
  padding-top: 42px;
}

.content-detail .detail-body {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.86;
}

.search-hero {
  min-height: 330px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  gap: 44px;
  padding: 38px 44px;
  border-radius: 20px;
}

.search-main .search-page h1 {
  max-width: 520px;
  margin-top: 12px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 0.98;
}

.search-main .search-box {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.search-main .search-row input,
.search-main .search-row button {
  min-height: 52px;
}

.search-result-section {
  padding-top: 38px;
}

.search-main .search-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.search-main .search-result-card {
  grid-template-columns: 92px minmax(0, 1fr) 22px;
  gap: 16px;
  min-height: 170px;
  padding: 14px;
  border: 1px solid #e5e7e4;
  border-radius: 14px;
  background: #fff;
}

.search-result-signal {
  min-height: 140px;
  padding: 12px;
  border-radius: 10px;
}

.search-result-signal strong {
  font-size: 38px;
}

.search-result-body > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result-body > small {
  font-size: 12px;
  -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
  .content-detail .document-header {
    min-height: 360px;
    grid-template-columns: 1fr;
  }

  .search-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .search-main .search-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .content-detail .document-header {
    min-height: 390px;
    padding: 26px 22px;
  }

  .content-detail h1 {
    font-size: clamp(34px, 9.8vw, 43px);
    line-height: 1.03;
  }

  .content-detail .detail-taxonomy-row .tag-row {
    display: none;
  }

  .detail-primer-wrap {
    padding: 24px 0 30px;
  }

  .detail-primer-wrap .reader-primer {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .detail-primer-wrap .reader-primer article {
    min-height: 0;
    padding: 20px;
  }

  .content-detail .reading-column {
    width: 100%;
    padding: 30px 0 60px;
  }

  .content-detail .deep-reader-head {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .search-hero {
    gap: 22px;
    padding: 28px 22px;
  }

  .search-main .search-page h1 {
    max-width: 100%;
    font-size: 40px;
  }

  .search-main .search-result-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    min-height: 150px;
    padding: 10px;
  }

  .search-result-signal {
    min-height: 128px;
  }
}

.workspace {
  padding-bottom: 72px;
}

.workspace-intro {
  min-height: 300px;
  grid-template-columns: minmax(0, 1fr) 160px;
  padding: 38px 44px;
  border-radius: 20px;
}

.workspace-intro h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.94;
}

.workspace-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.feed-live-status strong {
  font-size: 58px;
}

.feed-section-heading {
  padding-top: 38px;
  padding-bottom: 18px;
}

.score-legend {
  max-width: 330px;
  text-align: right;
  line-height: 1.45;
}

.score-legend strong {
  color: #303431;
  font-weight: 800;
}

.feed-list {
  gap: 30px 22px;
}

.feed-item-featured {
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  padding-bottom: 34px;
}

.feed-item-featured .feed-visual {
  aspect-ratio: 16 / 8.4;
}

.feed-item-compact {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 220px;
  padding: 14px;
  border: 1px solid #e5e7e4;
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feed-item-compact:hover,
.feed-item-compact:focus-visible {
  border: 1px solid #cfd3cf;
  box-shadow: 0 14px 34px rgba(17, 19, 17, 0.07);
  transform: translateY(-2px);
}

.feed-item-compact .feed-visual {
  min-height: 190px;
  aspect-ratio: auto;
  border-radius: 11px;
}

.feed-item-compact .feed-visual::before {
  right: -155px;
  bottom: -118px;
  width: 260px;
  height: 260px;
  border-width: 34px;
}

.feed-item-compact .feed-rank {
  top: 14px;
  left: 14px;
}

.feed-item-compact .feed-open {
  display: none;
}

.feed-item-compact .score-rail {
  left: 14px;
  bottom: 16px;
}

.feed-item-compact .score-rail strong {
  font-size: 46px;
  line-height: 0.82;
}

.feed-item-compact .score-rail span {
  margin-top: 9px;
  font-size: 7px;
}

.feed-item-compact .feed-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2px 2px 0;
}

.feed-item-compact .feed-body h3 {
  margin-top: 11px;
  font-size: 20px;
  line-height: 1.25;
}

.feed-item-compact .feed-body > p {
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.feed-item-compact .tag-row {
  margin-top: 10px;
}

.feed-item-compact .tag-row span:nth-child(n + 3) {
  display: none;
}

.feed-item-compact .feed-signals {
  margin-top: auto;
  padding-top: 10px;
  border-top: 0;
}

.feed-item-compact .feed-signals span {
  padding: 9px 0 0;
  border-top: 1px solid #e5e7e4;
  border-bottom: 0;
}

.feed-item-compact .feed-signals span:nth-child(2) {
  display: none;
}

.feed-item-compact .feed-signals em {
  min-width: 58px;
}

.feed-meta .meta-signal {
  background: #eef5ff;
  color: #1767b8;
}

.feed-meta .meta-value {
  background: #fff4e7;
  color: #a65d10;
}

.feed-meta .meta-stage {
  color: #676c68;
}

@media (max-width: 900px) {
  .workspace-intro {
    min-height: 280px;
  }

  .feed-item-featured {
    grid-template-columns: 1fr;
  }

  .feed-item-featured .feed-visual {
    aspect-ratio: 16 / 8;
  }

  .feed-item-featured .feed-body {
    padding-top: 16px;
  }

  .feed-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .workspace {
    padding-bottom: 54px;
  }

  .workspace-intro {
    min-height: 290px;
    padding: 28px 22px;
  }

  .workspace-intro h1 {
    max-width: 96%;
    font-size: 40px;
    line-height: 0.98;
  }

  .workspace-copy {
    max-width: 78%;
    font-size: 13px;
  }

  .feed-live-status {
    right: 22px;
    bottom: 24px;
  }

  .feed-live-status strong {
    font-size: 44px;
  }

  .feed-section-heading {
    align-items: flex-start;
    padding-top: 32px;
  }

  .score-legend {
    max-width: 145px;
    font-size: 10px;
  }

  .feed-item-featured .feed-visual {
    aspect-ratio: 4 / 3;
  }

  .feed-item-compact {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 13px;
    min-height: 210px;
    padding: 10px;
    border-radius: 14px;
  }

  .feed-item-compact .feed-visual {
    min-height: 188px;
  }

  .feed-item-compact .score-rail strong {
    font-size: 38px;
  }

  .feed-item-compact .feed-meta .meta-stage,
  .feed-item-compact .feed-meta .feed-author-link {
    display: none;
  }

  .feed-item-compact .feed-body h3 {
    font-size: 18px;
  }

  .feed-item-compact .feed-body > p {
    -webkit-line-clamp: 3;
  }

  .feed-item-compact .tag-row {
    display: none;
  }
}

/* Cover cascade guard. This block intentionally closes the stylesheet. */
.feed-item .feed-visual.cover-visual {
  background:
    radial-gradient(circle at var(--cover-shift) 28%, color-mix(in srgb, var(--cover-accent) 22%, transparent), transparent 30%),
    linear-gradient(145deg, #1c231f, #101311);
}

.feed-item .feed-visual.cover-visual::before,
.feed-item .feed-visual.cover-visual::after {
  display: none;
  content: none;
}

.feed-item .feed-visual.cover-has-image::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, rgba(10, 14, 12, 0.72), rgba(10, 14, 12, 0.12) 72%);
  content: "";
}

.feed-item:hover .feed-visual.cover-visual::before {
  transform: none;
}

.feed-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0 0.5rem;
}

.feed-sentinel {
  width: 100%;
  height: 1px;
}

.feed-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted, #8a8f8c);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.feed-status:not(:empty)::before {
  display: inline-block;
  margin-right: 0.45rem;
  content: "·";
  opacity: 0.6;
}

/* Article cover image on the detail page (between hero header and primer). */
.content-detail .detail-cover {
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: 20px;
}

.content-detail .detail-cover img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

@media (max-width: 680px) {
  .content-detail .detail-cover {
    border-radius: 14px;
  }

  .content-detail .detail-cover img {
    max-height: 280px;
  }
}

/* Inline figures within the article body (markdown ![](url)). */
.content-detail .detail-body .body-figure {
  margin: 28px 0;
}

.content-detail .detail-body .body-figure img,
.content-detail .detail-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Detail page vertical density: shorter hero/cover and tighter block rhythm so
   readers reach the substance faster (desktop only; mobile spacing unchanged). */
@media (min-width: 681px) {
  .content-detail .document-header {
    min-height: 290px;
    padding: 28px 44px;
  }

  .content-detail .detail-cover {
    margin-top: 12px;
  }

  .content-detail .detail-cover img {
    max-height: 340px;
  }

  .detail-primer-wrap {
    padding: 22px 0 28px;
  }

  .detail-primer-wrap .reader-primer article {
    min-height: 0;
    padding: 20px 24px;
  }

  .content-detail .reading-column {
    padding: 24px 0 56px;
  }

  .content-detail .deep-reader-head {
    margin-bottom: 18px;
  }

  .content-detail .detail-body h3 {
    margin-top: 40px;
  }

  .content-detail .detail-body h4 {
    margin-top: 30px;
  }

  .content-detail .detail-body p {
    margin-bottom: 18px;
  }

  .content-detail .detail-body .body-figure {
    margin: 22px 0;
  }
}

/* Feed channel tabs: 文章 / 动态 / 讨论 (appended; new selectors, no conflicts) */
.feed-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
}
.feed-channel {
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(16, 35, 29, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #3a403b;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.feed-channel:hover {
  border-color: rgba(16, 35, 29, 0.3);
}
.feed-channel.is-active {
  background: #111311;
  border-color: #111311;
  color: #fff;
}

/* Inline cards for short social content: 动态 / 讨论 stay readable in the feed. */
.feed-list-inline {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
}

.feed-item-inline {
  cursor: default;
}

.feed-item-inline:hover,
.feed-item-inline:focus-visible {
  border-color: #d7dbd7;
  box-shadow: 0 10px 28px rgba(17, 19, 17, 0.06);
  transform: none;
}

.feed-item-inline.feed-item-featured,
.feed-item-inline.feed-item-compact {
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 0;
  padding: 16px;
}

.feed-item-inline .feed-visual {
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 10px;
}

.feed-item-inline .feed-visual .cover-art,
.feed-item-inline .feed-visual .cover-topic,
.feed-item-inline .feed-open {
  display: none;
}

.feed-item-inline .feed-rank {
  top: 12px;
  left: 12px;
  max-width: 72px;
  white-space: normal;
}

.feed-item-inline .score-rail {
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
}

.feed-item-inline .score-rail strong {
  font-size: 34px;
}

.feed-item-inline .feed-body {
  padding: 2px 0 0;
}

.feed-item-inline .feed-body h3 {
  max-width: none;
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.28;
  -webkit-line-clamp: 3;
}

.feed-item-inline .feed-body > p {
  display: none;
}

.inline-feed-brief {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #e4e7e2;
  border-radius: 8px;
  background: #fafbf7;
}

.inline-feed-brief span,
.inline-feed-footer span {
  color: #777d78;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.inline-feed-brief p {
  max-width: none;
  margin-top: 8px;
  color: #303431;
  font-size: 14px;
  line-height: 1.55;
}

.inline-feed-brief.is-collapsed p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.inline-feed-expand {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111311;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.inline-feed-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.inline-feed-actions span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e4e7e2;
  border-radius: 8px;
  background: #fff;
  color: #4d5350;
  font-size: 12px;
  line-height: 1.42;
}

.inline-feed-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.inline-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cfd5cf;
  border-radius: 6px;
  color: #111311;
  font-size: 13px;
  font-weight: 760;
}

.inline-source-link:hover,
.inline-source-link:focus-visible {
  border-color: #111311;
  background: #111311;
  color: #fff;
}

@media (max-width: 680px) {
  .feed-item-inline.feed-item-featured,
  .feed-item-inline.feed-item-compact {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .feed-item-inline .feed-visual {
    display: none;
  }

  .feed-item-inline .feed-body h3 {
    font-size: 18px;
  }

  .inline-feed-brief {
    padding: 12px;
  }

  .inline-feed-brief p {
    font-size: 14px;
  }

  .inline-feed-brief.is-collapsed p {
    -webkit-line-clamp: 8;
  }

  .inline-feed-actions {
    grid-template-columns: 1fr;
  }
}
