/**
 * mudelms 产品详情
 * 薄橙品牌条 + 白底面包屑 + 下载页身份卡 / 侧栏 CTA
 */

body.mcl-is-product,
html:has(body.mcl-is-product) {
  overflow-x: clip;
}
body.mcl-is-product main.wp-block-group {
  background: #fff !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.mcl-is-product main.wp-block-group > article,
body.mcl-is-product main.wp-block-group > .wp-block-group {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.mcl-is-product .entry-content,
body.mcl-is-product .entry-content.is-layout-constrained,
body.mcl-is-product .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body.mcl-is-product .entry-content > .mcl-product,
body.mcl-is-product .mcl-product {
  max-width: 100vw !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto !important;
  position: relative;
}
.mcl-product,
.mcl-product * {
  font-weight: 400 !important;
}

.mcl-product {
  --mcl-ink: #0a0a0a;
  --mcl-muted: color-mix(in srgb, var(--mcl-ink) 55%, #fff);
  --mcl-line: color-mix(in srgb, var(--mcl-ink) 12%, transparent);
  --mcl-card: #fff;
  --mcl-panel: var(--wp--preset--color--neutral, #fff7ed);
  --mcl-primary: var(--wp--preset--color--primary, #f98012);
  --mcl-accent: var(--wp--preset--color--secondary, #e8600c);
  --mcl-shadow: 0 0 10px rgba(10, 10, 10, 0.08);
  --mcl-radius: 16px;
  --mcl-stack: 1.35rem;
  --mcl-inner: min(1200px, calc(100% - 80px));
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--mcl-ink);
  font-size: 1rem;
  line-height: 1.55;
  box-sizing: border-box;
}
.mcl-product *,
.mcl-product *::before,
.mcl-product *::after {
  box-sizing: border-box;
}
.mcl-product .mcl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.mcl-product .mcl-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* —— 白底面包屑带 —— */
.mcl-top {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--mcl-line);
}
.mcl-top__inner {
  width: var(--mcl-inner);
  margin: 0 auto;
  padding: 1.55rem 0;
}
.mcl-crumbs {
  font-size: 0.9rem;
  color: var(--mcl-muted);
  line-height: 1.4;
  margin: 0;
}
.mcl-crumbs a {
  color: var(--mcl-primary);
  text-decoration: none;
  font-weight: 400;
}
.mcl-crumbs a:hover {
  color: var(--mcl-accent);
}
.mcl-crumbs__sep {
  margin: 0 0.4em;
  opacity: 0.45;
}

/* —— 正文区 —— */
.mcl-body {
  width: 100%;
  background: var(--mcl-panel);
  padding: 2.75rem 0 4.5rem;
}
.mcl-body__inner {
  width: var(--mcl-inner);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 20.5rem);
  gap: 1.6rem;
  align-items: start;
}
.mcl-main {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  min-width: 0;
  padding-top: 0.2rem;
}

/* —— 身份区（平底，无白框） —— */
.mcl-identity {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.mcl-identity__icon {
  flex: 0 0 5.25rem;
  margin-top: 0.1rem;
}
.mcl-identity__icon img,
.mcl-identity__fallback {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--mcl-line);
  background: #fff;
  display: block;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}
.mcl-identity__fallback {
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--mcl-accent);
}
.mcl-identity__text {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 0.05rem;
}
.mcl-identity__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}
.mcl-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1;
  padding: 0.38em 0.7em;
  border-radius: 999px;
  border: 1px solid var(--mcl-line);
  color: var(--mcl-muted);
  background: #fff;
}
.mcl-pill--accent {
  color: #fff;
  background: var(--mcl-primary);
  border-color: var(--mcl-primary);
}
.mcl-pill--soft {
  color: var(--mcl-accent);
  background: color-mix(in srgb, var(--mcl-primary) 10%, #fff);
  border-color: color-mix(in srgb, var(--mcl-primary) 22%, transparent);
}
.mcl-pill--cert {
  background: var(--mcl-accent);
  color: #fff;
  border-color: var(--mcl-accent);
}
.mcl-identity__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.mcl-identity__meta {
  margin: 0 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  font-size: 0.92rem;
  color: var(--mcl-muted);
  line-height: 1.45;
}
.mcl-identity__slug {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  color: var(--mcl-muted);
  background: #fff;
  border: 1px solid var(--mcl-line);
  border-radius: 6px;
  padding: 0.12em 0.45em;
}
.mcl-identity__maint a {
  color: var(--mcl-primary);
  text-decoration: none;
  font-weight: 400;
}
.mcl-identity__maint a:hover {
  color: var(--mcl-accent);
}
.mcl-identity__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
}
.mcl-identity__fact {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--mcl-ink) 70%, transparent);
}
.mcl-identity__fact-ico {
  color: var(--mcl-accent);
  font-size: 0.95em;
  line-height: 0;
  opacity: 0.92;
}

/* —— 简介区（平底，无白框） —— */
.mcl-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}
.mcl-card__body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: color-mix(in srgb, var(--mcl-ink) 84%, transparent);
  max-width: 48rem;
}
.mcl-card__body p {
  margin: 0 0 1.15em;
}
.mcl-card__body p:last-child {
  margin-bottom: 0;
}
.mcl-source {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--mcl-line);
  font-size: 0.9rem;
  color: var(--mcl-muted);
}
.mcl-source a {
  color: var(--mcl-primary);
  text-decoration: none;
}
.mcl-source a:hover {
  color: var(--mcl-accent);
}

.mcl-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.3rem;
  border-bottom: 1px solid var(--mcl-line);
  margin: 0 0 1.35rem;
  padding: 0;
}
.mcl-tabs__btn {
  border: 0;
  background: transparent;
  padding: 0.8rem 1.05rem 0.95rem;
  cursor: pointer;
  color: var(--mcl-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1;
}
.mcl-tabs__btn:first-child {
  padding-left: 0;
}
.mcl-tabs__btn:hover {
  color: var(--mcl-ink);
}
.mcl-tabs__btn.is-active {
  color: var(--mcl-primary);
  border-bottom-color: var(--mcl-primary);
  font-weight: 400;
}
.mcl-tabs__panel {
  display: none;
}
.mcl-tabs__panel.is-active {
  display: block;
}
.mcl-tabs__note {
  margin: 0 0 1.05rem;
  font-size: 0.86rem;
  color: var(--mcl-muted);
  line-height: 1.45;
}
.mcl-tabs__note a {
  color: var(--mcl-primary);
  text-decoration: none;
}

.mcl-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mcl-award {
  display: inline-flex;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mcl-primary) 10%, #fff);
  color: var(--mcl-accent);
  font-size: 0.86rem;
  font-weight: 400;
}
.mcl-vhist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mcl-vhist__row {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--mcl-line);
}
.mcl-vhist__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.mcl-vhist__rel {
  font-weight: 400;
  margin-right: 0.65rem;
}
.mcl-vhist__sup {
  font-size: 0.88rem;
  color: var(--mcl-muted);
}
.mcl-vhist__notes {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--mcl-ink) 75%, transparent);
  line-height: 1.55;
}

/* —— 侧栏 —— */
.mcl-side {
  position: sticky;
  top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--mcl-stack);
  min-width: 0;
}
.mcl-side-card {
  background: var(--mcl-card);
  border-radius: var(--mcl-radius);
  box-shadow: var(--mcl-shadow);
  padding: 1.55rem 1.5rem 1.45rem;
  font-size: 14px;
}
.mcl-side-card > h2 {
  margin: 0 0 1.05rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mcl-ink);
}
.mcl-side-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mcl-side-list__row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.68rem 0;
  line-height: 1.65;
  color: var(--mcl-ink);
  font-size: 0.9rem;
  list-style: none;
}
.mcl-side-list__row:first-child {
  padding-top: 0;
}
.mcl-side-list__row:last-child {
  padding-bottom: 0;
}
.mcl-side-list__ico {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.18rem;
  color: color-mix(in srgb, var(--mcl-ink) 58%, transparent);
  font-size: 1.05rem;
  line-height: 0;
}

.mcl-cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.mcl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7em 1.05em;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  margin: 0;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mcl-btn__ico {
  font-size: 1.05em;
  line-height: 0;
  flex: 0 0 auto;
}
.mcl-btn--solid {
  background: var(--mcl-primary);
  color: #fff !important;
  border: 1px solid transparent;
}
.mcl-btn--solid:hover {
  background: var(--mcl-accent);
  color: #fff !important;
}
.mcl-btn--ghost {
  background: #fff;
  color: var(--mcl-ink) !important;
  border: 1px solid var(--mcl-line);
}
.mcl-btn--ghost:hover {
  background: color-mix(in srgb, var(--mcl-panel) 55%, #fff);
  border-color: color-mix(in srgb, var(--mcl-ink) 22%, transparent);
}
.mcl-cta__more {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--mcl-line);
  color: var(--mcl-muted);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}
.mcl-cta__more:hover {
  color: var(--mcl-primary);
}
.mcl-cta__more-ico {
  font-size: 0.95em;
  line-height: 0;
  opacity: 0.85;
}

.mcl-author {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}
.mcl-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mcl-line);
  object-fit: cover;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--mcl-panel) 70%, #fff);
}
.mcl-author__body {
  min-width: 0;
}
.mcl-author__name {
  display: inline-block;
  font-weight: 400;
  font-size: 0.94rem;
  color: var(--mcl-ink);
  text-decoration: none;
  line-height: 1.3;
}
a.mcl-author__name:hover {
  color: var(--mcl-primary);
}
.mcl-author__role {
  font-size: 0.8rem;
  color: var(--mcl-muted);
  margin-top: 0.22rem;
  line-height: 1.4;
}
.mcl-author__sep {
  margin: 0 0.35em;
  opacity: 0.5;
}
.mcl-author__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.5rem;
}
.mcl-author__link {
  font-size: 0.8rem;
  color: var(--mcl-accent);
  text-decoration: none;
  line-height: 1.3;
}
.mcl-author__link:hover {
  color: var(--mcl-primary);
}

@media (max-width: 1100px) {
  .mcl-product {
    --mcl-inner: min(1200px, calc(100% - 32px));
  }
  .mcl-body__inner {
    grid-template-columns: 1fr;
  }
  .mcl-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .mcl-top__inner {
    padding: 1.2rem 0;
  }
  .mcl-body {
    padding: 2rem 0 3.25rem;
  }
  .mcl-main {
    gap: 1.45rem;
    padding-top: 0.1rem;
  }
  .mcl-identity {
    padding: 0;
    gap: 0.95rem;
  }
  .mcl-identity__icon {
    flex-basis: 4.25rem;
    margin-top: 0.1rem;
  }
  .mcl-identity__icon img,
  .mcl-identity__fallback {
    width: 4.25rem;
    height: 4.25rem;
  }
  .mcl-identity__title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }
  .mcl-card {
    padding: 0;
  }
  .mcl-tabs__nav {
    margin: 0 0 1.15rem;
    padding: 0;
  }
  .mcl-tabs__btn {
    padding: 0.7rem 0.85rem 0.85rem;
  }
  .mcl-tabs__btn:first-child {
    padding-left: 0;
  }
}

/* —— 详情页截图区 —— */
.mcl-shots { margin: 20px 0 18px; }
.mcl-shots__title {
  font-size: 13px; font-weight: 400; color: #78716c;
  letter-spacing: .04em; margin: 0 0 10px;
}
.mcl-shots__strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.mcl-shots__thumb {
  padding: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--mcl-line, #efe7dc);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}
.mcl-shots__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.mcl-shots__thumb:hover { border-color: #d9cfc2; box-shadow: 0 4px 14px rgba(10, 10, 10, .06); }
@media (max-width: 720px) {
  .mcl-shots__strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .mcl-shots__thumb { flex: 0 0 70%; scroll-snap-align: start; }
}
.mcl-shots__dialog {
  border: 0; padding: 0; background: #111;
  max-width: min(1100px, 92vw); max-height: 88vh;
  border-radius: 12px; overflow: hidden;
}
.mcl-shots__dialog::backdrop { background: rgba(10, 10, 10, .72); }
.mcl-shots__full { display: block; max-width: 100%; max-height: 88vh; margin: 0 auto; }
.mcl-shots__close {
  position: absolute; top: 8px; right: 10px;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
}

/* —— 版本时间线 —— */
.mcl-vtl { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px solid var(--mcl-line, #efe7dc); }
.mcl-vtl__item { position: relative; padding: 0 0 22px 18px; }
.mcl-vtl__item:last-child { padding-bottom: 0; }
.mcl-vtl__dot {
  position: absolute; left: -4px; top: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: #e8600c; box-shadow: 0 0 0 4px #fff7ed;
}
.mcl-vtl__head { display: flex; align-items: baseline; gap: 10px; }
.mcl-vtl__rel { font-size: 15px; color: #1c1917; }
.mcl-vtl__date { font-size: 12px; color: #a8a29e; }
.mcl-vtl__sup {
  display: inline-block; margin: 4px 0 6px; font-size: 11.5px; color: #78716c;
  background: #f6f2ec; border-radius: 999px; padding: 1px 9px;
}
.mcl-vtl__notes { margin: 0; font-size: 13px; line-height: 1.65; color: #57534e; }

/* 详情页底部来源链接：独立一行、弱化 */
.mcl-source--below {
  margin: 14px 0 0;
  padding-top: 0;
  border-top: 0;
  font-size: 13px;
  color: #a8a29e;
}
.mcl-source--below a { color: #78716c; text-decoration: none; }
.mcl-source--below a:hover { color: #e8600c; }

/* ==========================================================================
 * 2026-11-11 详情页样式收口：图标/标题/徽章、主题横幅、截图条、版本时间线
 * ========================================================================== */

/* —— 顶部：图标 + 标题 + 徽章 —— */
.mcl-identity { align-items: center; gap: 20px; }
.mcl-identity__icon { flex: 0 0 96px; margin-top: 0; }
.mcl-identity__icon img,
.mcl-identity__fallback {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  border: 1px solid var(--mcl-line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 10, .04);
}
.mcl-identity__badges { gap: 6px; margin-bottom: 8px; }
.mcl-pill { font-size: .72rem; padding: .34em .62em; }
.mcl-identity__title { font-size: clamp(1.45rem, 2vw, 1.8rem); margin: 0 0 10px; }
.mcl-identity__meta { margin: 0 0 12px; }
.mcl-identity__facts { gap: 8px 20px; }

/* —— 截图条：固定尺寸横滑，contain 不裁剪 —— */
.mcl-shots { margin: 18px 0 22px; }
.mcl-shots__title {
  font-size: 13px; font-weight: 400; color: #78716c;
  letter-spacing: .03em; margin: 0 0 10px;
}
.mcl-shots__strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.mcl-shots__thumb {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid var(--mcl-line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: start;
}
.mcl-shots__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}
.mcl-shots__thumb:hover { border-color: #d9cfc2; box-shadow: 0 4px 14px rgba(10, 10, 10, .06); }

/* —— 版本时间线 —— */
.mcl-vtl { padding: 2px 0 2px 22px; border-left: 1px solid var(--mcl-line); }
.mcl-vtl__item { padding: 0 0 20px; }
.mcl-vtl__dot {
  left: -27px; top: 7px;
  width: 10px; height: 10px;
  box-shadow: 0 0 0 4px #fff7ed;
}
.mcl-vtl__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mcl-vtl__rel { font-size: 15px; color: #1c1917; }
.mcl-vtl__date { margin-left: auto; font-size: 12px; color: #a8a29e; font-variant-numeric: tabular-nums; }
.mcl-vtl__sup { margin: 6px 0 0; font-size: 11.5px; color: #78716c; background: #f6f2ec; }

/* 详情页图标：contain 显示，避免宽 logo 被裁 */
.mcl-identity__icon img {
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

/* 时间线：日期紧跟版本，不拉满整行 */
.mcl-vtl__head { justify-content: flex-start; gap: 10px; }
.mcl-vtl__date { margin-left: 0; }

/* ==========================================================================
 * 2026-11-11 截图条与灯箱 v2：logo 方图 + 拖拽滚动 + 灯箱导航
 * ========================================================================== */
.mcl-shots__strip { cursor: grab; user-select: none; }
.mcl-shots__strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.mcl-shots__thumb--logo { flex-basis: 125px; width: 125px; aspect-ratio: 1 / 1; }
.mcl-shots__thumb--logo img { object-fit: contain; padding: 8px; }
.mcl-shots__thumb img { -webkit-user-drag: none; }

.mcl-shots__dialog {
  padding: 0;
  border: 0;
  background: rgba(16, 16, 16, .96);
  max-width: min(1200px, 94vw);
  max-height: 92vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.mcl-shots__dialog::backdrop { background: rgba(10, 10, 10, .78); backdrop-filter: blur(3px); }
.mcl-shots__full {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  margin: 0 auto;
}
.mcl-shots__close {
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.mcl-shots__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
}
.mcl-shots__nav--prev { left: 14px; }
.mcl-shots__nav--next { right: 14px; }
.mcl-shots__close:hover,
.mcl-shots__nav:hover { background: rgba(0, 0, 0, .75); }
.mcl-shots__count {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-size: 12px; color: rgba(255, 255, 255, .8);
  background: rgba(0, 0, 0, .45); border-radius: 999px; padding: 3px 12px;
}
.mcl-shots__dialog[open] { animation: mcl-dlg-in .18s ease-out; }
@keyframes mcl-dlg-in {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}

/* 详情页顶部：图标与标题顶端对齐，避免视觉错位 */
.mcl-identity { align-items: flex-start; }
.mcl-identity__icon { margin-top: 2px; }

/* 灯箱：固定大画布，图片 contain 居中，按钮留出安全边距 */
.mcl-shots__dialog {
  width: min(1120px, 92vw);
  height: min(78vh, 780px);
  max-width: none;
  max-height: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 14, 14, .98);
}
.mcl-shots__full {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: 52px 72px 56px;
  box-sizing: border-box;
}
.mcl-shots__nav { width: 46px; height: 46px; }
.mcl-shots__nav--prev { left: 16px; }
.mcl-shots__nav--next { right: 16px; }

/* 关闭时必须隐藏（display:flex 会覆盖 UA 的 dialog:not([open]) 规则） */
.mcl-shots__dialog:not([open]) { display: none !important; }
