/* === AUTHORSHIP BADGES ===
   Three variants share the same selector base `.auth-badge`:
     .auth-card    — small icon floating on bottom-right of card image
     .auth-header  — icon + label pill, next to article date/views
   And a separate `.auth-disclosure` block for the full footer disclosure. */

.auth-badge { font-family: var(--font-sans-cjk); }

/* ---- CARD: small circle on top row, right side (opposite category pill) ---- */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  min-height: 28px;            /* keep row height stable when no category */
}
.auth-badge.auth-card {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  border: 1.5px solid var(--auth-color-light);
}
@media (prefers-color-scheme: dark) {
  .auth-badge.auth-card { border-color: var(--auth-color-dark); }
}
[data-theme="dark"] .auth-badge.auth-card { border-color: var(--auth-color-dark); }

/* ---- HEADER: pill next to date/views in article-meta ---- */
.auth-badge.auth-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--auth-color-light);
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}
@media (prefers-color-scheme: dark) {
  .auth-badge.auth-header { background: var(--auth-color-dark); }
}
[data-theme="dark"] .auth-badge.auth-header { background: var(--auth-color-dark); }

.auth-badge .auth-icon { font-size: 0.95em; line-height: 1; }
.auth-badge .auth-label { font-family: var(--font-sans-cjk); }

/* ---- DISCLOSURE: full block at article footer ---- */
.auth-disclosure {
  max-width: var(--max-content);
  margin: var(--space-6) auto var(--space-5);
  padding: var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--auth-color-light);
  border-radius: var(--radius-md);
}
@media (prefers-color-scheme: dark) {
  .auth-disclosure { border-left-color: var(--auth-color-dark); }
}
[data-theme="dark"] .auth-disclosure { border-left-color: var(--auth-color-dark); }

.auth-disclosure-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-2);
}
.auth-disclosure-head .auth-icon { font-size: 1.5rem; line-height: 1; }
.auth-disclosure-label {
  font-family: var(--font-serif-cjk);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--auth-color-light);
}
@media (prefers-color-scheme: dark) {
  .auth-disclosure-label { color: var(--auth-color-dark); }
}
[data-theme="dark"] .auth-disclosure-label { color: var(--auth-color-dark); }

.auth-disclosure-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.auth-disclosure-body p { margin: 0; }
