.skin-side-card { padding: 14px; font-size: 13px; color: #333; }
.skin-side-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f1f5; }
.skin-side-name { font-weight: 600; font-size: 14px; }
.skin-side-phone { color: #999; font-size: 12px; }
.skin-section-title { font-size: 12px; color: #888; margin-bottom: 8px; font-weight: 500; }
.skin-empty { color: #bbb; text-align: center; padding: 18px 0; font-size: 12px; }
.skin-record-item { padding: 10px 0; border-bottom: 1px solid #f7f8fa; }
.skin-record-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.skin-record-time { color: #333; font-weight: 500; }
.skin-record-no { color: #aaa; font-size: 11px; }
.skin-record-cnt { margin-left: auto; color: #4f6ef7; font-size: 11px; }
.skin-record-desc { color: #777; font-size: 12px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skin-record-actions { display: flex; align-items: center; gap: 14px; }
.skin-cb-wrap { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #666; cursor: pointer; }
.skin-link { color: #4f6ef7; cursor: pointer; font-size: 12px; }
.skin-compare-btn { width: 100%; margin-top: 12px; padding: 8px; border: none; border-radius: 8px; background: #4f6ef7; color: #fff; font-size: 13px; cursor: pointer; }
.skin-compare-btn:disabled { opacity: .45; cursor: not-allowed; }

/* mask / drawer */
.skin-mask { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 200; display: flex; align-items: center; justify-content: center; }
.skin-mask-dark { background: rgba(0,0,0,.6); z-index: 300; }
.skin-drawer { background: #fff; border-radius: 12px; width: 480px; max-width: 88vw; max-height: 76vh; overflow-y: auto; padding: 18px; }
.skin-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; }
.skin-close { cursor: pointer; font-size: 22px; color: #999; line-height: 1; }
.skin-thumb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.skin-thumb-item { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #f0f1f5; cursor: pointer; }
.skin-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.skin-thumb-sm { width: 52px; height: 52px; flex-shrink: 0; }
.skin-active { outline: 2px solid #4f6ef7; outline-offset: -2px; }
.skin-thumb-row { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }

/* 对比弹窗 */
.skin-cmp-box { background: #fff; border-radius: 12px; width: 1000px; max-width: 92vw; max-height: 84vh; display: flex; flex-direction: column; overflow: hidden; }
.skin-cmp-box.is-max { width: 100vw !important; max-width: 100vw !important; height: 100vh !important; max-height: 100vh !important; border-radius: 0; }
.skin-cmp-bar { display: flex; align-items: center; padding: 12px 18px; border-bottom: 1px solid #f0f1f5; flex-shrink: 0; }
.skin-cmp-title { font-size: 14px; font-weight: 500; }
.skin-max-btn { margin-left: auto; margin-right: 12px; cursor: pointer; color: #666; font-size: 15px; padding: 2px 8px; border-radius: 5px; }
.skin-max-btn:hover { background: #f0f1f5; }
.skin-cmp-body { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 0; }
.skin-cmp-divider { width: 1px; background: #f0f1f5; }
.skin-cmp-pane { padding: 14px; display: flex; flex-direction: column; min-height: 0; }
.skin-cmp-meta { font-size: 12px; color: #888; margin-bottom: 8px; }
.skin-cmp-main { flex: 1; min-height: 260px; background: #f7f8fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 10px; overflow: hidden; }
.skin-cmp-main img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }

/* 灯箱 */
.skin-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.skin-lightbox img { max-width: 88vw; max-height: 86vh; object-fit: contain; }
.skin-lb-close { position: absolute; top: 16px; right: 24px; color: #fff; font-size: 34px; cursor: pointer; opacity: .8; }
.skin-lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: none; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.skin-lb-arrow.prev { left: 16px; }
.skin-lb-arrow.next { right: 16px; }
.skin-lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: 12px; }
/* 全屏遮罩层，脱离侧边栏 320px 限制 */
.skin-fs-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* 全屏内容容器 */
.skin-fs-container {
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  font-size: 14px;
}

/* 顶部栏 */
.skin-fs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.skin-fs-close {
  cursor: pointer;
  font-size: 28px;
  line-height: 28px;
  opacity: 0.8;
}
.skin-fs-close:hover { opacity: 1; }

/* 单图放大 */
.skin-fs-single {
  text-align: center;
}
.skin-fs-single img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.skin-fs-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.skin-fs-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
}
.skin-fs-thumbs img.active {
  border-color: #409EFF;
}

/* 对比模式 */
.skin-fs-compare {
  display: flex;
  gap: 20px;
  height: 85vh;
}
.skin-fs-compare > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.skin-fs-compare img.main {
  max-height: 70vh;
  object-fit: contain;
  background: #111;
  border-radius: 4px;
}
.skin-fs-compare .meta {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.8;
}
.skin-fs-compare .thumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
}
.skin-fs-compare .thumbs img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 3px;
  border: 2px solid transparent;
}
.skin-fs-compare .thumbs img.active {
  border-color: #409EFF;
}

/* 侧边栏内原弹窗可隐藏，避免冲突 */
.skin-panel-inner .compare-modal {
  display: none !important;
}