
.garden-hero{text-align:center;padding:26px 16px}
.garden-tree{font-size:110px;line-height:1.05}
.stage-path{display:grid;gap:8px}
.stage-item{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:15px;background:white;border:1px solid var(--line)}
.stage-item.current{border-color:var(--green);background:var(--green-soft)}
.stage-item.locked{opacity:.55}
.month-card{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}
.month-tree{font-size:38px}

/* v1.3 realistic tree system */
.garden-hero{overflow:hidden}
.garden-tree{font-size:initial;line-height:normal;margin:-8px -8px 16px}
.tree-scene{position:relative;width:100%;height:100%;overflow:hidden;border-radius:22px;background:linear-gradient(180deg,#f7fbf8,#e8f5eb);isolation:isolate}
.tree-scene img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(var(--tree-scale,1));transform-origin:center 78%;transition:transform .45s ease}
.tree-scene.compact{border-radius:18px}
.tree-scene.compact img{object-fit:cover}
.garden-tree .tree-scene{height:350px;max-width:620px;margin:0 auto}
.month-tree{width:72px;height:62px;font-size:initial}
.month-tree .tree-scene{width:100%;height:100%;border-radius:12px}
.tree-deco{position:absolute;z-index:3;font-weight:900;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2));pointer-events:none}
.deco-1{left:31%;top:24%;color:#f4c6ce;font-size:22px}
.deco-2{left:64%;top:31%;color:#fff1f3;font-size:24px}
.deco-3{left:42%;top:44%;color:#d8523b;font-size:15px}
.deco-4{left:69%;top:48%;color:#d8523b;font-size:13px}
.grand-tree::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 35%,rgba(255,255,215,.20),transparent 45%);z-index:2;pointer-events:none}
@media(max-width:420px){
  .garden-tree .tree-scene{height:300px}
  .stage-item{gap:8px}
  .stage-item span{line-height:1.2}
}

/* ===== v1.4 garden rebuild ===== */
.garden-hero{padding:16px!important;text-align:center!important}
.garden-tree{margin:0 0 14px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
.garden-tree .tree-scene{
  width:100%!important;height:260px!important;max-width:100%!important;margin:0!important;border-radius:18px!important;
}
.tree-scene{position:relative;width:100%;height:100%;overflow:hidden;border-radius:18px;background:#eef7f0}
.tree-scene img{display:block;width:100%;height:100%;object-fit:cover!important;transform:none!important}
.stage-path{width:100%;max-width:100%;overflow:hidden}
.stage-item{width:100%;max-width:100%;min-width:0;gap:10px}
.stage-item span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.month-card{width:100%;max-width:100%;min-width:0;display:grid!important;grid-template-columns:minmax(0,1fr) 76px!important;gap:12px!important;align-items:center!important}
.month-card>div:first-child{min-width:0}
.month-tree{width:76px!important;height:64px!important;min-width:0!important;overflow:hidden!important}
.month-tree .tree-scene{width:100%!important;height:100%!important;border-radius:12px!important}
.month-tree img{width:100%!important;height:100%!important;object-fit:cover!important}
.tree-deco{display:none!important}
@media(max-width:380px){
  .garden-tree .tree-scene{height:235px!important}
}

/* ===== v1.5 game tree animation ===== */
.tree-scene img{
  animation: treeBreathe 5.5s ease-in-out infinite;
  transform-origin:50% 78%;
  will-change:transform;
}
@keyframes treeBreathe{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-2px) scale(1.006)}
}
.tree-scene.stage-unlock{
  animation: stageUnlock .72s cubic-bezier(.2,.9,.25,1);
}
@keyframes stageUnlock{
  0%{transform:scale(.92);opacity:.45;filter:brightness(1.3)}
  55%{transform:scale(1.035);opacity:1;filter:brightness(1.08)}
  100%{transform:scale(1);filter:brightness(1)}
}
@media (prefers-reduced-motion:reduce){
  .tree-scene img,.tree-scene.stage-unlock{animation:none!important}
}

/* ===== v1.6 TEMPORARY tree stage preview ===== */
.tree-preview-badge{
  display:inline-flex;
  padding:7px 11px;
  margin:0 auto 12px;
  border-radius:999px;
  background:#fff4d8;
  color:#9a6a00;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
}
.tree-preview-controls{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 52px;
  gap:10px;
  align-items:center;
  margin-top:12px;
}
.tree-preview-btn{
  width:52px;
  height:52px;
  border:0;
  border-radius:17px;
  background:var(--green);
  color:#fff;
  font-size:28px;
  font-weight:900;
  box-shadow:0 7px 18px rgba(21,148,71,.18);
}
.tree-preview-btn:disabled{
  opacity:.25;
  cursor:default;
}
.tree-preview-meta{
  min-width:0;
  text-align:center;
}
.tree-preview-meta h2{
  margin:8px 0 4px;
  font-size:22px;
  line-height:1.1;
}
.tree-preview-jump{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:6px;
  margin-top:16px;
}
.tree-stage-dot{
  aspect-ratio:1;
  min-width:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  padding:0;
}
.tree-stage-dot.active{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.tree-real-status{
  margin-top:14px;
  padding:10px 12px;
  border-radius:13px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}
@media(max-width:380px){
  .tree-preview-controls{grid-template-columns:46px minmax(0,1fr) 46px}
  .tree-preview-btn{width:46px;height:46px}
  .tree-preview-jump{gap:5px}
}

/* v1.7 tree engine sizing */
.garden-tree .tree-scene{height:320px!important}
.tree-visual .tree-scene{height:100%!important}
.month-tree .tree-scene{height:100%!important}
