/* ==========================================================================
 * 酷可古籍 4.18.0-dev — 历代人物、词表索引与人物详情纸墨样式 (cb-people.css)
 * 纯纸墨单色博物馆美学 · 常规字重 400 · 整数字号 (>=11px) · 零毛玻璃模糊
 * ========================================================================== */

:root {
  --cbp-bg: var(--cb-canvas, #f3f3f3);
  --cbp-paper: var(--cb-paper, #ffffff);
  --cbp-mat: var(--cb-fill, #f7f7f7);
  --cbp-ink: var(--cb-ink-near, #0a0a0a);
  --cbp-muted: var(--cb-muted, #6b6b6b);
  --cbp-border: var(--cb-line, #e8e8e8);
  --cbp-border-hover: rgba(10, 10, 10, 0.24);
  --cbp-ring-verified: rgba(10, 10, 10, 0.18);
  --cbp-shadow-card: 0 1px 2px rgba(10, 10, 10, 0.03), 0 4px 12px -6px rgba(10, 10, 10, 0.05);
  --cbp-shadow-hover: 0 8px 20px -12px rgba(10, 10, 10, 0.12), 0 2px 6px -2px rgba(10, 10, 10, 0.04);
  --cbp-shadow-portrait: 0 3px 12px rgba(10, 10, 10, 0.08), 0 0 0 1px rgba(10, 10, 10, 0.06);
  --cbp-active-bg: var(--cb-accent, #0a0a0a);
  --cbp-active-fg: var(--cb-on-accent, #ffffff);
  --cbp-dot-opacity: 0.42;
}

html.cb-dark,
html.dark,
[data-theme="dark"] {
  --cbp-bg: var(--cb-canvas, #111113);
  --cbp-paper: var(--cb-paper, #1c1c1c);
  --cbp-mat: var(--cb-fill, #222226);
  --cbp-ink: var(--cb-ink-near, #f5f5f5);
  --cbp-muted: var(--cb-muted, #a1a1a1);
  --cbp-border: var(--cb-line, #2c2c30);
  --cbp-border-hover: rgba(255, 255, 255, 0.24);
  --cbp-ring-verified: rgba(255, 255, 255, 0.22);
  --cbp-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.28);
  --cbp-shadow-hover: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
  --cbp-shadow-portrait: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 0 1px #2c2c30;
  --cbp-active-bg: #f5f5f5;
  --cbp-active-fg: #111113;
  --cbp-dot-opacity: 0.50;
}

/* ---------- 1. 宣纸篆印头像与初认肖像框 (.cb-seal-avatar / .cb-portrait-img) ---------- */
.cb-seal-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cbp-mat);
  border: 1px solid var(--cbp-border);
  color: var(--cbp-ink);
  font-family: var(--cb-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  user-select: none;
  transition: border-color var(--cb-dur) var(--cb-ease), background var(--cb-dur) var(--cb-ease);
}
.cb-seal-avatar--verified {
  border-color: var(--cbp-border-hover);
  box-shadow: inset 0 0 0 3px var(--cbp-mat), inset 0 0 0 4px var(--cbp-ring-verified);
}
.cb-seal-avatar--lg {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  font-size: 32px;
}
.cb-seal-avatar--lg.cb-seal-avatar--verified {
  box-shadow: inset 0 0 0 5px var(--cbp-mat), inset 0 0 0 6px var(--cbp-ring-verified);
}
.cb-seal-avatar[hidden],
.cb-portrait-img[hidden] {
  display: none;
}

.cb-portrait-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  background: var(--cbp-mat);
  border: 1px solid var(--cbp-border);
  flex-shrink: 0;
  display: block;
  box-sizing: border-box;
}
.cb-portrait-img--lg {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  box-shadow: var(--cbp-shadow-portrait);
}

/* ---------- 2. 词表索引总览 2×3 精装卡片矩阵 (/reference) ---------- */
.cb-ref-index .cb-page-head__lede,
.cb-ref-page .cb-page-head__lede {
  max-width: 52rem;
}
.cb-page-head__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cb-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.cb-ref-grid > li {
  display: flex;
  min-width: 0;
}
.cb-ref-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 14px;
  box-shadow: var(--cbp-shadow-card);
  box-sizing: border-box;
  transition: border-color var(--cb-dur) var(--cb-ease), box-shadow var(--cb-dur) var(--cb-ease);
}
.cb-ref-card:hover {
  border-color: var(--cbp-border-hover);
  box-shadow: var(--cbp-shadow-hover);
}
.cb-ref-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.cb-ref-card__ident {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cb-ref-card__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cbp-mat);
  border: 1px solid var(--cbp-border);
  color: var(--cbp-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cb-ref-card__ico svg {
  width: 18px;
  height: 18px;
}
.cb-ref-card__titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cb-ref-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cbp-ink);
}
.cb-ref-card__title a {
  color: inherit;
  text-decoration: none;
}
.cb-ref-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-ref-card__sub {
  margin: 0;
  font-size: 12px;
  color: var(--cbp-muted);
  line-height: 1.4;
}
.cb-ref-card__count {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--cbp-bg);
  border: 1px solid var(--cbp-border);
  font-size: 12px;
  color: var(--cbp-muted);
  font-variant-numeric: tabular-nums;
}
.cb-ref-card__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  align-content: flex-start;
}
.cb-ref-card__terms > li {
  max-width: 100%;
  min-width: 0;
}
.cb-ref-term {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--cbp-bg);
  border: 1px solid var(--cbp-border);
  color: var(--cbp-ink);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  box-sizing: border-box;
  transition: background var(--cb-dur) var(--cb-ease), border-color var(--cb-dur) var(--cb-ease);
}
.cb-ref-term:hover {
  background: var(--cbp-mat);
  border-color: var(--cbp-border-hover);
  text-decoration: none;
}
.cb-ref-term__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cb-ref-term__n {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--cbp-muted);
  font-variant-numeric: tabular-nums;
}
.cb-ref-card__empty {
  margin: 0;
  font-size: 12px;
  color: var(--cbp-muted);
  line-height: 1.6;
}
.cb-ref-card__foot {
  padding-top: 12px;
  border-top: 1px solid var(--cbp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cb-ref-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--cbp-ink);
  text-decoration: none;
}
.cb-ref-card__more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-ref-card__hint {
  font-size: 11px;
  color: var(--cbp-muted);
}

.cb-ref-atlas-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 14px;
}
.cb-ref-atlas-callout__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--cbp-muted);
  flex: 1 1 320px;
}
.cb-ref-atlas-callout__note strong {
  font-weight: 400;
  color: var(--cbp-ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- 3. 词表列表搜索框、拼音 A–Z 筛选条与等高人物卡网格 ---------- */
.cb-ref-page .cb-ref-filter {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cbp-bg);
  border: 1px solid var(--cbp-border);
  box-shadow: none;
}
.cb-ref-page .cb-ref-filter:focus-within {
  background: var(--cbp-paper);
  border-color: var(--cbp-border-hover);
}
.cb-ref-filter__ico {
  color: var(--cbp-muted);
  flex-shrink: 0;
}
.cb-ref-body ul.references-list li .cb-chip,
.cb-ref-body ul.reference-list li .cb-chip {
  white-space: nowrap;
  flex-shrink: 0;
}

/* 单行汉语拼音首字母 A–Z 筛选条 */
.cb-pinyin-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 8px;
  margin: 14px 0 22px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 12px;
}
.cb-pinyin-bar::-webkit-scrollbar {
  display: none;
}
.cb-pinyin-bar__label {
  flex-shrink: 0;
  padding: 0 8px 0 4px;
  margin-right: 4px;
  border-right: 1px solid var(--cbp-border);
  font-size: 12px;
  color: var(--cbp-muted);
  white-space: nowrap;
}
.cb-pinyin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--cbp-muted);
  font-family: var(--cb-font-ui);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--cb-dur) var(--cb-ease), border-color var(--cb-dur) var(--cb-ease), color var(--cb-dur) var(--cb-ease);
}
.cb-pinyin-btn:hover {
  background: var(--cbp-mat);
  color: var(--cbp-ink);
  text-decoration: none;
}
.cb-pinyin-btn.is-on,
.cb-pinyin-btn[aria-pressed="true"] {
  background: var(--cbp-active-bg);
  border-color: var(--cbp-active-bg);
  color: var(--cbp-active-fg);
}

/* 统一等高人物卡片网格（/page/authors、/reference/creator 与人物页关联） */
.am-authors-grid,
.cb-authors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}
.am-authors-grid > li,
.cb-authors-grid > li {
  display: flex;
  min-width: 0;
}
.am-authors-grid > li[hidden],
.cb-authors-grid > li[hidden] {
  display: none;
}
.am-authors-grid .am-author-card,
.cb-authors-grid .am-author-card {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 12px;
  box-shadow: var(--cbp-shadow-card);
  box-sizing: border-box;
  text-decoration: none;
  transition: border-color var(--cb-dur) var(--cb-ease), background var(--cb-dur) var(--cb-ease), box-shadow var(--cb-dur) var(--cb-ease);
}
.am-authors-grid .am-author-card:hover,
.cb-authors-grid .am-author-card:hover {
  border-color: var(--cbp-border-hover);
  background: var(--cbp-mat);
  box-shadow: var(--cbp-shadow-hover);
  opacity: 1;
  text-decoration: none;
}
.am-authors-grid .am-author-info,
.cb-authors-grid .am-author-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.am-author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.am-authors-grid .am-author-name,
.cb-authors-grid .am-author-name {
  display: block;
  min-width: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cbp-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
}
.cb-author-verified-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cbp-ink);
  opacity: var(--cbp-dot-opacity);
  flex-shrink: 0;
}
.am-authors-grid .am-author-meta,
.cb-authors-grid .am-author-meta {
  font-size: 12px;
  color: var(--cbp-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.am-authors-grid .am-author-count,
.cb-authors-grid .am-author-count {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cbp-bg);
  border: 1px solid var(--cbp-border);
  font-size: 11px;
  color: var(--cbp-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. 历代人物详情页 (/item/<person_id>) ---------- */
.cb-person-page {
  min-width: 0;
  max-width: 100%;
}
.cb-person-crumb {
  padding-top: 22px;
  margin-bottom: 14px;
}

.cb-person-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  margin: 0 0 20px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 16px;
  box-shadow: var(--cbp-shadow-card);
}
.cb-person-hero__body {
  min-width: 0;
  flex: 1;
}
.cb-person-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}
.cb-person-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--cbp-ink);
  letter-spacing: 0.02em;
}
.cb-person-hero__en {
  font-size: 13px;
  color: var(--cbp-muted);
}
.cb-person-hero .cb-person-kicker {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--cbp-muted);
  font-variant-numeric: tabular-nums;
}
.cb-person-hero .cb-person-authority {
  margin-top: 12px;
  gap: 6px 8px;
}
.cb-person-hero .cb-auth-chip {
  background: var(--cbp-bg);
  border-color: var(--cbp-border);
  color: var(--cbp-ink);
  padding: 3px 10px;
  font-size: 12px;
}
.cb-person-hero .cb-auth-chip__k {
  color: var(--cbp-muted);
}
.cb-person-hero .cb-qid-badge {
  background: var(--cbp-bg);
  border-color: var(--cbp-border);
  color: var(--cbp-muted);
  padding: 3px 10px;
  text-decoration: none;
}
.cb-person-hero .cb-qid-badge:hover {
  background: var(--cbp-mat);
  border-color: var(--cbp-border-hover);
  color: var(--cbp-ink);
  text-decoration: none;
}

.cb-person-bio {
  padding: 20px 24px;
  margin: 0 0 22px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 14px;
}
.cb-person-bio p {
  margin: 0;
  font-family: var(--cb-font-body);
  font-size: 14px;
  line-height: 1.85;
  color: var(--cbp-ink);
}
.cb-person-bio .cb-bio-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--cbp-border);
  font-size: 11px;
  color: var(--cbp-muted);
}

/* 酷可诗词跨馆互通横幅：纯纸墨单色，消除挤压折行 */
.cb-person-page .cb-eco-card {
  margin: 0 0 28px;
  padding: 18px 20px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 14px;
  box-shadow: var(--cbp-shadow-card);
}
.cb-person-page .cb-eco-card__ico {
  background: var(--cbp-mat);
  border: 1px solid var(--cbp-border);
  color: var(--cbp-ink);
}
.cb-person-page .cb-eco-card__kicker {
  color: var(--cbp-muted);
}
.cb-person-page .cb-eco-card__text {
  color: var(--cbp-ink);
}
.cb-person-page .cb-eco-card__num {
  color: var(--cbp-ink);
  font-variant-numeric: tabular-nums;
}
.cb-person-page .cb-eco-poems {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--cbp-border);
}
.cb-person-page .cb-eco-poem-pill {
  max-width: 100%;
  min-width: 0;
  padding: 5px 12px;
  background: var(--cbp-bg);
  border: 1px solid var(--cbp-border);
  color: var(--cbp-ink);
  white-space: nowrap;
}
.cb-person-page .cb-eco-poem-pill > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cb-person-page .cb-eco-poem-pill small {
  flex-shrink: 0;
  color: var(--cbp-muted);
  white-space: nowrap;
}
.cb-person-page .cb-eco-poem-pill:hover {
  background: var(--cbp-mat);
  border-color: var(--cbp-border-hover);
}

/* 馆藏著作宽幅展陈卡（1–2 部著作时消除右侧 75% 空白） */
.cb-person-works--featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cb-person-works--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cb-work-feature {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  background: var(--cbp-paper);
  border: 1px solid var(--cbp-border);
  border-radius: 16px;
  box-shadow: var(--cbp-shadow-card);
  box-sizing: border-box;
  transition: border-color var(--cb-dur) var(--cb-ease), box-shadow var(--cb-dur) var(--cb-ease);
}
.cb-person-works--dual .cb-work-feature {
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}
.cb-work-feature:hover {
  border-color: var(--cbp-border-hover);
  box-shadow: var(--cbp-shadow-hover);
}
.cb-work-feature__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 16px;
  border-radius: 10px;
  background: var(--cbp-mat);
  box-shadow: inset 0 0 0 1px var(--cbp-border);
  overflow: hidden;
  text-decoration: none;
}
.cb-person-works--dual .cb-work-feature__media {
  min-height: 190px;
  padding: 12px;
}
.cb-work-feature__media img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.14), 0 0 0 1px var(--cbp-border);
  transition: transform 240ms var(--cb-ease);
}
.cb-work-feature__media:hover img {
  transform: scale(1.02);
}
.cb-work-feature__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-family: var(--cb-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--cbp-ink);
}
.cb-work-feature__fallback[hidden] {
  display: none;
}
.cb-work-feature__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.cb-work-feature__top {
  min-width: 0;
}
.cb-work-feature__title {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cbp-ink);
}
.cb-work-feature__title a {
  color: inherit;
  text-decoration: none;
}
.cb-work-feature__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-work-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.cb-work-feature__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--cbp-bg);
  border: 1px solid var(--cbp-border);
  font-size: 12px;
  color: var(--cbp-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cb-work-feature__desc {
  margin: 12px 0 0;
  font-family: var(--cb-font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--cbp-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cb-work-feature__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--cbp-border);
}
.cb-work-feature__acts .cb-btn {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

/* ---------- 5. 响应式断点（含 390px 移动端精修） ---------- */
@media (max-width: 1200px) {
  .am-authors-grid,
  .cb-authors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .cb-ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cb-person-works--dual {
    grid-template-columns: minmax(0, 1fr);
  }
  .cb-person-works--dual .cb-work-feature {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .am-authors-grid,
  .cb-authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cb-ref-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .cb-ref-card {
    padding: 16px;
  }
  .cb-ref-atlas-callout {
    padding: 14px 16px;
  }
  .cb-ref-page > .cb-panel {
    padding: 16px;
  }
  .am-authors-grid,
  .cb-authors-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .cb-person-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .cb-seal-avatar--lg,
  .cb-portrait-img--lg {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    font-size: 26px;
  }
  .cb-person-hero__title {
    font-size: 22px;
  }
  .cb-person-bio {
    padding: 16px;
  }
  .cb-person-page .cb-eco-card {
    padding: 16px;
  }
  .cb-person-page .cb-eco-card__main {
    flex-direction: column;
    align-items: flex-start;
  }
  .cb-person-page .cb-eco-card__cta {
    width: 100%;
    justify-content: center;
  }
  .cb-work-feature,
  .cb-person-works--dual .cb-work-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .cb-work-feature__media,
  .cb-person-works--dual .cb-work-feature__media {
    min-height: 180px;
  }
  .cb-work-feature__title {
    font-size: 18px;
  }
  .cb-work-feature__acts .cb-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
