.upload-dropzone {
  border: 2px dashed rgba(50, 195, 108, 0.45);
  border-radius: 12px;
  background: #fff;
  min-height: 230px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.upload-dropzone:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.upload-dropzone.is-dragover {
  border-color: var(--primary);
  box-shadow: 0 14px 40px rgba(50, 195, 108, 0.15);
}

.upload-dropzone.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.2);
}

#guestLimitHint {
  color: #dc2626;
  font-weight: 700;
}

.upload-dropzone .upload-placeholder {
  color: #6c757d;
}

.upload-dropzone img.preview-image {
  max-width: 100%;
  max-height: 280px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.disease-result-muted {
  color: #6c757d;
}

.disease-hero {
  position: relative;
  width: 100%;
  min-height: 72vh;
  overflow: hidden;
  margin-bottom: 1rem !important;
  background: url("../images/疾病识别预览图.png") center center / cover no-repeat;
}

/* 与原 background-image 同区域、同 cover 规则，仅把静态图换成视频 */
.disease-hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.disease-hero > *:not(.disease-hero-bg-video) {
  position: relative;
  z-index: 1;
}

.disease-hero .page-header {
  background: transparent !important;
}

.disease-hero .page-header .container {
  padding-top: clamp(56px, 8vw, 96px) !important;
  padding-bottom: clamp(56px, 8vw, 96px) !important;
}

.disease-hero .disease-subtitle-wrap {
  padding-top: clamp(12px, 2vw, 28px);
  padding-bottom: clamp(40px, 7vw, 88px);
}

/* 视频区与下方上传卡片之间留白收紧，红字提示紧贴视频下沿上方 */
.disease-hero + .container-xxl.py-5 {
  padding-top: 1rem !important;
}

.disease-hero .page-header h1,
.disease-hero .page-header .breadcrumb a,
.disease-hero .page-header .breadcrumb-item.active {
  color: #ffffff !important;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
}

.disease-hero .page-header h1 {
  font-family: 'Noto Serif SC', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
  font-weight: bold;
}

.disease-hero .page-header .breadcrumb {
  margin-left: 0.8em;
}

.disease-hero .disease-subtitle-wrap h6,
.disease-hero .disease-subtitle-wrap h1,
.disease-hero .disease-subtitle-wrap p {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.disease-hero .disease-subtitle-wrap h1 {
  font-size: 3.75rem !important;
  font-family: 'Noto Serif SC', 'KaiTi', '楷体', 'STKaiti', '华文楷体', serif;
  font-weight: bold;
}

.disease-hero .disease-subtitle-wrap h6 {
  color: #32c36c;
}

