* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #79c9bf;
  color: #3b2d22;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body { min-height: 100vh; min-height: 100dvh; }
body.no-scroll { overflow: hidden; }
button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:disabled { cursor: default; }
h1, h2, h3, p { margin: 0; }
:root {
  --orange: #FF8A3D;
  --orange-deep: #E96E1E;
  --orange-dark: #C95A12;
  --cream: #FFF8EA;
  --cream-2: #FFF1D8;
  --cream-3: #F6E7CF;
  --ink: #3B2D22;
  --ink-2: #6B5442;
  --muted: #9B856E;
  --green: #7FBE58;
  --green-deep: #5D9B3E;
  --grass: #A8DB7B;
  --grass-deep: #7FC25B;
  --sky: #A6E6DE;
  --sky-deep: #7DCFC7;
  --soil: #A9744E;
  --soil-deep: #7B4E33;
  --card-shadow: 0 8px 0 rgba(88, 60, 37, .08), 0 16px 28px rgba(60, 90, 38, .14);
}
.app {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 86% 3%, rgba(255, 255, 255, .42), transparent 29%),
    radial-gradient(circle at 6% 24%, rgba(255, 255, 255, .28), transparent 24%),
    linear-gradient(180deg, #A6E6DE 0%, #C8EFD9 26%, #A8DB7B 61%, #8FCB63 100%);
}
.world {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
}

/* ---------- 天空装饰 ---------- */
.sky-deco {
  position: absolute;
  inset: 0 0 auto;
  height: 310px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sun {
  position: absolute;
  top: 52px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #FFF5B8 0%, #FFD75C 46%, #FFB83E 100%);
  box-shadow: 0 0 0 12px rgba(255, 231, 134, .22), 0 0 34px rgba(255, 197, 66, .48);
  animation: sunGlow 4.5s ease-in-out infinite;
}
.sun.small { width: 46px; height: 46px; top: 58px; right: 42px; }
.cloud {
  position: absolute;
  width: 74px;
  height: 25px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 5px 14px rgba(85, 135, 125, .12);
  animation: cloudDrift 11s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.cloud::before { width: 34px; height: 34px; left: 12px; top: -15px; }
.cloud::after { width: 24px; height: 24px; right: 12px; top: -9px; }
.cloud-a { top: 64px; left: -22px; animation-duration: 13s; }
.cloud-b { top: 94px; right: -16px; --cs: .82; transform: scale(.82); animation-delay: -3s; }
.cloud-c { top: 18px; left: 38%; --cs: .58; transform: scale(.58); opacity: .8; animation-delay: -6s; }
.bird {
  position: absolute;
  width: 15px;
  height: 8px;
  border-top: 2px solid rgba(80, 112, 104, .5);
  border-radius: 50%;
  transform: rotate(-11deg);
}
.bird::after {
  content: "";
  position: absolute;
  left: 13px;
  top: -2px;
  width: 15px;
  height: 8px;
  border-top: 2px solid rgba(80, 112, 104, .5);
  border-radius: 50%;
  transform: rotate(22deg);
}
.bird-a { top: 96px; left: 28%; animation: birdFloat 6s ease-in-out infinite; }
.bird-b { top: 112px; left: 52%; transform: scale(.7) rotate(-11deg); animation: birdFloatB 7s ease-in-out infinite; }

/* ---------- 顶部状态 ---------- */
.hud {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 4px;
}
.player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 248, 234, .82);
  border: 1.5px solid rgba(255, 255, 255, .75);
  box-shadow: 0 4px 0 rgba(90, 118, 70, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.avatar {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #FFE6C4;
  border: 2.5px solid #FFFDF7;
  box-shadow: 0 3px 8px rgba(120, 80, 30, .18);
}
.avatar svg, .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.player-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.player-meta strong {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.player-meta small {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #7C664F;
  white-space: nowrap;
}
.player-meta small { max-width: 118px; overflow: hidden; }
.player-meta small .mp-icon { width: 12px; height: 12px; color: var(--orange); flex: 0 0 auto; }
.player-meta small span { overflow: hidden; text-overflow: ellipsis; }
.level-tag {
  flex: 0 0 auto;
  padding: 1px 5px;
  border-radius: 6px;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .02em;
  color: #7A4A12;
  background: linear-gradient(180deg, #FFE07A, #FFC13B);
  border: 1px solid #E5A521;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}
.xp-track {
  position: relative;
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 2px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(93, 74, 48, .18);
}
.xp-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFD45C, #FF8A3D);
  transition: width .35s ease;
}
.hud-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.coin-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 37px;
  padding: 0 11px 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFF6DE, #FFE7B4);
  border: 1.5px solid #EFCB8C;
  box-shadow: 0 3px 0 #D9AE63, inset 0 1px 0 rgba(255, 255, 255, .9);
  font-variant-numeric: tabular-nums;
}
.coin-pill strong { font-size: 15px; color: #7A4A12; letter-spacing: -.01em; }
.coin-pill.small { height: 32px; padding: 0 9px 0 5px; }
.coin-pill.small strong { font-size: 13px; }
.coin-mark {
  position: relative;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: radial-gradient(circle at 35% 28%, #FFEE9E 0%, #FFC83E 42%, #F09A19 100%);
  border: 2px solid #D98A19;
  box-shadow: inset 0 -2px 0 rgba(170, 92, 8, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.coin-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(154, 86, 8, .46);
}
.coin-pill.small .coin-mark { width: 18px; height: 18px; }
.round-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #6B543F;
  background: rgba(255, 248, 234, .86);
  border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 3px 0 rgba(90, 118, 70, .14);
  transition: transform .12s ease, background .2s ease;
}
.round-btn .mp-icon { width: 20px; height: 20px; }
.round-btn:active { transform: translateY(1px) scale(.95); background: #FFF2D8; }
.dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF4D3D;
  border: 2px solid #FFF8EA;
  animation: dotPulse 1.7s ease-in-out infinite;
}

/* ---------- 农庄场景 ---------- */
.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 48px 16px calc(110px + env(safe-area-inset-bottom));
}
.farm-scene {
  position: relative;
  padding: 154px 12px 15px;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .58);
  background:
    radial-gradient(circle at 16% 5%, rgba(255, 255, 255, .4), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .2), transparent 26%),
    linear-gradient(180deg, #BDEA97 0%, #A8DB7B 30%, #93CF69 100%);
  box-shadow: 0 10px 0 rgba(78, 116, 43, .18), 0 20px 36px rgba(45, 90, 30, .22), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.farm-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 14% 110%, rgba(72, 112, 41, .22), transparent 55%),
    radial-gradient(ellipse at 90% 108%, rgba(72, 112, 41, .18), transparent 50%);
}
.scene-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 146px;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  border-radius: 28px 28px 0 0;
  background: #9BD47E;
}
.scene-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(1.06) contrast(1.02);
}
.scene-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(60, 105, 40, 0) 42%, rgba(147, 207, 105, .3) 72%, #93CF69 100%),
    linear-gradient(90deg, rgba(255, 236, 190, .12), transparent 30%, transparent 72%, rgba(90, 140, 55, .12));
}
.scene-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.barn {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 132px;
  height: 100px;
  filter: drop-shadow(0 8px 9px rgba(67, 91, 39, .2));
  animation: barnFloat 4.8s ease-in-out infinite;
}
.barn svg { width: 100%; height: 100%; overflow: visible; }
.tree {
  position: absolute;
  width: 44px;
  height: 58px;
  --ts: 1;
  transform-origin: 50% 100%;
  animation: treeSway 5.5s ease-in-out infinite;
}
.tree::before {
  content: "";
  position: absolute;
  left: 19px;
  bottom: 0;
  width: 7px;
  height: 24px;
  border-radius: 4px;
  background: #9A6A43;
  box-shadow: inset -2px 0 0 rgba(90, 55, 30, .25);
}
.tree i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 40px;
  height: 38px;
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 32% 30%, #B9E982, #82C556 58%, #629E3F 100%);
  box-shadow: -7px 3px 0 -2px #8CCE60, 8px 5px 0 -3px #74B34A, inset 0 -5px 0 rgba(62, 104, 35, .16);
}
.tree-a { left: 18px; top: 24px; animation-delay: -.8s; }
.tree-b { left: 66px; top: 36px; --ts: .78; transform: scale(.78); animation-delay: -2.4s; }
.bush {
  position: absolute;
  width: 42px;
  height: 24px;
  border-radius: 999px 999px 10px 10px;
  background: radial-gradient(circle at 30% 26%, #A8DD73, #6EAE46);
  box-shadow: inset 0 -5px 0 rgba(57, 96, 31, .15);
  opacity: .9;
}
.bush-a { right: 14px; bottom: 42px; transform: scale(.8); }
.bush-b { left: 8px; bottom: 54px; transform: scale(.62); }
.fence {
  position: absolute;
  right: -6px;
  top: 72px;
  width: 116px;
  height: 36px;
  opacity: .75;
  transform: rotate(-2deg);
  background:
    linear-gradient(#EAC58E, #EAC58E) 0 12px / 100% 7px no-repeat,
    linear-gradient(#DFB274, #DFB274) 0 27px / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, #F4D8A6 0 9px, transparent 9px 27px);
  filter: drop-shadow(0 3px 2px rgba(92, 65, 35, .15));
}
.field-wrap { position: relative; z-index: 3; }
.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 0 2px 9px;
}
.field-tip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .72);
  color: #45652D;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field-tip .mp-icon { width: 13px; height: 13px; flex: 0 0 auto; }
.field-count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(67, 93, 45, .16);
  color: #3F5E2A;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.season-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px 9px;
  padding: 5px 9px 5px 6px;
  border-radius: 12px;
  background: rgba(255, 250, 238, .56);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 3px 8px rgba(60, 90, 38, .08);
  color: #4F6A37;
}
.season-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #FFF0CD;
  color: #E08A22;
}
.season-icon .mp-icon { width: 13px; height: 13px; }
.season-label {
  flex: 0 0 auto;
  color: #4F6A37;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.season-track {
  flex: 1;
  min-width: 28px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(79, 106, 55, .16);
}
.season-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFD45C, #FF8A3D);
  transition: width .4s ease;
}
.season-count {
  flex: 0 0 auto;
  color: #7A5A2D;
  font-size: 9.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.season-strip.done {
  background: linear-gradient(135deg, #FFF3D2, #FFE1A0);
  border-color: #F0C26C;
  box-shadow: 0 3px 10px rgba(217, 150, 40, .18);
}
.season-strip.done .season-icon {
  background: linear-gradient(180deg, #FFC44E, #FF9426);
  color: #fff;
  box-shadow: 0 2px 0 #D97412;
}
.season-strip.done .season-label { color: #8B5A12; }
.season-strip.done .season-track { background: rgba(139, 90, 18, .18); }
.season-strip.done .season-track i { background: linear-gradient(90deg, #FFB23E, #FF7A2A); }
.season-strip.done .season-count { color: #8B5A12; }

/* ---------- 地块 ---------- */
.field { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
.plot {
  position: relative;
  padding: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: visible;
  border-radius: 18px;
  border: 3px solid rgba(255, 243, 220, .88);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, .16), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 23%, rgba(63, 36, 20, .12) 23% 25%, transparent 25% 50%),
    linear-gradient(155deg, #B9845E 0%, #9D6846 55%, #7F5035 100%);
  box-shadow:
    inset 0 -8px 0 rgba(70, 42, 24, .2),
    inset 0 2px 0 rgba(255, 255, 255, .12),
    0 5px 0 rgba(109, 74, 41, .24),
    0 9px 13px rgba(63, 94, 39, .15);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
  isolation: isolate;
}
.plot:active { transform: translateY(2px) scale(.965); }
.plot.empty { background:
  radial-gradient(circle at 50% 42%, rgba(255, 244, 220, .17), transparent 37%),
  repeating-linear-gradient(90deg, transparent 0 23%, rgba(63, 36, 20, .12) 23% 25%, transparent 25% 50%),
  linear-gradient(155deg, #B9845E 0%, #9D6846 55%, #7F5035 100%);
}
.plot.locked {
  border-color: rgba(255, 255, 255, .38);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 8px, transparent 8px 16px),
    linear-gradient(155deg, #B4AC96 0%, #958D77 58%, #7C745F 100%);
  box-shadow: inset 0 -8px 0 rgba(56, 49, 35, .18), 0 5px 0 rgba(95, 87, 66, .22), 0 9px 13px rgba(63, 94, 39, .12);
  color: rgba(255, 250, 238, .96);
}
.plot.locked.next {
  border-color: rgba(255, 226, 166, .9);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 223, 158, .22), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .09) 0 8px, transparent 8px 16px),
    linear-gradient(155deg, #B9A57F 0%, #9C875F 58%, #806C4C 100%);
}
.plot.ready {
  border-color: #FFD45C;
  box-shadow:
    inset 0 -8px 0 rgba(70, 42, 24, .16),
    0 0 0 4px rgba(255, 208, 82, .38),
    0 6px 0 rgba(109, 74, 41, .22),
    0 0 24px rgba(255, 194, 66, .52);
}
.plot.stealable {
  border-color: #FFD45C;
  box-shadow:
    inset 0 -8px 0 rgba(70, 42, 24, .16),
    0 0 0 4px rgba(255, 208, 82, .38),
    0 6px 0 rgba(109, 74, 41, .22),
    0 0 24px rgba(255, 194, 66, .52);
  animation: stealablePulse 1.8s ease-in-out infinite;
}
.plot.stolen-plot { filter: saturate(.72) brightness(.92); }
.crop-art {
  position: absolute;
  left: 50%;
  bottom: 16%;
  width: 78%;
  height: 68%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 2px rgba(67, 39, 19, .28));
  transition: width .4s ease, height .4s ease;
}
.crop-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.plot.ready .crop-art { animation: cropBounce 1.45s ease-in-out infinite; }
.crop-art.stage-0 { width: 45%; height: 42%; }
.crop-art.stage-1 { width: 63%; height: 56%; }
.crop-art.stage-2 { width: 80%; height: 72%; }
.crop-mini {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 5;
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(53, 33, 18, .46);
  color: #FFF7E8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(3px);
}
.stolen-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  padding: 2px 5px;
  border-radius: 7px;
  background: rgba(60, 34, 22, .72);
  color: #FFD9A8;
  font-size: 9px;
  font-weight: 800;
}
.steal-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFC44E, #FF9426);
  border: 1px solid #FFE1A0;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 2px 0 #D97412;
}
.steal-badge .mp-icon { width: 11px; height: 11px; }
.plot-timer {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(48, 29, 17, .62);
  color: #FFF8EA;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.plot-timer .mp-icon { width: 12px; height: 12px; }
.plot.ready .plot-timer {
  background: linear-gradient(180deg, #FFB23E, #FF861F);
  box-shadow: 0 2px 0 #D96A12;
  color: #fff;
  height: 21px;
  animation: readyPulse 1.4s ease-in-out infinite;
}
.plot-bar {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 5px;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .24);
  z-index: 4;
}
.plot-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #FFD45C, #FF8A3D);
  transition: width .35s linear;
}
.plot.ready .plot-bar i { background: linear-gradient(90deg, #FFE38A, #FFB23E); }
.plot-empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 244, 220, .94);
  text-shadow: 0 1px 0 rgba(80, 45, 20, .28);
}
.plot-empty .mp-icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 244, 220, .72);
  background: rgba(255, 255, 255, .12);
}
.plot-empty b { font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.plot-lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-shadow: 0 1px 0 rgba(50, 40, 25, .3);
}
.plot-lock .mp-icon { width: 26px; height: 26px; opacity: .9; }
.plot-lock b { font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.plot-lock small {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.mini-coin {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  background: radial-gradient(circle at 35% 30%, #FFF0A6, #FFC13B 55%, #E89415);
  border: 1.5px solid #C47B12;
}
.friend-field .plot { cursor: pointer; }
.steal-hand {
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 7;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 234, .94);
  color: #E57724;
  box-shadow: 0 4px 12px rgba(80, 50, 20, .25);
  animation: handTap 1.3s ease-in-out infinite;
}
.steal-hand .mp-icon { width: 19px; height: 19px; }

/* ---------- 底部操作 ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 7px;
  width: 100%;
  max-width: 520px;
  padding: 8px 16px calc(11px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 248, 234, 0) 0%, rgba(255, 248, 234, .72) 20%, #FFF8EA 48%);
}
.dock::before {
  content: "";
  position: absolute;
  inset: 15px 10px 0;
  border-radius: 25px 25px 0 0;
  background: #FFF8EA;
  box-shadow: 0 -7px 26px rgba(60, 85, 40, .16);
  z-index: -1;
}
.dock-btn {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px 2px;
  border-radius: 16px;
  color: #6B5442;
  font-size: 11px;
  font-weight: 800;
  transition: transform .12s ease;
}
.dock-btn:active { transform: translateY(2px) scale(.97); }
.dock-ico {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 0 rgba(80, 50, 20, .16), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.dock-ico .mp-icon { width: 21px; height: 21px; }
.dock-btn[data-act="shop"] .dock-ico { background: linear-gradient(180deg, #FFA45C, #FF7A2A); box-shadow: 0 4px 0 #CF5F12, inset 0 1px 0 rgba(255, 255, 255, .4); }
.dock-btn[data-act="friends"] .dock-ico { background: linear-gradient(180deg, #79D6B0, #3FB488); box-shadow: 0 4px 0 #258A64, inset 0 1px 0 rgba(255, 255, 255, .4); }
.dock-btn[data-act="signin"] .dock-ico { background: linear-gradient(180deg, #FFCE5C, #FFA726); box-shadow: 0 4px 0 #CF8413, inset 0 1px 0 rgba(255, 255, 255, .4); }
.dock-dot { top: 2px; right: 18px; }

/* ---------- 通用弹层 ---------- */
.sheet-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 20, .46);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .2s ease both;
}
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  max-height: 88dvh;
  border-radius: 28px 28px 0 0;
  border-top: 2px solid #fff;
  background: linear-gradient(180deg, #FFFDF7 0%, #FFF6E6 100%);
  box-shadow: 0 -18px 44px rgba(50, 30, 15, .26);
  padding-bottom: env(safe-area-inset-bottom);
  animation: sheetUp .28s cubic-bezier(.2, .9, .25, 1) both;
}
.sheet-grab {
  width: 42px;
  height: 5px;
  margin: 9px auto 0;
  border-radius: 3px;
  background: #E5D6C0;
  flex: 0 0 auto;
}
.sheet-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 18px 7px;
  flex: 0 0 auto;
}
.sheet-heading { min-width: 0; }
.sheet-heading h2 {
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: #3B2D22;
}
.sheet-heading p {
  margin-top: 3px;
  color: #9B856E;
  font-size: 11.5px;
  line-height: 1.4;
}
.sheet-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #F2E6D4;
  color: #7C6753;
  transition: transform .12s ease, background .2s ease;
}
.sheet-close:active { transform: scale(.93); background: #EADBC6; }
.sheet-close .mp-icon { width: 18px; height: 18px; }
.sheet-body {
  padding: 5px 16px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.sheet-body.busy, .friend-field.busy { pointer-events: none; opacity: .72; transition: opacity .15s ease; }

/* ---------- 种子选择 / 商店 ---------- */
.wallet-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 15px;
  background: linear-gradient(135deg, #FFF1D5, #FFE6B9);
  border: 1.5px solid #F0D19A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.wallet-strip .coin-mark { width: 24px; height: 24px; }
.wallet-strip b { font-size: 17px; color: #7A4A12; font-variant-numeric: tabular-nums; }
.wallet-strip span { color: #A57E4B; font-size: 11px; font-weight: 700; }
.wallet-strip .wallet-note { margin-left: auto; color: #8D6C43; font-size: 10px; }
.seed-list { display: flex; flex-direction: column; gap: 10px; }
.seed-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: #FFFDF8;
  border: 1.5px solid #F0E2CC;
  box-shadow: 0 4px 0 rgba(120, 90, 50, .06), 0 8px 14px rgba(110, 85, 50, .05);
}
.seed-art {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1.5px solid #CBE59E;
  background: radial-gradient(circle at 32% 24%, #FAFFE9, #E4F7C4 55%, #CFEBA6 100%);
}
.seed-art svg { width: 48px; height: 48px; overflow: visible; }
.seed-body { flex: 1; min-width: 0; }
.seed-title { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 900; color: #3B2D22; }
.seed-title em {
  font-style: normal;
  padding: 1px 5px;
  border-radius: 5px;
  background: #EEF7D9;
  color: #73984B;
  font-size: 9px;
  font-weight: 800;
}
.seed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 9px;
  margin-top: 3px;
  color: #9B856E;
  font-size: 10.5px;
  font-weight: 600;
}
.seed-meta b { color: #D96A1C; }
.bag-line {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 7px;
  background: #F1E8D8;
  color: #846B52;
  font-size: 10px;
  font-weight: 800;
}
.bag-line .mp-icon { width: 12px; height: 12px; }
.buy-btn {
  flex: 0 0 auto;
  min-width: 79px;
  height: 40px;
  padding: 0 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFA158, #FF7A2A);
  color: #fff;
  box-shadow: 0 3px 0 #D75E12, inset 0 1px 0 rgba(255, 255, 255, .42);
  transition: transform .12s ease, box-shadow .12s ease;
}
.buy-btn b { font-size: 12px; line-height: 1.12; font-weight: 900; }
.buy-btn small { font-size: 9px; line-height: 1.12; font-weight: 700; opacity: .92; }
.buy-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #D75E12; }
.buy-btn:disabled {
  background: linear-gradient(180deg, #D8CCBA, #C5B7A2);
  box-shadow: 0 3px 0 #AB9C86;
  color: #FFF9EE;
  opacity: .9;
}
.unlock-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 13px;
  border-radius: 18px;
  border: 1.5px dashed #A9CB76;
  background: linear-gradient(135deg, #EFFADB, #DDF2BC);
}
.unlock-art {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(160deg, #C7E5A0, #A6CF78);
  border: 1.5px solid #98BF6C;
  color: #4F7A32;
  box-shadow: inset 0 -4px 0 rgba(65, 105, 35, .14);
}
.unlock-art .mp-icon { width: 27px; height: 27px; }
.unlock-body { flex: 1; min-width: 0; }
.unlock-body b { display: block; font-size: 14px; color: #3E5F28; }
.unlock-body small { display: block; margin-top: 3px; color: #72904D; font-size: 10.5px; line-height: 1.45; }
.unlock-btn {
  flex: 0 0 auto;
  min-width: 83px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: linear-gradient(180deg, #7FD05E, #55AE39);
  color: #fff;
  box-shadow: 0 3px 0 #3B8A25, inset 0 1px 0 rgba(255, 255, 255, .38);
}
.unlock-btn b { font-size: 12px; font-weight: 900; }
.unlock-btn small { font-size: 9px; font-weight: 700; opacity: .92; }
.unlock-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #3B8A25; }
.unlock-btn:disabled { background: linear-gradient(180deg, #D8CCBA, #C5B7A2); box-shadow: 0 3px 0 #AB9C86; }
.all-done {
  flex: 0 0 auto;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .6);
  color: #5C843B;
  font-size: 10px;
  font-weight: 800;
}
.shop-note, .seed-note {
  margin: 13px 3px 0;
  color: #A38C74;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}
.link-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 43px;
  margin-top: 14px;
  border-radius: 13px;
  border: 1.5px solid #F0D6B0;
  background: #FFF6E6;
  color: #B07031;
  font-size: 12px;
  font-weight: 800;
}
.link-shop:active { background: #FBEACC; }
.link-shop .mp-icon { width: 17px; height: 17px; }
.section-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 16px 2px 8px;
  color: #7D6852;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}
.section-label .mp-icon { width: 15px; height: 15px; color: #C6914E; }
.section-label:first-child { margin-top: 2px; }

/* ---------- 签到 ---------- */
.signin-summary {
  padding: 13px 14px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .55), transparent 35%),
    linear-gradient(135deg, #FFF0D3, #FFE2B4);
  border: 1.5px solid #F0D19A;
}
.signin-summary b { display: block; font-size: 16px; color: #7A4A12; }
.signin-summary small { display: block; margin-top: 3px; color: #A57E4B; font-size: 10.5px; line-height: 1.5; }
.signin-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin: 14px 0;
}
.day-card {
  position: relative;
  padding: 7px 1px 6px;
  border-radius: 11px;
  text-align: center;
  border: 1.5px solid #EADCC5;
  background: #FFF9EE;
  color: #9A7A5A;
}
.day-card b { display: block; font-size: 9px; font-weight: 800; white-space: nowrap; }
.day-card .day-coin {
  display: block;
  margin-top: 3px;
  color: #B5772A;
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.day-card.claimed { background: #EAF7D3; border-color: #BFE08B; }
.day-card.claimed .day-coin { color: #5F9838; }
.day-card.claimed b { color: #6D9149; }
.day-card.current {
  background: linear-gradient(180deg, #FFB15C, #FF8A3D);
  border-color: #F07A28;
  box-shadow: 0 3px 0 #D96318;
}
.day-card.current b, .day-card.current .day-coin { color: #fff; }
.day-card.day7 { border-color: #EBC06D; }
.day-card.day7.current { border-color: #F07A28; }
.day-card .check {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #76BE4B;
  color: #fff;
  border: 2px solid #FFFDF7;
}
.day-card .check .mp-icon { width: 9px; height: 9px; }
.claim-btn {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, #FFA158, #FF7A2A);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 4px 0 #D75E12, inset 0 1px 0 rgba(255, 255, 255, .42);
}
.claim-btn .mp-icon { width: 21px; height: 21px; }
.claim-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #D75E12; }
.claim-btn:disabled {
  background: linear-gradient(180deg, #D8CCBA, #C5B7A2);
  box-shadow: 0 4px 0 #AB9C86;
}
.signin-tip { margin-top: 10px; text-align: center; color: #A38C74; font-size: 10px; line-height: 1.55; }

/* ---------- 消息 ---------- */
.notice-list { display: flex; flex-direction: column; }
.notice-item {
  display: flex;
  gap: 10px;
  padding: 12px 1px;
  border-bottom: 1px dashed #EADCC8;
}
.notice-item:last-child { border-bottom: 0; }
.notice-ico {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #FFF0D9;
  color: #E98A2F;
}
.notice-ico .mp-icon { width: 20px; height: 20px; }
.notice-item.unread .notice-ico { background: #FFE1BE; }
.notice-copy { flex: 1; min-width: 0; }
.notice-copy p { color: #4B3829; font-size: 12.5px; line-height: 1.55; word-break: break-word; }
.notice-copy time { display: block; margin-top: 3px; color: #A08A75; font-size: 9.5px; }
.notice-item.unread .notice-copy p { font-weight: 700; }
.notice-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 34px 10px 26px;
  color: #A38C74;
  font-size: 12px;
  text-align: center;
}
.notice-empty .mp-icon { width: 44px; height: 44px; color: #D3BE9F; }
.notice-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 13px;
  color: #A38C74;
  font-size: 10px;
}
.read-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  margin: 10px auto 0;
  padding: 0 15px;
  border-radius: 10px;
  background: #F4EADB;
  color: #866F58;
  font-size: 11px;
  font-weight: 800;
}
.read-all .mp-icon { width: 14px; height: 14px; }

/* ---------- 好友列表 ---------- */
.friend-list { display: flex; flex-direction: column; gap: 9px; }
.friend-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 17px;
  text-align: left;
  background: #FFFDF8;
  border: 1.5px solid #F0E2CC;
  box-shadow: 0 4px 0 rgba(120, 90, 50, .06);
  transition: transform .12s ease, background .2s ease;
}
.friend-card:active { transform: scale(.985); background: #FFF7EA; }
.friend-card .avatar { width: 45px; height: 45px; }
.friend-card-body { flex: 1; min-width: 0; }
.friend-card-body b { display: flex; align-items: center; gap: 5px; font-size: 14px; color: #3B2D22; }
.friend-card-body b em {
  font-style: normal;
  padding: 1px 5px;
  border-radius: 5px;
  background: #EAF5D9;
  color: #6F9747;
  font-size: 8.5px;
  font-weight: 800;
}
.friend-card-body small { display: block; margin-top: 3px; color: #9B856E; font-size: 10.5px; }
.friend-badge {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 5px 7px;
  border-radius: 9px;
  text-align: center;
  background: linear-gradient(180deg, #FFD36D, #FFB02E);
  color: #7A470D;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 0 #D9901B;
}
.friend-badge.quiet {
  background: #EFE6D6;
  color: #957E66;
  box-shadow: 0 2px 0 #D8C9B4;
}
.friend-card > .mp-icon { width: 17px; height: 17px; color: #C9B49C; flex: 0 0 auto; }
.friend-list-note {
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #F8EFDF;
  color: #967E64;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}
.friend-field .loading-row, .friend-field .friend-empty { grid-column: 1 / -1; }
.loading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 35px 10px;
  color: #A38C74;
  font-size: 12px;
}
.loading-row .spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #E3D2B8;
  border-top-color: #E98A2F;
  animation: spin .8s linear infinite;
}

/* ---------- 好友农庄页 ---------- */
.friend-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 255, 255, .42), transparent 29%),
    linear-gradient(180deg, #A6E6DE 0%, #C8EFD9 25%, #A8DB7B 59%, #8FCB63 100%);
  animation: fadeIn .2s ease both;
}
.friend-sky-deco { position: absolute; inset: 0 0 auto; height: 260px; pointer-events: none; overflow: hidden; }
.friend-top {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 8px;
  background: linear-gradient(180deg, rgba(166, 230, 222, .98) 0%, rgba(177, 234, 216, .86) 62%, rgba(177, 234, 216, 0) 100%);
}
.back-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5B4633;
  background: rgba(255, 248, 234, .86);
  border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 3px 0 rgba(90, 118, 70, .14);
}
.back-btn .mp-icon { width: 20px; height: 20px; }
.friend-id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 248, 234, .86);
  border: 1.5px solid rgba(255, 255, 255, .8);
  box-shadow: 0 3px 0 rgba(90, 118, 70, .11);
}
.friend-id .avatar { width: 37px; height: 37px; }
.friend-id-meta { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.friend-id-meta b {
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.friend-id-meta small { color: #7C664F; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.friend-top-actions { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.friend-top-actions .round-btn { width: 34px; height: 34px; }
.friend-top-actions .round-btn .mp-icon { width: 18px; height: 18px; }
.friend-body { position: relative; z-index: 2; padding: 3px 16px 28px; }
.friend-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0 10px;
  padding: 9px 11px;
  border-radius: 13px;
  background: rgba(255, 250, 238, .75);
  border: 1px solid rgba(255, 255, 255, .7);
  color: #557236;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 4px 10px rgba(66, 99, 42, .08);
}
.friend-note .mp-icon { width: 16px; height: 16px; flex: 0 0 auto; color: #E2822C; }
.friend-field {
  padding: 12px;
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, .58);
  background:
    radial-gradient(circle at 16% 5%, rgba(255, 255, 255, .4), transparent 30%),
    linear-gradient(180deg, #BDEA97 0%, #A8DB7B 35%, #93CF69 100%);
  box-shadow: 0 8px 0 rgba(78, 116, 43, .16), 0 16px 30px rgba(45, 90, 30, .18);
}
.friend-footer {
  position: relative;
  z-index: 2;
  padding: 4px 16px calc(20px + env(safe-area-inset-bottom));
  text-align: center;
  color: #4E6A37;
  font-size: 10px;
  font-weight: 600;
  opacity: .8;
}
.friend-empty {
  padding: 40px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 238, .7);
  border: 1px dashed rgba(255, 255, 255, .8);
  text-align: center;
  color: #6D7F54;
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- 庆祝 / 提示 / 启动 ---------- */
.celebrate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(48, 31, 18, .52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.celebrate-card {
  width: 100%;
  max-width: 300px;
  padding: 24px 20px 18px;
  border-radius: 26px;
  border: 2px solid #fff;
  background: linear-gradient(180deg, #FFFDF7, #FFF2DC);
  box-shadow: 0 20px 52px rgba(30, 20, 10, .32);
  text-align: center;
  animation: popIn .32s cubic-bezier(.2, 1.3, .4, 1) both;
}
.celebrate-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 11px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #FFC44E, #FF9426);
  border: 2px solid #FFF4D8;
  box-shadow: 0 6px 0 #D97412;
}
.celebrate-ico .mp-icon { width: 34px; height: 34px; }
.celebrate-card h2 { font-size: 21px; letter-spacing: -.02em; color: #3B2D22; }
.celebrate-card p { margin-top: 5px; color: #E07120; font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.celebrate-card small { display: block; margin-top: 4px; color: #A38C74; font-size: 10.5px; line-height: 1.5; }
.celebrate-btn {
  width: 100%;
  height: 47px;
  margin-top: 17px;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFA158, #FF7A2A);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 4px 0 #D75E12, inset 0 1px 0 rgba(255, 255, 255, .42);
}
.celebrate-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #D75E12; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(98px + env(safe-area-inset-bottom));
  z-index: 95;
  max-width: 86vw;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(48, 31, 18, .9);
  color: #FFF6E5;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .26);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .22s ease, transform .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, .4), transparent 34%),
    linear-gradient(180deg, #A6E6DE 0%, #C8EFD9 34%, #A8DB7B 100%);
  transition: opacity .35s ease, visibility .35s ease;
}
.boot.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.boot-barn {
  width: 86px;
  height: 86px;
  margin-bottom: 13px;
  border-radius: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #FFA45C, #FF7A2A);
  border: 3px solid rgba(255, 255, 255, .78);
  box-shadow: 0 8px 0 #CF5F12, 0 16px 28px rgba(100, 60, 20, .22);
  animation: bootBob 1.8s ease-in-out infinite;
}
.boot-barn .mp-icon { width: 48px; height: 48px; }
.boot-card strong { color: #3B2D22; font-size: 22px; letter-spacing: .02em; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.boot-sub { margin-top: 6px; color: #4F6A37; font-size: 11.5px; font-weight: 700; }
.boot-dots { display: flex; gap: 5px; margin-top: 15px; }
.boot-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #739B4C;
  animation: bootDot 1s ease-in-out infinite;
}
.boot-dots i:nth-child(2) { animation-delay: .16s; }
.boot-dots i:nth-child(3) { animation-delay: .32s; }
.boot-retry {
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 11px;
  background: #FFF6E5;
  border: 1.5px solid #E7CFA9;
  color: #9B6A2F;
  font-size: 12px;
  font-weight: 800;
}
.fx-layer { position: fixed; inset: 0; z-index: 92; pointer-events: none; overflow: hidden; }
.float-coin {
  position: fixed;
  z-index: 93;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFC44E, #FF9426);
  border: 1.5px solid #FFE1A0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 4px 0 #D97412, 0 8px 18px rgba(80, 45, 10, .22);
  animation: floatUp .95s cubic-bezier(.15, .7, .3, 1) forwards;
  white-space: nowrap;
}
.float-coin .coin-mark { width: 15px; height: 15px; border-width: 1.5px; }
.fx-spark {
  position: fixed;
  z-index: 93;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFD45C;
  animation: sparkOut .65s ease-out forwards;
}
.confetti {
  position: fixed;
  z-index: 94;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  animation: confettiFall 1.2s ease-in forwards;
}

/* ---------- 动画 ---------- */
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.78); opacity: .7; } }
@keyframes sunGlow { 0%, 100% { box-shadow: 0 0 0 12px rgba(255, 231, 134, .22), 0 0 34px rgba(255, 197, 66, .48); } 50% { box-shadow: 0 0 0 17px rgba(255, 231, 134, .16), 0 0 44px rgba(255, 197, 66, .58); } }
@keyframes cloudDrift { from { transform: translateX(0) scale(var(--cs, 1)); } to { transform: translateX(14px) scale(var(--cs, 1)); } }
@keyframes birdFloat { 0%, 100% { transform: translateY(0) rotate(-11deg); } 50% { transform: translateY(-6px) rotate(-7deg); } }
@keyframes birdFloatB { 0%, 100% { transform: translateY(0) rotate(-11deg) scale(.7); } 50% { transform: translateY(-6px) rotate(-7deg) scale(.7); } }
@keyframes barnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes treeSway { 0%, 100% { transform: scale(var(--ts, 1)) rotate(-1.2deg); } 50% { transform: scale(var(--ts, 1)) rotate(1.6deg); } }
@keyframes cropBounce { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-5px) rotate(1.5deg); } }
@keyframes readyPulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }
@keyframes stealablePulse { 0%, 100% { box-shadow: inset 0 -8px 0 rgba(70, 42, 24, .16), 0 0 0 4px rgba(255, 208, 82, .3), 0 6px 0 rgba(109, 74, 41, .22), 0 0 18px rgba(255, 194, 66, .42); } 50% { box-shadow: inset 0 -8px 0 rgba(70, 42, 24, .16), 0 0 0 6px rgba(255, 208, 82, .48), 0 6px 0 rgba(109, 74, 41, .22), 0 0 30px rgba(255, 194, 66, .7); } }
@keyframes handTap { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-5px) rotate(5deg); } }
@keyframes sheetUp { from { transform: translateY(26px); opacity: .55; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes floatUp { 0% { transform: translate(-50%, 0) scale(.86); opacity: 0; } 18% { opacity: 1; transform: translate(-50%, -8px) scale(1.05); } 100% { transform: translate(-50%, -58px) scale(.96); opacity: 0; } }
@keyframes sparkOut { from { transform: scale(1); opacity: 1; } to { transform: scale(0) translateY(-16px); opacity: 0; } }
@keyframes confettiFall { from { transform: translateY(-10px) rotate(0); opacity: 1; } to { transform: translateY(130px) rotate(340deg); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bootBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bootDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 360px) {
  .hud { padding-left: 12px; padding-right: 12px; gap: 5px; }
  .player-chip { padding-right: 8px; gap: 6px; }
  .player-meta strong { max-width: 68px; font-size: 13px; }
  .player-meta small { font-size: 9px; }
  .avatar { width: 37px; height: 37px; }
  .coin-pill { height: 34px; padding-right: 8px; }
  .coin-pill strong { font-size: 13px; }
  .round-btn { width: 34px; height: 34px; }
  .round-btn .mp-icon { width: 18px; height: 18px; }
  .stage { padding-left: 12px; padding-right: 12px; padding-top: 42px; }
  .farm-scene { padding-left: 9px; padding-right: 9px; padding-top: 142px; }
  .field { gap: 18px 8px; }
  .plot { border-radius: 16px; }
  .crop-mini { font-size: 8px; }
  .plot-timer { font-size: 9px; padding: 0 5px; }
  .dock { padding-left: 12px; padding-right: 12px; }
  .sheet-body { padding-left: 13px; padding-right: 13px; }
  .seed-art { width: 50px; height: 50px; }
  .seed-art svg { width: 42px; height: 42px; }
  .buy-btn { min-width: 72px; }
  .unlock-art { width: 46px; height: 46px; }
  .unlock-btn { min-width: 75px; }
  .signin-days { gap: 3px; }
  .day-card b { font-size: 8px; }
  .friend-top { gap: 5px; padding-left: 12px; padding-right: 12px; }
  .friend-id { gap: 6px; padding-right: 8px; }
  .friend-id .avatar { width: 32px; height: 32px; }
  .friend-id-meta b { max-width: 64px; font-size: 12px; }
  .friend-id-meta small { font-size: 8.5px; }
  .friend-top-actions .coin-pill.small { padding: 0 7px 0 4px; }
  .friend-top-actions .round-btn { width: 32px; height: 32px; }
}

@media (min-width: 521px) {
  body { background: #6dbfb4; }
  .app { box-shadow: 0 0 60px rgba(25, 60, 50, .22); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==================== 待实现：经验 / 气泡 / 牧场鱼塘 / 广告 / 收获反馈 ==================== */

/* 成熟气泡：多块地成熟时按先后轮流亮起 */
.ready-bubble {
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px 2px 3px;
  border-radius: 999px;
  border: 2px solid #FFC24B;
  background: linear-gradient(180deg, #FFFDF6, #FFF0C9);
  color: #A56012;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px) scale(.9);
  box-shadow: 0 3px 0 rgba(199, 126, 24, .2), 0 7px 14px rgba(91, 58, 18, .16);
  transition: opacity .16s ease, transform .16s ease;
}
.ready-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  background: #FFF4D6;
  border-right: 2px solid #FFC24B;
  border-bottom: 2px solid #FFC24B;
  transform: rotate(45deg);
  border-radius: 0 0 2px 0;
}
.ready-bubble.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  animation: bubbleBob 1.7s ease-in-out infinite;
}
.ready-bubble em {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFC24B, #FF8A2A);
  color: #fff;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.ready-bubble em .mp-icon { width: 10px; height: 10px; }

/* 牧场 / 鱼塘 */
.ranch-block {
  position: relative;
  z-index: 3;
  margin-top: 15px;
}
.ranch-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 3px 7px;
  color: #3E5F28;
}
.ranch-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.ranch-title .mp-icon { width: 16px; height: 16px; color: #D96A1C; }
.ranch-hint {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 238, .55);
  border: 1px solid rgba(255, 255, 255, .65);
  color: #5C7A3E;
  font-size: 9px;
  font-weight: 800;
}
.ranch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ranch-card {
  position: relative;
  padding: 8px;
  border-radius: 19px;
  border: 2px solid rgba(255, 255, 255, .6);
  box-shadow: 0 5px 0 rgba(70, 100, 40, .14), 0 10px 18px rgba(45, 80, 25, .12), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.ranch-card.pasture {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .4), transparent 42%),
    linear-gradient(180deg, #C7EC9A 0%, #A8D97B 58%, #8FC963 100%);
}
.ranch-card.pond {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .38), transparent 42%),
    linear-gradient(180deg, #A9E2E9 0%, #78C9D8 58%, #5AAFC6 100%);
}
.ranch-card-head {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #3D5B28;
}
.ranch-card.pond .ranch-card-head { color: #1F5A6A; }
.ranch-card-head b { font-size: 11px; font-weight: 900; white-space: nowrap; }
.ranch-card-head small {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .55);
  color: #4E7033;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.ranch-card.pond .ranch-card-head small { color: #276C7C; }
.ranch-card-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, .55);
  color: #6C9A42;
}
.ranch-card.pond .ranch-card-icon { color: #2C8799; }
.ranch-card-icon .mp-icon { width: 13px; height: 13px; }
.pen-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.pen {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: visible;
  border-radius: 13px;
  border: 2px solid rgba(255, 249, 232, .85);
  background:
    radial-gradient(circle at 48% 36%, rgba(255, 255, 255, .22), transparent 46%),
    repeating-linear-gradient(90deg, transparent 0 30%, rgba(70, 42, 22, .1) 30% 33%, transparent 33% 66%),
    linear-gradient(155deg, #B9835A 0%, #976545 58%, #7B4D31 100%);
  box-shadow: inset 0 -5px 0 rgba(60, 35, 18, .2), 0 3px 0 rgba(96, 65, 35, .22), 0 6px 10px rgba(40, 80, 25, .1);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.pen:active { transform: translateY(2px) scale(.97); }
.pen.pond {
  background:
    radial-gradient(circle at 48% 30%, rgba(255, 255, 255, .35), transparent 42%),
    repeating-radial-gradient(ellipse at 40% 60%, rgba(255, 255, 255, .16) 0 2px, transparent 2px 18px),
    linear-gradient(160deg, #77CCDB 0%, #45AFC8 60%, #2E8EA9 100%);
  border-color: rgba(232, 253, 255, .9);
  box-shadow: inset 0 -5px 0 rgba(17, 96, 118, .22), 0 3px 0 rgba(26, 108, 128, .28), 0 6px 10px rgba(20, 80, 100, .14);
}
.pen.ready {
  border-color: #FFD45C;
  box-shadow: inset 0 -5px 0 rgba(60, 35, 18, .18), 0 0 0 3px rgba(255, 208, 82, .4), 0 4px 0 rgba(96, 65, 35, .22), 0 0 18px rgba(255, 194, 66, .46);
}
.pen.pond.ready { border-color: #FFE07A; }
.pen-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: rgba(255, 246, 226, .96);
  text-shadow: 0 1px 0 rgba(60, 35, 18, .25);
}
.pen-empty .mp-icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 246, 226, .7);
  background: rgba(255, 255, 255, .12);
}
.pen-empty b { font-size: 9px; font-weight: 900; }
.pen-name {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 5;
  padding: 1px 4px;
  border-radius: 5px;
  background: rgba(53, 33, 18, .46);
  color: #FFF7E8;
  font-size: 7.5px;
  font-weight: 800;
  line-height: 1.35;
}
.pen-art {
  position: absolute;
  left: 50%;
  bottom: 13%;
  z-index: 2;
  width: 76%;
  height: 70%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 3px 2px rgba(50, 30, 12, .24));
}
.pen-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pen-art.stage-0 { width: 46%; height: 44%; }
.pen-art.stage-1 { width: 62%; height: 58%; }
.pen.ready .pen-art { animation: penBob 1.6s ease-in-out infinite; }
.pen-timer {
  position: absolute;
  left: 50%;
  bottom: 4px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(48, 29, 17, .6);
  color: #FFF8EA;
  font-size: 8px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pen-timer .mp-icon { width: 9px; height: 9px; }
.pen-timer.ready { background: linear-gradient(180deg, #FFB23E, #FF861F); box-shadow: 0 2px 0 #D96A12; }
.pen-bar {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2px;
  z-index: 4;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .26);
}
.pen-bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #FFD45C, #FF8A3D); }
.pen .ready-bubble { top: -11px; padding: 1px 5px 1px 2px; font-size: 8px; border-width: 1.5px; }
.pen .ready-bubble em { width: 12px; height: 12px; font-size: 8px; }

/* 广告入口 */
.ad-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding: 8px 9px;
  border-radius: 17px;
  border: 1.5px solid #F0CC85;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .65), transparent 36%),
    linear-gradient(135deg, #FFF8E2, #FFE7B4);
  box-shadow: 0 4px 0 rgba(206, 153, 63, .2), 0 8px 16px rgba(90, 60, 20, .1), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.ad-strip-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #FFB45C, #FF8A2A);
  box-shadow: 0 3px 0 #D96A12;
}
.ad-strip-icon .mp-icon { width: 18px; height: 18px; }
.ad-copy { flex: 1; min-width: 0; }
.ad-copy b { display: block; font-size: 11px; color: #7A4A12; font-weight: 900; white-space: nowrap; }
.ad-copy small { display: block; margin-top: 1px; color: #A57E4B; font-size: 8.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-actions { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.ad-btn {
  position: relative;
  min-width: 58px;
  height: 38px;
  padding: 2px 7px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #FFA158, #FF7A2A);
  color: #fff;
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 3px 0 #D75E12, inset 0 1px 0 rgba(255, 255, 255, .4);
}
.ad-btn .mp-icon { width: 14px; height: 14px; }
.ad-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #D75E12; }
.ad-btn.alt { background: linear-gradient(180deg, #84D45F, #55AE39); box-shadow: 0 3px 0 #3B8A25, inset 0 1px 0 rgba(255, 255, 255, .38); }
.ad-btn.alt:active { box-shadow: 0 1px 0 #3B8A25; }
.ad-btn.cooling { filter: grayscale(.4); opacity: .75; }
.ad-btn.cooling::after {
  content: attr(data-cd);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(72, 58, 42, .7);
  color: #FFF8EA;
  font-size: 9px;
  font-weight: 900;
}

/* 收获结算卡 */
.harvest-result {
  position: fixed;
  left: 50%;
  bottom: calc(99px + env(safe-area-inset-bottom));
  z-index: 36;
  width: calc(100% - 24px);
  max-width: 496px;
  padding: 9px 11px 10px;
  border-radius: 18px;
  border: 2px solid #FFD88F;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .7), transparent 34%),
    linear-gradient(135deg, #FFFDF6, #FFF0D0);
  box-shadow: 0 8px 0 rgba(189, 126, 39, .18), 0 14px 30px rgba(70, 45, 15, .22);
  transform: translateX(-50%);
  animation: resultUp .28s cubic-bezier(.2, .9, .25, 1) both;
}
.hr-close {
  position: absolute;
  top: -8px;
  right: -6px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #F6E7CC;
  border: 1.5px solid #E6C794;
  color: #8A6A44;
  box-shadow: 0 2px 0 rgba(160, 110, 40, .18);
}
.hr-close .mp-icon { width: 14px; height: 14px; }
.hr-top { display: flex; align-items: center; gap: 8px; padding-right: 16px; }
.hr-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(180deg, #FFB45C, #FF8A2A);
  box-shadow: 0 3px 0 #D96A12;
}
.hr-icon .mp-icon { width: 19px; height: 19px; }
.hr-copy { flex: 1; min-width: 0; }
.hr-copy b { display: block; font-size: 13px; color: #3B2D22; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-copy small { display: block; margin-top: 2px; color: #A57E4B; font-size: 9.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-gain {
  flex: 0 0 auto;
  color: #E07120;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.hr-gain.leveled { color: #64A238; }
.hr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.hr-ad-btn {
  position: relative;
  min-height: 36px;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, #FFF6DF, #FFE7B4);
  border: 1.5px solid #EAC07A;
  color: #8A5716;
  font-size: 9.5px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(190, 128, 46, .2);
}
.hr-ad-btn .mp-icon { width: 14px; height: 14px; color: #E98A2F; }
.hr-ad-btn.alt { background: linear-gradient(180deg, #F0FADF, #D8F0BA); border-color: #B8DB8B; color: #4E7A2E; }
.hr-ad-btn.alt .mp-icon { color: #5EA13A; }
.hr-ad-btn:active { transform: translateY(1px); }
.hr-ad-btn.cooling { filter: grayscale(.4); opacity: .7; }
.hr-ad-btn.cooling::after {
  content: attr(data-cd);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(88, 68, 44, .7);
  color: #FFF8EA;
  font-size: 9.5px;
  font-weight: 900;
}
body.has-harvest-result .toast { bottom: calc(190px + env(safe-area-inset-bottom)); }

/* 模拟广告播放 */
.ad-mock {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(30, 24, 16, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .18s ease both;
}
.ad-mock-card {
  width: 100%;
  max-width: 330px;
  padding: 12px 12px 16px;
  border-radius: 24px;
  border: 2px solid #fff;
  background: linear-gradient(180deg, #FFFDF7, #FFF2DB);
  box-shadow: 0 22px 52px rgba(24, 16, 8, .36);
  text-align: center;
  animation: popIn .28s cubic-bezier(.2, 1.3, .4, 1) both;
}
.ad-mock-art { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; background: #A8DB7B; }
.ad-mock-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.ad-mock-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(45, 30, 16, .62);
  color: #FFF8EA;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}
.ad-mock-card h2 { margin-top: 12px; font-size: 17px; color: #3B2D22; letter-spacing: -.02em; }
.ad-mock-card p { margin-top: 3px; color: #A38C74; font-size: 10.5px; line-height: 1.5; }
.ad-mock-count { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 8px; color: #E07120; }
.ad-mock-count b { font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ad-mock-count span { font-size: 11px; font-weight: 800; }

/* 收获弹起 / 金币叠加 */
.harvest-fly {
  position: fixed;
  z-index: 93;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: harvestFly .72s cubic-bezier(.18, .7, .3, 1) forwards;
  filter: drop-shadow(0 6px 4px rgba(50, 30, 12, .28));
}
.harvest-fly svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gain-float {
  position: fixed;
  z-index: 94;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1.5px solid #FFE1A0;
  background: linear-gradient(180deg, #FFC44E, #FF9426);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 4px 0 #D97412, 0 9px 20px rgba(80, 45, 10, .24);
  transform: translate(-50%, 0);
  pointer-events: none;
}
.gain-float .coin-mark { width: 15px; height: 15px; border-width: 1.5px; }
.gain-float em { font-style: normal; font-size: 10px; opacity: .96; }
.gain-float.pop { animation: gainPop 1.35s cubic-bezier(.16, .8, .3, 1) forwards; }
.gain-float.combo { background: linear-gradient(180deg, #FFD45C, #FF7A2A); box-shadow: 0 4px 0 #D95A12, 0 9px 22px rgba(80, 45, 10, .28); }

.lock-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 5px;
  background: #EFE5D6;
  color: #8A735B;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.lock-tag .mp-icon { width: 9px; height: 9px; }
.seed-card.locked { opacity: .82; background: #FFFCF6; }
.seed-art.ranch-art {
  border-color: #A9D8DD;
  background: radial-gradient(circle at 32% 24%, #F4FEFF, #D8F2F4 55%, #B9E5EA 100%);
}

/* 新动画 */
@keyframes bubbleBob { 0%, 100% { transform: translate(-50%, 0) scale(1); } 50% { transform: translate(-50%, -3px) scale(1.04); } }
@keyframes penBob { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-4px) rotate(1.4deg); } }
@keyframes harvestFly {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  28% { transform: translate(-50%, -92%) scale(1.14) rotate(-5deg); opacity: 1; }
  100% { transform: translate(-50%, -155%) scale(.42) rotate(8deg); opacity: 0; }
}
@keyframes gainPop {
  0% { transform: translate(-50%, 4px) scale(.65); opacity: 0; }
  18% { transform: translate(-50%, -6px) scale(1.12); opacity: 1; }
  72% { transform: translate(-50%, -30px) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -54px) scale(.92); opacity: 0; }
}
@keyframes resultUp { from { transform: translate(-50%, 18px); opacity: .4; } to { transform: translate(-50%, 0); opacity: 1; } }

@media (max-width: 360px) {
  .player-meta small { max-width: 92px; }
  .xp-track { width: 68px; }
  .scene-banner { height: 134px; }
  .farm-scene { padding-top: 142px; }
  .ad-strip { gap: 5px; padding: 7px; }
  .ad-copy small { font-size: 8px; }
  .ad-btn { min-width: 52px; height: 36px; font-size: 8px; }
  .ranch-grid { gap: 7px; }
  .ranch-card { padding: 6px; border-radius: 17px; }
  .ranch-card-head b { font-size: 10px; }
  .ranch-card-head small { font-size: 7px; padding: 1px 4px; }
  .pen-row { gap: 5px; }
  .pen-empty b { font-size: 8px; }
  .harvest-result { width: calc(100% - 18px); }
  .hr-ad-btn { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .gain-float.pop, .harvest-fly, .ready-bubble.show, .pen.ready .pen-art { animation: none !important; }
}

.level-tag.level-up { animation: levelPulse 1.3s ease-in-out; }
@keyframes levelPulse {
  0%, 100% { transform: scale(1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
  25% { transform: scale(1.22); box-shadow: 0 0 0 4px rgba(255, 196, 66, .35), inset 0 1px 0 rgba(255, 255, 255, .55); }
  55% { transform: scale(1.08); }
}

/* ==================== 首页成品视觉 v3：横屏农庄大场景 ==================== */
html, body {
  height: 100%;
  overflow: hidden;
  background: #6FBAD9;
}
body { overscroll-behavior: none; }
.home-v2 {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  background: #8FD9F8;
  isolation: isolate;
}
.home-v2 .world {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* ---------- 生成式农庄场景 ---------- */
.home-v2 .scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #8FD9F8;
}
.home-v2 .scene-bg > img {
  position: absolute;
  top: -9.3vh;
  top: -9.3dvh;
  left: 50%;
  width: auto;
  height: 142.9vh;
  height: 142.9dvh;
  max-width: none;
  display: block;
  transform: translateX(-54%) scale(1.015);
  transform-origin: 56% 22%;
  animation: homeSceneDrift 26s ease-in-out infinite alternate;
  user-select: none;
  -webkit-user-drag: none;
}
.home-v2 .scene-top-fade {
  position: absolute;
  inset: 0 0 auto;
  height: 12.5vh;
  min-height: 92px;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 26% 44% at 22% 26%, rgba(255, 255, 255, .64), rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse 20% 34% at 74% 16%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #6AC9F1 0%, #83D6F7 60%, rgba(131, 214, 247, .9) 74%, rgba(131, 214, 247, 0) 100%);
}
.home-v2 .scene-bottom-fade {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(54, 101, 34, 0) 0%, rgba(54, 101, 34, .12) 42%, rgba(54, 101, 34, .34) 100%);
}

/* ---------- 顶部状态：奶油糖片 + 木牌昵称 ---------- */
.home-v2 .hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: calc(9px + env(safe-area-inset-top)) 12px 0;
  pointer-events: none;
}
.home-v2 .hud button,
.home-v2 .hud .hud-pill,
.home-v2 .hud .avatar-slot { pointer-events: auto; }
.home-v2 .hud-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.home-v2 .avatar-slot {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}
.home-v2 .avatar-frame {
  display: block;
  width: 58px;
  height: 58px;
  padding: 3px;
  border-radius: 19px;
  background: linear-gradient(180deg, #FFFDF6 0%, #FFE9BD 100%);
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 4px 0 rgba(120, 76, 22, .28), 0 8px 16px rgba(32, 66, 26, .24), inset 0 1px 0 #fff;
}
.home-v2 .avatar-frame .avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(120, 76, 22, .12);
}
.home-v2 .level-badge {
  position: absolute;
  left: -4px;
  bottom: -9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  padding: 0 7px 0 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFE07A, #FFC13B);
  border: 2px solid #FFFDF4;
  color: #8A4A0A;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(173, 105, 14, .35);
  font-variant-numeric: tabular-nums;
}
.home-v2 .level-badge .mp-icon {
  width: 12px;
  height: 12px;
  padding: 2px;
  border-radius: 50%;
  color: #fff;
  background: #F0A51F;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.home-v2 .hud-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.home-v2 .hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 44px;
  padding: 0 5px 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFF0CE 100%);
  border: 2px solid rgba(255, 255, 255, .94);
  box-shadow: 0 4px 0 rgba(126, 82, 24, .26), 0 8px 16px rgba(34, 68, 22, .2), inset 0 1px 0 #fff;
  font-variant-numeric: tabular-nums;
  color: #6E4212;
}
.home-v2 .hud .coin-pill { padding-right: 4px; }
.home-v2 .hud .coin-pill .coin-mark {
  width: 27px;
  height: 27px;
  border-width: 2px;
}
.home-v2 .hud .coin-pill strong {
  min-width: 30px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #7A4A12;
}
.home-v2 .pill-plus {
  width: 30px;
  height: 30px;
  margin-left: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #8BD84D 0%, #54AE2A 100%);
  border: 2px solid #D9F4B7;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 0 #3B8520, inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .12s ease, filter .12s ease;
}
.home-v2 .pill-plus .mp-icon { width: 17px; height: 17px; color: #fff; }
.home-v2 .pill-plus:active { transform: translateY(2px) scale(.94); filter: brightness(.96); }
.home-v2 .harvest-pill {
  padding: 0 11px 0 7px;
  gap: 5px;
}
.home-v2 .harvest-pill .mp-icon {
  width: 24px;
  height: 24px;
  padding: 2px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #FFC24B, #F08A22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.home-v2 .harvest-pill strong {
  font-size: 13px;
  font-weight: 900;
  color: #7A4A12;
  white-space: nowrap;
}
.home-v2 .hud-round {
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7C5A2D;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFEAC2 100%);
  border: 2px solid rgba(255, 255, 255, .94);
  box-shadow: 0 4px 0 rgba(126, 82, 24, .26), 0 8px 16px rgba(34, 68, 22, .2), inset 0 1px 0 #fff;
  transition: transform .12s ease;
}
.home-v2 .hud-round .mp-icon { width: 22px; height: 22px; }
.home-v2 .hud-round:active { transform: translateY(2px) scale(.95); }
.home-v2 .hud-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-left: 70px;
}
.home-v2 .name-sign {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 1px;
  min-width: 0;
  max-width: 62%;
  padding: 4px 12px 5px;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 44%),
    linear-gradient(180deg, #D69A58 0%, #B9743B 52%, #97552A 100%);
  border: 2px solid #F9E1B4;
  box-shadow: 0 3px 0 rgba(93, 50, 17, .45), 0 7px 14px rgba(35, 55, 18, .22), inset 0 1px 0 rgba(255, 255, 255, .45);
  text-shadow: 0 1px 0 rgba(90, 48, 16, .4);
}
.home-v2 .name-sign strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #FFF8E6;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.2;
}
.home-v2 .name-sub {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  color: #FFE8BE;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.home-v2 .name-sub .mp-icon {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  color: #FFE07A;
}
.home-v2 .name-sub span { overflow: hidden; text-overflow: ellipsis; }
.home-v2 .xp-track {
  position: relative;
  width: 78px;
  height: 6px;
  margin-top: 0;
  flex: 0 1 78px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(52, 41, 23, .42);
  border: 1px solid rgba(255, 244, 216, .6);
  box-shadow: inset 0 1px 2px rgba(30, 20, 10, .35);
}
.home-v2 .xp-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFE07A, #FFB13B);
  box-shadow: 0 0 6px rgba(255, 214, 96, .8);
  transition: width .35s ease;
}

/* ---------- 两侧功能浮标 ---------- */
.home-v2 .float-btn {
  position: absolute;
  z-index: 24;
  width: 58px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: transform .12s ease;
}
.home-v2 .float-btn:active { transform: translateY(3px) scale(.96); }
.home-v2 .float-ico {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #D9721A;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFEBC6 100%);
  border: 2.5px solid rgba(255, 255, 255, .96);
  box-shadow: 0 5px 0 rgba(122, 76, 20, .28), 0 10px 18px rgba(30, 65, 20, .24), inset 0 1px 0 #fff;
}
.home-v2 .float-ico .mp-icon { width: 28px; height: 28px; }
.home-v2 .float-label {
  padding: 1px 7px 2px;
  border-radius: 999px;
  background: rgba(54, 39, 18, .55);
  color: #FFF6E2;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 1px 1px rgba(30, 20, 8, .4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset;
  white-space: nowrap;
}
.home-v2 .shop-float { top: calc(16.5vh + env(safe-area-inset-top)); left: 11px; }
.home-v2 .friends-float { top: calc(26vh + env(safe-area-inset-top)); left: 11px; }
.home-v2 .gift-float { top: calc(20vh + env(safe-area-inset-top)); right: 11px; }
.home-v2 .gift-float .float-ico { color: #E94C5B; }
.home-v2 .ranch-float { top: calc(29.5vh + env(safe-area-inset-top)); right: 11px; }
.home-v2 .ranch-float .float-ico { color: #5B9E3A; }
.home-v2 .gift-float .float-ico::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFCF4A;
  border: 2px solid #FFFDF5;
  box-shadow: 0 1px 3px rgba(80, 50, 10, .3);
}

/* ---------- 田地 ---------- */
.home-v2 .field-zone {
  position: absolute;
  top: 44%;
  left: 12px;
  right: 12px;
  bottom: calc(110px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.home-v2 .field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 5px;
  padding: 0 1px;
  flex: 0 0 auto;
}
.home-v2 .field-tip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 10px 4px 7px;
  border-radius: 999px;
  background: rgba(255, 253, 246, .84);
  border: 1.5px solid rgba(255, 255, 255, .92);
  color: #5E752F;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 0 rgba(92, 122, 46, .16), 0 5px 10px rgba(35, 70, 20, .1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-v2 .field-tip .mp-icon { width: 14px; height: 14px; flex: 0 0 auto; color: #E28225; }
.home-v2 .field-count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(62, 46, 20, .44);
  border: 1px solid rgba(255, 248, 226, .36);
  color: #FFF7E4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 1px rgba(30, 20, 8, .3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-v2 .field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 7px;
  flex: 0 0 auto;
}
.home-v2 .field-ready {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  background: rgba(62, 46, 20, .42);
  border: 1px solid rgba(255, 248, 226, .34);
  color: #FFF7E4;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(30, 20, 8, .35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-v2 .field-ready .mp-icon { width: 14px; height: 14px; color: #FFD45C; }
.home-v2 .field-ready.hot {
  background: linear-gradient(180deg, rgba(255, 206, 92, .96), rgba(255, 138, 42, .96));
  border-color: rgba(255, 240, 190, .8);
  color: #7A3E0C;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
  box-shadow: 0 2px 0 rgba(170, 90, 12, .28), 0 5px 10px rgba(120, 70, 10, .18);
}
.home-v2 .field-ready.hot .mp-icon { color: #fff; }
.home-v2 .season-strip { display: none; }
.home-v2 .season-strip {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 4px 8px 4px 5px;
  gap: 5px;
  border-radius: 999px;
  background: rgba(255, 253, 244, .8);
  border: 1.5px solid rgba(255, 255, 255, .9);
  box-shadow: 0 2px 0 rgba(92, 122, 46, .14), 0 5px 10px rgba(35, 70, 20, .08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-v2 .season-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD45C, #F5A62C);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.home-v2 .season-icon .mp-icon { width: 13px; height: 13px; }
.home-v2 .season-label { font-size: 9.5px; color: #5C7132; }
.home-v2 .season-track { height: 5px; background: rgba(91, 110, 52, .18); }
.home-v2 .season-count { font-size: 9px; color: #705428; }
.home-v2 .season-strip.done {
  background: linear-gradient(135deg, #FFF6DA, #FFE3A3);
  border-color: #F2C96E;
  box-shadow: 0 2px 0 rgba(190, 128, 46, .18), 0 6px 12px rgba(190, 128, 30, .14);
}
.home-v2 .season-strip.done .season-label,
.home-v2 .season-strip.done .season-count { color: #8B5A12; }
.home-v2 .season-strip.done .season-icon { background: linear-gradient(180deg, #FFC44E, #FF9426); }
.home-v2 .field-pager {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 999px;
  background: rgba(62, 46, 20, .38);
  border: 1px solid rgba(255, 248, 226, .32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-v2 .pager-label {
  padding: 0 2px 0 5px;
  color: #FFF3D6;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(30, 20, 8, .4);
}
.home-v2 .pager-tab {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFF5DC;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.home-v2 .pager-tab.active {
  background: linear-gradient(180deg, #FFE07A, #FFB13B);
  color: #7A4A12;
  box-shadow: 0 1px 0 rgba(150, 90, 12, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.home-v2 .pager-tab:active { transform: scale(.9); }
.home-v2 .pager-tab.has-ready::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF5A43;
  border: 1.5px solid #FFF8E8;
}
.home-v2 #field {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
  padding: 0;
}
.home-v2 #field .plot {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border-radius: 24px 20px 26px 18px / 20px 24px 18px 26px;
  border: 3px solid rgba(255, 240, 204, .7);
  background:
    radial-gradient(circle at 28% 14%, rgba(255, 255, 255, .16), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 22%, rgba(57, 32, 16, .14) 22% 24%, transparent 24% 47%),
    repeating-linear-gradient(0deg, transparent 0 30%, rgba(57, 32, 16, .08) 30% 32%, transparent 32% 63%),
    linear-gradient(155deg, #B9845E 0%, #9C6744 52%, #7D4E32 100%);
  box-shadow:
    inset 0 -9px 0 rgba(59, 34, 17, .22),
    inset 0 2px 0 rgba(255, 255, 255, .14),
    0 6px 0 rgba(83, 52, 26, .4),
    0 11px 18px rgba(28, 58, 14, .24),
    0 0 0 4px rgba(124, 190, 72, .36);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
  isolation: isolate;
}
.home-v2 #field .plot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(178, 226, 126, .34), transparent 38%),
    radial-gradient(ellipse at 92% 100%, rgba(79, 132, 41, .2), transparent 42%);
  mix-blend-mode: soft-light;
}
.home-v2 #field .plot:active { transform: translateY(3px) scale(.985); }
.home-v2 #field .plot.empty { background:
  radial-gradient(circle at 50% 42%, rgba(255, 244, 220, .16), transparent 37%),
  repeating-linear-gradient(90deg, transparent 0 22%, rgba(57, 32, 16, .14) 22% 24%, transparent 24% 47%),
  repeating-linear-gradient(0deg, transparent 0 30%, rgba(57, 32, 16, .08) 30% 32%, transparent 32% 63%),
  linear-gradient(155deg, #B9845E 0%, #9C6744 52%, #7D4E32 100%);
}
.home-v2 #field .plot.locked {
  border-color: rgba(255, 246, 218, .55);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .3), transparent 48%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 10px, transparent 10px 20px),
    linear-gradient(155deg, #B9CE86 0%, #91B25F 54%, #72933F 100%);
  box-shadow: inset 0 -8px 0 rgba(62, 84, 35, .22), 0 6px 0 rgba(66, 92, 35, .28), 0 10px 16px rgba(40, 70, 20, .16), 0 0 0 4px rgba(90, 130, 50, .22);
  color: #FDFBED;
}
.home-v2 #field .plot.locked.next {
  border-color: #FFE09A;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 235, 168, .26), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 10px, transparent 10px 20px),
    linear-gradient(155deg, #D6B97B 0%, #B89354 56%, #977034 100%);
  box-shadow: inset 0 -8px 0 rgba(85, 56, 24, .2), 0 6px 0 rgba(120, 81, 28, .34), 0 10px 16px rgba(50, 70, 20, .18), 0 0 0 4px rgba(255, 215, 110, .32);
}
.home-v2 #field .plot.ready {
  border-color: #FFE07A;
  box-shadow:
    inset 0 -9px 0 rgba(59, 34, 17, .18),
    0 6px 0 rgba(83, 52, 26, .34),
    0 0 0 5px rgba(255, 215, 86, .5),
    0 0 28px rgba(255, 196, 62, .55);
}
.home-v2 #field .plot.ready::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 28px 24px 30px 22px;
  pointer-events: none;
  border: 2px solid rgba(255, 231, 132, .92);
  box-shadow: 0 0 20px rgba(255, 198, 58, .55), inset 0 0 14px rgba(255, 231, 132, .25);
  animation: readyGlow 1.7s ease-in-out infinite;
}
.home-v2 #field .plot.stealable { border-color: #FFD45C; }
.home-v2 #field .plot.stolen-plot { filter: saturate(.72) brightness(.92); }
.home-v2 #field .crop-mini {
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(52, 31, 15, .5);
  font-size: 9.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.home-v2 #field .crop-art {
  bottom: 17%;
  width: 82%;
  height: 72%;
  filter: drop-shadow(0 6px 3px rgba(50, 28, 12, .32));
}
.home-v2 #field .crop-art.stage-0 { width: 46%; height: 45%; }
.home-v2 #field .crop-art.stage-1 { width: 66%; height: 60%; }
.home-v2 #field .crop-art.stage-2 { width: 86%; height: 78%; }
.home-v2 .crop-art.multi svg { width: 33.333%; height: 100%; flex: 0 0 33.333%; }
.home-v2 #field .plot.ready .crop-art { animation: cropBounce 1.45s ease-in-out infinite; }
.home-v2 #field .plot-timer {
  bottom: 10px;
  height: 21px;
  padding: 0 8px;
  font-size: 10px;
  background: rgba(43, 25, 13, .66);
  border: 1px solid rgba(255, 244, 216, .16);
}
.home-v2 #field .plot.ready .plot-timer {
  height: 23px;
  font-size: 10.5px;
  background: linear-gradient(180deg, #FFBD48, #FF8A21);
  box-shadow: 0 3px 0 #D96A12, 0 0 14px rgba(255, 178, 52, .5);
}
.home-v2 #field .plot-bar { left: 12%; right: 12%; bottom: 5px; height: 4px; background: rgba(255, 255, 255, .26); }
.home-v2 #field .plot-empty { gap: 6px; }
.home-v2 #field .plot-empty .mp-icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 244, 220, .8);
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 5px rgba(255, 248, 230, .12);
}
.home-v2 #field .plot-empty b { font-size: 13px; letter-spacing: .08em; }
.home-v2 #field .plot-lock { gap: 5px; }
.home-v2 #field .plot-lock .mp-icon { width: 36px; height: 36px; }
.home-v2 #field .plot-lock b { font-size: 13px; letter-spacing: .05em; }
.home-v2 #field .plot-lock small { font-size: 12px; padding: 2px 7px; border-radius: 999px; background: rgba(70, 74, 32, .3); }
.home-v2 #field .mini-coin { width: 13px; height: 13px; }
.home-v2 #field .ready-bubble {
  top: -18px;
  padding: 3px 9px 3px 4px;
  border-width: 2.5px;
  font-size: 10px;
  box-shadow: 0 4px 0 rgba(199, 126, 24, .22), 0 8px 16px rgba(70, 45, 12, .22);
}
.home-v2 #field .ready-bubble em { width: 17px; height: 17px; font-size: 9px; }

/* ---------- 底部操作栏 ---------- */
.home-v2 .bottom-dock {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), transparent 34%),
    linear-gradient(180deg, #FFFEF7 0%, #FFF3D7 62%, #FFE8BE 100%);
  border: 2.5px solid rgba(255, 255, 255, .96);
  box-shadow: 0 8px 0 rgba(129, 83, 23, .3), 0 18px 34px rgba(28, 58, 16, .3), inset 0 1px 0 #fff;
}
.home-v2 .dock-action {
  position: relative;
  flex: 1;
  max-width: 96px;
  height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 2px 2px;
  border-radius: 22px;
  color: #8A5A20;
  background: linear-gradient(180deg, #FFFDF6 0%, #FFF0CE 100%);
  border: 2px solid #F1D49B;
  box-shadow: 0 4px 0 rgba(171, 116, 35, .24), inset 0 1px 0 #fff;
  transition: transform .12s ease, box-shadow .12s ease;
}
.home-v2 .dock-action:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(171, 116, 35, .24); }
.home-v2 .dock-ico {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(180deg, #FFC24B 0%, #F08A22 100%);
  box-shadow: 0 3px 0 #C96612, inset 0 1px 0 rgba(255, 255, 255, .45);
}
.home-v2 .dock-ico .mp-icon { width: 21px; height: 21px; }
.home-v2 .dock-action[aria-label="每日签到"] .dock-ico { background: linear-gradient(180deg, #8BD84D, #54AE2A); box-shadow: 0 3px 0 #3B8520, inset 0 1px 0 rgba(255, 255, 255, .45); }
.home-v2 .dock-action[aria-label="种子商店"] .dock-ico { background: linear-gradient(180deg, #FFB35E, #E97A22); box-shadow: 0 3px 0 #BC5E12, inset 0 1px 0 rgba(255, 255, 255, .45); }
.home-v2 .dock-action.primary .dock-ico {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: linear-gradient(180deg, #FFCE5C 0%, #FF8A2A 100%);
  box-shadow: 0 3px 0 #D26612, inset 0 1px 0 rgba(255, 255, 255, .5);
}
.home-v2 .dock-action.primary .dock-ico .mp-icon { width: 24px; height: 24px; }
.home-v2 .dock-label {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
}
.home-v2 .cta-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: none;
  place-items: center;
  background: #FF4B3D;
  border: 2px solid #FFFDF4;
  color: #fff;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(140, 40, 20, .3);
}
.home-v2 .cta-count.show { display: grid; }
.home-v2 .dock-dot { top: 5px; right: 18px; }
.home-v2 .dot { border-color: #FFF9EA; }

/* ---------- 牧场弹层 ---------- */
.home-v2 .ranch-layer {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.home-v2 .ranch-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 18, .46);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .2s ease both;
}
.home-v2 .ranch-pop {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .8), transparent 38%),
    linear-gradient(180deg, #FFFDF7 0%, #FFF3DC 100%);
  border-top: 2px solid #fff;
  box-shadow: 0 -18px 44px rgba(40, 26, 10, .3);
  animation: sheetUp .28s cubic-bezier(.2, .9, .25, 1) both;
}
.home-v2 .ranch-pop-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.home-v2 .ranch-pop-head h2 {
  color: #3B2D22;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.home-v2 .ranch-pop-head p {
  margin-top: 3px;
  color: #9B856E;
  font-size: 11px;
  line-height: 1.4;
}
.home-v2 .ranch-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #F3E6D1;
  color: #7C6753;
}
.home-v2 .ranch-close .mp-icon { width: 18px; height: 18px; }
.home-v2 .ranch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-v2 .ranch-card { padding: 10px; border-radius: 20px; }
.home-v2 .ranch-pop-note {
  margin-top: 12px;
  color: #A08565;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- 广告福利弹层 ---------- */
.ad-sheet-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin: 2px 0 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .75), transparent 40%),
    linear-gradient(135deg, #FFF8E4, #FFE7B4);
  border: 1.5px solid #F0CC85;
  box-shadow: 0 4px 0 rgba(206, 153, 63, .18), inset 0 1px 0 #fff;
}
.ad-sheet-hero > .mp-icon {
  width: 46px;
  height: 46px;
  padding: 8px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #FFB45C, #F07A22);
  box-shadow: 0 3px 0 #C96012;
  flex: 0 0 auto;
}
.ad-sheet-hero b { display: block; color: #6E4212; font-size: 15px; font-weight: 900; }
.ad-sheet-hero small { display: block; margin-top: 2px; color: #A57E4B; font-size: 10px; font-weight: 700; }
.ad-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ad-card {
  position: relative;
  min-height: 86px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFDF6, #FFF0CE);
  border: 2px solid #EAC07A;
  color: #8A5716;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 4px 0 rgba(190, 128, 46, .2), inset 0 1px 0 #fff;
}
.ad-card .mp-icon { width: 26px; height: 26px; color: #E98A2F; }
.ad-card strong { font-size: 13px; }
.ad-card small { color: #A57E4B; font-size: 9px; font-weight: 700; }
.ad-card.alt { background: linear-gradient(180deg, #F6FCEB, #DDF2C2); border-color: #B8DB8B; color: #4E7A2E; }
.ad-card.alt .mp-icon { color: #5EA13A; }
.ad-card:active { transform: translateY(2px); }
.ad-card.cooling { filter: grayscale(.45); opacity: .72; }
.ad-card.cooling::after {
  content: attr(data-cd);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(72, 58, 42, .72);
  color: #FFF8EA;
  font-size: 12px;
  font-weight: 900;
}
.ad-sheet-note {
  margin-top: 10px;
  color: #A08565;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- 动画与响应式 ---------- */
@keyframes homeSceneDrift {
  0% { transform: translateX(-54%) scale(1.015); }
  100% { transform: translateX(-53.4%) scale(1.055); }
}
@keyframes readyGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.012); }
}
@media (max-height: 700px) {
  .home-v2 .field-zone { top: 42.5%; bottom: calc(102px + env(safe-area-inset-bottom)); }
  .home-v2 .field-head { margin-bottom: 4px; }
  .home-v2 .field-meta { margin-bottom: 5px; }
  .home-v2 #field { gap: 7px; }
  .home-v2 .bottom-dock { height: 84px; }
  .home-v2 .dock-action { height: 66px; }
  .home-v2 .float-ico { width: 48px; height: 48px; }
  .home-v2 .float-btn { width: 52px; }
  .home-v2 .shop-float { top: calc(12vh + env(safe-area-inset-top)); }
  .home-v2 .friends-float { top: calc(22vh + env(safe-area-inset-top)); }
  .home-v2 .gift-float { top: calc(17vh + env(safe-area-inset-top)); }
  .home-v2 .ranch-float { top: calc(27vh + env(safe-area-inset-top)); }
}
@media (max-height: 600px) {
  .home-v2 .hud-bottom { display: none; }
  .home-v2 .field-zone { top: 41%; }
}

.home-v2 #signinDot { display: none; }
.home-v2 .ad-card:disabled { opacity: .7; }
@media (max-width: 365px) {
  .home-v2 .harvest-pill { display: none; }
  .home-v2 .hud-bottom { padding-left: 68px; }
  .home-v2 .name-sign { max-width: 58%; }
}

@media (min-aspect-ratio: 1/2) {
  .home-v2 .scene-top-fade { height: 18vh; min-height: 150px; }
}

/* ==================== 首页成品视觉 v4：连体顶栏 + 田园大田 + 悬浮三键 ==================== */
.home-v2 .hud {
  padding: calc(7px + env(safe-area-inset-top)) 10px 0;
  gap: 0;
}
.home-v2 .hud-board {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 74px;
  padding: 6px 7px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, #FFFDF4 0%, #FFF0CE 100%);
  border: 2px solid #FFE2A8;
  box-shadow: 0 5px 0 rgba(129, 83, 23, .25), 0 12px 24px rgba(28, 62, 18, .22), inset 0 1px 0 #fff;
}
.home-v2 .hud-board::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, .86);
  pointer-events: none;
}
.home-v2 .hud-profile {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
}
.home-v2 .hud .avatar-slot { width: 52px; height: 52px; }
.home-v2 .hud .avatar-frame {
  width: 52px;
  height: 52px;
  padding: 2.5px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFDF6, #FFE2A4);
  border: 2px solid #FFFDF6;
  box-shadow: 0 3px 0 rgba(130, 86, 28, .3), 0 6px 12px rgba(40, 70, 20, .18);
}
.home-v2 .hud .avatar-frame .avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
}
.home-v2 .hud-identity {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 64px;
  min-width: 0;
  flex: 0 0 auto;
}
.home-v2 .hud-identity strong {
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
  color: #5A3A16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-v2 .hud-streak {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  color: #A17F54;
  font-size: 7.8px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
}
.home-v2 .hud-streak .mp-icon { width: 9px; height: 9px; flex: 0 0 auto; color: #E48A2C; }
.home-v2 .hud-streak span { overflow: hidden; text-overflow: ellipsis; }
.home-v2 .hud-level-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}
.home-v2 .hud .level-badge {
  position: static;
  left: auto;
  bottom: auto;
  height: 17px;
  padding: 0 5px 0 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFE07A, #FFC13B);
  border: 1.5px solid #FFFDF4;
  color: #7A4A12;
  font-size: 8.5px;
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(160, 100, 16, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.home-v2 .hud .level-badge .mp-icon {
  width: 10px;
  height: 10px;
  padding: 1.5px;
  color: #fff;
  background: #E99A1E;
}
.home-v2 .hud .xp-track {
  width: 44px;
  height: 6px;
  flex: 1 1 44px;
  margin-top: 0;
  background: rgba(105, 78, 38, .22);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: inset 0 1px 2px rgba(40, 28, 10, .2);
}
.home-v2 .hud .xp-track i {
  background: linear-gradient(90deg, #B6EA7C, #5EB82F);
  box-shadow: 0 0 5px rgba(130, 210, 70, .6);
}
.home-v2 .hud-coin {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 1px 0 6px;
  flex: 0 0 auto;
  border-left: 1.5px solid rgba(174, 128, 56, .18);
  color: #6E4212;
  font-variant-numeric: tabular-nums;
}
.home-v2 .hud-coin .coin-mark { width: 24px; height: 24px; }
.home-v2 .hud-coin strong {
  min-width: 28px;
  color: #6E4212;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.home-v2 .hud-coin .pill-plus {
  width: 26px;
  height: 26px;
  margin-left: 0;
  border-width: 1.5px;
  box-shadow: 0 2px 0 #3B8520, inset 0 1px 0 rgba(255, 255, 255, .5);
}
.home-v2 .hud-coin .pill-plus .mp-icon { width: 15px; height: 15px; }
.home-v2 .hud-harvest {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 3px 0 6px;
  flex: 0 0 auto;
  border-left: 1.5px solid rgba(174, 128, 56, .18);
}
.home-v2 .hud-harvest-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #FFC24B, #F08A22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 0 rgba(180, 100, 20, .3);
}
.home-v2 .hud-harvest-icon .mp-icon { width: 14px; height: 14px; }
.home-v2 .hud-harvest strong {
  color: #6E4212;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.home-v2 .hud-round {
  width: 38px;
  height: 38px;
  margin-left: 1px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #9CE2FA 0%, #54B5DC 100%);
  border: 2px solid #DAF6FF;
  box-shadow: 0 3px 0 #2E87AE, 0 6px 12px rgba(20, 86, 112, .22), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.home-v2 .hud-round .mp-icon { width: 20px; height: 20px; }
.home-v2 .hud-round:active { transform: translateY(2px) scale(.95); }

/* 左上商店 */
.home-v2 .shop-float { top: calc(15vh + env(safe-area-inset-top)); left: 11px; }
.home-v2 .shop-float .float-ico {
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFEBC6 100%);
  border: 2.5px solid #FFFDF5;
  box-shadow: 0 5px 0 rgba(122, 76, 20, .28), 0 10px 18px rgba(30, 65, 20, .24), inset 0 1px 0 #fff;
}
.home-v2 .shop-svg { width: 42px; height: 42px; display: block; }
.home-v2 .shop-seed {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #FFC24B, #F08A22);
  border: 2px solid #FFFDF4;
  box-shadow: 0 2px 0 #C96612;
}
.home-v2 .shop-seed .mp-icon { width: 13px; height: 13px; }

/* 田地木牌 */
.home-v2 .field-ready {
  padding: 3px 9px 3px 5px;
  gap: 3px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 44%),
    linear-gradient(180deg, #DDA967 0%, #B9743B 56%, #97552A 100%);
  border: 2px solid #F9E1B4;
  color: #FFF8E8;
  font-size: 9.5px;
  text-shadow: 0 1px 0 rgba(90, 48, 16, .42);
  box-shadow: 0 3px 0 rgba(93, 50, 17, .42), 0 6px 10px rgba(35, 55, 18, .18), inset 0 1px 0 rgba(255, 255, 255, .42);
}
.home-v2 .field-ready .carrot-mini {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(80, 40, 10, .35));
}
.home-v2 .field-ready b { font-size: 9.5px; letter-spacing: .01em; }
.home-v2 .field-ready.hot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 44%),
    linear-gradient(180deg, #FFD35E 0%, #FF9B32 100%);
  border-color: #FFF0C2;
  color: #6E3A0A;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  box-shadow: 0 3px 0 rgba(180, 96, 12, .3), 0 0 14px rgba(255, 190, 70, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
  animation: readyChip 1.8s ease-in-out infinite;
}
.home-v2 .field-pager {
  background: rgba(255, 252, 242, .84);
  border: 1.5px solid #EAD3A2;
  box-shadow: 0 2px 0 rgba(150, 100, 30, .18), 0 5px 10px rgba(40, 70, 20, .1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-v2 .pager-label { color: #9A7A50; text-shadow: none; }
.home-v2 .pager-tab { color: #8A6A3A; }
.home-v2 .pager-tab.active {
  background: linear-gradient(180deg, #FFE07A, #FFB13B);
  color: #7A4A12;
  box-shadow: 0 1px 0 rgba(150, 90, 12, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* 底部悬浮三键 */
.home-v2 .field-zone { bottom: calc(136px + env(safe-area-inset-bottom)); }
.home-v2 .bottom-dock {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(6px + env(safe-area-inset-bottom));
  z-index: 40;
  height: 118px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}
.home-v2 .bottom-dock > * { pointer-events: auto; }
.home-v2 .dock-orb {
  position: relative;
  width: 74px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform .12s ease;
}
.home-v2 .dock-orb:active { transform: translateY(3px) scale(.97); }
.home-v2 .dock-orb .orb-art {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFDF6 0%, #FFEBC6 100%);
  border: 3px solid #FFFDF5;
  box-shadow: 0 6px 0 rgba(129, 83, 23, .3), 0 12px 20px rgba(28, 58, 16, .28), inset 0 1px 0 #fff;
}
.home-v2 .dock-orb .sprout-svg { width: 48px; height: 48px; display: block; }
.home-v2 .dock-orb .dock-avatar { width: 64px; height: 64px; border: 0; border-radius: 50%; }
.home-v2 .dock-orb .orb-label,
.home-v2 .dock-basket .basket-label {
  position: relative;
  z-index: 3;
  padding: 1px 8px 2px;
  border-radius: 999px;
  background: rgba(63, 45, 22, .52);
  border: 1px solid rgba(255, 248, 228, .3);
  color: #FFF8E7;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .02em;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(30, 20, 8, .4);
}
.home-v2 .dock-orb.farmer .dock-dot {
  top: 1px;
  right: 3px;
  z-index: 4;
}
.home-v2 .dock-basket {
  position: relative;
  width: 108px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  flex: 0 0 auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform .12s ease;
}
.home-v2 .dock-basket:active { transform: translateY(3px) scale(.97); }
.home-v2 .basket-plate {
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 21px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 226, 128, .96) 0%, rgba(255, 176, 54, .6) 56%, rgba(255, 150, 30, 0) 74%);
  filter: blur(1px);
  pointer-events: none;
}
.home-v2 .dock-basket .basket-svg {
  position: relative;
  z-index: 2;
  width: 94px;
  height: 76px;
  margin-bottom: 1px;
  display: block;
  filter: drop-shadow(0 6px 4px rgba(95, 55, 12, .35));
}
.home-v2 .dock-basket .basket-label {
  background: linear-gradient(180deg, #FFF8E4, #FFE7B4);
  border: 1.5px solid #F1C66D;
  color: #8A5716;
  text-shadow: none;
  box-shadow: 0 2px 0 rgba(190, 128, 46, .18);
}
.home-v2 .dock-basket .cta-count {
  top: 18px;
  right: 6px;
  z-index: 4;
  min-width: 20px;
  height: 20px;
  font-size: 10px;
}
.home-v2 .dock-basket.has-ready .basket-plate { animation: basketGlow 1.8s ease-in-out infinite; }
.home-v2 .dock-basket.has-ready .basket-svg { animation: basketBob 1.8s ease-in-out infinite; }

/* 农庄菜单 */
.farm-menu-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  margin: 2px 0 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .8), transparent 42%),
    linear-gradient(135deg, #FFF9E8, #FFE9BC);
  border: 1.5px solid #F0CC85;
  box-shadow: 0 4px 0 rgba(206, 153, 63, .18), inset 0 1px 0 #fff;
}
.farm-menu-hero .menu-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2.5px solid #FFFDF5;
  box-shadow: 0 3px 8px rgba(120, 80, 30, .2);
}
.farm-menu-hero b { display: block; color: #5A3A16; font-size: 15px; font-weight: 900; }
.farm-menu-hero small { display: block; margin-top: 2px; color: #9A7A50; font-size: 10px; font-weight: 700; }
.farm-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.farm-menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 11px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FFFDF6, #FFF1D5);
  border: 1.5px solid #F1D7A6;
  box-shadow: 0 3px 0 rgba(190, 140, 60, .14), inset 0 1px 0 #fff;
  text-align: left;
  transition: transform .12s ease;
}
.farm-menu-item:active { transform: translateY(2px); }
.farm-menu-item .menu-ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #FFC24B, #F08A22);
  box-shadow: 0 2px 0 #C96612, inset 0 1px 0 rgba(255, 255, 255, .4);
}
.farm-menu-item .menu-ico .mp-icon { width: 20px; height: 20px; }
.farm-menu-item:nth-child(2) .menu-ico { background: linear-gradient(180deg, #8BD84D, #54AE2A); box-shadow: 0 2px 0 #3B8520, inset 0 1px 0 rgba(255, 255, 255, .4); }
.farm-menu-item:nth-child(3) .menu-ico { background: linear-gradient(180deg, #8FD9F8, #4FAFD8); box-shadow: 0 2px 0 #2E87AE, inset 0 1px 0 rgba(255, 255, 255, .4); }
.farm-menu-item b { color: #5A3A16; font-size: 12px; font-weight: 900; }
.farm-menu-item small { color: #A08565; font-size: 9.5px; line-height: 1.35; }
.farm-menu-note { margin-top: 10px; color: #A08565; font-size: 10px; line-height: 1.5; text-align: center; }

@keyframes basketGlow {
  0%, 100% { opacity: .6; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes basketBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes readyChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
@media (max-height: 700px) {
  .home-v2 .field-zone { bottom: calc(126px + env(safe-area-inset-bottom)); }
  .home-v2 .bottom-dock { height: 106px; }
  .home-v2 .dock-orb { width: 64px; height: 82px; }
  .home-v2 .dock-orb .orb-art { width: 62px; height: 62px; }
  .home-v2 .dock-orb .sprout-svg { width: 42px; height: 42px; }
  .home-v2 .dock-orb .dock-avatar { width: 54px; height: 54px; }
  .home-v2 .dock-basket { width: 96px; height: 106px; }
  .home-v2 .dock-basket .basket-svg { width: 82px; height: 66px; }
  .home-v2 .basket-plate { bottom: 19px; height: 50px; }
  .home-v2 .dock-orb .orb-label, .home-v2 .dock-basket .basket-label { font-size: 8.5px; }
}
@media (max-width: 365px) {
  .home-v2 .hud { padding-left: 8px; padding-right: 8px; }
  .home-v2 .hud-board { padding: 5px; }
  .home-v2 .hud .avatar-slot,
  .home-v2 .hud .avatar-frame { width: 48px; height: 48px; }
  .home-v2 .hud .avatar-frame .avatar { width: 40px; height: 40px; }
  .home-v2 .hud-identity { width: 52px; }
  .home-v2 .hud-streak { display: none; }
  .home-v2 .hud .xp-track { width: 28px; flex-basis: 28px; }
  .home-v2 .hud-coin strong { font-size: 13.5px; min-width: 24px; }
  .home-v2 .hud-harvest { padding: 0 2px 0 4px; }
  .home-v2 .hud-harvest strong { font-size: 11.5px; }
  .home-v2 .hud-round { width: 34px; height: 34px; }
  .home-v2 .hud-round .mp-icon { width: 18px; height: 18px; }
}

.home-v2 .harvest-result { bottom: calc(130px + env(safe-area-inset-bottom)); }
.home-v2 .toast { bottom: calc(126px + env(safe-area-inset-bottom)); }
@media (max-height: 700px) {
  .home-v2 .harvest-result { bottom: calc(118px + env(safe-area-inset-bottom)); }
  .home-v2 .toast { bottom: calc(114px + env(safe-area-inset-bottom)); }
}

/* ==================== 本轮：12 块田全展示 + 牧场/鱼塘同屏入口 + 15 种作物 ==================== */
.home-v2 .field-pager { display: none !important; }
.home-v2 .field-zone {
  top: 40%;
  bottom: calc(136px + env(safe-area-inset-bottom));
}
.home-v2 #field {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 7px 5px;
}
.home-v2 #field .plot {
  border-width: 2px;
  border-radius: 16px 13px 17px 12px / 13px 16px 12px 17px;
  box-shadow:
    inset 0 -6px 0 rgba(59, 34, 17, .22),
    inset 0 2px 0 rgba(255, 255, 255, .14),
    0 4px 0 rgba(83, 52, 26, .34),
    0 7px 12px rgba(28, 58, 14, .2),
    0 0 0 2.5px rgba(124, 190, 72, .34);
}
.home-v2 #field .plot:active { transform: translateY(2px) scale(.975); }
.home-v2 #field .plot.ready {
  box-shadow:
    inset 0 -6px 0 rgba(59, 34, 17, .18),
    0 4px 0 rgba(83, 52, 26, .3),
    0 0 0 3px rgba(255, 215, 86, .5),
    0 0 16px rgba(255, 196, 62, .5);
}
.home-v2 #field .plot.ready::after {
  inset: -3px;
  border-width: 1.5px;
  border-radius: 19px 16px 20px 15px;
  box-shadow: 0 0 12px rgba(255, 198, 58, .45), inset 0 0 8px rgba(255, 231, 132, .2);
}
.home-v2 #field .crop-mini {
  top: 4px;
  left: 4px;
  padding: 1px 4px;
  border-radius: 5px;
  font-size: 7.5px;
  letter-spacing: 0;
}
.home-v2 #field .stolen-tag {
  top: 4px;
  right: 4px;
  padding: 1px 4px;
  font-size: 7.5px;
}
.home-v2 #field .crop-art {
  bottom: 21%;
  width: 94%;
  height: 64%;
  filter: drop-shadow(0 4px 2px rgba(50, 28, 12, .3));
}
.home-v2 #field .crop-art.stage-0 { width: 48%; height: 43%; }
.home-v2 #field .crop-art.stage-1 { width: 70%; height: 54%; }
.home-v2 #field .crop-art.stage-2 { width: 96%; height: 68%; }
.home-v2 #field .crop-art.multi svg { width: 33.333%; height: 100%; flex: 0 0 33.333%; }
.home-v2 #field .plot-timer {
  bottom: 4px;
  height: 16px;
  padding: 0 4px;
  gap: 2px;
  font-size: 8px;
  border: 0;
}
.home-v2 #field .plot-timer .mp-icon { width: 8px; height: 8px; }
.home-v2 #field .plot.ready .plot-timer { height: 18px; font-size: 8.5px; box-shadow: 0 2px 0 #D96A12; }
.home-v2 #field .plot-bar { left: 8%; right: 8%; bottom: 2px; height: 3px; }
.home-v2 #field .plot-empty { gap: 2px; }
.home-v2 #field .plot-empty .mp-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-width: 1.5px;
  box-shadow: 0 0 0 3px rgba(255, 248, 230, .1);
}
.home-v2 #field .plot-empty b { font-size: 8.5px; letter-spacing: .04em; }
.home-v2 #field .plot-lock { gap: 2px; }
.home-v2 #field .plot-lock .mp-icon { width: 18px; height: 18px; }
.home-v2 #field .plot-lock b { font-size: 9px; letter-spacing: .02em; }
.home-v2 #field .plot-lock small { font-size: 8px; padding: 1px 4px; gap: 1px; }
.home-v2 #field .mini-coin { width: 9px; height: 9px; border-width: 1px; }
.home-v2 #field .ready-bubble {
  top: -11px;
  padding: 1px 5px 1px 2px;
  gap: 2px;
  border-width: 1.5px;
  font-size: 7.5px;
  box-shadow: 0 2px 0 rgba(199, 126, 24, .2), 0 5px 10px rgba(70, 45, 12, .18);
}
.home-v2 #field .ready-bubble::after { width: 7px; height: 7px; bottom: -5px; margin-left: -3.5px; border-width: 1.5px; }
.home-v2 #field .ready-bubble em { width: 12px; height: 12px; font-size: 7px; }
.home-v2 #field .ready-bubble em .mp-icon { width: 8px; height: 8px; }

/* 牧场 / 鱼塘同屏入口 */
.home-v2 .live-float {
  top: auto;
  left: auto;
  right: 10px;
  width: 54px;
  gap: 2px;
}
.home-v2 .ranch-live-float { top: calc(14.5vh + env(safe-area-inset-top)); }
.home-v2 .pond-live-float { top: calc(24.5vh + env(safe-area-inset-top)); }
.home-v2 .live-float .float-ico {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #5B9E3A;
  background: linear-gradient(180deg, #FFFDF5 0%, #EAF6D6 100%);
  border: 2px solid #FFFDF5;
  box-shadow: 0 4px 0 rgba(122, 76, 20, .26), 0 8px 14px rgba(30, 65, 20, .22), inset 0 1px 0 #fff;
}
.home-v2 .pond-live-float .float-ico {
  color: #2C8799;
  background: linear-gradient(180deg, #F7FEFF 0%, #D8F2F5 100%);
  box-shadow: 0 4px 0 rgba(34, 97, 112, .25), 0 8px 14px rgba(20, 70, 80, .2), inset 0 1px 0 #fff;
}
.home-v2 .live-float .float-ico .mp-icon { width: 25px; height: 25px; }
.home-v2 .live-art {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.home-v2 .live-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.home-v2 .live-art .mp-icon { width: 25px; height: 25px; }
.home-v2 .live-float .float-label {
  padding: 1px 5px 2px;
  font-size: 8.5px;
  background: rgba(54, 39, 18, .52);
}
.home-v2 .live-float.hot .float-ico {
  animation: liveFloatGlow 1.8s ease-in-out infinite;
}
.home-v2 .live-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 3;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #FF6A52, #E93E2C);
  border: 2px solid #FFFDF4;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(150, 40, 20, .28);
}
@keyframes liveFloatGlow {
  0%, 100% { box-shadow: 0 4px 0 rgba(122, 76, 20, .26), 0 8px 14px rgba(30, 65, 20, .22), 0 0 0 0 rgba(255, 201, 70, .5); }
  50% { box-shadow: 0 4px 0 rgba(122, 76, 20, .26), 0 8px 14px rgba(30, 65, 20, .22), 0 0 0 5px rgba(255, 201, 70, .16); }
}

/* 牧场弹层全景图：使用最新生成的农庄画面 */
.home-v2 .ranch-pop {
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ranch-hero {
  position: relative;
  height: 96px;
  margin: 2px 0 10px;
  border-radius: 17px;
  overflow: hidden;
  border: 2px solid #FFE2A8;
  background: #CFE9B0;
  box-shadow: 0 3px 0 rgba(150, 100, 30, .14), 0 7px 14px rgba(80, 55, 20, .12);
}
.ranch-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
}
.ranch-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(42, 68, 22, 0), rgba(42, 68, 22, .62));
}
.ranch-hero-label {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(40, 57, 22, .52);
  border: 1px solid rgba(255, 248, 226, .44);
  color: #FFF8E7;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(30, 20, 8, .35);
}
.ranch-hero-label .mp-icon { width: 12px; height: 12px; color: #FFD45C; }

/* 作物档位与每分钟收益 */
.seed-card.tier-fast { border-left: 4px solid #8BD84D; }
.seed-card.tier-balanced { border-left: 4px solid #FFC24B; }
.seed-card.tier-slow { border-left: 4px solid #FF9B42; }
.seed-card.tier-rare { border-left: 4px solid #A875E8; }
.seed-meta .rate { color: #72904D; }
.seed-meta .rate b { color: #5D9B3E; }

@media (max-height: 700px) {
  .home-v2 .field-zone { top: 37%; bottom: calc(126px + env(safe-area-inset-bottom)); }
  .home-v2 #field { gap: 5px 4px; }
  .home-v2 .ranch-live-float { top: calc(14vh + env(safe-area-inset-top)); }
  .home-v2 .pond-live-float { top: calc(23.5vh + env(safe-area-inset-top)); }
  .home-v2 #field .plot-timer { font-size: 7.5px; height: 15px; }
  .home-v2 #field .plot.ready .plot-timer { font-size: 8px; height: 17px; }
  .home-v2 #field .crop-mini { font-size: 7px; }
  .home-v2 #field .ready-bubble { font-size: 7px; }
  .home-v2 #field .plot-empty b { font-size: 8px; }
  .ranch-hero { height: 78px; }
}
@media (max-height: 620px) {
  .home-v2 .field-zone { top: 34%; bottom: calc(118px + env(safe-area-inset-bottom)); }
  .home-v2 #field { gap: 4px 3px; }
  .home-v2 #field .plot-timer { height: 14px; font-size: 7px; }
  .home-v2 #field .plot.ready .plot-timer { height: 15px; font-size: 7.5px; }
  .home-v2 #field .crop-mini { font-size: 6.5px; }
  .home-v2 .live-float .float-ico { width: 42px; height: 42px; border-radius: 13px; }
  .home-v2 .live-float .float-ico .mp-icon { width: 22px; height: 22px; }
  .home-v2 .ranch-live-float { top: calc(15.5vh + env(safe-area-inset-top)); }
  .home-v2 .pond-live-float { top: calc(24.5vh + env(safe-area-inset-top)); }
}
@media (max-width: 365px) {
  .home-v2 #field { gap: 6px 4px; }
  .home-v2 #field .plot-timer { font-size: 7.5px; padding: 0 3px; }
  .home-v2 #field .plot-lock b { font-size: 8.5px; }
  .home-v2 #field .plot-lock small { font-size: 7.5px; }
  .home-v2 #field .field-tip { font-size: 9px; padding-right: 7px; }
  .home-v2 .live-float .float-ico { width: 44px; height: 44px; }
  .home-v2 .live-float .float-ico .mp-icon { width: 23px; height: 23px; }
}

.tier-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: -3px 2px 0;
  color: #9B856E;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
}
.tier-legend span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.tier-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.tier-legend i.fast { background: #8BD84D; }
.tier-legend i.balanced { background: #FFC24B; }
.tier-legend i.slow { background: #FF9B42; }
.tier-legend i.rare { background: #A875E8; }
