:root {
  --green-900: #14301c;
  --green-800: #1f4429;
  --green-700: #2f5d3a;
  --green-600: #3d7549;
  --green-500: #4f8f5d;
  --green-200: #c9e0c6;
  --green-100: #e2efdd;
  --green-50: #f1f7ee;
  --cream: #f6f6f4;
  --cream-2: #f3efe3;
  --ink: #1f2421;
  --ink-2: #4a524d;
  --muted: #7c8681;
  --line: rgba(31, 36, 33, 0.09);
  --white: #ffffff;
  --amber-bg: #fdf2d9;
  --amber-tx: #8a5a10;
  --coral-bg: #fde5dd;
  --coral-tx: #a63e21;
  --gray-bg: #ececea;
  --gray-tx: #6d7570;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 12px;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-up: 0 -2px 16px rgba(20, 48, 28, 0.07);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: #ecebe6;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 0;
}

/* ---------- 手机外壳 ---------- */
.device {
  position: relative;
  width: 390px;
  height: 844px;
  background: var(--cream);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 0 0 10px #1b1b1b, 0 0 0 12px #2e2e2e;
  display: flex;
  flex-direction: column;
}

@media (max-width: 440px), (max-height: 900px) {
  body { padding: 0; }
  .device { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
}

.statusbar {
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  letter-spacing: 0.2px;
}
.statusbar .sb-right { display: flex; align-items: center; gap: 5px; }
.sb-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }

/* ---------- 导航栏 ---------- */
.nav {
  flex: 0 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px 8px;
  background: var(--cream);
  position: relative;
  z-index: 5;
}
.nav.solid { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.nav-title { font-size: 16px; font-weight: 600; letter-spacing: 0.3px; flex: 1; }
.nav-back {
  width: 32px; height: 32px; margin-left: -6px;
  border: none; background: transparent; padding: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); border-radius: 50%;
}
.nav-back:active { background: rgba(0,0,0,0.05); }
.nav-action {
  font-size: 13px; color: var(--green-700); background: none; border: none;
  padding: 6px 2px; cursor: pointer; font-weight: 500;
}

/* ---------- 内容区 ---------- */
.screen {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.screen::-webkit-scrollbar { width: 0; }

.page { padding: 0 16px 24px; }

/* ---------- TabBar ---------- */
.tabbar {
  flex: 0 0 62px;
  height: 62px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: 6px;
}
.tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0 0;
}
.tabbar .tab.active { color: var(--green-700); font-weight: 600; }
.tabbar .tab svg { width: 21px; height: 21px; }

/* ---------- 底部操作条 ---------- */
.actionbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 18px;
  background: var(--white);
  box-shadow: var(--shadow-up);
}
.actionbar .price-block { flex: 1; }
.actionbar .price-main { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.5px; }
.actionbar .price-main small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.actionbar .price-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }

.btn {
  border: none; cursor: pointer; font-family: inherit;
  border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: transform 0.12s ease, opacity 0.12s;
}
.btn:active { transform: scale(0.975); }
.btn-primary {
  background: var(--green-700); color: #fff; padding: 13px 26px;
}
.btn-primary:disabled { background: #b6c2b8; box-shadow: none; }
.btn-ghost { background: var(--green-50); color: var(--green-700); padding: 13px 22px; }
.btn-block { width: 100%; display: block; padding: 15px; }

/* ---------- 首页 hero ---------- */
.hero {
  padding: 4px 16px 14px;
  background: var(--cream);
}
.hero-mark { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hero-logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.hero-title { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.hero-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- 统计条 ---------- */
.stat-strip {
  display: flex;
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 12px 0 14px;
}
.stat-strip > div {
  flex: 1; background: var(--white); padding: 11px 8px; text-align: center;
}
.stat-num { font-size: 17px; font-weight: 700; color: var(--green-700); letter-spacing: -0.3px; }
.stat-lbl { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ---------- 区块切换 ---------- */
.zone-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.zone-tab {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.zone-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  font-weight: 600;
}
.zone-tab .zt-num { opacity: 0.65; font-size: 11px; margin-left: 3px; }

/* ---------- 地图 ---------- */
.map-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px 12px 10px;
  box-shadow: var(--shadow);
  position: relative;
}
.map-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px 10px;
}
.map-title { font-size: 13px; font-weight: 600; }
.map-title span { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 6px; }
.map-zoom { display: flex; gap: 6px; }
.map-zoom button {
  width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink-2); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}

.map-scroll {
  overflow: auto;
  max-height: 430px;
  scrollbar-width: none;
}
.map-scroll::-webkit-scrollbar { width: 0; height: 0; }

.plot-grid {
  display: grid;
  gap: 6px;
  padding-bottom: 2px;
}
.plot {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: transform 0.12s ease;
  overflow: hidden;
}
.plot:active { transform: scale(0.93); }
.plot .p-no { font-size: 10px; font-weight: 600; letter-spacing: 0.2px; }
.plot .p-crop { font-size: 9px; opacity: 0.7; }

.plot.idle { background: var(--green-50); border-color: var(--green-200); color: var(--green-700); }
.plot.idle::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(79,143,93,0.07) 5px, rgba(79,143,93,0.07) 6px);
}
.plot.claimed { background: var(--gray-bg); border-color: #dedeDA; color: #8d9490; }
.plot.growing { background: #f6f0dc; border-color: #e6d8ad; color: #7a6118; }
.plot.harvest { background: var(--coral-bg); border-color: #f2c6b8; color: var(--coral-tx); }
.plot.mine {
  background: var(--green-700); border-color: var(--green-800); color: #fff;
  box-shadow: 0 3px 10px rgba(47,93,58,0.35);
}
.plot.mine .p-crop { opacity: 0.85; }
.plot-pin {
  position: absolute; top: -3px; right: -3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #e8a33d; border: 1.5px solid #fff;
}

.legend {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  padding: 12px 4px 2px;
  font-size: 11px; color: var(--muted);
}
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 5px; vertical-align: -1px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.card-title {
  font-size: 14px; font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-title .more { font-size: 12px; color: var(--muted); font-weight: 400; }

.sec-label {
  font-size: 12px; font-weight: 600; color: var(--muted);
  letter-spacing: 1px; margin: 18px 2px 8px;
}

/* ---------- 状态胶囊 ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
}
.pill.idle, .pill.claimed, .pill.growing, .pill.harvest { background: #f1f2f0; color: #5a625d; }
.pill.mine { background: var(--green-700); color: #fff; }

/* ---------- 详情页 ---------- */
.plot-hero {
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.plot-hero .ph-photo {
  height: 205px;
  background-size: cover; background-position: center 58%;
  background-color: #dfe5da;
}
.plot-hero .ph-info { padding: 12px 14px 13px; }
.plot-hero .ph-line1 { display: flex; align-items: center; gap: 8px; }
.plot-hero .ph-code { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0.3px; }
.plot-hero .ph-line1 .pill { margin-left: auto; }
.plot-hero .ph-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }

.kv-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.kv-row:last-child { border-bottom: none; }
.kv-row .k { color: var(--muted); }
.kv-row .v { font-weight: 600; }

/* ---------- 时间轴 ---------- */
.timeline { padding: 2px 0 0; }
.tl-item {
  display: flex; gap: 12px; position: relative; padding-bottom: 16px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot-col { flex: 0 0 18px; display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%; flex: 0 0 14px;
  border: 2px solid var(--green-500); background: var(--white);
  margin-top: 2px; display: flex; align-items: center; justify-content: center;
}
.tl-dot.done { background: var(--green-700); border-color: var(--green-700); }
.tl-dot.doing { border-color: #e8a33d; background: #fff; }
.tl-dot.doing::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e8a33d;
}
.tl-line { flex: 1; width: 1.5px; background: var(--green-200); margin: 2px 0 0; }
.tl-line.done { background: var(--green-500); }
.tl-body { flex: 1; padding-top: 0; }
.tl-name { font-size: 13px; font-weight: 600; }
.tl-name.dim { color: var(--muted); font-weight: 400; }
.tl-note { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.tl-day { font-size: 11px; color: var(--green-600); margin-top: 3px; font-weight: 500; }

/* ---------- 照片墙 ---------- */
.photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photo {
  aspect-ratio: 1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 6px;
}
.photo .ph-date {
  font-size: 9px; color: #fff; background: rgba(0,0,0,0.34);
  padding: 2px 5px; border-radius: 4px; backdrop-filter: blur(4px);
}
.ph-1 { background: linear-gradient(150deg, #7fa863, #4c7a42); }
.ph-2 { background: linear-gradient(150deg, #8ab06a, #568343); }
.ph-3 { background: linear-gradient(150deg, #6f9c58, #3f6b38); }
.ph-4 { background: linear-gradient(150deg, #9cbb6f, #6a9149); }
.ph-5 { background: linear-gradient(150deg, #5f8f4e, #365c30); }
.ph-6 { background: linear-gradient(150deg, #86ad62, #4e7c40); }

/* ---------- 列表项 ---------- */
.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.list-item:last-child { border-bottom: none; }
.li-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 38px; font-size: 16px;
}
.li-body { flex: 1; min-width: 0; }
.li-title { font-size: 14px; font-weight: 500; }
.li-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }
.li-right { font-size: 13px; font-weight: 600; color: var(--ink); }
.chev { color: #c3cbc5; font-size: 15px; }

/* ---------- 选项组 ---------- */
.opt-group { display: grid; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.opt.selected { border-color: var(--green-700); background: var(--green-50); }
.opt-body { flex: 1; }
.opt-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.opt-desc { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.opt-price { font-size: 15px; font-weight: 700; color: var(--green-700); }
.opt-price small { font-size: 10px; font-weight: 400; color: var(--muted); }
.tag-mini {
  font-size: 9px; background: #e8a33d; color: #fff;
  padding: 2px 5px; border-radius: 4px; font-weight: 600; letter-spacing: 0.3px;
}
.radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #c9d2cb; flex: 0 0 18px;
  display: flex; align-items: center; justify-content: center;
}
.opt.selected .radio { border-color: var(--green-700); background: var(--green-700); }
.opt.selected .radio::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ---------- 步进器 ---------- */
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--ink-2); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
}
.stepper .num { font-size: 14px; font-weight: 600; min-width: 16px; text-align: center; }

/* ---------- 费用汇总 ---------- */
.fee-row {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 7px 0; color: var(--ink-2);
}
.fee-row.total {
  border-top: 1px dashed var(--line);
  margin-top: 6px; padding-top: 12px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.fee-row .fee-v { font-weight: 600; }

/* ---------- 成功页 ---------- */
.success-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 46px 24px 24px; text-align: center;
}
.success-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.success-title { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.success-desc { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; max-width: 280px; }
.success-card {
  width: 100%; margin-top: 26px; text-align: left;
}

/* ---------- 我的菜园 ---------- */
.mine-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
}
.mine-card-top { display: flex; gap: 12px; padding: 12px 14px; align-items: center; }
.mc-thumb {
  width: 74px; height: 56px; flex: 0 0 74px;
  border-radius: 8px; background-size: cover; background-position: center 58%;
  background-color: #dfe5da;
}
.mc-main { flex: 1; min-width: 0; }
.mc-row { display: flex; align-items: center; justify-content: space-between; }
.mc-code { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: 0.3px; }
.mc-crop { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: 3px; }
.mc-zone { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mc-zone { margin-top: 3px; }
.mine-card-body { padding: 12px 16px 14px; }
.mc-progress {
  height: 5px; border-radius: 3px; background: var(--green-100);
  overflow: hidden; margin: 8px 0 8px;
}
.mc-progress i { display: block; height: 100%; background: var(--green-600); border-radius: 3px; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.mc-foot .go { color: var(--green-700); font-weight: 600; }

/* ---------- 空状态 / 提示 ---------- */
.tip {
  display: flex; gap: 8px;
  background: var(--green-50);
  border-radius: var(--r-md);
  padding: 11px 13px;
  font-size: 11.5px; color: var(--green-800);
  line-height: 1.55;
  margin-top: 12px;
}
.tip b { font-weight: 600; }

.toast {
  position: absolute; left: 50%; bottom: 110px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20, 48, 28, 0.92);
  color: #fff; font-size: 13px; padding: 10px 18px;
  border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  white-space: nowrap; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.divider { height: 1px; background: var(--line); margin: 14px 0; }

.fade-in { animation: fadeIn 0.26s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= 场景头图 ================= */
.scene {
  position: relative;
  padding: 12px 2px 10px;
  background: var(--cream);
  flex: 0 0 auto;
}
.scene-sun, .scene-cloud, .scene-hill { display: none; }
.scene-sun {
  position: absolute; right: 34px; top: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #FBE6A8;
  box-shadow: 0 0 0 10px rgba(251, 230, 168, 0.28);
}
.scene-cloud {
  position: absolute; height: 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}
.scene-cloud::before, .scene-cloud::after {
  content: ''; position: absolute; border-radius: 50%;
  background: inherit;
}
.scene-cloud.c1 { width: 52px; left: 38px; top: 30px; }
.scene-cloud.c1::before { width: 24px; height: 24px; left: 8px; top: -10px; }
.scene-cloud.c1::after { width: 17px; height: 17px; right: 8px; top: -6px; }
.scene-cloud.c2 { width: 38px; right: 96px; top: 62px; opacity: 0.75; }
.scene-cloud.c2::before { width: 18px; height: 18px; left: 6px; top: -8px; }
.scene-hill {
  position: absolute; bottom: 0; border-radius: 50% 50% 0 0;
}
.scene-hill.h1 {
  width: 320px; height: 74px; left: -50px; bottom: 0;
  background: #BBD3A6; opacity: 0.55;
}
.scene-hill.h2 {
  width: 260px; height: 54px; right: -40px; bottom: 0;
  background: #A6C48E; opacity: 0.45;
}
.scene-text { position: static; }
.scene-name {
  font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: 0.5px;
}
.scene-sub {
  font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: 0.2px;
}

/* ================= 地图卡 ================= */
.map-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px 12px 8px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.map-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px 10px;
}
.map-title { font-size: 13px; font-weight: 600; }
.map-title span { display: block; font-weight: 400; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.map-back {
  font-size: 11px; color: var(--green-700); background: var(--green-50);
  border: none; padding: 6px 11px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.scale-tag {
  font-size: 10px; color: var(--green-700); background: var(--green-50);
  padding: 5px 10px; border-radius: 999px; font-weight: 500; letter-spacing: 0.4px;
}
.map-body { border-radius: 10px; overflow: hidden; background: #E7DFC9; }
.farmmap { display: block; width: 100%; height: auto; }

/* ================= 三档价格卡 ================= */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.price-card {
  background: var(--white); border-radius: var(--r-md);
  padding: 13px 10px 12px; border: 1.5px solid transparent;
  box-shadow: var(--shadow);
}
.price-card.hot { border-color: var(--green-700); background: var(--green-50); }
.pc-name { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pc-num {
  font-size: 18px; font-weight: 700; color: var(--green-700);
  margin-top: 5px; letter-spacing: -0.5px;
}
.pc-num span { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: 1px; }
.pc-desc { font-size: 9.5px; color: var(--muted); line-height: 1.5; margin-top: 6px; }

/* ================= 尺寸示意 ================= */
.dim-wrap {
  display: flex; align-items: center; gap: 16px;
  padding: 6px 2px 16px;
}
.dim-rect {
  width: 39px; height: 130px; flex: 0 0 39px;
  border: 1.5px solid #B8D4A6; border-radius: 5px;
  background: #DCEBD3;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255,255,255,0.75) 12px, rgba(255,255,255,0.75) 13px);
}
.dim-info { flex: 1; }
.dim-num { font-size: 26px; font-weight: 700; color: var(--green-700); letter-spacing: -0.8px; }
.dim-num small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.dim-line { font-size: 12px; color: var(--ink-2); margin-top: 6px; font-weight: 500; }
.dim-line2 { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ================= 种法行 ================= */
.svc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: none; }
.svc-name { font-size: 13.5px; font-weight: 600; }
.svc-desc { font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.svc-price { font-size: 15px; font-weight: 700; color: var(--green-700); }

.row-between {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted); margin-top: 6px;
}

/* ================= 游戏化田地 ================= */
.field-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.fc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 11px;
}
.fc-title { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.2px; }
.fc-day { font-size: 12px; color: var(--muted); font-weight: 400; }
/* 平面图（等比，1 米 = 100 单位） */
.plan-wrap {
  display: flex; align-items: center; gap: 10px;
}
.plan-svg {
  display: block; width: 46%; flex: 0 0 46%; height: auto;
  background: #FFFFFF; border-radius: 10px; padding: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.bed-rows { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.bed-row { display: flex; align-items: center; gap: 8px; }
.bed-badge {
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px;
  background: rgba(255,255,255,0.92); color: #3C6B47;
  font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.bed-info { flex: 1; min-width: 0; }
.bed-crop {
  font-size: 12px; color: #fff; font-weight: 600;
  display: flex; justify-content: space-between; align-items: baseline;
}
.bed-crop span { font-size: 10.5px; color: rgba(255,255,255,0.86); font-weight: 500; }
.bed-meta {
  font-size: 9px; color: rgba(255,255,255,0.66); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bed-bar {
  height: 3px; border-radius: 2px; background: rgba(255,255,255,0.22);
  margin-top: 4px; overflow: hidden;
}
.bed-bar i { display: block; height: 100%; border-radius: 2px; background: #BFE39A; }
.fc-foot {
  font-size: 10.5px; color: var(--muted);
  margin-top: 10px; text-align: center; letter-spacing: 0.2px;
}

/* ================= 调试：地图区块 hover ================= */
.plot:active, .plot-grid .plot { transition: none; }

/* ================= 真实手机全屏（客户视角）：小屏时去掉壳 ================= */
@media (max-width: 480px), (max-height: 700px) {
  body { padding: 0; }
  .device {
    width: 100vw; height: 100vh; height: 100dvh;
    border-radius: 0; box-shadow: none;
  }
  .statusbar { display: none; }
}

/* ================= 写实畦面大图（三畦各 4:2.5，纵向堆叠 = 整块 4:7.5） ================= */
.rp { width: 100%; }
.rp-dim-top {
  font-size: 10.5px; color: var(--muted); text-align: center;
  margin-bottom: 8px; letter-spacing: 0.2px;
}
.rp-beds { display: flex; flex-direction: column; gap: 6px; }
.rp-bed {
  margin: 0; position: relative;
  aspect-ratio: 8 / 5;
  background-size: cover; background-position: center 58%;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.rp-top {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 8px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.46), rgba(0,0,0,0));
}
.rp-no {
  background: #fff; color: #2F5D3A; font-size: 10px; font-weight: 700;
  padding: 1.5px 7px; border-radius: 999px; letter-spacing: 0.3px;
}
.rp-crop { color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.rp-pct {
  margin-left: auto; color: #fff; font-size: 10px; font-weight: 600;
  background: rgba(24, 58, 34, 0.75); padding: 1.5px 8px; border-radius: 999px;
}
.rp-size {
  position: absolute; right: 8px; bottom: 7px;
  font-size: 9.5px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* ================= 每日实拍 ================= */
.dl-photo {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: 10px; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: #dfe5da;
}
.dl-stamp {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 10px 8px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.5));
}
.dl-stamp-date { color: #fff; font-size: 11px; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.dl-stamp-day {
  color: #fff; font-size: 10px; font-weight: 600;
  background: rgba(24,58,34,0.75); padding: 2px 8px; border-radius: 999px;
}
.dl-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 2px 2px;
}
.dl-bar-note { flex: 1; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.dl-btn {
  border: 1px solid var(--green-700); background: var(--green-50); color: var(--green-700);
  font-family: inherit; font-size: 11.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 8px; cursor: pointer; flex: 0 0 auto;
}
.dl-strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px;
  scrollbar-width: none;
}
.dl-strip::-webkit-scrollbar { display: none; }
.dl-cell { flex: 0 0 84px; }
.dl-thumb {
  width: 84px; height: 62px; border-radius: 7px;
  background-size: cover; background-position: center;
  background-color: #dfe5da;
}
.dl-date { font-size: 10.5px; font-weight: 600; color: var(--ink-2); margin-top: 5px; }
.dl-note {
  font-size: 9.5px; color: var(--muted); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ================= 首页今日实拍横滑 ================= */
.today-strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px;
  scrollbar-width: none;
}
.today-strip::-webkit-scrollbar { display: none; }
.ts-card {
  flex: 0 0 168px; background: var(--white); border-radius: var(--r-md);
  box-shadow: var(--shadow); overflow: hidden; cursor: pointer;
}
.ts-photo {
  width: 100%; height: 118px;
  background-size: cover; background-position: center;
  background-color: #dfe5da; position: relative;
}
.ts-flag {
  position: absolute; left: 7px; top: 7px;
  font-size: 9px; color: #fff; font-weight: 600;
  background: rgba(47,93,58,0.88); padding: 2px 7px; border-radius: 999px;
}
.ts-info { padding: 8px 10px 10px; }
.ts-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ts-meta { font-size: 10px; color: var(--muted); margin-top: 2px; }
