/* ==========================================================
   激情农场 · 卡通治愈系农场经营 H5
   主色 #FF8A3D / 奶油卡片 / 青绿农场
   ========================================================== */

:root {
  --orange: #FF8A3D;
  --orange-deep: #EB6C1F;
  --orange-soft: #FFF0DF;
  --teal: #5FC9BE;
  --teal-deep: #3FA99F;
  --green: #7CBF62;
  --green-deep: #5A9B45;
  --ink: #40382B;
  --ink-soft: #6E6A58;
  --muted: #9A9A85;
  --cream: #FBF7EC;
  --card: #FFFDF7;
  --line: #F0E5D1;
  --soil: #A97450;
  --gold: #F2B93B;
  --pink: #F48C8C;
  --shadow: 0 8px 22px rgba(94, 104, 64, 0.12);
  --shadow-lite: 0 4px 12px rgba(94, 104, 64, 0.09);
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #E8F2E0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.8), transparent 38%),
    radial-gradient(circle at 88% 90%, rgba(255, 209, 138, 0.22), transparent 42%),
    linear-gradient(160deg, #E9F4E2 0%, #F5F0DF 100%);
  overscroll-behavior-y: none;
  touch-action: manipulation;
}

button, input { font-family: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid rgba(255, 138, 61, 0.6); outline-offset: 2px; }
svg { display: block; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.app {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--cream);
  overflow-x: hidden;
}

.main { position: relative; }

.view {
  display: none;
  padding: 0 16px 112px;
  animation: viewIn 0.28s ease both;
}
.view.active { display: block; }
.view[data-view="animals"],
.view[data-view="workshop"],
.view[data-view="market"],
.view[data-view="profile"] { padding-top: 0; }

@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 顶部资源条 ---------------- */

.hud {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  padding: 10px 12px 8px;
  padding-top: calc(env(safe-area-inset-top) + 9px);
  pointer-events: none;
}
.hud > * { pointer-events: auto; }

.res-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px 0 7px;
  border-radius: 17px;
  background: rgba(255, 252, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(67, 94, 72, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #65513B;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.res-pill .mp-icon { width: 19px; height: 19px; }
.coin-pill .mp-icon { color: #F2A93B; }
.gem-pill .mp-icon { color: #58B9C9; }
.gem-pill { padding-right: 9px; }

.lvl-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 64px;
  height: 34px;
  padding: 0 9px;
  border-radius: 17px;
  background: rgba(255, 252, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(67, 94, 72, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #71805F;
  font-size: 11px;
  font-weight: 800;
}
.lvl-pill .xpbar {
  flex: 1;
  min-width: 18px;
  height: 5px;
  border-radius: 3px;
  background: #E9E4D5;
  overflow: hidden;
}
.lvl-pill .xpbar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #FFC65C, var(--orange));
  transition: width 0.35s ease;
}

.sign-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(180deg, #FFA45A, #FF7F31);
  color: #FFFDF6;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 0 #E4691F, 0 7px 14px rgba(255, 127, 49, 0.3);
}
.sign-btn .mp-icon { width: 16px; height: 16px; }
.sign-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #E4691F; }

.dot {
  position: absolute;
  top: -2px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F2554E;
  border: 2px solid #FFFDF6;
}
.dot[hidden], .tab-dot[hidden] { display: none !important; }

/* ---------------- 农场场景 ---------------- */

.scene {
  position: relative;
  height: 262px;
  margin: 0 -16px;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #8FDCD6 0%, #B9EBDE 54%, #DAF2C7 100%);
  transition: background 0.6s ease;
}

.scene.season-spring { background: linear-gradient(180deg, #8FDCD6 0%, #BCEBDD 54%, #DCF3C9 100%); }
.scene.season-summer { background: linear-gradient(180deg, #7ED6CF 0%, #B2E8CF 54%, #D3F0BF 100%); }
.scene.season-autumn { background: linear-gradient(180deg, #9FD9CE 0%, #D7E9B3 54%, #F4E3B1 100%); }
.scene.season-winter { background: linear-gradient(180deg, #B9DCE2 0%, #DCEDE9 54%, #EEF3E1 100%); }
.scene.is-dusk { background: linear-gradient(180deg, #8B8FC9 0%, #E8B49E 56%, #F6D9AC 100%); }
.scene.is-night { background: linear-gradient(180deg, #2E4764 0%, #4C6878 54%, #6F8A6C 100%); }
.scene.is-night::after {
  content: "";
  position: absolute;
  inset: 0 0 60px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    radial-gradient(1.4px 1.4px at 18% 22%, rgba(255, 248, 220, 0.9), transparent 65%),
    radial-gradient(1.2px 1.2px at 34% 14%, rgba(255, 248, 220, 0.75), transparent 65%),
    radial-gradient(1.6px 1.6px at 63% 26%, rgba(255, 248, 220, 0.8), transparent 65%),
    radial-gradient(1.2px 1.2px at 78% 15%, rgba(255, 248, 220, 0.7), transparent 65%),
    radial-gradient(1.3px 1.3px at 88% 34%, rgba(255, 248, 220, 0.6), transparent 65%);
}
.scene.is-night .cloud { opacity: 0.18; }
.scene.is-night .house { filter: drop-shadow(0 0 13px rgba(255, 216, 148, 0.26)); }

.scene .sun {
  position: absolute;
  right: 30px;
  top: calc(env(safe-area-inset-top) + 74px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFD36E;
  box-shadow: 0 0 0 9px rgba(255, 211, 110, 0.24), 0 0 28px rgba(255, 211, 110, 0.55);
  animation: sunPulse 5s ease-in-out infinite;
}
.scene.is-night .sun {
  background: #FFF2C6;
  box-shadow: 0 0 0 7px rgba(255, 242, 198, 0.16), 0 0 26px rgba(255, 242, 198, 0.4);
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cloud {
  position: absolute;
  height: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  animation: drift 26s linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud::before { width: 22px; height: 22px; left: 10px; top: -10px; }
.cloud::after { width: 15px; height: 15px; right: 9px; top: -7px; }
.cloud-a { width: 66px; left: 26px; top: calc(env(safe-area-inset-top) + 116px); animation-duration: 32s; }
.cloud-b { width: 52px; right: 88px; top: calc(env(safe-area-inset-top) + 96px); opacity: 0.62; animation-duration: 38s; animation-direction: reverse; }
.cloud-c { width: 40px; left: 54%; top: calc(env(safe-area-inset-top) + 62px); opacity: 0.45; animation-duration: 44s; }
@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(18px); }
}

.hill {
  position: absolute;
  border-radius: 50%;
  background: #A9D98B;
  filter: blur(0.2px);
}
.hill-a { width: 300px; height: 130px; left: -84px; bottom: 22px; background: #A9D98B; }
.hill-b { width: 260px; height: 112px; right: -96px; bottom: 30px; background: #98CF7D; }
.scene.season-autumn .hill-a { background: #CFC879; }
.scene.season-autumn .hill-b { background: #C2B967; }
.scene.season-winter .hill-a { background: #D7E7D0; }
.scene.season-winter .hill-b { background: #C8DFC4; }
.scene.is-night .hill-a { background: #4F7357; }
.scene.is-night .hill-b { background: #46684F; }

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background: linear-gradient(180deg, #9FD276 0%, #87C863 100%);
}
.scene.season-autumn .ground { background: linear-gradient(180deg, #CCD07C 0%, #B9BE63 100%); }
.scene.season-winter .ground { background: linear-gradient(180deg, #D8E9CF 0%, #C4DDC1 100%); }
.scene.is-night .ground { background: linear-gradient(180deg, #537A55 0%, #41633F 100%); }

.scene .house {
  position: absolute;
  left: 4px;
  bottom: 56px;
  width: 132px;
  height: 115px;
  z-index: 2;
  filter: drop-shadow(0 8px 9px rgba(83, 67, 42, 0.16));
}
.scene .tree {
  position: absolute;
  right: 10px;
  bottom: 52px;
  width: 64px;
  height: 64px;
  z-index: 2;
  filter: drop-shadow(0 5px 6px rgba(70, 90, 44, 0.16));
}
.scene .tree-b {
  right: 68px;
  bottom: 66px;
  width: 42px;
  height: 42px;
  opacity: 0.92;
}

.scene .fence {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: 57%;
  height: 30px;
  z-index: 1;
  opacity: 0.9;
  background:
    repeating-linear-gradient(90deg, transparent 0 17px, #E8B77C 17px 22px),
    linear-gradient(180deg, transparent 11px, #E8B77C 11px 16px, transparent 16px);
}
.scene.is-night .fence { opacity: 0.4; }

/* 风车与小花，让农场地平线更有生活气 */
.scene .windmill {
  position: absolute;
  left: 56%;
  bottom: 44px;
  z-index: 2;
  width: 46px;
  height: 104px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 6px 7px rgba(83, 67, 42, 0.16));
}
.windmill-tower {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 17px;
  height: 60px;
  margin-left: -8.5px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #FFF8E8 0%, #F1DFC0 68%, #E7D0AA 100%);
  box-shadow: inset -4px 0 0 rgba(199, 164, 116, 0.28);
}
.windmill-tower::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 30px;
  height: 8px;
  margin-left: -15px;
  border-radius: 4px;
  background: #D9A26B;
}
.windmill-blades {
  position: absolute;
  left: 50%;
  bottom: 57px;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 50%;
  animation: millSpin 13s linear infinite;
}
.windmill-blades::before,
.windmill-blades::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 5px;
  height: calc(100% + 6px);
  margin-left: -2.5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #F4CA95, #D79A5E);
  box-shadow: 0 0 0 1px rgba(191, 137, 83, 0.18);
}
.windmill-blades::after { transform: rotate(90deg); }
.windmill-hub {
  position: absolute;
  left: 50%;
  bottom: 74px;
  z-index: 2;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #B97A3E;
  border: 2px solid #FFF3DC;
}
.scene.is-night .windmill-tower { background: linear-gradient(180deg, #E1D7BE 0%, #B9AF96 100%); }
.scene.is-night .windmill-blades::before,
.scene.is-night .windmill-blades::after { background: linear-gradient(180deg, #C7A97F, #9C7C55); }
@keyframes millSpin { to { transform: rotate(360deg); } }

.scene .flower-patch {
  position: absolute;
  left: 10px;
  bottom: 44px;
  z-index: 3;
  width: 96px;
  height: 24px;
  pointer-events: none;
}
.flower-patch i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFD166;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}
.flower-patch i::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -5px;
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: #6FA84C;
}
.flower-patch i:nth-child(1) { left: 4px; bottom: 9px; background: #FFB7C5; }
.flower-patch i:nth-child(2) { left: 22px; bottom: 15px; background: #FFD166; }
.flower-patch i:nth-child(3) { left: 38px; bottom: 7px; background: #FFF6E4; }
.flower-patch i:nth-child(4) { left: 54px; bottom: 13px; background: #C6A9E8; }
.flower-patch i:nth-child(5) { left: 70px; bottom: 6px; background: #FFB7C5; }
.flower-patch i:nth-child(6) { left: 84px; bottom: 12px; background: #FFD166; }
.scene.is-night .flower-patch { opacity: 0.55; }


.season-chip {
  position: absolute;
  right: 13px;
  top: calc(env(safe-area-inset-top) + 56px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 9px;
  border-radius: 13px;
  background: rgba(255, 252, 242, 0.82);
  color: #63805D;
  font-size: 10px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 8px rgba(70, 98, 74, 0.12);
}
.scene.is-night .season-chip { background: rgba(35, 52, 66, 0.55); color: #F4EACB; }

.scene-name {
  position: absolute;
  left: 16px;
  top: calc(env(safe-area-inset-top) + 56px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #3F5C3C;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.scene-name b { font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.scene-name span { font-size: 9.5px; font-weight: 700; color: #64805C; }
.scene.is-night .scene-name { color: #F3EFD9; text-shadow: none; }
.scene.is-night .scene-name span { color: #C7D4B8; }
.scene.is-dusk .scene-name { color: #654A43; }
.scene.is-dusk .scene-name span { color: #86695D; }

/* ---------------- 土地面板 ---------------- */

.farm-panel {
  position: relative;
  z-index: 3;
  margin-top: -50px;
  padding: 14px 14px 12px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.farm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.farm-head h2 {
  margin: 1px 0 0;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #4A402E;
}
.farm-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.farm-level {
  font-size: 10px;
  font-weight: 800;
  color: #A17E4D;
  background: #FBF0DA;
  border-radius: 8px;
  padding: 2px 7px;
}

.eyebrow {
  display: block;
  font-size: 9.5px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #B08A5A;
}
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--gold); }
.stars .mp-icon { width: 12px; height: 12px; }

.plot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.plot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.03;
  min-height: 86px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(158deg, #B98258 0%, #9A6340 100%);
  box-shadow: inset 0 -4px 0 rgba(84, 47, 23, 0.2), inset 0 3px 0 rgba(255, 244, 220, 0.18), 0 3px 7px rgba(106, 70, 39, 0.12);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.plot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(62, 35, 15, 0.1) 12px 14px);
  pointer-events: none;
}
.plot:active { transform: scale(0.955); }

.plot.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(158deg, #C79269 0%, #A9714B 100%);
  border: 2px dashed rgba(255, 241, 214, 0.4);
}
.plot.empty::before { display: none; }
.empty-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: rgba(255, 242, 218, 0.2);
  color: #FFF1D7;
  border: 1px dashed rgba(255, 241, 214, 0.65);
}
.empty-label { font-size: 9.5px; font-weight: 800; color: rgba(255, 244, 224, 0.8); }

.plot.locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(158deg, #BDDB93 0%, #94BF68 100%);
  border: 2px dashed rgba(83, 115, 59, 0.35);
  color: #5F7B48;
  box-shadow: inset 0 -3px 0 rgba(70, 100, 44, 0.12);
}
.plot.locked::before { display: none; }
.plot.locked .mp-icon { width: 18px; height: 18px; opacity: 0.8; }
.plot-price {
  font-size: 10px;
  font-weight: 800;
  color: #5D7444;
  background: rgba(255, 255, 255, 0.66);
  padding: 1px 6px;
  border-radius: 8px;
}
.plot-lvl { font-size: 8.5px; font-weight: 700; opacity: 0.72; }

.plot-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.plot-art .art {
  width: 68%;
  height: 68%;
  overflow: visible;
  filter: drop-shadow(0 4px 3px rgba(51, 33, 17, 0.24));
}
.plot-art.sprout { transform: scale(0.62) translateY(7px); opacity: 0.82; }
.plot-art.grow { transform: scale(0.84) translateY(2px); }
.plot.mature { box-shadow: inset 0 0 0 2px #FFD166, 0 0 0 3px rgba(255, 209, 102, 0.22), 0 5px 12px rgba(83, 100, 47, 0.2); }
.plot.mature .plot-art { animation: cropBob 1.6s ease-in-out infinite; }
.plot.mature .plot-art .art { filter: drop-shadow(0 3px 2px rgba(51, 33, 17, 0.2)) drop-shadow(0 0 8px rgba(255, 225, 140, 0.7)); }
@keyframes cropBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.03); }
}

.plot-tag {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(48, 34, 22, 0.6);
  color: #FFF8E7;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.plot.mature .plot-tag { background: #63B457; color: #fff; }

.plot-bar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.plot-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: #FFD166;
  transition: width 0.6s linear;
}
.plot.mature .plot-bar i { background: #C4F29A; }

.farm-actions {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: transform 0.1s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  user-select: none;
}
.btn .mp-icon { width: 19px; height: 19px; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.48; pointer-events: none; }
.btn b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.26);
  font-size: 10px;
}
.btn-primary {
  background: linear-gradient(180deg, #FFA95B 0%, #FF7A2F 100%);
  color: #FFFDF7;
  box-shadow: 0 4px 0 #E4691F, 0 8px 14px rgba(255, 122, 47, 0.24);
}
.btn-primary:active { box-shadow: 0 2px 0 #E4691F, 0 4px 8px rgba(255, 122, 47, 0.2); transform: translateY(2px) scale(0.99); }
.btn-free {
  background: linear-gradient(180deg, #A6DE83 0%, #74C45B 100%);
  color: #FFFDF7;
  box-shadow: 0 4px 0 #56A142, 0 8px 14px rgba(90, 160, 68, 0.24);
}
.btn-free:active { box-shadow: 0 2px 0 #56A142, 0 4px 8px rgba(90, 160, 68, 0.2); transform: translateY(2px) scale(0.99); }
.btn-soft {
  background: #FFF2DF;
  color: #B76727;
  box-shadow: inset 0 0 0 1px #F3D6B1;
}
.btn-ghost {
  background: #F2F0E6;
  color: #737B65;
  box-shadow: inset 0 0 0 1px #E4E0D2;
}
.btn-danger {
  background: linear-gradient(180deg, #F5847B, #E35D54);
  color: #FFF9F5;
  box-shadow: 0 4px 0 #C4473F, 0 7px 12px rgba(227, 93, 84, 0.22);
}
.btn small { font-size: 9.5px; font-weight: 700; opacity: 0.86; }
.wide-btn { width: 100%; }

.farm-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 9px 0 0;
  color: #A69D89;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.newbie-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 19px;
  background: linear-gradient(135deg, #FFF4DE, #FFE5BE);
  border: 1px solid #FBE0B7;
  box-shadow: 0 4px 12px rgba(206, 150, 71, 0.12);
}
.newbie-ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.85);
  color: #E09636;
}
.newbie-ico .mp-icon { width: 21px; height: 21px; }
.newbie-copy { flex: 1; min-width: 0; }
.newbie-copy b { display: block; font-size: 12px; font-weight: 800; color: #6A5030; }
.newbie-copy p { margin: 2px 0 0; font-size: 9.5px; line-height: 1.4; color: #A58354; font-weight: 600; }
.newbie-banner .btn { flex: none; min-height: 32px; height: 32px; padding: 0 12px; border-radius: 10px; font-size: 10.5px; }

/* ---------------- 卡片 / 通用 ---------------- */

.card {
  position: relative;
  margin-top: 13px;
  padding: 15px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lite);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.section-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  color: #4D4331;
}
.section-head p {
  margin: 3px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: #A69D89;
  font-weight: 600;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  border: 0;
  background: none;
  padding: 4px 0 4px 6px;
  color: var(--orange-deep);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.link-btn .mp-icon { width: 14px; height: 14px; }
.section-tag {
  flex: none;
  padding: 3px 8px;
  border-radius: 10px;
  background: #F6F1E2;
  color: #9B927C;
  font-size: 10px;
  font-weight: 800;
}

.mini-order {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 0;
  border-top: 1px dashed #F0E6D2;
}
.mini-order:first-of-type { border-top: 0; }
.mini-npc {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  max-width: 82px;
}
.mini-npc b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  color: #6E624D;
}
.npc-dot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}
.tint-0 { background: #8FBF7A; }
.tint-1 { background: #E5A36B; }
.tint-2 { background: #83B9C9; }
.tint-3 { background: #C49ACF; }

.mini-needs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.mini-need {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px 2px 3px;
  border-radius: 8px;
  background: #F8F4E9;
  color: #756A55;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}
.mini-need b { font-weight: 800; color: #5D5544; }
.mini-need .micro-art { width: 16px; height: 16px; }
.mini-reward {
  flex: none;
  color: #E8802D;
  font-size: 11px;
  font-weight: 800;
}

.micro-art {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  overflow: visible;
}

.farm-tip-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #F3F8E9;
  border-color: #E6EFD4;
  box-shadow: none;
}
.farm-tip-card > .mp-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: #77A45A;
  margin-top: 1px;
}
.farm-tip-card b { display: block; font-size: 12px; color: #5D7148; }
.farm-tip-card p { margin: 2px 0 0; font-size: 10.5px; line-height: 1.55; color: #8A957A; font-weight: 600; }

/* ---------------- 二级页头部 ---------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 178px;
  margin: 0 -16px;
  padding: 20px 18px 18px;
  padding-top: calc(env(safe-area-inset-top) + 70px);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -46px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.hero-copy { position: relative; z-index: 2; max-width: 230px; }
.hero-copy .eyebrow { color: rgba(70, 64, 47, 0.58); }
.hero-copy h2 {
  margin: 3px 0 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #4B412F;
}
.hero-copy p {
  margin: 5px 0 0;
  font-size: 10.5px;
  line-height: 1.5;
  font-weight: 700;
  color: rgba(74, 65, 47, 0.66);
}
.hero-art {
  position: relative;
  z-index: 2;
  flex: none;
  width: 106px;
  height: 92px;
}
.hero-art .art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 10px rgba(82, 66, 38, 0.18));
}
.hero-art .hero-egg {
  right: auto;
  left: -4px;
  bottom: 2px;
  width: 45px;
  height: 45px;
  transform: rotate(-9deg);
  filter: drop-shadow(0 5px 6px rgba(82, 66, 38, 0.16));
}

.animals-hero { background: linear-gradient(135deg, #FFE7C2 0%, #FFD394 100%); }
.workshop-hero { background: linear-gradient(135deg, #FFE0CE 0%, #FFC09D 100%); }
.market-hero { background: linear-gradient(135deg, #D7F1EC 0%, #A8E3DC 100%); }
.profile-hero { background: linear-gradient(135deg, #D8F1DF 0%, #A8DFC8 100%); }

.page-actions { margin-top: -18px; position: relative; z-index: 4; }
.workshop-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 252, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 5px 14px rgba(94, 104, 64, 0.1);
  color: #8B7C62;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
}
.workshop-summary .mp-icon { width: 17px; height: 17px; color: #D98A50; flex: none; }
.workshop-summary b { color: #D07937; }

/* ---------------- 养殖 ---------------- */

.pen-list { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.pen-card {
  position: relative;
  padding: 13px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lite);
}
.pen-card.locked { background: #F8F5EB; border-color: #EFE8D8; box-shadow: none; }
.pen-top { display: flex; align-items: center; gap: 11px; }
.pen-visual {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(150deg, #FFF3DD, #FFE1B8);
}
.pen-card.locked .pen-visual { background: #F0EDDF; }
.pen-card.locked .pen-visual .art { filter: grayscale(0.55); opacity: 0.55; }
.pen-visual .art { width: 51px; height: 51px; }
.pen-count {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 24px;
  padding: 2px 5px;
  border-radius: 9px;
  background: #6DB65C;
  border: 2px solid #FFFBF2;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.pen-info { flex: 1; min-width: 0; }
.pen-info h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #4E4330;
}
.pen-info p {
  margin: 3px 0 0;
  font-size: 10px;
  line-height: 1.45;
  color: #A09682;
  font-weight: 600;
}
.lv-chip, .lock-chip {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.lv-chip { background: #EFF7E4; color: #6B984C; }
.lock-chip { background: #F3EEE1; color: #A49272; }

.pen-progress {
  height: 6px;
  margin-top: 8px;
  border-radius: 3px;
  background: #F0EBDE;
  overflow: hidden;
}
.pen-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #FFD166, #FF9A46);
  transition: width 0.8s linear;
}
.pen-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  color: #A19884;
  font-size: 9.5px;
  font-weight: 700;
}
.pen-stored { color: #D58638; }

.pen-need {
  margin-top: 7px;
  color: #B08854;
  font-size: 10px;
  font-weight: 800;
}
.pen-shop-note {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed #F0E6D2;
  color: #ABA18D;
  font-size: 9.5px;
  font-weight: 700;
}
.pen-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.pen-actions .btn {
  min-height: 36px;
  height: 36px;
  padding: 0 7px;
  border-radius: 11px;
  font-size: 11px;
  gap: 3px;
}
.pen-actions .btn .mp-icon { width: 15px; height: 15px; }
.pen-unlock { margin-top: 10px; }

/* ---------------- 工坊 ---------------- */

.recipe-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.recipe-card {
  display: flex;
  gap: 11px;
  padding: 12px;
  border-radius: 21px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lite);
}
.recipe-card.locked { opacity: 0.74; }
.recipe-art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(150deg, #FFF3DF, #FFE3BE);
}
.recipe-art .art { width: 50px; height: 50px; }
.recipe-main { flex: 1; min-width: 0; }
.recipe-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.recipe-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 800;
  color: #4D4230;
}
.recipe-price {
  flex: none;
  padding: 2px 7px;
  border-radius: 8px;
  background: #FFF0DC;
  color: #D4762C;
  font-size: 9.5px;
  font-weight: 800;
}
.recipe-needs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.need-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px 2px 3px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  color: #7A705C;
  background: #F5F1E5;
  white-space: nowrap;
}
.need-chip.ok { color: #62864A; background: #F0F7E7; }
.need-chip.lack { color: #C46754; background: #FDECE7; }
.need-chip .micro-art { width: 15px; height: 15px; }
.craft-bar {
  height: 5px;
  margin-top: 8px;
  border-radius: 3px;
  background: #F0EBDD;
  overflow: hidden;
}
.craft-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #FFC65C, #FF8A3D);
  transition: width 0.8s linear;
}
.craft-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 700;
  color: #A89D87;
}
.craft-left { color: #D08539; }
.recipe-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
}
.recipe-time {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #AAA08B;
  font-size: 9.5px;
  font-weight: 700;
}
.recipe-time .mp-icon { width: 12px; height: 12px; }
.recipe-btn {
  min-height: 30px;
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 10.5px;
  flex: none;
}

/* ---------------- 集市 ---------------- */

.segmented {
  display: flex;
  gap: 3px;
  margin: 13px 0 11px;
  padding: 4px;
  border-radius: 15px;
  background: #F0EADB;
}
.segmented button {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #8A8B75;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.18s ease;
}
.segmented button.active {
  background: var(--card);
  color: #D87528;
  box-shadow: 0 2px 8px rgba(94, 84, 54, 0.14);
}

.market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.market-toolbar h3 { margin: 0; font-size: 16px; font-weight: 800; color: #4B412F; }
.market-toolbar p { margin: 3px 0 0; font-size: 10px; color: #A79D89; font-weight: 600; }
.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  background: #FFF1DF;
  color: #C1762F;
  font-size: 10px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #F3D7B2;
  white-space: nowrap;
}
.refresh-btn .mp-icon { width: 15px; height: 15px; }
.refresh-btn:active { transform: scale(0.96); }

.big-order {
  position: relative;
  overflow: hidden;
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 21px;
  background: linear-gradient(135deg, #FFF3DC 0%, #FFE0B7 100%);
  border: 1px solid #FFE4BB;
  box-shadow: 0 5px 16px rgba(204, 145, 66, 0.14);
}
.big-order::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}
.big-order.done { opacity: 0.72; }
.big-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.big-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 8px;
  background: #E9802E;
  color: #FFF8EA;
  font-size: 9px;
  font-weight: 800;
}
.big-tag .mp-icon { width: 12px; height: 12px; }
.big-timer { color: #A67B45; font-size: 9.5px; font-weight: 700; }
.big-timer b { color: #D07328; font-weight: 800; }
.big-title {
  position: relative;
  z-index: 2;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 800;
  color: #5A452A;
}
.big-title small {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 600;
  color: #AE8A5B;
}
.big-order .need-pills { position: relative; z-index: 2; }
.big-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 9px;
}
.big-reward { font-size: 9.5px; font-weight: 700; color: #8E6B41; }
.big-foot .order-btn { flex: none; }
.done-stamp {
  position: absolute;
  right: 16px;
  top: 42%;
  z-index: 3;
  padding: 4px 10px;
  border: 2px solid rgba(255, 252, 244, 0.9);
  border-radius: 10px;
  background: rgba(107, 167, 84, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  transform: rotate(-9deg);
}

.order-card {
  padding: 13px;
  margin-bottom: 9px;
  border-radius: 21px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lite);
}
.order-top { display: flex; align-items: center; gap: 9px; }
.npc-avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.npc-info { flex: 1; min-width: 0; }
.npc-info b { display: block; font-size: 12.5px; font-weight: 800; color: #4E4330; }
.npc-info small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9.5px;
  color: #A69C88;
  font-weight: 600;
}
.order-coins {
  flex: none;
  color: #E17C2B;
  font-size: 13px;
  font-weight: 800;
}
.need-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.need-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px 3px 4px;
  border-radius: 10px;
  background: #F7F3E8;
  color: #746A56;
  font-size: 9.5px;
  font-weight: 700;
}
.need-pill b { font-weight: 800; }
.need-pill span { color: #B0A48D; font-size: 9px; }
.need-pill.ok { background: #F0F7E7; color: #5F8449; }
.need-pill.ok span { color: #7FA56A; }
.need-pill.short { background: #FDEEE9; color: #B96A55; }
.need-pill.short span { color: #D49382; }
.need-pill .micro-art { width: 17px; height: 17px; }
.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #F0E6D2;
}
.order-xp { color: #A79C86; font-size: 9.5px; font-weight: 700; }
.order-btn {
  min-height: 32px;
  height: 32px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 11px;
  flex: none;
}
.order-btn.is-short { background: #F2EADB; color: #B5A78D; box-shadow: none; }

.market-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 12px 0 0;
  color: #B3A995;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.market-note .mp-icon { width: 12px; height: 12px; }

.sell-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF7E9, #FFEFD8);
  border: 1px solid #FBE6C7;
}
.sell-summary h3 { margin: 2px 0 0; font-size: 17px; font-weight: 800; color: #554631; }
.sell-summary p { margin: 2px 0 0; font-size: 10px; color: #A78E6E; font-weight: 700; }
.sell-summary .btn { min-height: 38px; height: 38px; padding: 0 12px; font-size: 11.5px; border-radius: 12px; }

.inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.inv-card {
  padding: 10px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 11px rgba(94, 104, 64, 0.07);
}
.inv-top { display: flex; align-items: center; gap: 7px; }
.inv-art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #FBF4E6;
}
.inv-art .art { width: 34px; height: 34px; }
.inv-name { min-width: 0; font-size: 11.5px; font-weight: 800; color: #514634; line-height: 1.25; }
.inv-name span { color: #E3802F; font-weight: 800; }
.inv-name small { display: block; margin-top: 2px; color: #A79D89; font-size: 8.5px; font-weight: 600; }
.inv-btns { display: flex; gap: 4px; margin-top: 7px; }
.inv-btns .btn {
  flex: 1;
  min-height: 27px;
  height: 27px;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 9.5px;
  box-shadow: none;
}
.inv-btns .btn-soft { background: #F8F3E8; color: #92866F; }
.inv-btns .btn-primary { background: #FFEFDC; color: #CF7428; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 34px 18px 26px;
  text-align: center;
}
.empty-ico { width: 44px; height: 44px; color: #D8D0BF; }
.empty-state b { font-size: 14px; color: #6C6554; }
.empty-state p { margin: 0 0 7px; font-size: 10.5px; color: #A79E8B; font-weight: 600; line-height: 1.5; }
.empty-state .btn { min-height: 36px; height: 36px; font-size: 11.5px; }

/* ---------------- 我的 ---------------- */

.profile-card {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -30px;
  padding: 15px;
  border-radius: 23px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.avatar-wrap {
  position: relative;
  flex: none;
  width: 68px;
  height: 68px;
  border-radius: 23px;
  overflow: hidden;
  background: #FFE7C9;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(86, 102, 64, 0.14);
}
.avatar-fallback { position: absolute; inset: 0; display: block; }
.avatar-fallback .art { width: 100%; height: 100%; }
.avatar-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-lv {
  position: absolute;
  right: 2px;
  bottom: 2px;
  padding: 1px 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: #D77A2C;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 2px 4px rgba(90, 80, 50, 0.12);
}
.profile-main { flex: 1; min-width: 0; }
.name-row { display: flex; align-items: center; gap: 4px; }
.name-row h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 800;
  color: #4A402E;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #F7F1E3;
  color: #9B907B;
}
.icon-btn:active { transform: scale(0.93); }
.icon-btn .mp-icon { width: 16px; height: 16px; }
.profile-meta { display: flex; align-items: center; gap: 5px; margin-top: 2px; color: #A1947C; font-size: 9.5px; font-weight: 700; }
.xp-line { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: #998E79; font-size: 8.5px; font-weight: 700; }
.xp-track { flex: 1; height: 5px; border-radius: 3px; background: #F0EBDD; overflow: hidden; }
.xp-track i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #FFC65C, #FF8A3D); }

.stats-row {
  display: flex;
  margin-top: 10px;
  padding: 12px 6px;
  border-radius: 19px;
  background: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lite);
}
.stat-cell { flex: 1; text-align: center; position: relative; }
.stat-cell + .stat-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: #F0E9D9;
}
.stat-cell b { display: block; font-size: 15px; font-weight: 800; color: #D57B2D; }
.stat-cell span { display: block; margin-top: 2px; font-size: 8.5px; color: #A79C86; font-weight: 700; }

.signin-card .signin-btn { min-height: 32px; height: 32px; padding: 0 12px; border-radius: 10px; font-size: 10.5px; flex: none; }
.signin-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.signin-day {
  padding: 5px 1px 4px;
  border-radius: 10px;
  background: #F7F3E7;
  text-align: center;
  color: #ABA18D;
  transition: all 0.2s ease;
}
.signin-day span { display: block; font-size: 7.5px; font-weight: 700; line-height: 1.3; }
.signin-day b { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 800; line-height: 1.3; color: #7A705C; white-space: nowrap; }
.signin-day i { display: block; font-style: normal; font-size: 7px; font-weight: 800; line-height: 1.25; color: #58B4C2; white-space: nowrap; }
.signin-day.today { background: #FFF0DC; box-shadow: inset 0 0 0 1.5px #FFB168; color: #C5762E; }
.signin-day.today b { color: #D17325; }
.signin-day.done { background: #EDF6E2; color: #6E9B52; }
.signin-day.done b { color: #6E9B52; }

.task-list { display: flex; flex-direction: column; }
.task-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px dashed #F0E6D2;
}
.task-row:first-child { border-top: 0; padding-top: 2px; }
.task-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 11px;
  background: #F5F1E4;
  color: #9E9A7D;
}
.task-badge .mp-icon { width: 18px; height: 18px; }
.task-main { flex: 1; min-width: 0; }
.task-title { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.task-title b { font-size: 11.5px; font-weight: 800; color: #574C38; }
.task-title span { font-size: 8.5px; color: #B0A58F; font-weight: 700; }
.task-track { display: block; height: 4px; margin-top: 5px; border-radius: 2px; background: #F1ECDF; overflow: hidden; }
.task-track i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #FFD166, #FF9B48); }
.task-btn {
  flex: none;
  min-width: 50px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: #F4EFE1;
  color: #A49A86;
  font-size: 9px;
  font-weight: 800;
}
.task-btn.ready { background: #FFF0DC; color: #D4782B; box-shadow: inset 0 0 0 1px #F5D2A9; }
.task-btn.claimed { background: #F0F5E9; color: #A4B598; }
.task-btn:active { transform: scale(0.96); }

.ach-list { display: flex; flex-direction: column; }
.ach-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-top: 1px dashed #F0E6D2;
}
.ach-row:first-child { border-top: 0; padding-top: 2px; }
.ach-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  background: #FFF2DE;
  color: #E4A044;
}
.ach-badge .mp-icon { width: 17px; height: 17px; }
.ach-main { flex: 1; min-width: 0; }
.ach-main b { display: block; font-size: 11px; font-weight: 800; color: #574C38; }
.ach-main small { display: block; margin-top: 1px; font-size: 8.5px; color: #A99E88; font-weight: 600; }
.ach-gem { flex: none; display: inline-flex; align-items: center; gap: 1px; color: #62B4C2; font-size: 9px; font-weight: 800; }
.ach-gem .mp-icon { width: 12px; height: 12px; }
.ach-row .task-btn { min-width: 44px; }

.rank-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FFF8EA, #FFEED6);
  border-color: #F8E6C8;
}
.rank-ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #FFFDF7;
  color: #E7A33B;
}
.rank-ico .mp-icon { width: 22px; height: 22px; }
.rank-copy { flex: 1; min-width: 0; }
.rank-copy b { font-size: 12.5px; color: #554630; }
.rank-copy p { margin: 2px 0 0; font-size: 9.5px; color: #A68B67; font-weight: 600; }
.rank-card .btn { flex: none; min-height: 33px; height: 33px; padding: 0 11px; border-radius: 10px; font-size: 10.5px; }

.settings-card { padding-bottom: 11px; }
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed #F0E6D2;
}
.setting-row:first-child { border-top: 0; padding-top: 0; }
.setting-row b { display: block; font-size: 11.5px; font-weight: 800; color: #574C38; }
.setting-row small { display: block; margin-top: 2px; font-size: 8.5px; color: #A89E88; font-weight: 600; }
.switch {
  position: relative;
  flex: none;
  width: 43px;
  height: 24px;
  border: 0;
  border-radius: 12px;
  background: #E4DFD2;
  transition: background 0.2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(80, 70, 49, 0.2);
  transition: transform 0.2s ease;
}
.switch.on { background: #7EC66B; }
.switch.on::after { transform: translateX(19px); }
.text-danger {
  flex: none;
  border: 0;
  background: transparent;
  color: #E07B6A;
  font-size: 10.5px;
  font-weight: 800;
  padding: 6px;
}
.version-line { margin: 7px 0 0; text-align: center; color: #C2B9A6; font-size: 8.5px; font-weight: 600; }

/* ---------------- 底部导航 ---------------- */

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  width: 100%;
  max-width: 480px;
  padding: 6px 7px calc(6px + env(safe-area-inset-bottom));
  border-radius: 21px 21px 0 0;
  border-top: 1px solid #EFE4D0;
  background: rgba(255, 252, 245, 0.97);
  box-shadow: 0 -7px 22px rgba(88, 91, 58, 0.09);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.tab {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 0 3px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #9DA590;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
}
.tab .tab-ico { position: relative; display: block; height: 23px; }
.tab .mp-icon { width: 23px; height: 23px; }
.tab.active { color: var(--orange); }
.tab.active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.tab:active { background: #FFF3E4; }
.tab-dot {
  position: absolute;
  top: 0;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F2554E;
  border: 2px solid #FFFCF5;
}

/* ---------------- 底部抽屉 ---------------- */

.layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(43, 52, 40, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, background 0.22s ease;
}
.layer.show { opacity: 1; pointer-events: auto; background: rgba(43, 52, 40, 0.44); }
.layer.center { align-items: center; }

.sheet {
  width: 100%;
  max-width: 480px;
  max-height: 86vh;
  max-height: 86dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 18px calc(20px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: var(--cream);
  box-shadow: 0 -10px 36px rgba(42, 49, 34, 0.18);
  transform: translateY(26px);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.layer.show .sheet { transform: none; }
.sheet-grab {
  width: 36px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 2px;
  background: #E3DCCB;
}
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sheet-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #4A402E; }
.sheet-head p { margin: 3px 0 0; font-size: 10.5px; color: #A39A86; font-weight: 600; line-height: 1.45; }
.sheet-head .icon-btn { flex: none; }

.seed-list { display: flex; flex-direction: column; gap: 6px; }
.seed-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: #FFFDF7;
  text-align: left;
  color: var(--ink);
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.seed-row.sel { background: #FFF4E4; border-color: #FFC58C; box-shadow: 0 4px 12px rgba(222, 139, 55, 0.12); }
.seed-row:active { transform: scale(0.985); background: #FFF9EF; }
.seed-row.locked { opacity: 0.58; }
.seed-art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F9F3E4;
}
.seed-art .art { width: 40px; height: 40px; }
.seed-info { flex: 1; min-width: 0; }
.seed-info b { display: block; font-size: 13px; font-weight: 800; color: #4F4431; }
.seed-info small { display: block; margin-top: 2px; font-size: 9px; color: #A79D88; font-weight: 600; }
.seed-cost { flex: none; color: #D47B2C; font-size: 10.5px; font-weight: 800; }
.seed-check { flex: none; color: var(--orange); width: 18px; height: 18px; }

.sheet-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #E9DFC9;
}
.foot-info { flex: 1; color: #A29780; font-size: 9.5px; font-weight: 700; line-height: 1.45; }
.foot-info b { color: #6F634E; }
.sheet-foot .btn { flex: none; min-height: 43px; height: 43px; padding: 0 15px; font-size: 12.5px; }

.crop-detail { display: flex; align-items: center; gap: 12px; padding: 4px 2px 2px; }
.crop-detail-art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: linear-gradient(150deg, #FFF2D9, #FFE1B5);
}
.crop-detail-art .art { width: 72px; height: 72px; }
.crop-detail-info { flex: 1; min-width: 0; }
.crop-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  color: #998F7B;
  font-size: 10.5px;
  font-weight: 600;
}
.crop-detail-row b { color: #5C513D; font-size: 11px; font-weight: 800; }
.big-track { height: 8px; margin: 3px 0 4px; border-radius: 4px; background: #EFE9DB; overflow: hidden; }
.big-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #FFD166, #FF8A3D); transition: width 0.4s linear; }
.sheet-actions { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.sheet-actions .btn { width: 100%; min-height: 47px; }
.sheet-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 11px 0 0;
  color: #B0A690;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.sheet-tip .mp-icon { width: 12px; height: 12px; }

.unlock-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  margin-bottom: 4px;
  border-radius: 22px;
  background: linear-gradient(150deg, #EAF6DD, #D3EBC2);
}
.unlock-ico { width: 58px; height: 58px; color: #7FAF61; }
.unlock-info { padding: 0 6px; }
.unlock-info .crop-detail-row { border-bottom: 1px dashed #EFE5D0; padding: 8px 0; }
.unlock-info .crop-detail-row:last-child { border-bottom: 0; }
.ok-text { color: #6AA052 !important; }
.lack-text { color: #D48770 !important; }

/* ---------------- 弹窗 ---------------- */

.modal {
  position: relative;
  width: calc(100% - 38px);
  max-width: 390px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 19px;
  border-radius: 25px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(38, 46, 30, 0.26);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.layer.show .modal { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.modal-title { margin: 2px 0 0; font-size: 19px; line-height: 1.25; font-weight: 800; color: #453B29; }
.modal-sub { margin: 7px 0 0; color: #8F8673; font-size: 11.5px; line-height: 1.6; font-weight: 600; }
.modal-sub b, .hl { color: #D97425; font-weight: 800; }
.modal-actions { display: flex; gap: 8px; margin-top: 15px; }
.modal-actions .btn { flex: 1; min-height: 43px; font-size: 12.5px; }
.modal-actions.column { flex-direction: column; }
.modal-main-btn { width: 100%; min-height: 46px; margin-top: 13px; font-size: 13px; }
.modal-tip { margin: 9px 0 0; text-align: center; color: #B4AA95; font-size: 9.5px; line-height: 1.5; font-weight: 600; }
.center { text-align: center; }
.name-input {
  width: 100%;
  height: 46px;
  margin-top: 12px;
  padding: 0 13px;
  border: 1.5px solid #EADFC8;
  border-radius: 13px;
  background: #FFFDF7;
  color: #4C4130;
  font-size: 16px;
  font-weight: 700;
}
.name-input::placeholder { color: #C0B7A5; font-weight: 500; }

.intro-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 8px;
  border-radius: 26px;
  background: linear-gradient(150deg, #FFF1D9, #FFDCA9);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(211, 151, 70, 0.18);
}
.intro-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
}
.intro-art .art { width: 70px; height: 70px; }
.intro-steps { display: flex; flex-direction: column; gap: 7px; margin-top: 13px; }
.intro-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 13px;
  background: #FFFDF7;
  border: 1px solid #F3EAD9;
}
.intro-step > span {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #FFF1DD;
  color: #D9873D;
}
.intro-step .mp-icon { width: 18px; height: 18px; }
.intro-step b { display: block; font-size: 11.5px; font-weight: 800; color: #574B37; }
.intro-step small { display: block; margin-top: 1px; font-size: 9px; color: #A99F8B; font-weight: 600; }

.offline-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 15px 0 0;
  padding: 13px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FFF3DA, #FFE3B7);
  border: 1px solid #FBE2BB;
}
.offline-reward span { font-size: 10px; font-weight: 700; color: #A4875C; }
.offline-reward b { font-size: 28px; font-weight: 800; color: #D97827; letter-spacing: -0.02em; }
.offline-tip { margin: 8px 0 0; text-align: center; color: #A79C87; font-size: 9.5px; font-weight: 600; line-height: 1.5; }

.rank-loading, .rank-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 24px 10px 14px;
  text-align: center;
}
.rank-loading p, .rank-empty p { margin: 0; color: #A79D88; font-size: 10.5px; font-weight: 600; line-height: 1.5; }
.rank-empty b { font-size: 13px; color: #6B6250; }
.rank-empty .btn { margin-top: 6px; min-height: 34px; height: 34px; font-size: 11px; }
.rank-empty .empty-ico { width: 38px; height: 38px; color: #D5CDBC; }
.rank-list { display: flex; flex-direction: column; }
.rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 12px;
}
.rank-row.me { background: #FFF3DF; }
.rank-row + .rank-row { border-top: 1px dashed #F0E6D2; }
.rank-no {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #F4EFE2;
  color: #A99E88;
  font-size: 10px;
  font-weight: 800;
}
.rank-no.rank-1 { background: #FFE6A8; color: #C88A1D; }
.rank-no.rank-2 { background: #E9EDF2; color: #8D9AA8; }
.rank-no.rank-3 { background: #F6E3D2; color: #B77A48; }
.rank-avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(150deg, #B8E3D2, #86CBB4);
  color: #FFFDF7;
  font-size: 12px;
  font-weight: 800;
}
.rank-name { flex: 1; min-width: 0; }
.rank-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 800; color: #574B37; }
.rank-name b em { font-style: normal; font-size: 8px; color: #D67B2B; background: #FFF0DB; border-radius: 5px; padding: 1px 4px; }
.rank-name small { display: block; margin-top: 1px; font-size: 8.5px; color: #A89D87; font-weight: 600; }
.rank-stars { flex: none; display: inline-flex; align-items: center; gap: 1px; color: #E8A83C; font-size: 10px; font-weight: 800; }
.rank-stars .mp-icon { width: 12px; height: 12px; }

/* 模拟广告层 */
.ad-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 48, 36, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  animation: adIn 0.2s ease forwards;
}
.ad-layer.out { opacity: 1; transition: opacity 0.22s ease; }
.ad-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 210px;
  padding: 22px 18px;
  border-radius: 23px;
  background: var(--cream);
  text-align: center;
  box-shadow: 0 18px 50px rgba(30, 38, 26, 0.3);
}
.ad-card b { font-size: 14px; color: #4E4330; }
.ad-card p { margin: 0; font-size: 10px; color: #A69C88; font-weight: 600; }
.ad-card #adCount { font-size: 11px; font-weight: 800; color: #D77A2C; }
@keyframes adIn { from { opacity: 0; } to { opacity: 1; } }
.ad-spinner {
  width: 28px;
  height: 28px;
  margin-bottom: 3px;
  border-radius: 50%;
  border: 3px solid #F2E7D3;
  border-top-color: var(--orange);
  animation: spin 0.8s linear infinite;
}
.ad-spinner.small { width: 21px; height: 21px; border-width: 2.5px; margin: 3px 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------  Toast  ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 400;
  max-width: calc(100% - 52px);
  padding: 9px 14px;
  border-radius: 13px;
  background: rgba(49, 45, 35, 0.9);
  color: #FFF9EE;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(30, 30, 20, 0.22);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 小工具 ---------------- */

.i-xs { width: 13px !important; height: 13px !important; }
.i-sm { width: 17px !important; height: 17px !important; }
.art { width: 64px; height: 64px; overflow: visible; }

@media (max-width: 359px) {
  .hud { gap: 4px; padding-left: 9px; padding-right: 9px; }
  .res-pill { font-size: 11.5px; padding-right: 8px; }
  .sign-btn span { display: none; }
  .sign-btn { padding: 0 9px; }
  .plot-grid { gap: 6px; }
  .plot { border-radius: 14px; }
  .hero-copy h2 { font-size: 19px; }
  .hero-art { width: 88px; }
  .hero-art .art { width: 76px; height: 76px; }
  .mini-npc b { max-width: 60px; }
  .big-foot { flex-direction: column; align-items: stretch; }
  .big-foot .order-btn { width: 100%; }
}

@media (min-width: 560px) {
  .app { box-shadow: 0 0 60px rgba(60, 72, 46, 0.13); }
  body { background-image: radial-gradient(circle at 20% 10%, #F6FAF0, transparent 40%), linear-gradient(160deg, #E4F0DB, #F4EFDF); }
}

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