/* ========================================================
   瀛洲鲜生 · 育养鸡追溯页样式表 (V0.1 官方规范重构版)
   设计风格：自然、干净、高端、可信、有温度（精品生鲜/精品农场）
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700;900&family=PingFang+SC:wght@400;500;600;700&display=swap');

:root {
  /* 品牌核心色彩（深绿/墨绿 + 暖米白） */
  --primary-green: #1B4332;
  --primary-dark: #123325;
  --primary-medium: #2D6A4F;
  --accent-green: #40916C;
  --accent-light: #52B788;
  --bg-page: #F7F8F4;        /* 暖白 / 米白自然背景 */
  --card-bg: #FFFFFF;        /* 纯白卡片 */
  --text-main: #1D2620;      /* 深灰炭黑主文字 */
  --text-sub: #546558;       /* 次要信息灰 */
  --text-muted: #859689;     /* 辅助说明灰 */
  --border-card: #E4ECE5;    /* 柔和绿灰微描边 */
  
  /* 证据来源标签颜色规范 (十三、页面里的“证据来源标签”) */
  --badge-auto-bg: #EBF5EE;
  --badge-auto-text: #1B4332;
  --badge-auto-border: #CBE5D3;

  --badge-device-bg: #EBF4F6;
  --badge-device-text: #205E6D;
  --badge-device-border: #C5E2E8;

  --badge-third-bg: #FCF4E7;
  --badge-third-text: #A05912;
  --badge-third-border: #EED7B5;

  --badge-record-bg: #F1F4F1;
  --badge-record-text: #485E4E;
  --badge-record-border: #D5E1D7;

  --radius-card: 16px;
  --shadow-card: 0 4px 18px rgba(27, 67, 50, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #EEF2EC;
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-font-smoothing: antialiased;
}

/* 主页面独立网页主体容器 */
.site-container,
.phone-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 35px rgba(27, 67, 50, 0.06);
  border: none !important;
  border-radius: 0 !important;
}

/* 兼容处理：彻底隐藏旧容器可能残留的控制栏与伪状态栏 */
.desktop-controls,
.phone-status-bar,
.preview-ctrl-bar {
  display: none !important;
}

.desktop-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
}

@media (max-width: 480px) {
  body {
    background-color: var(--bg-page);
  }
  .site-container {
    box-shadow: none;
  }
}

/* 顶部页面导航栏 (二、双品牌联合与项目标语) */
.app-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(228, 236, 229, 0.9);
  background: rgba(247, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.03);
}

.nav-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logos-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-pic {
  height: 42px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(27, 67, 50, 0.08));
}

.nav-brand-cross {
  font-size: 13px;
  color: #ADC3B2;
  font-weight: 500;
  line-height: 1;
}

.nav-slogan-pill {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.18);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.nav-title-group {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding-top: 4px;
  border-top: 1px dashed rgba(220, 232, 222, 0.7);
}

.nav-page-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #213527;
  letter-spacing: 0.3px;
  margin: 0;
}

.nav-subtitle {
  font-size: 10px;
  color: var(--text-sub);
  letter-spacing: 0.2px;
  margin: 0;
}

/* 主内容单列流式布局 (三、页面整体结构) */
.page-content {
  width: 100%;
  padding: 12px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 通用模块卡片 */
.trace-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  position: relative;
}

/* 卡片统一头部 */
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 8px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-title-group .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.card-title-group .title {
  font-size: 15px;
  font-weight: 700;
  color: #17241C;
  letter-spacing: 0.2px;
}

/* ========================================================
   十三、标准化“证据来源标签”系统 (Evidence Source Badges)
======================================================== */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  padding: 2.5px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.evidence-badge.auto {
  background: var(--badge-auto-bg);
  color: var(--badge-auto-text);
  border: 0.5px solid var(--badge-auto-border);
}

.evidence-badge.device-scale {
  background: var(--badge-device-bg);
  color: var(--badge-device-text);
  border: 0.5px solid var(--badge-device-border);
}

.evidence-badge.device-temp {
  background: var(--badge-device-bg);
  color: var(--badge-device-text);
  border: 0.5px solid var(--badge-device-border);
}

.evidence-badge.third-party {
  background: var(--badge-third-bg);
  color: var(--badge-third-text);
  border: 0.5px solid var(--badge-third-border);
}

.evidence-badge.farm-record {
  background: var(--badge-record-bg);
  color: var(--badge-record-text);
  border: 0.5px solid var(--badge-record-border);
}

/* ========================================================
   模块 1：第一屏：核心信息 (四、第一屏：核心信息)
======================================================== */
.hero-card-v2 {
  background: linear-gradient(135deg, #FCFDFB 0%, #F5F9F3 55%, #EAF3E8 100%);
  padding: 14px 14px 14px;
  border: 1px solid #DFEAE0;
  position: relative;
}

/* 品牌项目归属栏与标语 */
.hero-project-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #D6E4D8;
  border-radius: 10px;
  padding: 7px 10px;
  margin-bottom: 12px;
  gap: 8px;
}

.project-tags-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.proj-badge {
  font-size: 10px;
  color: #2D5A3A;
  background: #EEF6F0;
  border: 0.5px solid #C5DFC9;
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.proj-badge.gov {
  color: #1B4332;
  background: #E2EFE5;
  border-color: #AFD2B6;
}

.project-slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FCF4E7;
  border: 1px solid #EED7B5;
  color: #8C4E0D;
  font-size: 11px;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-slogan-badge .slogan-leaf {
  font-size: 11px;
}

.hero-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-product-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-green);
  letter-spacing: 0.5px;
}

.hero-batch-pill {
  background: rgba(27, 67, 50, 0.08);
  border: 0.5px solid rgba(27, 67, 50, 0.2);
  color: var(--primary-green);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

/* 核心大字提示：这批鸡已经在崇明育养了 87 天 */
.hero-days-banner {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #E1ECE2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hero-days-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #1A261D;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero-days-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1;
  display: inline-block;
  transform: translateY(2px);
}

.hero-days-badge {
  font-size: 10px;
  color: #4A8C66;
  font-weight: 600;
}

/* 5项客观主要信息栅格 */
.hero-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 12px;
  border-radius: 10px;
  border: 0.5px solid rgba(220, 235, 222, 0.8);
}

.meta-grid-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  line-height: 1.4;
}

.meta-grid-item .label {
  color: var(--text-sub);
}

.meta-grid-item .val {
  color: var(--text-main);
  font-weight: 600;
}

/* ========================================================
   模块 2：基地实时画面 (五、基地实时画面)
======================================================== */
.video-module-body {
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-banner-frame {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.video-banner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-banner-hud {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.video-live-pill {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-live-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse-live 1.5s infinite;
}

.video-time-tag {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-family: monospace;
}

.video-play-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(27, 67, 50, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.video-banner-frame:hover .video-play-center-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--primary-green);
}

.video-bottom-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-expl-subtext {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.btn-open-monitor {
  background: var(--primary-green);
  color: #fff;
  border: none;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-open-monitor:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ================= 蔬菜专页示范地块与监控集成画框 ================= */
.veg-plot-banner-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  background: #D1F0A2;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(45, 106, 79, 0.10);
  border: 1px solid rgba(134, 206, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.veg-plot-banner-frame:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(45, 106, 79, 0.16);
}

.veg-plot-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.veg-map-play-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
  transition: all 0.2s ease;
}

.veg-map-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(20, 83, 45, 0.92);
  backdrop-filter: blur(8px);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.veg-plot-banner-frame:hover .veg-map-play-btn {
  transform: scale(1.08);
  background: #15803D;
}

.veg-map-play-tip {
  background: rgba(20, 83, 45, 0.88);
  backdrop-filter: blur(6px);
  color: #F0FDF4;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.veg-plot-bottom-strip {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(134, 206, 94, 0.55);
  font-size: 10px;
  font-weight: 700;
  color: #166534;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.veg-plot-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid #F1F5F9;
  gap: 12px;
}

.veg-plot-desc-group {
  flex: 1;
}

.veg-plot-main-desc {
  font-size: 12.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.4;
}

.veg-plot-sub-desc {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
  line-height: 1.35;
}

/* ========================================================
   模块 3：这鸡来自哪里 (六、这批鸡从哪里来 - 合作育养农户)
======================================================== */
.origin-module-body {
  padding: 2px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-cert-head {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  background: var(--badge-third-bg);
  color: var(--badge-third-text);
  border: 0.5px solid var(--badge-third-border);
  transition: all 0.2s ease;
}

.btn-cert-head:hover {
  background: #F7E6CD;
  transform: translateY(-1px);
}

/* 合作农户展示区块 (农户头像与养殖环境入口) */
.farmers-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.farmers-sec-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-green);
}

.farmers-sec-tip {
  font-size: 10px;
  color: #839688;
}

.farmers-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
}

.farmer-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 58px;
  transition: transform 0.18s ease;
}

.farmer-avatar-item:hover,
.farmer-avatar-item:active {
  transform: translateY(-2px);
}

.farmer-avatar-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  padding: 2px;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(27, 67, 50, 0.12);
  border: 1.5px solid #2D6A4F;
  transition: all 0.2s ease;
}

.farmer-avatar-item:hover .farmer-avatar-wrap {
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.farmer-avatar-item.is-disabled {
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
}

.farmer-avatar-item.is-disabled:hover,
.farmer-avatar-item.is-disabled:active {
  transform: none !important;
}

.farmer-avatar-item.is-disabled .farmer-avatar-wrap {
  border-color: #CBD5E1 !important;
  box-shadow: none !important;
}

.farmer-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.farmer-tag-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #FFFFFF;
}

.farmer-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #1A271E;
  margin-top: 4px;
  text-align: center;
}

.farmer-sub {
  font-size: 9px;
  color: #5D7263;
  background: #EEF4F0;
  padding: 1px 3px;
  border-radius: 3px;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
}

/* 农户养殖环境与视频弹窗专用样式 */
.farmer-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F4F8F5;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #DFECE2;
}

.farmer-modal-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2D6A4F;
  flex-shrink: 0;
}

.farmer-modal-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.farmer-modal-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.farmer-modal-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #1B4332;
}

.farmer-modal-count-pill {
  font-size: 10px;
  background: #EAF5EE;
  color: #1B4332;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid #C4E2CB;
}

.farmer-modal-area {
  font-size: 11px;
  color: #4A5B50;
  font-weight: 500;
}

.farmer-modal-years {
  font-size: 10.5px;
  color: #047857;
  font-weight: 600;
}

.farmer-quote-box {
  background: #FCFDFC;
  border-left: 3px solid #2D6A4F;
  padding: 8px 12px;
  margin: 10px 0;
  border-radius: 0 8px 8px 0;
  font-size: 11.5px;
  color: #374151;
  font-style: italic;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.farmer-quote-box .quote-icon {
  font-size: 14px;
  font-weight: 900;
  color: #2D6A4F;
  margin-right: 2px;
}

.farmer-modal-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #1B4332;
  margin-top: 10px;
  margin-bottom: 6px;
}

.farmer-modal-section-title .sub {
  font-size: 10px;
  color: #718096;
  font-weight: normal;
}

.farmer-env-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.farmer-photo-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  background: #FFFFFF;
  transition: transform 0.15s ease;
}

.farmer-photo-card:hover {
  transform: scale(1.02);
}

.farmer-photo-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.farmer-photo-card .lbl {
  padding: 5px 6px;
  font-size: 10.5px;
  color: #2D3748;
  font-weight: 600;
  text-align: center;
  background: #F8FAFC;
}

/* ========================================================
   模块 4：这段时间吃了什么 (七、这87天吃了什么 - 生态自然饲喂)
======================================================== */
.feed-module-body {
  padding: 2px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.natural-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.natural-feed-card {
  background: #FAFCFA;
  border: 1px solid #E1ECE3;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: all 0.2s ease;
}

.natural-feed-card:hover {
  background: #F3F8F4;
  border-color: #CFE3D3;
}

.natural-feed-card .feed-emoji {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.natural-feed-card .feed-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.natural-feed-card .feed-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
}

.natural-feed-card .feed-sub {
  font-size: 9.5px;
  color: #586B5C;
  line-height: 1.35;
}

.natural-feed-summary-bar {
  background: #F2F7F3;
  border-left: 3px solid var(--accent-green);
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  font-size: 11px;
  color: #264530;
  line-height: 1.45;
}

/* ========================================================
   模块 5：它是怎么长大的 (八、它是怎么长大的)
======================================================== */
.growth-module-body {
  padding: 2px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.growth-top-notice {
  font-size: 11px;
  color: #556B5B;
  background: #F4F8F4;
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.growth-milestones-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4px;
}

.growth-stage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.growth-stage-item .stage-name {
  font-size: 10.5px;
  color: var(--text-sub);
}

.growth-stage-item .stage-weight {
  font-size: 13.5px;
  font-weight: 800;
  color: #152A1D;
  margin-top: 2px;
}

.growth-stage-item .stage-icon {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.growth-stage-item .stage-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.growth-svg-curve {
  width: 100%;
  height: 24px;
  margin-top: 2px;
  display: block;
}

.growth-bottom-tip {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2px;
}

/* ========================================================
   模块 6：看看它生活的地方 (九、看看它生活的地方)
======================================================== */
.env-module-body {
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 环境温湿度卡片 (🌡️ 设备采集) */
.env-sensor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAF7;
  border: 1px solid #E3EFE5;
  padding: 8px 12px;
  border-radius: 10px;
}

.sensor-data-pair {
  display: flex;
  gap: 14px;
  font-size: 12px;
}

.sensor-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sensor-item .label {
  color: var(--text-sub);
  font-size: 11px;
}

.sensor-item .val {
  font-weight: 700;
  color: var(--primary-green);
  font-size: 13.5px;
}

/* 横向 4 阶段实拍相册流 */
.env-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.env-photo-cell {
  background: #F2F5F2;
  border: 1px solid #E1ECE2;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.env-photo-cell:hover {
  transform: translateY(-2px);
}

.env-photo-thumb {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  position: relative;
}

.env-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.env-photo-caption {
  padding: 4px 2px;
  text-align: center;
}

.env-stage-tag {
  font-size: 8.5px;
  color: var(--primary-green);
  font-weight: 700;
  display: block;
}

.env-photo-label {
  font-size: 9.5px;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* ========================================================
   模块 7：健康、检测与最终到消费者 (十、健康与检测 & 十一、最后到你手里)
======================================================== */
.health-module-body {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 板块 A：内部养殖健康记录 */
.internal-health-block {
  background: #FAFCFA;
  border: 1px solid #E5EFE6;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.health-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.health-block-title {
  font-size: 12px;
  font-weight: 700;
  color: #213A29;
}

.health-record-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
}

.health-record-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
  color: #384A3D;
}

.health-record-item .bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
  margin-top: 5px;
}

/* 板块 B：第三方检测 (突出展示，视觉权重高于人工记录) */
.thirdparty-test-card {
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF5EA 100%);
  border: 1.5px solid #ECD7B6;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(160, 89, 18, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
  overflow: hidden;
}

.thirdparty-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thirdparty-title-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

.thirdparty-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #8C4E0D;
}

.thirdparty-status-pass {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 10px;
}

.thirdparty-info-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #4C3C28;
}

.thirdparty-row {
  display: flex;
  justify-content: space-between;
}

.thirdparty-row .label {
  color: #7D6B55;
}

.thirdparty-row .val {
  font-weight: 600;
  color: #332616;
}

.thirdparty-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed rgba(210, 175, 130, 0.5);
}

.thirdparty-note {
  font-size: 9.5px;
  color: #8C775F;
}

.btn-view-report {
  background: #A05912;
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(160, 89, 18, 0.25);
  transition: all 0.2s ease;
}

.btn-view-report:hover {
  background: #84480D;
  transform: translateY(-1px);
}

/* 板块 C：最后到你手里 (十一、最后到你手里) */
.delivery-timeline-card {
  background: #FAFCFA;
  border: 1px solid #E5EFE6;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delivery-title {
  font-size: 12px;
  font-weight: 700;
  color: #1F3626;
  display: flex;
  align-items: center;
  gap: 5px;
}

.delivery-timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 6px;
  padding-bottom: 2px;
}

.delivery-connecting-bar {
  position: absolute;
  top: 18px;
  left: 12%;
  width: 76%;
  height: 2px;
  background: #BCD7C3;
  z-index: 1;
}

.delivery-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-date-label {
  font-size: 8.5px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--accent-green);
  margin-bottom: 4px;
}

.step-dot.done {
  background: var(--primary-green);
  box-shadow: 0 0 0 1.5px var(--primary-green);
}

.step-name-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.delivery-sub-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed #E2EDE4;
}

/* ========================================================
   模块 8：底部品牌表达 (十二、底部品牌表达)
======================================================== */
.brand-footer-card {
  background: #FAFBF9;
  border: 1px solid #DFEAE0;
  border-radius: var(--radius-card);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.brand-footer-card .reeds-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: url('../assets/images/reeds_bg.png') no-repeat left center;
  background-size: contain;
  opacity: 0.25;
  pointer-events: none;
}

.brand-philosophy-quote {
  font-size: 13.5px;
  font-weight: 700;
  color: #1F382B;
  line-height: 1.4;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.footer-slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1B4332;
  color: #FFFFFF;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(27, 67, 50, 0.18);
  position: relative;
  z-index: 2;
}

.footer-slogan-dot {
  width: 6px;
  height: 6px;
  background: #52B788;
  border-radius: 50%;
  display: inline-block;
}

.footer-dual-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #DFEAE0;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.footer-brand-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.footer-brand-logo {
  height: 38px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  display: block;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1.2;
}

.footer-brand-desc {
  font-size: 9.5px;
  color: #556B5B;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-brand-divider {
  width: 1px;
  height: 32px;
  background: #D5E3D7;
  flex-shrink: 0;
}

.footer-gov-filing {
  font-size: 9.5px;
  color: #7E9082;
  letter-spacing: 0.2px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* ========================================================
   弹窗系统 (十五、交互要求)
======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease forwards;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: popUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}

@keyframes popUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #EEF3EF;
}

.modal-header .m-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-header .m-title {
  font-size: 15px;
  font-weight: 700;
  color: #1E2D22;
}

.modal-close-btn {
  background: #F0F4F1;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #4A5B4E;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--primary-green);
  color: #fff;
}

.modal-body {
  padding: 14px 16px 16px;
}

/* 视频播放器仿真界面 */
.live-stream-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.live-stream-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-stream-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.live-stream-hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  font-family: monospace;
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.hud-rec-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(220, 38, 38, 0.85);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.hud-cam-tabs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.cam-tab-btn {
  background: #F1F6F2;
  border: 1px solid #D6E6D9;
  color: #2E5039;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.cam-tab-btn.active {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
}

/* 凭证大图查看器 */
.voucher-lightbox-img-box {
  width: 100%;
  min-height: 220px;
  max-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAF8;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E1ECE2;
  padding: 12px;
}

.voucher-lightbox-img-box img {
  max-width: 100%;
  max-height: 250px;
  width: auto;
  min-width: 170px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.voucher-meta-box {
  margin-top: 10px;
  background: #F4F8F4;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  color: #2F4F39;
  line-height: 1.5;
}

/* Toast 提示 */
.toast-msg {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(24, 45, 30, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========================================================
   新增：二级专页顶部返回条与一垄地主门户样式
   ======================================================== */

/* 页面视图切换容器 */
.page-view {
  display: block;
  width: 100%;
  animation: fadeIn 0.25s ease forwards;
}

.page-view.is-hidden {
  display: none !important;
}

/* 二级专页顶部返回条 */
.subpage-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 67, 50, 0.12);
  border-radius: 12px;
}

.subpage-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-green);
  background: #FFFFFF;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-card);
  box-shadow: 0 2px 6px rgba(27, 67, 50, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.subpage-back-btn:hover,
.subpage-back-btn:active {
  background: #EBF5EE;
  transform: translateX(-2px);
}

.subpage-cur-badge {
  font-size: 11.5px;
  color: var(--text-sub);
  background: rgba(27, 67, 50, 0.06);
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 500;
}

/* 门户主页头部 Hero 区域 */
.portal-hero-card {
  position: relative;
  background: linear-gradient(145deg, #1B4332 0%, #255A44 60%, #2D6A4F 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 22px 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.16);
  overflow: hidden;
}

.portal-hero-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.portal-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.portal-loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #E8F5E9;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.portal-gov-badge {
  font-size: 11px;
  color: #D8F3DC;
  background: rgba(0, 0, 0, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portal-hero-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #D8F3DC;
  margin-bottom: 16px;
  opacity: 0.95;
}

.portal-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.18);
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portal-stat-num {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.portal-stat-lbl {
  font-size: 10.5px;
  color: #B7E4C7;
  white-space: nowrap;
}

/* 门户板块区域大标题 */
.portal-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 20px 2px 12px;
}

.portal-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-section-deco-bar {
  width: 4px;
  height: 18px;
  background: var(--primary-green);
  border-radius: 2px;
}

.portal-section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
}

.portal-section-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 板块卡片流式网格 */
.portal-plates-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* 单个板块卡片 */
.portal-plate-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.portal-plate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.08);
}

/* 重点板块（如“一只鸡”溯源专页）特殊高光 */
.portal-plate-card.is-spotlight {
  border: 1.5px solid #52B788;
  box-shadow: 0 6px 20px rgba(64, 145, 108, 0.12);
  position: relative;
}

.portal-plate-card.is-spotlight::before {
  content: "★ 溯源专页直达";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: linear-gradient(135deg, #2D6A4F, #1B4332);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 封面图片容器 */
.plate-cover-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #E8EDE8;
}

.plate-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.portal-plate-card:hover .plate-cover-img {
  transform: scale(1.03);
}

.plate-badge-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(18, 51, 37, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 卡片文字内容区 */
.plate-content-box {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plate-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.plate-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.3px;
}

.plate-code-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
  background: #EBF5EE;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #D1E7D8;
}

.plate-desc-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 10px;
}

/* 特色关键词胶囊 */
.plate-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.plate-feat-pill {
  font-size: 11px;
  color: #2D6A4F;
  background: #F2F7F3;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #E1ECE3;
}

/* 按钮操作条 */
.plate-action-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.plate-action-btn.btn-outline {
  background: #FFFFFF;
  color: var(--primary-green);
  border-color: var(--primary-medium);
}

.plate-action-btn.btn-outline:hover,
.plate-action-btn.btn-outline:active {
  background: #EBF5EE;
  border-color: var(--primary-green);
}

.plate-action-btn.btn-solid-green {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

.plate-action-btn.btn-solid-green:hover,
.plate-action-btn.btn-solid-green:active {
  background: linear-gradient(135deg, #143326 0%, #245741 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.28);
}

/* 村集体运营保障卡片 */
.portal-village-box {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.village-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EEF2EC;
}

.village-seal-icon {
  width: 38px;
  height: 38px;
  background: #EBF5EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border: 1px solid #D1E7D8;
}

.village-title-wrap h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}

.village-title-wrap p {
  font-size: 11.5px;
  color: var(--text-muted);
}

.village-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.village-pillar-item {
  background: #F9FAF7;
  padding: 10px 10px 10px 12px;
  border-radius: 10px;
  border-left: 3px solid var(--accent-green);
}

.village-pillar-item .p-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 3px;
}

.village-pillar-item .p-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* 详情弹窗增强（礼、鱼、树） */
.portal-modal-hero-pic {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 14px;
  border: 1px solid #E4ECE5;
}

.portal-modal-section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-green);
  margin: 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-modal-section-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--accent-green);
  border-radius: 2px;
}

.modal-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 12px;
  background: #FBFDFB;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E6EEE7;
}

.modal-details-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #EBF1EC;
}

.modal-details-table tr:last-child td {
  border-bottom: none;
}

.modal-details-table .tb-key {
  color: var(--text-sub);
  width: 30%;
  background: #F5F8F5;
  font-weight: 500;
}

.modal-details-table .tb-val {
  color: var(--text-main);
  font-weight: 600;
}

.modal-collective-guarantee {
  background: #F4F8F4;
  border: 1px dashed #B7D5BF;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  color: #2F4F39;
  line-height: 1.5;
  margin-top: 12px;
}

/* ========================================================
   新增：礼盒展厅、生态鱼档案与果树认养专页专用样式
   ======================================================== */

/* 礼盒相册多列网格 */
.gift-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.gift-gallery-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.gift-gallery-card:hover {
  transform: translateY(-2px);
}

.gift-gallery-card.span-full {
  grid-column: span 2;
}

.gift-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F0F4F1;
}

.gift-thumb-box.tall {
  aspect-ratio: 16 / 10;
}

.gift-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift-thumb-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(18, 51, 37, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gift-thumb-price {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(190, 18, 60, 0.35);
  letter-spacing: 0.2px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.gift-card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.gift-card-price {
  color: #BE123C;
  font-weight: 900;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
}

.gift-card-price .currency,
.gift-thumb-price .currency {
  font-size: 10px;
  font-weight: 700;
}

.gift-card-info {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 4px;
}

.gift-card-desc {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.45;
  margin-bottom: 6px;
}

.gift-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.gift-item-pill {
  font-size: 10px;
  color: var(--accent-green);
  background: #EBF5EE;
  padding: 2px 6px;
  border-radius: 6px;
}

/* 鱼类品种卡片网格 */
.fish-species-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.fish-item-card {
  background: #F9FAF8;
  border: 1px solid #E3ECE5;
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
}

.fish-item-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fish-taste-tag {
  font-size: 10.5px;
  color: #2D6A4F;
  font-weight: 600;
  background: #E8F3EB;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
  width: fit-content;
}

.fish-item-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* 果树四季果期时间轴 */
.orchard-season-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.orchard-season-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  box-shadow: 0 2px 6px rgba(27, 67, 50, 0.03);
}

.season-date-box {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  flex-shrink: 0;
  min-width: 65px;
}

.season-month {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.season-tag {
  font-size: 9.5px;
  color: #B7E4C7;
  white-space: nowrap;
}

.season-info-box {
  flex: 1;
}

.season-fruit-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 4px;
}

.season-fruit-desc {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* 认养权益 4 大卡片网格 */
.adoption-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.adoption-right-item {
  background: #F8FAF7;
  border: 1px solid #E1EBE3;
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
}

.adoption-right-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.adoption-right-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.adoption-right-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* 专属定制卡片 */
.custom-service-banner {
  background: linear-gradient(135deg, #F9F7F2 0%, #EFF5F0 100%);
  border: 1px dashed #A3C9AE;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 12px;
}

.custom-service-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.custom-service-desc {
  font-size: 11.5px;
  color: #385241;
  line-height: 1.5;
}

/* ========================================================
   一垄地 · 甄源码 V5.0 门户升级样式
   包含 8 大一级导航、四大价值卡片、甄源码查询框、
   动态信息流、直播间与共富地图大屏
   ======================================================== */

/* 1. 顶部 8 大模块横向滑动导航 */
.module-nav-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #E4ECE5;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 0;
  z-index: 40;
}
.module-nav-scroller::-webkit-scrollbar {
  display: none;
}
.module-nav-item {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #4B5563;
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 20px;
  background: #F3F4F6;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.module-nav-item:active,
.module-nav-item.is-active {
  background: #1B4332;
  color: #FFFFFF;
}

/* 2. 四大核心价值卡片 (看得见/查得到/说得清/买得到) */
.values-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.value-quad-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px 12px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.value-quad-card .v-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.value-quad-card .v-icon {
  font-size: 20px;
}
.value-quad-card .v-tag {
  font-size: 10px;
  font-weight: 800;
  color: #065F46;
  background: #ECFDF5;
  padding: 2px 6px;
  border-radius: 6px;
}
.value-quad-card .v-title {
  font-size: 15px;
  font-weight: 900;
  color: #1B4332;
  line-height: 1.2;
}
.value-quad-card .v-desc {
  font-size: 11px;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.45;
}

/* 3. 甄源码极速查询中枢 */
.trace-search-section {
  background: linear-gradient(135deg, #1B4332 0%, #123325 100%);
  border-radius: 18px;
  padding: 18px 16px;
  color: #FFFFFF;
  margin: 16px 0;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.2);
}
.search-input-group {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.search-text-field {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.search-submit-btn {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.search-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  align-items: center;
}
.demo-tag-chip {
  background: rgba(255,255,255,0.14);
  color: #D1FAE5;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 3px 9px;
  font-size: 11px;
  cursor: pointer;
  font-family: ui-monospace, monospace;
}
.demo-tag-chip:active {
  background: #10B981;
  color: #FFF;
}

/* 4. 一垄地动态信息流 */
.feed-stream-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.feed-stream-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #E5E7EB;
  display: flex;
  gap: 12px;
  align-items: center;
}
.feed-thumb {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #F3F4F6;
}
.feed-info {
  flex: 1;
  min-width: 0;
}
.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.feed-badge {
  font-size: 10px;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  padding: 2px 6px;
  border-radius: 4px;
}
.feed-date {
  font-size: 10.5px;
  color: #9CA3AF;
}
.feed-title {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}
.feed-desc {
  font-size: 11px;
  color: #6B7280;
  margin-top: 3px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 5. 共富地图大屏看板 (领导视察展示) */
.prosperity-dashboard {
  background: linear-gradient(135deg, #064E3B 0%, #022C22 100%);
  border-radius: 20px;
  padding: 20px 16px;
  color: #FFFFFF;
  margin: 16px 0;
  border: 1px solid rgba(52, 211, 153, 0.2);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.25);
}
.prosperity-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.p-stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 10px;
}
.p-stat-box .p-val {
  font-size: 22px;
  font-weight: 900;
  color: #34D399;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.p-stat-box .p-lbl {
  font-size: 11px;
  color: #A7F3D0;
  margin-top: 4px;
  font-weight: 600;
}
.p-stat-box .p-sub {
  font-size: 10px;
  color: #6EE7B7;
  opacity: 0.8;
  margin-top: 2px;
}





/* =========================================================================
 * 一垄地 · 碳链路 (生态碳账与科学估算体系样式)
 * ========================================================================= */
.carbon-page-wrap {
  width: 100%;
  padding-bottom: 50px;
}

.carbon-hero-card {
  background: linear-gradient(145deg, #123325 0%, #1B4332 55%, #23533E 100%);
  border-radius: 18px;
  padding: 20px 18px;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(18, 51, 37, 0.15);
  border: 1px solid rgba(82, 183, 136, 0.25);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.carbon-hero-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.25) 0%, rgba(82, 183, 136, 0) 70%);
  pointer-events: none;
}

.carbon-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.carbon-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: #D8F3DC;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.carbon-std-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(82, 183, 136, 0.25);
  color: #74C69D;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(82, 183, 136, 0.4);
}

.carbon-hero-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.carbon-hero-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #B7E4C7;
  margin: 0 0 16px;
}

.carbon-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.carbon-stat-cell {
  display: flex;
  flex-direction: column;
}

.carbon-stat-num {
  font-size: 20px;
  font-weight: 900;
  color: #52B788;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
}

.carbon-stat-lbl {
  font-size: 11px;
  color: #D8F3DC;
  margin-top: 3px;
  font-weight: 600;
}

.carbon-stat-sub {
  font-size: 10px;
  color: #95D5B2;
  opacity: 0.85;
  margin-top: 1px;
}

.carbon-method-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 11.5px;
  color: #B7E4C7;
  cursor: pointer;
}

.carbon-method-content {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #D8F3DC;
  border-left: 3px solid #52B788;
}

/* 导航锚点条 */
.carbon-nav-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carbon-nav-pills::-webkit-scrollbar { display: none; }

.carbon-pill-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  background: #FFFFFF;
  border: 1px solid #D5E1D7;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #2D6A4F;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.carbon-pill-btn.is-pending {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #64748B;
}

.carbon-pill-btn.is-active {
  background: #1B4332;
  border-color: #1B4332;
  color: #FFFFFF;
}

/* 卡片结构：活跃 vs 灰色未开发 */
.carbon-sector-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #E4ECE5;
  box-shadow: 0 4px 18px rgba(27, 67, 50, 0.04);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carbon-sector-card.card-active-veg {
  border-left: 4px solid #40916C;
}

.carbon-sector-card.card-active-fish {
  border-left: 4px solid #0D9488;
}

.carbon-sector-card.card-pending {
  background: #FAFAFA;
  border: 1px dashed #CBD5E1;
  opacity: 0.92;
}

.carbon-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F4F1;
}

.carbon-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carbon-card-icon {
  font-size: 20px;
  display: inline-block;
  line-height: 1;
}

.carbon-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #1D2620;
  margin: 0;
}

.carbon-card-tag {
  font-size: 10.5px;
  color: #546558;
  margin-left: 4px;
}

.carbon-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EBF5EE;
  color: #1B4332;
  border: 1px solid #CBE5D3;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
}

.carbon-badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 600;
}

/* 核心 KPI 突出展示区 */
.carbon-primary-kpi {
  background: linear-gradient(135deg, #F4F9F5 0%, #EBF5EE 100%);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border: 1px solid #D5E7DB;
}

.carbon-primary-kpi.kpi-fish {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  border-color: #99F6E4;
}

.carbon-primary-kpi.kpi-pending {
  background: #F8FAFC;
  border: 1px dashed #E2E8F0;
}

.carbon-kpi-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.carbon-kpi-val {
  font-size: 26px;
  font-weight: 900;
  color: #1B4332;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1;
}

.carbon-kpi-val.val-fish {
  color: #0F766E;
}

.carbon-kpi-val.val-pending {
  color: #94A3B8;
  font-size: 22px;
}

.carbon-kpi-unit {
  font-size: 11px;
  font-weight: 600;
  color: #546558;
}

.carbon-kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #2D6A4F;
}

.carbon-kpi-label.lbl-fish {
  color: #0F766E;
}

.carbon-kpi-label.lbl-pending {
  color: #64748B;
}

/* 指标 2x2 网格 */
.carbon-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.carbon-metric-box {
  background: #F9FAF8;
  border: 1px solid #E8ECE9;
  border-radius: 10px;
  padding: 8px 10px;
}

.carbon-metric-box .m-lbl {
  font-size: 10.5px;
  color: #6E7E72;
  display: block;
}

.carbon-metric-box .m-val {
  font-size: 13px;
  font-weight: 700;
  color: #1D2620;
  margin-top: 3px;
  display: block;
}

.carbon-metric-box .m-tip {
  font-size: 9.5px;
  color: #8C9C90;
  margin-top: 2px;
  line-height: 1.3;
}

/* 碳账明细折叠/展示表格 */
.carbon-activity-list {
  background: #F8FAF8;
  border-radius: 10px;
  border: 1px solid #E4ECE5;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 11px;
}

.carbon-act-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed #E2E8F0;
}
.carbon-act-item:last-child {
  border-bottom: none;
}

.carbon-act-name {
  color: #334155;
  font-weight: 600;
}

.carbon-act-val {
  font-weight: 800;
  font-family: monospace;
}
.carbon-act-val.saving {
  color: #059669;
}
.carbon-act-val.emission {
  color: #D97706;
}

/* 待开发板块说明框 */
.carbon-pending-box {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #475569;
}

.carbon-pending-box strong {
  color: #1E293B;
  display: block;
  margin-bottom: 4px;
}

.carbon-card-disclaimer {
  font-size: 10px;
  color: #8C9C90;
  line-height: 1.4;
  margin: 6px 0 0;
  padding-top: 6px;
  border-top: 1px dashed #E8ECE9;
}

.carbon-card-action {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.carbon-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1B4332;
  text-decoration: none;
  background: #EBF5EE;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}
.carbon-btn-link:hover {
  background: #D8F3DC;
}

/* 底部全景声明与科学原则卡 */
.carbon-bottom-disclaimer {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 11.5px;
  color: #546558;
  line-height: 1.6;
}

.carbon-bottom-disclaimer h4 {
  font-size: 13px;
  font-weight: 800;
  color: #1B4332;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carbon-bottom-disclaimer ol {
  margin: 0;
  padding-left: 18px;
}

.carbon-bottom-disclaimer li {
  margin-bottom: 6px;
}
.carbon-bottom-disclaimer li:last-child {
  margin-bottom: 0;
}

/* 首页碳链路入口卡片 */
.m-carbon-entry-card {
  background: linear-gradient(135deg, #123325 0%, #1B4332 60%, #2D6A4F 100%);
  border-radius: 16px;
  padding: 16px;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.m-carbon-entry-card:active {
  transform: scale(0.99);
}
.m-carbon-entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.m-carbon-badge-iso {
  font-size: 10px;
  font-weight: 700;
  background: rgba(82, 183, 136, 0.25);
  color: #74C69D;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(82, 183, 136, 0.4);
}
.m-carbon-stat-pill {
  font-size: 11px;
  color: #D8F3DC;
}
.m-carbon-stat-pill strong {
  font-size: 14px;
  color: #52B788;
  font-family: monospace;
}
.m-carbon-entry-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.m-carbon-entry-desc {
  font-size: 11.5px;
  color: #B7E4C7;
  line-height: 1.5;
  margin-bottom: 10px;
}
.m-carbon-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.m-ctag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
}
.m-ctag.ctag-active {
  background: rgba(255, 255, 255, 0.15);
  color: #D8F3DC;
  border: 1px solid rgba(82, 183, 136, 0.4);
  font-weight: 700;
}
.m-ctag.ctag-pending {
  background: rgba(0, 0, 0, 0.2);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.m-carbon-entry-action {
  font-size: 12px;
  font-weight: 700;
  color: #52B788;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* 一只鸡活跃卡片与KPI */
.carbon-sector-card.card-active-chk {
  border-color: #FED7AA;
  background: #FFFFFF;
}
.carbon-primary-kpi.kpi-chicken {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-color: #FED7AA;
}
.carbon-kpi-val.val-chicken {
  color: #9A3412;
}
.carbon-kpi-label.lbl-chicken {
  color: #C2410C;
}

/* C1~C4 碳数据可信度等级体系卡片 */
.carbon-tier-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(116, 198, 157, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin-top: 14px;
}
.carbon-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.carbon-tier-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #D8F3DC;
}
.carbon-tier-current-tag {
  font-size: 10px;
  font-weight: 700;
  color: #1B4332;
  background: #52B788;
  padding: 2px 8px;
  border-radius: 10px;
}
.carbon-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.carbon-tier-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.carbon-tier-item.tier-pass {
  border-color: rgba(82, 183, 136, 0.3);
}
.carbon-tier-item.tier-active {
  background: rgba(82, 183, 136, 0.2);
  border-color: #52B788;
}
.carbon-tier-item .tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  font-family: monospace;
  color: #74C69D;
  margin-right: 4px;
}
.carbon-tier-item.tier-active .tier-badge {
  color: #A7F3D0;
}
.carbon-tier-item .tier-name {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
}
.carbon-tier-item .tier-desc {
  font-size: 9.5px;
  color: #B7E4C7;
  line-height: 1.35;
  margin-top: 3px;
  opacity: 0.9;
}
