/* 产品手账扩展：与首页相同的纸张、土壤和马卡龙绘本语言 */
.doc-home-dock {
  position: absolute;
  z-index: 11;
  right: 10px;
  top: 43%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  pointer-events: auto;
}
.doc-dock-button {
  position: relative;
  width: 51px;
  min-height: 58px;
  padding: 5px 3px 6px;
  border: 1.5px solid rgba(255,255,255,.88);
  border-radius: 19px 8px 8px 19px;
  color: #805332;
  background: linear-gradient(145deg, rgba(255,254,246,.96), rgba(255,235,203,.94));
  box-shadow: 0 4px 0 rgba(118,76,39,.18), 0 8px 20px rgba(75,45,24,.18), inset 0 1px 0 #fff;
  font: 800 10px/1.1 "Noto Sans SC", sans-serif;
  letter-spacing: .5px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.doc-dock-button::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(181,130,77,.22);
  border-radius: 14px 5px 5px 14px;
  pointer-events: none;
}
.doc-dock-button:active { transform: translateY(3px) scale(.96); box-shadow: 0 1px 0 rgba(118,76,39,.18), 0 3px 8px rgba(75,45,24,.16); }
.doc-dock-icon { position: relative; width: 30px; height: 30px; margin: 0 auto 2px; display: grid; place-items: center; border-radius: 11px; color: #6f993e; background: #edf6dc; }
.doc-dock-button:nth-child(2) .doc-dock-icon { color: #e77931; background: #fff0d9; }
.doc-dock-icon .mp-icon { width: 19px; height: 19px; }
.doc-dock-dot { position: absolute; z-index: 2; top: 3px; right: 3px; width: 9px; height: 9px; border: 2px solid #fff9e9; border-radius: 50%; background: #ff8a3d; box-shadow: 0 2px 5px rgba(133,70,25,.25); }
.doc-dock-dot.done { background: #8fbe52; }

.doc-overlay {
  position: absolute;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--sat) + 22px) 14px calc(var(--sab) + 14px);
  background: rgba(66,43,28,.48);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  animation: docFade .2s ease both;
}
.doc-sheet {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 21px 18px 18px;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 28px;
  color: #5b402d;
  background:
    radial-gradient(circle at 12% 4%, rgba(255,255,255,.95), transparent 26%),
    repeating-linear-gradient(0deg, rgba(156,112,65,.025) 0 1px, transparent 1px 5px),
    #fff7e7;
  box-shadow: 0 7px 0 rgba(99,60,31,.18), 0 25px 70px rgba(44,28,17,.35), inset 0 0 0 1px #ead1aa;
  animation: docSheetIn .34s cubic-bezier(.2,.85,.25,1.08) both;
  scrollbar-width: none;
}
.doc-sheet::-webkit-scrollbar { display: none; }
.doc-sheet::after { content: ""; position: absolute; inset: 7px; z-index: -1; border: 1px dashed rgba(179,128,74,.22); border-radius: 21px; pointer-events: none; }
.doc-sheet-head { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.doc-sheet-head p { margin: 0 0 3px; color: #c4773d; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.doc-sheet-head h2 { margin: 0; color: #664229; font: 400 27px/1.25 "ZCOOL KuaiLe", "Noto Sans SC", sans-serif; letter-spacing: 1px; }
.doc-sheet-head span { display: block; margin-top: 5px; color: #a48060; font-size: 11px; line-height: 1.5; }
.doc-icon-button { width: 42px; height: 42px; flex: none; display: grid; place-items: center; padding: 0; border: 1.5px solid #e7cba4; border-radius: 50%; color: #946541; background: #fffaf0; box-shadow: 0 3px 0 rgba(132,88,44,.12); cursor: pointer; }
.doc-icon-button:active { transform: translateY(2px); box-shadow: none; }
.doc-icon-button .mp-icon { width: 21px; height: 21px; }
.doc-primary { width: 100%; min-height: 52px; margin-top: 15px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 17px; color: #fff; background: linear-gradient(180deg, #ffad64, #ff8a3d); box-shadow: 0 4px 0 #d96a22, 0 9px 18px rgba(255,138,61,.24), inset 0 1px 0 rgba(255,255,255,.5); font: 800 15px/1 "Noto Sans SC", sans-serif; letter-spacing: .5px; text-shadow: 0 1px rgba(141,66,19,.22); cursor: pointer; }
.doc-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #d96a22, 0 4px 8px rgba(255,138,61,.2); }
.doc-primary .mp-icon { width: 20px; height: 20px; }

/* 地下花园：纯 2D 土层剪纸，所有已收集植物都会住进来。 */
.garden-scene { position: relative; height: 330px; overflow: hidden; border: 2px solid #f3d7ad; border-radius: 23px; background: #d9edcd; box-shadow: inset 0 0 30px rgba(104,76,40,.13), 0 5px 12px rgba(108,70,35,.1); }
.garden-sky { position: absolute; inset: 0 0 49%; overflow: hidden; background: radial-gradient(circle at 72% 20%, #fff9c9 0 5%, transparent 22%), linear-gradient(180deg, #cfe9d9, #eaf2ce); }
.garden-sky::before, .garden-sky::after { content: ""; position: absolute; width: 110px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.48); filter: blur(1px); }
.garden-sky::before { left: -22px; top: 26px; box-shadow: 28px -12px 0 -4px rgba(255,255,255,.43); }
.garden-sky::after { right: -35px; top: 66px; transform: scale(.7); }
.garden-sky > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fffbe1; box-shadow: 0 0 9px #fff7b0; animation: gardenMote 3.2s ease-in-out infinite; }
.garden-sky > i:nth-child(1) { left: 20%; top: 62%; }
.garden-sky > i:nth-child(2) { left: 56%; top: 35%; animation-delay: -.8s; }
.garden-sky > i:nth-child(3) { right: 17%; top: 72%; animation-delay: -1.7s; }
.garden-lamp { position: absolute; right: 18px; top: 15px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #b38645; background: rgba(255,250,211,.75); box-shadow: 0 0 24px rgba(255,241,155,.65); }
.garden-lamp .mp-icon { width: 19px; height: 19px; }
.garden-soil { position: absolute; left: -4%; width: 108%; pointer-events: none; }
.garden-soil.back { bottom: 0; height: 55%; border-radius: 48% 52% 0 0 / 10% 12% 0 0; background: radial-gradient(circle at 15% 30%, #d2a475 0 3px, transparent 4px), radial-gradient(circle at 82% 44%, #b98458 0 4px, transparent 5px), radial-gradient(circle at 48% 74%, #e3ba8a 0 3px, transparent 4px), linear-gradient(180deg, #d9ac7a, #b98055); background-size: 83px 71px, 117px 95px, 97px 81px, auto; }
.garden-soil.back::before { content: ""; position: absolute; inset: 18px 0 auto; height: 60px; opacity: .4; background: repeating-linear-gradient(165deg, transparent 0 26px, rgba(126,80,43,.26) 27px 29px, transparent 30px 48px); }
.garden-soil.front { bottom: -22px; height: 65px; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, #b67b50, #99613f); box-shadow: 0 -5px 0 rgba(255,220,168,.16); }
.garden-plants { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 32px; height: 230px; display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.garden-plant { position: relative; flex: 0 1 60px; width: 60px; height: 170px; transform-origin: 50% 100%; animation: gardenGrow .65s var(--delay) cubic-bezier(.25,.8,.3,1.2) both, gardenSway 4s calc(var(--delay) + .7s) ease-in-out infinite; }
.garden-plant:nth-child(even) { height: 145px; }
.garden-plant:nth-child(3n) { height: 185px; }
.gp-stem { position: absolute; left: calc(50% - 2px); bottom: 20px; width: 5px; height: 106px; border-radius: 5px; background: var(--leaf); transform: rotate(-2deg); box-shadow: inset 2px 0 rgba(255,255,255,.25); }
.gp-leaf { position: absolute; bottom: 56px; width: 24px; height: 14px; background: var(--leaf); box-shadow: inset 0 2px rgba(255,255,255,.25); }
.gp-leaf.left { right: 50%; border-radius: 100% 0 100% 0; transform: rotate(16deg); }
.gp-leaf.right { left: 50%; bottom: 79px; border-radius: 0 100% 0 100%; transform: rotate(-12deg); }
.gp-bloom { position: absolute; z-index: 2; left: 50%; top: 15px; width: 46px; height: 46px; transform: translateX(-50%); }
.gp-bloom i { position: absolute; left: 15px; top: 0; width: 18px; height: 27px; border: 1.5px solid rgba(121,91,48,.18); border-radius: 55% 55% 45% 45%; background: var(--plant); transform-origin: 50% 23px; box-shadow: inset 2px 2px rgba(255,255,255,.23); }
.gp-bloom i:nth-child(2) { transform: rotate(90deg); }
.gp-bloom i:nth-child(3) { transform: rotate(180deg); }
.gp-bloom i:nth-child(4) { transform: rotate(270deg); }
.gp-bloom b { position: absolute; z-index: 2; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: #f5bd4f; border: 1.5px solid rgba(139,91,37,.22); box-shadow: inset 2px 2px rgba(255,255,255,.25); }
.garden-plant em { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 2px 5px; border-radius: 7px; color: #704a30; background: rgba(255,247,222,.86); font: normal 8px/1.3 "Noto Sans SC", sans-serif; white-space: nowrap; }
.plant-carrot .gp-bloom, .plant-pumpkin .gp-bloom { top: 45px; transform: translateX(-50%) scale(1.1,.9); }
.plant-carrot .gp-bloom i, .plant-pumpkin .gp-bloom i { border-radius: 50%; }
.plant-carrot .gp-bloom b, .plant-pumpkin .gp-bloom b { background: #e78335; }
.plant-strawberry .gp-bloom b { background: #ffe6a1; }
.plant-clover .gp-bloom i { background: var(--leaf); border-radius: 70% 30% 65% 35%; }
.plant-clover .gp-bloom b { background: #76a545; }
.plant-lily .gp-bloom { transform: translateX(-50%) scale(.85); }
.plant-moonflower .gp-bloom { filter: drop-shadow(0 0 8px rgba(239,248,255,.8)); }
.plant-moonflower .gp-bloom b { background: #a9d9e8; }
.garden-empty { position: absolute; z-index: 5; inset: 56px 24px 45px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1.5px dashed rgba(121,91,49,.32); border-radius: 22px; color: #816043; background: rgba(255,249,225,.76); text-align: center; backdrop-filter: blur(2px); }
.garden-empty > .mp-icon { width: 42px; height: 42px; margin-bottom: 10px; color: #88a956; }
.garden-empty b { font-size: 14px; }
.garden-empty span { max-width: 220px; margin-top: 7px; color: #a07c5c; font-size: 11px; line-height: 1.7; }
.garden-note, .daily-kind { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 10px 12px; border: 1px solid #ead7b9; border-radius: 15px; background: rgba(255,253,245,.7); }
.garden-note > span, .daily-kind > span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #b47843; background: #f6e8ce; }
.garden-note .mp-icon, .daily-kind .mp-icon { width: 18px; height: 18px; }
.garden-note p, .daily-kind p { margin: 0; color: #9b7859; font-size: 11px; line-height: 1.6; }

/* 每日送信：一张可以按下邮戳的信纸。 */
.daily-letter { position: relative; overflow: hidden; padding: 24px 18px 18px; border: 2px solid #e9cda5; border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.65), transparent 45%), #fffaf0; box-shadow: 0 5px 0 rgba(151,103,57,.09), inset 0 0 0 5px #fff4df; text-align: center; }
.daily-letter::before, .daily-letter::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: repeating-linear-gradient(135deg, #f5a56d 0 12px, #fff4df 12px 24px, #a9c994 24px 36px, #fff4df 36px 48px); opacity: .65; }
.daily-letter::before { top: 0; }
.daily-letter::after { bottom: 0; transform: rotate(180deg); }
.daily-postmark { width: 60px; height: 60px; margin: 0 auto 9px; display: grid; place-items: center; border: 2px dashed #e89b66; border-radius: 50%; color: #dc7d3c; background: #fff1d9; transform: rotate(-5deg); }
.daily-postmark .mp-icon { width: 31px; height: 31px; }
.daily-kicker { margin: 0 0 4px; color: #b08c68; font-size: 9px; letter-spacing: .3px; }
.daily-letter h3 { margin: 7px 0; color: #6c472d; font: 400 20px/1.4 "ZCOOL KuaiLe", "Noto Sans SC", sans-serif; }
.daily-letter h3 + p { margin: 0 auto; max-width: 285px; color: #a17d5c; font-size: 11px; line-height: 1.75; }
.daily-stamps { display: flex; justify-content: center; gap: 14px; margin: 19px 0 16px; }
.daily-stamp { position: relative; width: 54px; height: 60px; display: grid; place-items: center; border: 2px dashed #dbc5a7; border-radius: 11px; color: #c3aa8a; background: #f8edd9; transform: rotate(-3deg); }
.daily-stamp:nth-child(2) { transform: rotate(2deg); }
.daily-stamp:nth-child(3) { transform: rotate(-1deg); }
.daily-stamp .mp-icon { width: 26px; height: 26px; }
.daily-stamp b { position: absolute; right: 4px; bottom: 2px; font-size: 9px; }
.daily-stamp.done { color: #fff; border-color: #e78a4c; background: linear-gradient(150deg, #ffbc7e, #ff9450); box-shadow: 0 3px 0 rgba(183,100,44,.18); animation: stampIn .35s ease both; }
.daily-progress { height: 9px; overflow: hidden; border-radius: 99px; background: #ecdfc9; box-shadow: inset 0 1px 2px rgba(109,75,42,.12); }
.daily-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb26e, #ff8a3d); transition: width .4s ease; }
.daily-progress-text { display: block; margin-top: 5px; color: #bd7948; font-size: 11px; }
.daily-kind > span { color: #d68176; background: #fae5dc; }

/* 不催促的小事件：显示期间自动停止按住挖土。 */
.soil-event { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; padding: 20px 17px calc(var(--sab) + 24px); background: rgba(67,43,27,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: docFade .2s ease both; }
.event-card { position: relative; width: 100%; max-width: 390px; overflow: hidden; padding: 24px 21px 18px; border: 2px solid rgba(255,255,255,.8); border-radius: 27px; color: #63462f; background: radial-gradient(circle at 80% 0, #fff, transparent 33%), repeating-linear-gradient(0deg, rgba(132,93,52,.025) 0 1px, transparent 1px 5px), #fff4df; box-shadow: 0 6px 0 rgba(86,53,29,.18), 0 22px 60px rgba(42,26,15,.32), inset 0 0 0 1px #e9cda6; text-align: center; animation: docSheetIn .35s cubic-bezier(.2,.85,.25,1.08) both; }
.event-card::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(176,125,72,.24); border-radius: 20px; pointer-events: none; }
.event-icon { position: relative; width: 58px; height: 58px; margin: 0 auto 9px; display: grid; place-items: center; border: 2px solid #fff8e7; border-radius: 50%; color: #7c9e4d; background: linear-gradient(145deg, #f2f6d9, #dfe9bb); box-shadow: 0 4px 0 rgba(99,112,54,.12), 0 7px 18px rgba(85,65,33,.12); }
.event-icon .mp-icon { width: 29px; height: 29px; }
.event-kicker { position: relative; margin: 0 0 4px; color: #c3834c; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.event-card h3 { position: relative; margin: 5px 0 10px; color: #69462c; font: 400 22px/1.4 "ZCOOL KuaiLe", "Noto Sans SC", sans-serif; }
.event-text { position: relative; margin: 0 auto; max-width: 300px; color: #8c6c4f; font-size: 13px; line-height: 1.85; }
.event-foot { position: relative; margin: 11px 0 0; color: #b29577; font-size: 10px; }
.event-card .doc-primary { position: relative; margin-top: 17px; }
.event-leaf { position: absolute; width: 33px; height: 18px; border-radius: 100% 0 100% 0; background: #c9d99c; opacity: .5; }
.event-leaf.one { left: 16px; top: 24px; transform: rotate(-28deg); }
.event-leaf.two { right: 21px; top: 65px; transform: rotate(70deg) scale(.7); }

@keyframes docFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes docSheetIn { from { opacity: 0; transform: translateY(35px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes gardenGrow { from { opacity: 0; transform: scaleY(.05); } to { opacity: 1; transform: scaleY(1); } }
@keyframes gardenSway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes gardenMote { 0%,100% { opacity: .35; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-6px); } }
@keyframes stampIn { from { opacity: .4; transform: scale(1.2) rotate(-6deg); } to { opacity: 1; } }

@media (max-height: 690px) {
  .doc-overlay { padding-top: calc(var(--sat) + 12px); }
  .doc-sheet { padding-top: 17px; border-radius: 24px; }
  .doc-sheet-head { margin-bottom: 11px; }
  .doc-sheet-head h2 { font-size: 23px; }
  .garden-scene { height: 270px; }
  .garden-plants { transform: scale(.85); transform-origin: 50% 100%; }
  .daily-letter { padding-top: 18px; }
  .daily-postmark { width: 48px; height: 48px; }
  .daily-stamps { margin: 13px 0; }
  .daily-stamp { width: 47px; height: 51px; }
}
@media (max-width: 350px) {
  .doc-home-dock { right: 6px; }
  .doc-dock-button { width: 46px; }
  .doc-overlay { padding-left: 10px; padding-right: 10px; }
  .doc-sheet { padding-left: 14px; padding-right: 14px; }
  .garden-plants { left: 5px; right: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .doc-overlay, .doc-sheet, .event-card, .garden-plant, .garden-sky > i, .daily-stamp.done { animation: none !important; }
}

/* ================= 花园自由摆放 / 成就装饰 ================= */
/* 成就解锁提示要能浮在故事、解谜、花园等弹层之上。 */
.toast { z-index: 80; }
.doc-dock-button:nth-child(3) .doc-dock-icon { color: #9568b5; background: #f3eaf9; }
.doc-dock-dot.hidden { display: none !important; }

.garden-plants.layout-free { display: block; }
.garden-plant-wrap {
  position: absolute;
  z-index: 3;
  width: 64px;
  height: 190px;
  transform: translateX(-50%);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.garden-plant-wrap .garden-plant {
  width: 100%;
  height: 100%;
  flex: none;
}
.garden-deco-wrap {
  position: absolute;
  z-index: 2;
  width: 74px;
  height: 74px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 4px 5px rgba(91, 57, 26, .16));
}
.garden-deco-wrap svg { display: block; width: 100%; height: 100%; }
.garden-deco-wrap em {
  position: absolute;
  left: 50%;
  bottom: -13px;
  display: none;
  transform: translateX(-50%);
  padding: 2px 5px;
  border-radius: 6px;
  color: #704a30;
  background: rgba(255, 247, 222, .92);
  font: normal 8px/1.3 "Noto Sans SC", sans-serif;
  white-space: nowrap;
}
.garden-scene.is-placing { outline: 2px dashed rgba(197, 139, 75, .5); outline-offset: 3px; }
.garden-scene.is-placing .garden-plant-wrap,
.garden-scene.is-placing .garden-deco-wrap {
  touch-action: none;
  cursor: grab;
  pointer-events: auto;
}
.garden-scene.is-placing .garden-deco-wrap em { display: block; }
.garden-scene.is-placing .garden-plant-wrap:hover,
.garden-scene.is-placing .garden-deco-wrap:hover { filter: brightness(1.05) drop-shadow(0 0 7px rgba(255, 197, 112, .65)); }
.garden-scene .dragging {
  z-index: 9 !important;
  cursor: grabbing;
  filter: brightness(1.08) drop-shadow(0 7px 10px rgba(78, 46, 20, .3)) !important;
  transform: translateX(-50%) scale(1.06);
}

.garden-tools { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.garden-edit {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #E7C79B;
  border-radius: 12px;
  color: #8A613D;
  background: #FFF8E9;
  box-shadow: 0 2px 0 rgba(150, 100, 54, .10);
  font: 800 11px/1 "Noto Sans SC", sans-serif;
  cursor: pointer;
}
.garden-edit .mp-icon { width: 16px; height: 16px; }
.garden-edit:active { transform: translateY(2px); box-shadow: none; }
.garden-edit.on { color: #fff; border-color: #E98546; background: linear-gradient(180deg, #FFAD64, #FF8A3D); box-shadow: 0 3px 0 #D96A22; }
.garden-edit.on:active { box-shadow: 0 1px 0 #D96A22; }
#gardenEditHint { flex: 1; margin: 0; color: #A5876A; font-size: 9.5px; line-height: 1.45; }
.garden-reset {
  flex: none;
  min-height: 34px;
  padding: 0 9px;
  border: 1px dashed #D9BE98;
  border-radius: 10px;
  color: #A5876A;
  background: transparent;
  font: 700 9.5px/1 "Noto Sans SC", sans-serif;
  cursor: pointer;
}
.garden-reset.hidden { display: none !important; }

.ach-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #EAD7B9;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,248,230,.6));
}
.ach-sum { flex: 1; min-width: 0; text-align: center; }
.ach-sum b { display: block; color: #E0702A; font: 800 22px/1.1 "Noto Sans SC", sans-serif; font-variant-numeric: tabular-nums; }
.ach-sum span { display: block; margin-top: 2px; color: #A5876A; font-size: 9px; line-height: 1.35; }
.ach-garden {
  flex: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
  padding: 6px 8px;
  border: 1px solid #CFE0AC;
  border-radius: 12px;
  color: #6E8F45;
  background: #EDF6DC;
  font: 800 9.5px/1.2 "Noto Sans SC", sans-serif;
  cursor: pointer;
}
.ach-garden .mp-icon { width: 18px; height: 18px; }
.ach-garden:active { transform: translateY(2px); }
.ach-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 43vh;
  margin-top: 12px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.ach-list::-webkit-scrollbar { display: none; }
.ach-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #EAD7B9;
  border-radius: 16px;
  background: #FFFCF4;
  box-shadow: 0 2px 0 rgba(151, 103, 57, .05);
}
.ach-item.done {
  border-color: #CFE0AC;
  background: linear-gradient(135deg, #FBFDF3, #F3F9E5);
}
.ach-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #B09678;
  background: #F2E7D4;
}
.ach-item.done .ach-ico { color: #6E8F45; background: #E8F2D4; box-shadow: inset 0 0 0 1px #D7E6BB; }
.ach-ico .mp-icon { width: 21px; height: 21px; }
.ach-body { flex: 1; min-width: 0; }
.ach-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ach-row b { color: #69462C; font-size: 13px; }
.ach-state { flex: none; color: #B09678; font-size: 9px; font-weight: 800; }
.ach-item.done .ach-state { color: #78A044; }
.ach-body p { margin: 2px 0 6px; color: #A5876A; font-size: 10px; line-height: 1.5; }
.ach-bar { height: 6px; overflow: hidden; border-radius: 99px; background: #EFE2CE; box-shadow: inset 0 1px 2px rgba(109, 75, 42, .1); }
.ach-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFB26E, #FF8A3D); transition: width .35s ease; }
.ach-item.done .ach-bar i { background: linear-gradient(90deg, #A9D274, #7FAF48); }
.ach-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; color: #B09678; font-size: 8.5px; }
.ach-foot em { font-style: normal; color: #C0773B; }
.ach-item.done .ach-foot em { color: #78A044; }
.ach-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 12px 0 0;
  color: #A5876A;
  font-size: 9.5px;
  line-height: 1.6;
}
.ach-note .mp-icon { width: 15px; height: 15px; flex: none; color: #D9A64A; margin-top: 1px; }

@keyframes achPop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ach-item { animation: achPop .28s ease both; }

@media (max-height: 690px) {
  .ach-list { max-height: 38vh; }
  .garden-tools { margin-top: 8px; }
  .garden-edit { min-height: 34px; }
}

/* 换装入口加入后，矮屏上把手账按钮整体上移，避免压到首页进度条 */
@media (max-height: 640px) {
  .doc-home-dock { top: 35%; gap: 6px; }
  .doc-dock-button { min-height: 52px; padding: 4px 3px 5px; }
  .doc-dock-icon { width: 27px; height: 27px; }
}
