/* ========================================================
   一垄地 · 甄源码 官方视觉重构样式表 (2026 移动端设计规范版)
   1:1 精准复刻视觉原型：自然田园、高端可信、极简轻奢
   ======================================================== */

:root {
  --home-bg: #F5F4F0;
  --card-white: #FFFFFF;
  --primary-deep-green: #1B4332;
  --primary-mid-green: #2D6A4F;
  --accent-emerald: #10B981;
  --text-dark: #1E293B;
  --text-sub: #64748B;
  --text-light: #94A3B8;
  --border-soft: #EAE8E2;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--home-bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* 主容器 (移动端居中 480px 限制) */
.phone-viewport {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--home-bg);
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.06);
  padding-bottom: 95px; /* 为底部 Tabbar 留出安全高度 */
}

/* 1. 顶部 Header (双品牌与 Slogan) */
.m-top-header {
  background: #FAF9F5;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
}

.m-brand-logo-pic {
  height: 36px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(27, 67, 50, 0.08));
}

.m-brand-cross {
  font-size: 13px;
  color: #ADC3B2;
  font-weight: 500;
  line-height: 1;
}

.m-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.m-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.m-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.m-brand-title {
  font-size: 15.5px;
  font-weight: 900;
  color: #1B4332;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.m-brand-sub {
  font-size: 10px;
  color: #64748B;
  margin-top: 2px;
  white-space: nowrap;
}

.m-brand-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.m-header-scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.3px;
}

.m-header-scan-btn:active {
  transform: scale(0.95);
  box-shadow: 0 1px 3px rgba(27, 67, 50, 0.2);
}

.m-header-scan-btn svg {
  stroke: #6EE7B7;
  flex-shrink: 0;
}

.m-slogan-vertical {
  text-align: right;
  font-size: 9.5px;
  color: #64748B;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

.m-bell-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  color: #475569;
  flex-shrink: 0;
}

/* 2. 主视觉 Hero Banner (从一垄地出发，让好食物走进千家万户) */
.m-hero-card {
  margin: 14px 14px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 8px 24px rgba(27,67,50,0.12);
  background-color: #123325;
}

.m-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.m-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.76) 48%, rgba(255,255,255,0.15) 100%);
}

.m-hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.m-hero-title-group {
  margin-bottom: auto;
}

.m-hero-main-title {
  font-size: 20px;
  font-weight: 900;
  color: #1B4332;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-hero-sub-title {
  font-size: 11.5px;
  color: #475569;
  margin-top: 6px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.m-hero-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.m-btn-primary-intro {
  background: #1B4332;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(27,67,50,0.28);
  transition: transform 0.15s, background 0.15s;
}

.m-btn-primary-intro:active {
  transform: scale(0.96);
  background: #143527;
}

.m-btn-primary-scan {
  background: #1B4332;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(27,67,50,0.25);
  transition: transform 0.15s;
}

.m-btn-primary-scan:active {
  transform: scale(0.96);
}

.m-btn-secondary-intro {
  background: rgba(255, 255, 255, 0.88);
  color: #1B4332;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(27,67,50,0.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.m-hero-watermark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  opacity: 0.9;
}

/* 3. 四大业务板块 (2x2 宫格，一只鸡排在第一位) */
.m-plates-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 14px 18px;
}

.m-plate-card-item {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 13px 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.03);
  border: 1px solid #EBE9E2;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 128px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.m-plate-card-item:active {
  transform: scale(0.98);
}

/* 第一大核心板块：一份礼 (置顶并左右撑满整行 1-2-2 经典构图) */
.m-plate-card-item.plate-gift {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FAF7F0 0%, #FFFFFF 100%);
  border-color: #EFE4D2;
  min-height: 94px;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  padding: 13px 16px;
}

.plate-gift .m-plate-content {
  width: auto;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.plate-gift .m-plate-title {
  font-size: 16.5px;
  font-weight: 900;
  color: #1B4332;
  margin: 0 0 3px;
}

.plate-gift .m-plate-desc {
  font-size: 10.5px;
  color: #475569;
  line-height: 1.4;
  margin: 0 0 6px;
}

.plate-gift .m-plate-link-text {
  font-size: 10.5px;
  font-weight: 700;
  color: #2D6A4F;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  align-self: flex-start;
}

.plate-gift .m-plate-img-wrap {
  position: static;
  width: 96px;
  height: 66px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(140,78,8,0.12);
  flex-shrink: 0;
  margin-left: 12px;
  display: block;
}

.plate-gift .m-plate-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* 2x2 宫格四大板块微渐变背景 */
.m-plate-card-item.plate-vegetable {
  background: linear-gradient(135deg, #F2FAF4 0%, #FFFFFF 100%);
  border-color: #CCEBD4;
}
.m-plate-card-item.plate-chicken {
  background: linear-gradient(135deg, #FFF9F3 0%, #FFFFFF 100%);
  border-color: #F8DEC9;
}
.m-plate-card-item.plate-tree {
  background: linear-gradient(135deg, #F4FAF5 0%, #FFFFFF 100%);
  border-color: #D3EBD9;
}
.m-plate-card-item.plate-fish {
  background: linear-gradient(135deg, #F0F8FA 0%, #FFFFFF 100%);
  border-color: #CCE8EE;
}

.m-plate-content {
  position: relative;
  z-index: 2;
  width: 60%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.m-plate-title {
  font-size: 16px;
  font-weight: 900;
  color: #1B4332;
  margin: 0 0 3px;
}

.m-plate-desc {
  font-size: 9.5px;
  color: #64748B;
  line-height: 1.35;
  margin: 0 0 8px;
}

.m-plate-link-text {
  font-size: 10px;
  font-weight: 700;
  color: #A05912;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  align-self: flex-start;
}

.plate-tree .m-plate-link-text,
.plate-chicken .m-plate-link-text,
.plate-vegetable .m-plate-link-text {
  color: #1B4332;
}
.plate-fish .m-plate-link-text {
  color: #0E7490;
}

.m-plate-img-wrap {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.m-plate-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.plate-chicken .m-plate-img-wrap {
  width: 76px;
  height: 78px;
}

.plate-chicken .m-plate-thumb {
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

/* 4. 通用栏目 Header */
.m-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 14px 10px;
}

.m-sec-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-sec-icon {
  font-size: 16px;
}

.m-sec-title {
  font-size: 15.5px;
  font-weight: 900;
  color: #1B4332;
  margin: 0;
}

.m-sec-sub {
  font-size: 10.5px;
  color: #859689;
  margin-left: 4px;
}

.m-sec-more {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* 5. 今天的一垄地 (横向滑动卡片 / 留空设计) */
.m-feed-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 14px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.m-feed-scroller::-webkit-scrollbar {
  display: none;
}

.m-feed-card {
  flex-shrink: 0;
  width: 138px;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #EBE9E2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.m-feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.m-feed-cover {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}

.m-feed-info {
  padding: 8px 10px;
}

.m-feed-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #1B4332;
  margin-bottom: 2px;
}

.m-feed-title {
  font-size: 10.5px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-feed-date {
  font-size: 9.5px;
  color: #94A3B8;
  margin-top: 3px;
}

/* ================= 5.5 一垄地·乡趣地图入口卡片 ================= */
.m-game-entry-section {
  margin: 14px 14px 18px;
}

.m-game-entry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 60%, #166534 100%);
  border-radius: 20px;
  padding: 16px 16px;
  text-decoration: none;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.m-game-entry-card:active {
  transform: scale(0.98);
}

.m-game-card-left {
  flex: 1;
  min-width: 0;
  z-index: 2;
}

.m-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #D1FAE5;
  margin-bottom: 6px;
}

.m-game-dot {
  width: 6px;
  height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: liveBlink 1.2s infinite;
}

.m-game-badge-icon {
  display: inline-flex;
  color: #A7F3D0;
}

.m-game-hot-pill {
  background: #F59E0B;
  color: #FFFFFF;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.m-game-title {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 3px;
  letter-spacing: 0.3px;
}

.m-game-slogan {
  font-size: 12px;
  font-weight: 800;
  color: #FEF08A;
  margin: 0 0 3px;
  letter-spacing: 0.2px;
}

.m-game-desc {
  font-size: 10.5px;
  color: #A7F3D0;
  line-height: 1.4;
  margin: 0 0 10px;
  opacity: 0.92;
}

.m-game-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  color: #78350F;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.m-game-arrow {
  font-size: 12px;
  transition: transform 0.15s;
}

.m-game-entry-card:active .m-game-arrow {
  transform: translateX(3px);
}

.m-game-card-right {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  margin-left: 12px;
  position: relative;
  z-index: 2;
}

.m-game-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* 首页悬浮游戏气泡入口 */
.m-float-game-bubble {
  position: fixed;
  right: 12px;
  bottom: 86px;
  z-index: 99;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  font-size: 11.5px;
  font-weight: 800;
  animation: floatPulse 2.5s infinite ease-in-out;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 6. 云上农场 (24小时真实直播，4路直通探头横滑) */
.m-live-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 14px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.m-live-scroller::-webkit-scrollbar {
  display: none;
}

.m-live-item-card {
  flex-shrink: 0;
  width: 102px;
  height: 102px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  background-color: #123325;
  border: 1px solid #CBD5E1;
}

.m-live-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.m-live-item-card:active img {
  transform: scale(1.05);
}

.m-live-badge-red {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(220, 38, 38, 0.9);
  color: #FFFFFF;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  backdrop-filter: blur(4px);
}

.m-live-badge-dot {
  width: 4px;
  height: 4px;
  background: #FFF;
  border-radius: 50%;
  animation: liveBlink 1.2s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.m-live-bottom-osd {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  padding: 14px 4px 7px;
  color: #FFF;
  text-align: center;
}

.m-live-name {
  font-size: 11px;
  font-weight: 800;
  display: block;
}

.m-live-audience {
  display: none !important;
}

/* 7. 严选商城 (留空 / 筹备中) */
.m-mall-empty-box {
  background: #FFFFFF;
  border-radius: 16px;
  margin: 0 14px 16px;
  padding: 20px 16px;
  text-align: center;
  border: 1px dashed #D1D5DB;
}

.m-mall-empty-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.m-mall-empty-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1B4332;
}

.m-mall-empty-sub {
  font-size: 10.5px;
  color: #64748B;
  margin-top: 3px;
}

/* 8. 底部固定 Tabbar (均匀等宽 5 分栏) */
.m-bottom-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 64px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
  padding: 0 4px;
}

.m-tab-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748B;
  font-size: 10px;
  font-weight: 600;
  height: 100%;
}

.m-tab-item.is-active {
  color: #1B4332;
  font-weight: 800;
}

.m-tab-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-tab-icon svg {
  width: 19px;
  height: 19px;
}

/* 中间悬浮突出的扫一扫主按钮 */
.m-tab-scan-center {
  flex-shrink: 0;
  position: relative;
  top: -14px;
  width: 52px;
  height: 52px;
  background: #1B4332;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(27,67,50,0.38);
  border: 3px solid #FFFFFF;
  transition: transform 0.15s;
}

.m-tab-scan-center:active {
  transform: scale(0.92);
}

.m-tab-scan-center svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.m-tab-scan-label {
  font-size: 8.5px;
  margin-top: 1px;
  font-weight: 700;
}

/* 9. 鸡舍摄像头 4K 实时播放弹窗 */
.cam-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.cam-modal-box {
  background: #0F172A;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}

.cam-modal-header {
  padding: 12px 16px;
  background: #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
}

.cam-modal-title {
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cam-modal-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
}

.cam-modal-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.cam-modal-viewport img,
.cam-modal-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cam-modal-osd {
  position: absolute;
  top: auto !important;
  bottom: 8px !important;
  left: 8px !important;
  right: 8px !important;
  height: auto !important;
  max-height: 36px;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5px 12px !important;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #E2E8F0;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}

.cam-modal-footer {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1E293B;
  font-size: 11px;
  color: #94A3B8;
}

/* ================= 8. 一垄地·生态农场 游戏全景样式 ================= */
.game-page-container {
  max-width: 480px;
  margin: 0 auto;
  background: #F4FBF6;
  min-height: 100vh;
  padding-bottom: 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}
.game-header-hud {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  color: #FFF;
  padding: 16px 14px 20px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.2);
}
.game-top-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.game-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.game-avatar-wrap {
  width: 46px;
  height: 46px;
  background: #E8F5E9;
  border: 2px solid #FCD34D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.game-user-info .name {
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
}
.game-user-info .lvl {
  font-size: 10.5px;
  background: rgba(255,255,255,0.2);
  padding: 2px 7px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 3px;
}
.game-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(4px);
  padding: 10px 12px;
  border-radius: 14px;
}
.game-stat-item {
  text-align: center;
}
.game-stat-label {
  font-size: 10px;
  color: #D1FAE5;
  margin-bottom: 2px;
}
.game-stat-val {
  font-size: 14px;
  font-weight: 900;
  color: #FDE047;
}
.game-checkin-banner {
  margin: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #FEF3C7 0%, #FFFBEB 100%);
  border: 1px solid #FCD34D;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}
.game-checkin-text {
  font-size: 12px;
  font-weight: 700;
  color: #92400E;
}
.game-btn-checkin {
  background: #F59E0B;
  color: #FFF;
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}
.game-plots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 14px 16px;
}
.game-plot-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px 12px;
  border: 1.5px solid #D1FAE5;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.game-plot-icon {
  font-size: 38px;
  margin: 4px 0 6px;
  transition: transform 0.2s;
}
.game-plot-card:active .game-plot-icon {
  transform: scale(1.18);
}
.game-plot-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1B4332;
  margin-bottom: 3px;
}
.game-plot-status {
  font-size: 10px;
  color: #64748B;
  margin-bottom: 8px;
}
.game-progress-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.game-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399);
  width: 65%;
  transition: width 0.3s;
}
.game-action-btn {
  width: 100%;
  background: #10B981;
  color: #FFF;
  border: none;
  padding: 7px 0;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  transition: transform 0.1s, background 0.2s;
}
.game-action-btn:active {
  transform: scale(0.96);
  background: #059669;
}
.game-notice-box {
  margin: 14px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px dashed #A7F3D0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.game-notice-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #065F46;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.game-notice-p {
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

