/**
 * mudelms 插件/主题目录列表
 * 栏宽跟 /news/ cover 内栏走（1280 视口约 1140 @ x=70）；不要再 left 破出。
 */

.mcl-shell {
  --mcl-side: 70px;
  --mcl-wide: min(var(--wp--style--global--wide-size, 80rem), calc(100% - (2 * var(--mcl-side))));
  display: block;
  width: 100%;
  overflow-x: clip;
}
@media (max-width: 781px) {
  .mcl-shell {
    --mcl-side: 55px;
  }
}

.mcl-page {
  --mcl-ink: var(--wp--preset--color--contrast, #0a0a0a);
  --mcl-muted: color-mix(in srgb, var(--mcl-ink) 55%, #fff);
  --mcl-line: color-mix(in srgb, var(--mcl-ink) 10%, transparent);
  --mcl-panel: var(--wp--preset--color--neutral, #fff7ed);
  --mcl-card: var(--wp--preset--color--base, #ffffff);
  --mcl-primary: var(--wp--preset--color--primary, #f98012);
  --mcl-accent: var(--wp--preset--color--secondary, #e8600c);
  --mcl-radius: 16px;
  --mcl-radius-sm: 10px;
  --mcl-control-h: 2.85rem;
  width: var(--mcl-wide) !important;
  max-width: var(--mcl-wide) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 0 3rem;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--mcl-ink);
  position: relative;
  left: auto;
}
.mcl-page *,
.mcl-page *::before,
.mcl-page *::after {
  box-sizing: border-box;
}
.mcl-page,
.mcl-page * {
  font-weight: 400 !important;
}

/* —— 列表 cover hero（对齐 /news/ /forums/，高度跟内容走） —— */
.mcl-hero.wp-block-cover {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 605px !important;
  margin: 0 0 1.5rem;
  padding: 40px 0;
  width: 100%;
  max-width: none;
  left: auto;
  box-sizing: border-box;
}
.mcl-hero .wp-block-cover__image-background {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 50%;
  z-index: 0;
}
.mcl-hero.wp-duotone-contrast-and-white > .wp-block-cover__image-background {
  filter: url(#wp-duotone-contrast-and-white);
}
.mcl-hero .wp-block-cover__background {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mcl-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: var(--mcl-wide);
  max-width: var(--mcl-wide);
  margin-left: auto;
  margin-right: auto;
}
.mcl-hero .wp-block-columns,
.mcl-hero .wp-block-columns.alignwide {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.mcl-hero .docs-header {
  padding-top: var(--wp--preset--spacing--50, 2.5rem);
  padding-bottom: var(--wp--preset--spacing--50, 2.5rem);
}
.mcl-hero__title {
  margin: 0;
  font-size: 28px;
  letter-spacing: 2px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--wp--preset--color--base, #ffffff);
}
.mcl-hero__en {
  margin: 0.35rem 0 0;
  font-size: var(--wp--preset--font-size--x-small, 0.85rem);
  font-weight: 400;
  color: var(--wp--preset--color--base, #ffffff);
}
.mcl-hero__lede {
  display: none;
}
.mcl-hero__search {
  margin: 1rem 0 0;
}
.mcl-hero__search-row {
  display: flex;
  width: 100%;
  gap: 0;
}
.mcl-hero__search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 2.6rem;
  border: 1px solid var(--wp--preset--color--neutral, #fff7ed);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  padding: 0 0.9rem;
  font-size: var(--wp--preset--font-size--x-small, 0.85rem);
  font-weight: 400;
  background: transparent;
  color: #fff;
}
.mcl-hero__search-input::placeholder {
  color: rgb(255 255 255 / 75%);
}
.mcl-hero__search-btn {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--wp--preset--color--neutral, #fff7ed);
  border-radius: 0 10px 10px 0;
  background: var(--wp--preset--color--contrast, #0a0a0a);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.mcl-hero__search-btn .search-icon {
  fill: currentColor;
}
.mcl-hero__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.mcl-hero__switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 5px 1.1rem;
  border-radius: 15px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}
.mcl-hero__switch-btn:hover,
.mcl-hero__switch-btn.is-active {
  background: #fff;
  color: var(--mcl-primary, #f98012);
}
.mcl-hero__teasers {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 14px;
}
.mcl-hero__teaser {
  margin: 0 0 0.45rem;
  padding: 0;
  line-height: 1.45;
}
.mcl-hero__teaser a {
  color: var(--wp--preset--color--base, #ffffff);
  text-decoration: none;
  font-weight: 400;
}
.mcl-hero__teaser a:hover {
  color: var(--wp--preset--color--neutral, #fff7ed);
}
.mcl-hero__count {
  margin: 0.8rem 0 0;
  font-size: 14px;
  color: var(--mcl-muted);
}
.mcl-author-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--mcl-line);
  border-radius: var(--mcl-radius);
  background: var(--mcl-card);
  overflow: hidden;
}
.mcl-author-index__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--mcl-line);
}
.mcl-author-index__row:last-child {
  border-bottom: 0;
}
.mcl-author-index__name {
  color: var(--mcl-ink);
  text-decoration: none;
  font-size: 1.05rem;
}
.mcl-author-index__name:hover {
  color: var(--mcl-primary);
}
.mcl-author-index__n {
  font-variant-numeric: tabular-nums;
  color: var(--mcl-muted);
  font-size: 0.9rem;
}

@media (max-width: 781px) {
  .mcl-hero__spacer {
    display: none;
  }
  .mcl-hero__copy {
    flex-basis: 100% !important;
  }
}

/* 旧页头（cover 上线后不再输出） */
.mcl-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin: 0 0 1.35rem;
  padding: 2.15rem 2.25rem 1.9rem;
  border-radius: calc(var(--mcl-radius) + 2px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--mcl-primary) 16%, #fff) 0%, var(--mcl-panel) 55%, #fff 100%);
  border: 1px solid color-mix(in srgb, var(--mcl-primary) 16%, transparent);
  min-height: 9.5rem;
}
.mcl-page__head-text {
  min-width: 0;
  flex: 1 1 auto;
}
.mcl-page__title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--mcl-ink);
  line-height: 1.12;
}
.mcl-page__lede {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mcl-muted);
  max-width: 40rem;
}
.mcl-page__count {
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--mcl-muted);
  white-space: nowrap;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 78%, transparent);
  border: 1px solid var(--mcl-line);
}
.mcl-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.mcl-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--mcl-primary) 45%, transparent);
  color: var(--mcl-accent);
  background: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
}
.mcl-switch__btn:hover {
  border-color: var(--mcl-primary);
  color: var(--mcl-primary);
}
.mcl-switch__btn.is-active {
  background: var(--mcl-primary);
  border-color: var(--mcl-primary);
  color: #fff;
}

/* —— 过滤器 —— */
.mcl-page .wcu-filters {
  background: var(--mcl-card);
  border: 1px solid var(--mcl-line);
  border-radius: var(--mcl-radius);
  padding: 1.35rem 1.5rem;
  margin: 0 0 1.5rem;
  box-shadow: 0 0 10px rgb(10 10 10 / 4%);
}
.mcl-page .wcu-filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1rem;
}
.mcl-page .wcu-filters__field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  margin: 0;
  min-width: 0;
}
.mcl-page .wcu-filters__field:first-child {
  flex: 1.4 1 13rem;
  min-width: 11rem;
}
.mcl-page .wcu-filters__field:not(:first-child) {
  flex: 1 1 9.5rem;
  max-width: 13rem;
}
.mcl-page .wcu-filters__actions,
.mcl-page .wcu-filters__submit {
  flex: 0 0 auto;
}
.mcl-page .wcu-filters__label,
.mcl-page .wcu-filters__field > .screen-reader-text {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: nowrap !important;
  border: 0 !important;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  color: var(--mcl-muted);
}
.mcl-page .wcu-filters input[type="search"],
.mcl-page .wcu-filters input[type="text"],
.mcl-page .wcu-filters select {
  height: var(--mcl-control-h);
  min-height: var(--mcl-control-h);
  max-height: var(--mcl-control-h);
  border-radius: var(--mcl-radius-sm);
  border: 1px solid var(--mcl-line);
  background: #fff;
  padding: 0 0.95rem;
  font-size: 0.98rem;
  line-height: var(--mcl-control-h);
  color: var(--mcl-ink);
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.mcl-page .wcu-filters select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mcl-muted) 50%),
    linear-gradient(135deg, var(--mcl-muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.75rem;
}
.mcl-page .wcu-filters input:focus,
.mcl-page .wcu-filters select:focus {
  outline: 2px solid color-mix(in srgb, var(--mcl-primary) 40%, transparent);
  outline-offset: 1px;
}
.mcl-page .wcu-filters__submit {
  height: var(--mcl-control-h);
  min-height: var(--mcl-control-h);
  border-radius: var(--mcl-radius-sm);
  border: 0;
  background: var(--mcl-primary);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1;
  padding: 0 1.45rem;
  cursor: pointer;
  margin: 0;
  box-sizing: border-box;
}
.mcl-page .wcu-filters__submit:hover {
  background: var(--mcl-accent);
}

.mcl-page .wcu-section__title,
.mcl-page .wcu-result-meta {
  display: none !important;
}

/* —— 类型 chips —— */
.mcl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.35rem 0 1.45rem;
}
.mcl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--mcl-line);
  background: #fff;
  color: var(--mcl-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1;
}
.mcl-chip:hover {
  border-color: color-mix(in srgb, var(--mcl-primary) 45%, var(--mcl-line));
  color: var(--mcl-accent);
}
.mcl-chip.is-active {
  background: var(--mcl-primary);
  border-color: var(--mcl-primary);
  color: #fff;
}
.mcl-chip__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mcl-ink) 8%, transparent);
  font-size: 0.75rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.mcl-chip.is-active .mcl-chip__n {
  background: rgb(255 255 255 / 22%);
  color: #fff;
}

/* —— 类型分组 —— */
.mcl-groups {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mcl-group__head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
}
.mcl-group__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--mcl-ink);
  line-height: 1.2;
}
.mcl-group__count {
  font-size: 0.85rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--mcl-muted);
}

/* —— 网格 —— */
.mcl-page .wcu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 760px) {
  .mcl-page .wcu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }
}
@media (min-width: 1100px) {
  .mcl-page .wcu-grid:has(.mcl-card--theme) {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* —— 插件卡 —— */
.mcl-card {
  background: var(--mcl-card);
  border: 1px solid var(--mcl-line);
  border-radius: var(--mcl-radius);
  box-shadow: 0 2px 14px rgb(10 10 10 / 5%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.mcl-card:hover {
  border-color: color-mix(in srgb, var(--mcl-primary) 38%, var(--mcl-line));
  box-shadow: 0 12px 28px rgb(10 10 10 / 9%);
  transform: translateY(-2px);
}
.mcl-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}
.mcl-card__head {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.4rem 1.4rem 1.25rem;
  flex: 1 1 auto;
  min-height: 6.25rem;
}
.mcl-card__icon {
  flex: 0 0 3.75rem;
  width: 3.75rem;
  height: 3.75rem;
  margin-top: 0.05rem;
  border-radius: 14px;
  background: var(--mcl-panel) center / cover no-repeat;
  border: 1px solid var(--mcl-line);
}
.mcl-card__icon--empty {
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--mcl-accent);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--mcl-primary) 14%, #fff), var(--mcl-panel));
}
.mcl-card__head-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.1rem;
}
.mcl-card__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mcl-ink);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mcl-card__type {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--mcl-accent);
  background: color-mix(in srgb, var(--mcl-primary) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--mcl-primary) 20%, transparent);
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  line-height: 1;
}

/* 底栏：图标 + 标签/数值双行，留白充足 */
.mcl-card__foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mcl-line);
  background: color-mix(in srgb, var(--mcl-panel) 42%, #fff);
  min-height: 4.25rem;
}
.mcl-card__foot--n1 { grid-template-columns: minmax(0, 1fr); }
.mcl-card__foot--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mcl-card__foot--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mcl-card__stat {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  min-width: 0;
  border-right: 1px solid var(--mcl-line);
  color: var(--mcl-ink);
  font-variant-numeric: tabular-nums;
}
.mcl-card__stat:last-child {
  border-right: 0;
}
.mcl-card__stat-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  color: var(--mcl-accent);
  font-size: 0.95rem;
  opacity: 1;
  line-height: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--mcl-primary) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--mcl-primary) 18%, transparent);
}
.mcl-card__stat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.mcl-card__stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--mcl-muted);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.mcl-card__stat-val {
  display: block;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mcl-page .mcl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  vertical-align: middle;
}
.mcl-page .mcl-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* —— 主题卡 —— */
.mcl-card--theme {
  min-height: 0;
}
.mcl-card--theme .mcl-card__link--theme {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mcl-card__shot {
  aspect-ratio: 16 / 10;
  background: var(--mcl-panel) center top / cover no-repeat;
  position: relative;
  flex: 0 0 auto;
}
.mcl-card__shot-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: color-mix(in srgb, var(--mcl-ink) 34%, transparent);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--mcl-primary) 12%, #fff), var(--mcl-panel));
}
.mcl-card__shot-initials {
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}
.mcl-card__shot-hint {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.mcl-card--theme .mcl-card__body {
  padding: 1.15rem 1.3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-height: 0;
}
.mcl-card--theme .mcl-card__title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.18rem;
  line-height: 1.35;
  min-height: 0;
}
.mcl-card__meta {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--mcl-muted);
  font-variant-numeric: tabular-nums;
}

/* 分页 */
.mcl-page .wcu-pagination {
  margin: 2rem 0 0.4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.mcl-page .wcu-pagination a,
.mcl-page .wcu-pagination span {
  border-radius: 10px;
  font-size: 0.9rem;
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mcl-page .wcu-pagination a:hover {
  border-color: var(--mcl-primary);
  color: var(--mcl-accent);
}

@media (max-width: 720px) {
  .mcl-page .wcu-filters__field:first-child,
  .mcl-page .wcu-filters__field:not(:first-child) {
    flex: 1 1 100%;
    max-width: none;
  }
  .mcl-page .wcu-filters__submit {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .mcl-page__head {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.45rem 1.3rem 1.35rem;
    min-height: 0;
  }
  .mcl-page__title {
    font-size: clamp(1.75rem, 7vw, 2.15rem);
  }
  .mcl-card__head {
    padding: 1.1rem 1.1rem 1rem;
  }
  .mcl-card__foot,
  .mcl-card__foot--n2,
  .mcl-card__foot--n3 {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .mcl-card__stat {
    border-right: 0;
    border-bottom: 1px solid var(--mcl-line);
    padding: 0.75rem 1rem;
  }
  .mcl-card__stat:last-child {
    border-bottom: 0;
  }
  .mcl-card__stat-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.55rem;
  }
}

/* ==========================================================================
 * 2026-11-10 设计：WP.org 目录式卡片 + 作者页头像
 * 覆盖上方旧卡片规则，保持 md 变量体系
 * ========================================================================== */
.mcl-page .wcu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* —— 插件卡 —— */
.mcl-page .mcl-card--plugin {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  box-shadow: none;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.mcl-page .mcl-card--plugin:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  border-color: #c3c4c7;
  transform: none;
}
.mcl-page .mcl-card--plugin .mcl-card__link {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  min-height: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0;
  min-height: 0;
  flex: 0 0 auto;
}
.mcl-page .mcl-card--plugin .mcl-card__icon {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background-color: transparent;
  border: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__icon--empty {
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 500;
  color: #646970;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
}
.mcl-page .mcl-card--plugin .mcl-card__head-text {
  gap: 8px;
  padding-top: 2px;
}
.mcl-page .mcl-card--plugin .mcl-card__title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #1d2327;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__type {
  font-size: 12px;
  color: #646970;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
  padding: 2px 10px;
  line-height: 1.6;
}
.mcl-page .mcl-card--plugin .mcl-card__desc {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #50575e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mcl-page .mcl-card--plugin .mcl-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin: auto 0 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid #f0f0f1;
  background: none;
  min-height: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #50575e;
  min-width: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mcl-page .mcl-card__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f1;
  flex: 0 0 auto;
}
.mcl-page .mcl-card--plugin .mcl-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  font-size: 12.5px;
  color: #646970;
  font-variant-numeric: tabular-nums;
}
.mcl-page .mcl-card--plugin .mcl-card__fact + .mcl-card__fact::before {
  content: "·";
  margin-right: 9px;
  color: #c3c4c7;
}

/* —— 主题卡 —— */
.mcl-page .mcl-card--theme { border: 1px solid #dcdcde; border-radius: 8px; box-shadow: none; }
.mcl-page .mcl-card--theme:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .08); border-color: #c3c4c7; transform: none; }
.mcl-page .mcl-card--theme .mcl-card__shot { aspect-ratio: 16 / 10; background-color: #f6f7f7; background-blend-mode: multiply; padding: 20px 22px; }
.mcl-page .mcl-card--theme .mcl-card__body { padding: 14px 16px 16px; gap: 5px; }
.mcl-page .mcl-card--theme .mcl-card__title { font-family: inherit; font-size: 16px; font-weight: 600; color: #1d2327; }
.mcl-page .mcl-card--theme .mcl-card__meta { font-size: 12.5px; color: #646970; }
.mcl-page .mcl-card--theme .mcl-card__author { margin-top: 2px; }
.mcl-page .mcl-card--theme .mcl-card__avatar { width: 20px; height: 20px; }

/* —— 作者页 hero（头像 + 紧凑条） —— */
.mcl-is-author .mcl-hero.wp-block-cover { min-height: 0 !important; padding: 0 !important; margin-bottom: 10px !important; }
.mcl-is-author .mcl-hero .wp-block-cover__inner-container { padding: 0 !important; }
.mcl-is-author .mcl-hero .wp-block-columns { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; }
.mcl-is-author .mcl-hero__spacer { display: none !important; }
.mcl-is-author .mcl-hero__copy {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding: 24px 0 26px;
}
.mcl-is-author .mcl-hero__titles { display: flex; align-items: center; gap: 16px; margin: 0; min-width: 0; }
.mcl-hero__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .35);
  background: #f6f7f7;
  flex: 0 0 auto;
}
.mcl-hero__who-text { min-width: 0; }
.mcl-is-author .mcl-hero__title { font-size: 30px; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.mcl-is-author .mcl-hero__en { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin: 4px 0 0; }
.mcl-is-author .mcl-hero__meta { font-size: 12px; color: rgba(255, 255, 255, .85); margin: 6px 0 0; }
.mcl-is-author .mcl-hero__lede { display: none; }
.mcl-is-author .mcl-hero__switch,
.mcl-is-author .mcl-hero__teasers { display: none !important; }
.mcl-is-author .mcl-hero__count { font-size: 12px; color: rgba(255, 255, 255, .8); margin: 6px 0 0; }
.mcl-is-author .mcl-hero__search { flex: 1 1 300px; max-width: 440px; margin: 0 0 0 auto; }
.mcl-is-author .mcl-hero__search-row { border-radius: 10px; }
.mcl-is-author .mcl-hero__search-input { height: 40px; font-size: 13px; }
.mcl-is-author .mcl-hero__search-btn { width: 46px; }

/* —— 作者索引 —— */
.mcl-author-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.mcl-author-index__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid #dcdcde; border-radius: 10px; padding: 10px 14px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.mcl-author-index__row:hover { box-shadow: 0 8px 18px rgba(0, 0, 0, .07); border-color: #c3c4c7; }
.mcl-author-index__link { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.mcl-author-index__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #f0f0f1; flex: 0 0 auto; }
.mcl-author-index__name { font-size: 14px; font-weight: 600; color: #1d2327; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcl-author-index__link:hover .mcl-author-index__name { color: #b45309; }
.mcl-author-index__n { flex: 0 0 auto; min-width: 24px; text-align: center; font-size: 11.5px; color: #646970; background: #f6f7f7; border: 1px solid #dcdcde; border-radius: 999px; padding: 1px 8px; font-variant-numeric: tabular-nums; }

/* —— 作者主页作品区 —— */
.mcl-page--author .wcu-sections { margin-top: 14px; }
.mcl-page--author .wcu-section + .wcu-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid #f0f0f1; }
.mcl-page--author .wcu-section__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #1d2327; margin: 0 0 12px; }
.mcl-page--author .wcu-section__title::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: #b45309; }
.mcl-is-author-single .wcu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1100px) {
  .mcl-author-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .mcl-page .wcu-grid { grid-template-columns: 1fr; }
  .mcl-is-author-single .wcu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mcl-author-index { grid-template-columns: 1fr; }
  .mcl-page .mcl-card--plugin .mcl-card__link { padding: 16px; }
  .mcl-page .mcl-card--plugin .mcl-card__icon { flex-basis: 72px; width: 72px; height: 72px; }
  .mcl-page .mcl-card--plugin .mcl-card__title { font-size: 17px; }
  .mcl-is-author .mcl-hero__copy { padding: 18px 0 20px; }
  .mcl-is-author .mcl-hero__title { font-size: 24px; }
  .mcl-is-author .mcl-hero__search { flex-basis: 100%; max-width: none; margin: 0; }
}

/* —— hero / filters / chips / groups 2026-11-10 —— */
.mcl-hero__teasers { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; align-items: center; }
.mcl-hero__teaser a {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 12px; line-height: 1.4;
  text-decoration: none; border: 1px solid rgba(255, 255, 255, .18);
}
.mcl-hero__teaser a:hover { background: rgba(255, 255, 255, .28); }
.mcl-hero__switch { gap: 6px; background: rgba(255, 255, 255, .14); padding: 4px; border-radius: 999px; display: inline-flex; width: auto; }
.mcl-hero__switch-btn {
  border-radius: 999px; padding: 6px 18px; font-size: 13px; border: 0;
  background: transparent; color: rgba(255, 255, 255, .85);
}
.mcl-hero__switch-btn.is-active { background: #fff; color: #1c1917; font-weight: 600; }
.mcl-hero__search-row { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(80, 30, 0, .18); }
.mcl-hero__search-input { height: 52px; font-size: 15px; padding: 0 18px; }
.mcl-hero__search-btn { width: 56px; }

.mcl-page .wcu-filters {
  padding: 14px 16px; border-radius: 14px; background: #fff;
  border: 1px solid #efe7dc; box-shadow: 0 2px 10px rgba(10, 10, 10, .04);
}
.mcl-page .wcu-filters__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.mcl-page .wcu-filters__label { font-size: 12px; color: #78716c; font-weight: 500; }
.mcl-page .wcu-filters input[type=search],
.mcl-page .wcu-filters select {
  height: 38px; border-radius: 9px; border: 1px solid #e7ddd0;
  background: #fffdfa; font-size: 13px; padding: 0 10px; min-width: 150px;
}
.mcl-page .wcu-filters__submit {
  height: 38px; border-radius: 9px; background: #e8600c; color: #fff;
  font-size: 13px; padding: 0 22px; border: 0;
}
.mcl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.mcl-chip { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; border: 1px solid #efe7dc; background: #fff; color: #44403c; text-decoration: none; }
.mcl-chip.is-active { background: #1c1917; color: #fff; border-color: #1c1917; }
.mcl-chip:hover { border-color: #d9cdbd; }
.mcl-group { margin-top: 22px; }
.mcl-group__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #1c1917; margin: 0 0 12px; }
.mcl-group__count { font-size: 11.5px; font-weight: 500; color: #78716c; background: #fff7ed; border: 1px solid #efe7dc; border-radius: 999px; padding: 2px 9px; }

@media (max-width: 640px) {
  .mcl-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; margin-right: -16px; }
  .mcl-chip { flex: 0 0 auto; }
  .mcl-hero__teasers { flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
  .mcl-hero__teaser { flex: 0 0 auto; }
  .mcl-hero__teaser a { white-space: nowrap; }
  .mcl-page .wcu-filters { padding: 12px; }
  .mcl-page .wcu-filters__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .mcl-page .wcu-filters__field { width: 100%; }
  .mcl-page .wcu-filters input[type=search],
  .mcl-page .wcu-filters select,
  .mcl-page .wcu-filters__submit { width: 100%; min-width: 0; }
  .mcl-group__title { font-size: 14px; }
}

/* —— 2026-11-10 二改：搜索框用站点原生样式（wp-block-search），根页只留筛选器 —— */
.mcl-hero__search-row {
  display: flex;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.mcl-hero__search-input {
  height: 46px;
  border: 1px solid #fff7ed;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  padding: 0 20px;
}
.mcl-hero__search-input::placeholder { color: rgba(255, 255, 255, .72); }
.mcl-hero__search-btn {
  height: 46px;
  width: 54px;
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  border: 0;
}
.mcl-hero__search-btn:hover { background: #262626; }

/* 根页筛选器：只留类型/分支/筛选，搜索在 hero */
.mcl-page .wcu-filters__field:has(input[type="search"]) { display: none; }
.mcl-page .wcu-filters__row { gap: 14px; }
.mcl-page .wcu-filters select { min-width: 180px; }

/* —— 推荐页：分组标题可见 —— */
.mcl-is-recommended .wcu-section__title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1d2327;
  margin: 0 0 12px;
}
.mcl-is-recommended .wcu-section__title::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: #b45309;
}
.mcl-is-recommended .wcu-section + .wcu-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f1;
}

/* —— 2026-11-10 筛选器条对齐论坛 `.cff-topic-toolbar`：白色浮条压 hero —— */
.mcl-page .wcu-filters {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  max-width: none;
  padding: 26px 30px;
  margin: -72px auto 40px;
  background: #fff;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(10, 10, 10, .1);
}
.mcl-page .wcu-filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
}
.mcl-page .wcu-filters__label {
  font-size: 12px;
  color: #78716c;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.mcl-page .wcu-filters select {
  height: 42px;
  min-width: 220px;
  padding: 0 14px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #fff;
  color: #0a0a0a;
  font-size: 14px;
}
.mcl-page .wcu-filters__submit {
  height: 42px;
  margin-left: auto;
  padding: 0 30px;
  border: 0;
  border-radius: 10px;
  background: #191616;
  color: #fff;
  font-size: 14px;
}
.mcl-page .wcu-filters__submit:hover { background: #333; }

@media (max-width: 820px) {
  .mcl-page .wcu-filters {
    margin-top: -40px;
    padding: 18px;
    border-radius: 14px;
  }
  .mcl-page .wcu-filters select { min-width: 0; width: 100%; }
  .mcl-page .wcu-filters__submit { margin-left: 0; width: 100%; }
}


/* 列表页内容区底色 = 论坛正文米色（#fff7ed），让白卡浮起来 */
.mcl-shell { background: #fff7ed; }
.mcl-page--hero { padding-bottom: 48px; }

/* —— 2026-11-10 三改：开关内间距 / 卡片圆角阴影对齐内页侧栏 / 多条件筛选 —— */
.mcl-hero__switch-btn {
  padding: 0 20px;
  height: 25px;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
}
.mcl-page .mcl-card--plugin,
.mcl-page .mcl-card--theme {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(10, 10, 10, .08);
}
.mcl-page .mcl-card--plugin:hover,
.mcl-page .mcl-card--theme:hover {
  border: 0;
  box-shadow: 0 0 18px rgba(10, 10, 10, .15);
}
.mcl-page .mcl-card--plugin .mcl-card__icon { border: 0; }
.mcl-page .mcl-card--theme .mcl-card__shot { border-bottom: 0; }

/* 多条件筛选：字段自适应，按钮靠右 */
.mcl-page .wcu-filters__field {
  flex: 1 1 150px;
  min-width: 140px;
}
.mcl-page .wcu-filters select { min-width: 0; width: 100%; }
.mcl-page .wcu-filters__submit { flex: 0 0 auto; }
@media (max-width: 1100px) {
  .mcl-page .wcu-filters__field { flex: 1 1 calc(33.333% - 16px); }
}

/* —— 2026-11-10 四改：卡片留白（标题块与图标垂直居中，节奏更松） —— */
.mcl-page .mcl-card--plugin .mcl-card__link {
  padding: 22px 22px 20px;
}
.mcl-page .mcl-card--plugin .mcl-card__head {
  align-items: center;
  gap: 18px;
}
.mcl-page .mcl-card--plugin .mcl-card__head-text {
  gap: 9px;
  padding-top: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__desc {
  margin: 16px 0 0;
  line-height: 1.7;
}
.mcl-page .mcl-card--plugin .mcl-card__foot {
  padding-top: 16px;
  margin-top: auto;
}
.mcl-page .mcl-card--plugin .mcl-card__author,
.mcl-page .mcl-card--plugin .mcl-card__facts {
  line-height: 1.5;
}
@media (max-width: 640px) {
  .mcl-page .mcl-card--plugin .mcl-card__link { padding: 18px; }
  .mcl-page .mcl-card--plugin .mcl-card__head { align-items: flex-start; gap: 14px; }
}

/* 描述并入标题列：跟随徽章自然流，不再被图标高度顶开 */
.mcl-page .mcl-card--plugin .mcl-card__head { align-items: flex-start; }
.mcl-page .mcl-card--plugin .mcl-card__desc {
  margin: 10px 0 0;
  line-height: 1.65;
  color: #50575e;
}
.mcl-page .mcl-card--plugin .mcl-card__head-text { gap: 8px; }

/* —— 2026-11-10 五改：无悬停加深 / 描述留白 / 参数配图标 —— */
.mcl-page .mcl-card:hover,
.mcl-page .mcl-card--plugin:hover,
.mcl-page .mcl-card--theme:hover {
  box-shadow: 0 0 10px rgba(10, 10, 10, .08);
  transform: none;
  border: 0;
}
.mcl-page .mcl-card--plugin .mcl-card__desc {
  margin: 16px 0 4px;
  line-height: 1.7;
}
.mcl-page .mcl-card--plugin .mcl-card__foot {
  padding-top: 16px;
}
.mcl-page .mcl-card--plugin .mcl-card__facts {
  gap: 0 14px;
}
.mcl-page .mcl-card--plugin .mcl-card__fact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mcl-page .mcl-card--plugin .mcl-card__fact + .mcl-card__fact::before {
  content: none;
}
.mcl-page .mcl-card__fact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  color: #a8a29e;
  flex: 0 0 auto;
}
.mcl-page .mcl-card__fact-ico svg {
  width: 13px;
  height: 13px;
  display: block;
}

/* —— 2026-11-10：插件页全部字重 400 —— */
.mcl-shell,
.mcl-shell *,
.mcl-product,
.mcl-product * {
  font-weight: 400 !important;
}

/* —— 2026-11-10 人定值：描述间距 / 卡片内边距 / 悬停标题变色 —— */
.mcl-page .mcl-card--plugin .mcl-card__desc {
  margin: 5px 0 15px;
  line-height: 1.5;
}
.mcl-page .mcl-card--plugin .mcl-card__link {
  padding: 30px 25px 25px;
}
.mcl-page .mcl-card--plugin .mcl-card__title {
  transition: color .15s ease;
}
.mcl-page .mcl-card--plugin:hover .mcl-card__title {
  color: #e8600c;
}

/* —— 2026-11-10 六改：筛选下拉箭头 + 作者页整理 —— */
.mcl-page .wcu-filters select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646970' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

/* 作者页：分组标题恢复 */
.mcl-page--author .wcu-section__title {
  display: flex !important;
  font-weight: 400 !important;
}
.mcl-page--author .wcu-section__title::before {
  height: 14px;
  background: #e8600c;
}

/* 作者主页 hero：搜索不再悬在中间 */
.mcl-is-author .mcl-hero__copy {
  justify-content: space-between;
  gap: 18px;
}
.mcl-is-author .mcl-hero__titles { flex: 0 1 auto; }
.mcl-is-author .mcl-hero__search {
  flex: 0 1 340px;
  max-width: 340px;
  margin: 0 !important;
}

/* 作者索引：字母分组 + 四列紧凑 */
.mcl-author-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 4px;
}
.mcl-author-letters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #fff;
  color: #1d2327;
  font-size: 12.5px;
  text-decoration: none;
}
.mcl-author-letters a:hover { background: #1c1917; color: #fff; border-color: #1c1917; }
.mcl-author-letter { margin-top: 26px; scroll-margin-top: 80px; }
.mcl-author-letter__title {
  font-size: 13px;
  font-weight: 400 !important;
  color: #646970;
  letter-spacing: .12em;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f1;
}
.mcl-author-index {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
}
.mcl-author-index__row { padding: 7px 12px !important; border-radius: 9px !important; }
.mcl-author-index__avatar { width: 28px !important; height: 28px !important; }
.mcl-author-index__name { font-size: 13.5px !important; }
.mcl-author-index__n { font-size: 11px !important; padding: 0 7px !important; }
@media (max-width: 1100px) {
  .mcl-author-index { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 820px) {
  .mcl-author-index { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .mcl-author-index { grid-template-columns: 1fr !important; }
  .mcl-is-author .mcl-hero__search { flex-basis: 100%; max-width: none; }
}

/* 作者页 hero 撑满 + 搜索贴右 */
.mcl-is-author .mcl-hero__copy { flex-basis: 100% !important; }
.mcl-is-author .mcl-hero__search { margin-left: auto !important; }
.mcl-author-letters {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff7ed;
  padding: 10px 0 8px;
  margin-top: 16px;
}

/* ==========================================================================
 * 作者合集 2026-11-11：卡片式 + 分页 + 字母筛选
 * ========================================================================== */
.mcl-shell.mcl-author-shell { background: #fff; padding-top: 18px; }
.mcl-author-crumbs { margin: 0 0 24px; font-size: 12.5px; color: #78716c; }
.mcl-author-crumbs a { color: #78716c; text-decoration: none; }
.mcl-author-crumbs a:hover { color: #e8600c; }
.mcl-author-crumbs .mcl-crumbs__sep { color: #d6d0c8; margin: 0 8px; }
.mcl-author-header { padding: 0 0 20px; border-bottom: 1px solid #f0ece6; }
.mcl-author-header__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.mcl-author-header__title { font-size: 40px; line-height: 1.15; margin: 0 0 8px; color: #1c1917; letter-spacing: -.01em; }
.mcl-author-header__meta { font-size: 13px; color: #78716c; margin: 0; }
.mcl-author-search { display: flex; gap: 8px; width: 340px; flex: 0 0 auto; }
.mcl-author-search input { flex: 1 1 auto; height: 44px; border: 1px solid #e7e5e4; border-radius: 10px; padding: 0 14px; font-size: 13.5px; background: #fff; }
.mcl-author-search button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #191616; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mcl-author-letters {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 14px;
  position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #f5f2ee; margin-bottom: 26px;
}
.mcl-author-letters a {
  min-width: 28px; height: 28px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: #f5f3f0; color: #57534e; font-size: 12px; text-decoration: none;
}
.mcl-author-letters a.is-active { background: #191616; color: #fff; }
.mcl-author-letters a:hover { background: #191616; color: #fff; }
.mcl-author-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 18px; }
.mcl-author-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.mcl-author-card__tile { aspect-ratio: 1 / 1; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mcl-author-card__tile img { max-width: 68%; max-height: 68%; object-fit: contain; mix-blend-mode: multiply; }
.mcl-author-card__initial { font-size: 22px; color: #57534e; }
.mcl-author-card__name { display: block; font-size: 13.5px; color: #1c1917; margin-top: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcl-author-card__meta { display: block; font-size: 11.5px; color: #a8a29e; margin-top: 2px; }
.mcl-author-card:hover .mcl-author-card__name { color: #e8600c; }

.mcl-author-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 42px 0 12px; }
.mcl-author-pager a, .mcl-author-pager__info {
  height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px;
  font-size: 12.5px; color: #57534e; text-decoration: none; background: #f6f4f1;
}
.mcl-author-pager a:hover { background: #191616; color: #fff; }
.mcl-author-pager__num.is-active { background: #191616; color: #fff; }
.mcl-author-pager__info { background: transparent; color: #a8a29e; }
.mcl-author-empty { padding: 40px 0; color: #78716c; }

@media (max-width: 1100px) {
  .mcl-author-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .mcl-author-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mcl-author-header__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mcl-author-header__title { font-size: 32px; }
  .mcl-author-search { width: 100%; }
}
@media (max-width: 560px) {
  .mcl-author-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .mcl-author-card__tile { border-radius: 12px; padding: 14px; }
}

/* 作者合集：内容对齐目录栏宽 */
.mcl-author-crumbs,
.mcl-author-header,
.mcl-author-letters,
.mcl-author-cards,
.mcl-author-pager,
.mcl-author-empty {
  width: var(--mcl-wide);
  max-width: var(--mcl-wide);
  margin-left: auto;
  margin-right: auto;
}

/* 作者合集：横卡（圆头像 + 名字/作品数），参考 Motuicons 作者页 */
.mcl-author-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
.mcl-author-card {
  display: flex !important; flex-direction: row !important; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #e7e2db; border-radius: 12px; padding: 14px 16px;
}
.mcl-author-card:hover { border-color: #d9cfc2; }
.mcl-author-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: #f6f4f1;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden;
  color: #b8b2a9;
}
.mcl-author-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.mcl-author-card__icon { width: 22px !important; height: 22px !important; }
.mcl-author-card__icon svg { width: 22px; height: 22px; display: block; }
.mcl-author-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mcl-author-card__name { display: block; font-size: 15px; color: #1c1917; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcl-author-card__meta { display: block; font-size: 12px; color: #a8a29e; margin: 0; }
@media (max-width: 1100px) { .mcl-author-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 720px) { .mcl-author-cards { grid-template-columns: 1fr !important; } }

/* 无 logo 插件卡：分类字体图标 */
.mcl-page .mcl-card--plugin .mcl-card__icon--empty { background: #f6f4f1; border: 0; color: #a8a29e; }
.mcl-page .mcl-card--plugin .mcl-card__icon-svg,
.mcl-page .mcl-card--plugin .mcl-card__icon-svg svg { width: 34px; height: 34px; }

/* —— 分类/标签归档：不要大 hero，用紧凑标题区 —— */
.mcl-tax-head { padding: 34px 0 22px; }
.mcl-tax-crumbs { font-size: 12.5px; color: #78716c; margin: 0 0 16px; }
.mcl-tax-crumbs a { color: #78716c; text-decoration: none; }
.mcl-tax-crumbs a:hover { color: #e8600c; }
.mcl-tax-crumbs .mcl-crumbs__sep { color: #d6d0c8; margin: 0 8px; }
.mcl-tax-crumbs span:last-child { color: #1c1917; }
.mcl-tax-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.mcl-tax-head__title { font-size: 40px; line-height: 1.15; margin: 0 0 8px; color: #1c1917; letter-spacing: -.01em; }
.mcl-tax-head__meta { font-size: 13px; color: #78716c; margin: 0; }
.mcl-tax-search { display: flex; gap: 8px; width: 340px; flex: 0 0 auto; }
.mcl-tax-search input { flex: 1 1 auto; height: 44px; border: 1px solid #e7e5e4; border-radius: 10px; padding: 0 14px; font-size: 13.5px; background: #fff; color: #1c1917; }
.mcl-tax-search button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #191616; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mcl-page--tax .wcu-filters { margin-top: 10px; margin-bottom: 32px; }
.mcl-page--tax { padding-bottom: 48px; }
@media (max-width: 820px) {
  .mcl-tax-head__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mcl-tax-head__title { font-size: 30px; }
  .mcl-tax-search { width: 100%; }
}

/* 归档标题区对齐目录栏宽 */
.mcl-tax-head {
  width: var(--mcl-wide);
  max-width: var(--mcl-wide);
  margin-left: auto;
  margin-right: auto;
}

/* 归档页面包屑：对齐内页（product.css .mcl-crumbs） */
.mcl-tax-head .mcl-crumbs { font-size: 0.9rem; color: var(--mcl-muted, #78716c); line-height: 1.4; margin: 0 0 14px; }
.mcl-tax-head .mcl-crumbs a { color: var(--mcl-primary, #e8600c); text-decoration: none; }
.mcl-tax-head .mcl-crumbs a:hover { color: var(--mcl-accent, #b45309); }
.mcl-tax-head .mcl-crumbs__sep { margin: 0 0.4em; opacity: .45; }
.mcl-tax-head .mcl-crumbs span:last-child { color: #1c1917; }

/* 内页无 logo：分类图标 */
.mcl-identity__fallback { display: inline-flex; align-items: center; justify-content: center; color: #a8a29e; }
.mcl-identity__fallback-svg,
.mcl-identity__fallback-svg svg { width: 44px; height: 44px; display: block; }

/* 归档页顶部：面包屑放进白条，正文回到米色（对齐内页 .mcl-top / .mcl-body） */
.mcl-tax-top { background: #fff; border-bottom: 1px solid var(--mcl-line, #efe7dc); }
.mcl-tax-top .mcl-top__inner { width: var(--mcl-wide); margin: 0 auto; padding: 1.55rem 0; }
.mcl-tax-top .mcl-crumbs { margin: 0; }
.mcl-tax-head { padding: 2.75rem 0 22px; }
.mcl-page--tax .wcu-filters { margin-top: 0; }

/* 作者个人页：hero 与内容之间的呼吸 + 底部米色填满（去掉页脚前白条） */
.mcl-page--author .wcu-sections { margin-top: 56px; }
.mcl-page--author .wcu-section__title { margin: 0 0 16px; }
body.mcl-is-author-single main.wp-block-group { background: #fff7ed; }

/* 归档页：搜索放进面包屑白条右侧；标题区只留标题+计数 */
.mcl-tax-top .mcl-top__inner.mcl-tax-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 1rem 0;
}
.mcl-tax-top .mcl-crumbs { margin: 0; }
.mcl-tax-search { display: flex; align-items: center; gap: 6px; width: 320px; flex: 0 0 auto; }
.mcl-tax-search input {
  flex: 1 1 auto; height: 38px; border: 1px solid #e7e5e4; border-radius: 9px;
  padding: 0 12px; font-size: 13px; background: #fff; color: #1c1917;
}
.mcl-tax-search button {
  flex: 0 0 38px; width: 38px; height: 38px; border: 0; border-radius: 9px;
  background: #191616; color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.mcl-tax-head__row { justify-content: flex-start !important; }

/* 作者页 hero 搜索：输入框与按钮同高对齐 */
.mcl-hero__search-row { align-items: center; }
.mcl-hero__search-input { height: 46px !important; }
@media (max-width: 820px) {
  .mcl-tax-top .mcl-top__inner.mcl-tax-top__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .mcl-tax-search { width: 100%; }
}

/* —— 作者页：更多信息条（插件/主题/更新/收录/网址/GitHub） —— */
.mcl-author-info {
  box-sizing: border-box;
  width: var(--mcl-wide);
  max-width: var(--mcl-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(10, 10, 10, .06);
  position: relative;
  z-index: 3;
  margin-top: -30px;
}
.mcl-author-info__item { font-size: 13px; color: #78716c; display: inline-flex; align-items: center; gap: 6px; }
.mcl-author-info__ico { width: 14px; height: 14px; color: #a8a29e; display: inline-flex; }
.mcl-author-info__ico svg { width: 14px; height: 14px; display: block; }
.mcl-author-info__item b { font-weight: 400; color: #1c1917; border-bottom: 0 !important; text-decoration: none; }
.mcl-author-info__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #e8600c; text-decoration: none;
  padding-left: 14px; border-left: 1px solid #f0ece6;
}
.mcl-author-info__link .mcl-author-info__ico { color: #e8600c; }
.mcl-author-info__link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .mcl-author-info { margin-top: 16px; gap: 8px 16px; }
  .mcl-author-info__link { padding-left: 0; border-left: 0; }
}

/* —— 分类/标签索引页 —— */
.mcl-terms-page { padding: 40px 0 60px; }
.mcl-terms-page__title { font-size: 40px; line-height: 1.15; margin: 0 0 8px; color: #1c1917; }
.mcl-terms-page__meta { font-size: 13px; color: #78716c; margin: 0 0 26px; }
.mcl-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mcl-terms__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid #efe7dc; border-radius: 12px; padding: 12px 16px;
}
.mcl-terms__link { font-size: 14px; color: #1c1917; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcl-terms__link:hover { color: #e8600c; }
.mcl-terms__count { font-size: 11.5px; color: #78716c; background: #f6f2ec; border-radius: 999px; padding: 1px 8px; flex: 0 0 auto; }
@media (max-width: 1000px) { .mcl-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mcl-terms { grid-template-columns: 1fr; } }

/* 目录页底部：main 补米色，消除页脚前白条 */
body.page-template-page-catalog main.wp-block-group { background: #fff7ed; }
