[hidden] {
  display: none !important;
}

[data-project-showcase] {
  position: relative;
}

.more-works-link {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: #f4f4f4;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}

.more-works-link:hover,
.more-works-link:focus-visible {
  color: #c6ff00;
  border-color: #c6ff00;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

.more-works-link .more-icon {
  font-size: 18px;
  line-height: 1;
}

.add-project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
  padding: 12px 18px;
  border: 1px solid #c6ff00;
  border-radius: 999px;
  color: #050505;
  background: #c6ff00;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.add-project-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198, 255, 0, .2);
}

@media (max-width: 720px) {
  .more-works-link {
    top: 12px;
    right: 12px;
    padding: 9px 11px;
  }

  .more-works-link .more-label {
    display: none;
  }
}

/* 作品详情正文：略大于左侧项目信息 */
#work-body {
  font-size: clamp(15px, 0.95vw, 18px) !important;
  line-height: 1.85 !important;
}

/* 联系方式图片：按照后台上传图片的原始比例显示 */
[data-contact-channel] [data-contact-qr]:not([hidden]) {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

[data-contact-channel] *:has(> [data-contact-qr]:not([hidden])) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
