﻿
:root {
  --mint: #18c99d;
  --mint-deep: #05b995;
  --forest: #075b46;
  --forest-dark: #053f34;
  --cream: #f5fff8;
  --leaf: #17b65e;
  --leaf-dark: #087843;
  --sun: #ffc74f;
  --soil: #8b5a3e;
  --ink: #17352f;
  --muted: rgba(255, 255, 255, 0.64);
  --shadow: rgba(6, 73, 56, 0.24);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #dff8ef;
  color: var(--ink);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app-frame {
  position: relative;
  width: min(100%, 430px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 5%, rgba(121, 231, 163, 0.48), transparent 23%),
    radial-gradient(circle at 24% 37%, rgba(255, 214, 106, 0.12), transparent 20%),
    linear-gradient(180deg, #2ec69a 0%, #00bb99 39%, #05b995 100%);
  box-shadow: 0 0 34px rgba(3, 62, 50, 0.18);
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 12px 24px 0;
  color: rgba(8, 25, 21, 0.88);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.phone-icons {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
}

.signal-bars {
  position: relative;
  width: 22px;
  height: 17px;
  display: inline-block;
}

.signal-bars::before,
.signal-bars::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 4px;
  border-radius: 4px;
  background: #101d19;
  box-shadow:
    6px -4px 0 #101d19,
    12px -8px 0 #101d19,
    18px -12px 0 #101d19;
}

.signal-bars::before {
  left: 0;
  height: 5px;
}

.signal-bars::after {
  display: none;
}

.wifi-icon {
  position: relative;
  width: 24px;
  height: 16px;
  display: inline-block;
  border: 4px solid #10241f;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 24px 24px 0 0;
}

.wifi-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10241f;
}

.battery-icon {
  min-width: 32px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #f5c733;
  color: #805d00;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.top-actions {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  gap: 0;
  padding: 42px 34px 0;
}

.menu-button,
.sprout-orb,
.timer-button,
.focus-button,
.tag-button,
.plant-stage {
  border: 0;
  cursor: pointer;
}

.menu-button {
  width: 40px;
  height: 34px;
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
  padding: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(5, 90, 70, 0.18);
}

.resource-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(4, 84, 65, 0.16);
}

.coin {
  width: 32px;
  height: 32px;
  display: inline-block;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 60% 38%, #fb8a00 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, #ffbf24 0 54%, #e99300 55% 100%);
  box-shadow: 0 3px 9px rgba(8, 97, 69, 0.16);
}

.sprout-orb {
  width: 60px;
  height: 60px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 35%, rgba(134, 255, 188, 0.95), rgba(0, 184, 142, 0.95) 58%, rgba(4, 145, 113, 0.95));
  box-shadow:
    0 0 15px rgba(204, 255, 203, 0.46),
    inset 0 0 16px rgba(255, 255, 255, 0.28);
}

.sprout-orb .plant-art {
  margin-top: 15px;
}

.task-panel {
  position: relative;
  z-index: 3;
  margin-top: 34px;
  padding: 0 34px;
}

.tag-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 27px;
  font-weight: 500;
  text-align: left;
  text-shadow: 0 2px 8px rgba(5, 91, 69, 0.18);
}

.tag-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(221, 255, 236, 0.82);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.chevron {
  font-size: 32px;
  line-height: 1;
}

.task-note {
  display: block;
  width: min(240px, 80%);
  margin: 4px 0 0 28px;
  padding: 2px 4px 4px;
  border: 0;
  border-bottom: 3px solid rgba(255, 255, 255, 0.28);
  outline: 0;
  background: transparent;
  color: #effff5;
  font-size: 21px;
  font-weight: 500;
}

.task-note::placeholder {
  color: rgba(235, 255, 242, 0.6);
}

.task-note:disabled {
  opacity: 0.72;
}

.plant-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 390px;
  display: grid;
  place-items: center;
  margin-top: 60px;
  padding: 0;
  background: transparent;
}

.plant-stage:disabled {
  cursor: default;
}

.glass-dome {
  position: relative;
  width: 324px;
  height: 324px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.34) 0 13%, transparent 14%),
    radial-gradient(circle at 40% 34%, rgba(242, 255, 208, 0.78), rgba(196, 255, 205, 0.56) 48%, rgba(199, 255, 233, 0.5) 72%, rgba(239, 255, 214, 0.62));
  box-shadow:
    0 0 28px rgba(231, 255, 204, 0.52),
    inset 0 0 20px rgba(255, 255, 255, 0.48),
    inset -15px -18px 34px rgba(56, 203, 143, 0.18);
}

.plant-stage.use-reference-stage .glass-dome {
  background: url("assets/stage-pine-reference.png") center / contain no-repeat;
  box-shadow: none;
}

.plant-stage.use-reference-stage .glass-dome::after,
.plant-stage.use-reference-stage .island {
  display: none;
}

.glass-dome::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border-top: 7px solid rgba(255, 255, 255, 0.2);
  opacity: 0.76;
}

.island {
  position: absolute;
  left: 50%;
  bottom: 59px;
  width: 260px;
  height: 118px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(73, 224, 87, 0.94), rgba(15, 174, 68, 0.94) 55%, rgba(26, 131, 64, 0.98) 56%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 22%);
  box-shadow:
    0 28px 0 -3px #8a5f49,
    0 36px 0 -6px #724733,
    0 18px 24px rgba(0, 95, 60, 0.26);
}

.island::after {
  content: "";
  position: absolute;
  left: 21%;
  right: 21%;
  bottom: 24px;
  height: 18px;
  border-radius: 50%;
  background: rgba(19, 91, 45, 0.35);
}

.island .plant-art {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
}

.timer-panel {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: 10px 0 34px;
}

.timer-button {
  padding: 0 18px;
  background: transparent;
  color: #fff;
  font-size: 78px;
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 6px 18px rgba(0, 91, 70, 0.12);
}

.timer-button:disabled {
  cursor: default;
}

.focus-button {
  width: min(270px, calc(100% - 70px));
  min-height: 70px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: #076f65;
  font-size: 24px;
  font-weight: 500;
  box-shadow:
    0 15px 25px rgba(0, 93, 70, 0.14),
    inset 0 -1px 0 rgba(10, 85, 65, 0.08);
}

.focus-running {
  color: #8a4a12;
  background: #fff1d1;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(5, 69, 56, 0.18);
}

.sheet-backdrop.is-open {
  display: flex;
}

.bottom-sheet {
  position: relative;
  width: min(100%, 430px);
  padding: 16px 24px 28px;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at 82% 13%, rgba(255, 255, 255, 0.86), transparent 18%),
    linear-gradient(180deg, #f8fffb 0%, #e3f8ef 50%, #d9f1e8 100%);
  box-shadow: 0 -16px 36px rgba(3, 75, 60, 0.2);
}

.sheet-handle {
  display: block;
  width: 44px;
  height: 6px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: rgba(28, 43, 39, 0.74);
}

.sheet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bottom-sheet h2 {
  margin: 0;
  color: #223a35;
  font-size: 34px;
  font-weight: 900;
}

.plant-sheet {
  min-height: 342px;
}

.plant-sheet h2 {
  margin: 16px 0 28px;
}

.filter-icon {
  position: absolute;
  top: 44px;
  right: 28px;
  width: 70px;
  height: 70px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(211, 225, 220, 0.78);
  cursor: pointer;
}

.filter-icon span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #30413d;
}

.filter-icon span:nth-child(1) {
  width: 30px;
}

.filter-icon span:nth-child(2) {
  width: 38px;
}

.filter-icon span:nth-child(3) {
  width: 20px;
}

.plant-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.plant-option {
  min-width: 0;
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px 6px 14px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #2e3936;
  font-size: 21px;
  font-weight: 500;
  cursor: pointer;
}

.plant-option.selected {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.time-sheet,
.tag-sheet {
  padding-bottom: 30px;
}

.close-button,
.tag-tool,
.tag-edit-form button,
.new-tag-form button,
.garden-close,
.garden-date-row button {
  border: 0;
  cursor: pointer;
}

.close-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 76, 63, 0.08);
  color: #214139;
  font-size: 30px;
  line-height: 1;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 24px 0 26px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(10, 92, 73, 0.1);
}

.mode-switch button,
.quick-minutes button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.mode-switch button {
  min-height: 44px;
  background: transparent;
  color: #365a51;
  font-size: 18px;
  font-weight: 700;
}

.mode-switch button.active {
  background: #fff;
  color: #087c63;
  box-shadow: 0 5px 14px rgba(8, 99, 75, 0.12);
}

.minute-control {
  display: grid;
  gap: 20px;
}

.minute-control input[type="range"] {
  width: 100%;
  accent-color: #09a878;
}

.minute-control label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #244139;
  font-size: 20px;
  font-weight: 700;
}

.minute-control input[type="number"] {
  width: 96px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #0a6958;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(6, 95, 75, 0.12);
}

.quick-minutes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.quick-minutes button {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.68);
  color: #2d4f46;
  font-weight: 800;
}

.quick-minutes button.selected {
  background: #0aa47d;
  color: #fff;
}

.tag-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  max-height: 260px;
  overflow: auto;
}

.tag-row {
  display: grid;
  grid-template-columns: 1fr 42px 42px;
  gap: 8px;
  align-items: center;
}

.tag-choice {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #23423a;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
}

.tag-choice.selected {
  background: #0aa77e;
  color: #fff;
}

.tag-tool {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 81, 65, 0.08);
  color: #24483f;
  font-size: 20px;
}

.tag-edit-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.tag-edit-form input,
.new-tag-form input {
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: #193f35;
  font-size: 18px;
  font-weight: 700;
  padding: 0 14px;
}

.tag-edit-form button,
.new-tag-form button {
  border-radius: 8px;
  background: #0aa77e;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.new-tag-form {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  margin-top: 18px;
}

.garden-view {
  position: fixed;
  inset-block: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, 430px);
  min-height: 100svh;
  overflow: hidden;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 52% 73%, rgba(13, 112, 80, 0.28), transparent 27%),
    linear-gradient(180deg, #087a5b 0, #075640 28%, #084a3c 100%);
  color: #fff;
}

.garden-status {
  color: #fff;
}

.signal-bars.light::before {
  background: #fff;
  box-shadow:
    6px -4px 0 #fff,
    12px -8px 0 #fff,
    18px -12px 0 #fff;
}

.wifi-icon.light {
  border-top-color: #fff;
}

.wifi-icon.light::after {
  background: #fff;
}

.garden-battery {
  background: #f2c340;
  color: #6e5100;
}

.garden-top {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  padding: 52px 22px 22px;
}

.garden-close {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding-bottom: 4px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 54px;
  font-weight: 200;
  line-height: 1;
}

.overview-pill {
  justify-self: center;
  min-width: 142px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(2, 68, 50, 0.5);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.overview-pill span {
  font-size: 32px;
}

.share-button {
  position: relative;
  justify-self: end;
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.share-button span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.share-button span:nth-child(1) {
  top: 8px;
  right: 4px;
}

.share-button span:nth-child(2) {
  top: 22px;
  left: 7px;
}

.share-button span:nth-child(3) {
  bottom: 7px;
  right: 5px;
}

.share-button::before,
.share-button::after {
  content: "";
  position: absolute;
  left: 17px;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  transform-origin: left center;
}

.share-button::before {
  top: 25px;
  transform: rotate(-29deg);
}

.share-button::after {
  top: 29px;
  transform: rotate(28deg);
}

.period-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 24px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(2, 59, 45, 0.48);
  box-shadow: inset 0 2px 5px rgba(0, 31, 22, 0.2);
}

.period-tabs button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
}

.period-tabs button.active {
  background: #fff;
  color: #303f39;
  box-shadow: 0 4px 9px rgba(0, 30, 22, 0.24);
}

.garden-date-row {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  gap: 8px;
  margin: 46px 24px 0;
}

.garden-date-row strong {
  min-width: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 500;
}

.garden-date-row button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 48px;
  line-height: 1;
}

.isometric-garden {
  position: relative;
  height: 388px;
  margin-top: 12px;
}

.iso-base {
  position: absolute;
  left: 50%;
  top: 78px;
  width: 360px;
  height: 250px;
  transform: translateX(-50%);
}

.iso-base::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 93px;
  width: 284px;
  height: 126px;
  transform: rotate(45deg) skew(-8deg, -8deg);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(111, 76, 38, 0.72), rgba(92, 65, 35, 0.92)),
    radial-gradient(circle at 30% 64%, #ab8548 0 8px, transparent 9px);
  box-shadow:
    0 28px 0 rgba(94, 69, 35, 0.95),
    0 38px 26px rgba(1, 38, 29, 0.2);
}

.iso-tile {
  position: absolute;
  width: 66px;
  height: 66px;
  transform: rotate(45deg) skew(-8deg, -8deg);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.24), transparent 21%),
    linear-gradient(135deg, #adf23b 0%, #7fd218 58%, #61b90c 100%);
  box-shadow:
    inset -5px -5px 0 rgba(36, 128, 8, 0.12),
    0 2px 0 rgba(31, 111, 5, 0.3);
}

.iso-tile::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 22px;
  width: 4px;
  height: 11px;
  border-radius: 999px;
  background: rgba(47, 141, 10, 0.34);
  box-shadow:
    7px -5px 0 rgba(47, 141, 10, 0.22),
    16px 7px 0 rgba(47, 141, 10, 0.2);
}

.garden-plant {
  position: absolute;
  width: 92px;
  height: 90px;
  pointer-events: auto;
}

.empty-sign {
  position: absolute;
  left: 50%;
  top: 75px;
  z-index: 30;
  width: 116px;
  height: 116px;
  transform: translateX(-50%);
}

.sign-board {
  position: absolute;
  left: 0;
  top: 0;
  width: 116px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, #f4b64d 0 24px, #e9a541 25px 27px),
    linear-gradient(#ffcb62, #eaa44a);
  box-shadow: inset 0 0 0 2px rgba(158, 88, 18, 0.12);
}

.sign-board .plant-art {
  margin-top: 18px;
}

.sign-post {
  position: absolute;
  left: 51px;
  top: 56px;
  width: 15px;
  height: 58px;
  background: #cf8c37;
  box-shadow: inset -3px 0 0 rgba(109, 65, 21, 0.12);
}

.garden-stats {
  position: absolute;
  right: 26px;
  bottom: 28px;
  display: inline-flex;
  gap: 30px;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.garden-stats span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.leaf-counter {
  width: 28px;
  height: 28px;
  display: inline-block;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  position: relative;
}

.leaf-counter::before,
.leaf-counter::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 17px;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 255, 255, 0.78);
  bottom: 4px;
  left: 10px;
  transform-origin: bottom center;
}

.leaf-counter::before {
  transform: rotate(-32deg);
}

.leaf-counter::after {
  transform: rotate(32deg);
}

.leaf-counter.double {
  border-color: rgba(255, 255, 255, 0.9);
}

.plant-art {
  position: relative;
  width: 170px;
  height: 170px;
}

.plant-compact {
  width: 112px;
  height: 112px;
}

.plant-shadow {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 82px;
  height: 17px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(21, 76, 48, 0.32);
  filter: blur(0.2px);
}

.seedling {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 80px;
  height: 72px;
  transform: translateX(-50%) scale(var(--seedling-scale));
  transform-origin: 50% 100%;
  opacity: var(--seedling-opacity);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.seed-stem {
  position: absolute;
  left: 38px;
  bottom: 4px;
  width: 6px;
  height: 43px;
  border-radius: 999px;
  background: #4c7435;
}

.seed-leaf {
  position: absolute;
  bottom: 35px;
  width: 34px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #2fc86e, #0d874f);
}

.seed-left {
  left: 11px;
  transform: rotate(24deg);
}

.seed-right {
  right: 8px;
  transform: scaleX(-1) rotate(24deg);
}

.mature-plant {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 140px;
  height: 140px;
  transform: translateX(-50%) scale(var(--mature-scale));
  transform-origin: 50% 100%;
  opacity: var(--mature-opacity);
  transition:
    transform 0.55s ease,
    opacity 0.55s ease;
}

.plant-image-art .mature-plant {
  bottom: 12px;
  width: 178px;
  height: 170px;
  display: grid;
  place-items: end center;
}

.plant-image-art .plant-bitmap {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.plant-image-art.plant-monstera .plant-bitmap {
  max-width: 145px;
  max-height: 145px;
}

.plant-image-art.plant-bush .plant-bitmap {
  max-width: 168px;
  max-height: 118px;
}

.plant-image-art.plant-pine .plant-bitmap {
  max-width: 150px;
  max-height: 168px;
}

.plant-image-art.plant-compact .mature-plant {
  bottom: 8px;
  width: 110px;
  height: 105px;
}

.plant-image-art.plant-compact.plant-monstera .plant-bitmap {
  max-width: 92px;
  max-height: 92px;
}

.plant-image-art.plant-compact.plant-bush .plant-bitmap {
  max-width: 112px;
  max-height: 78px;
}

.plant-image-art.plant-compact.plant-pine .plant-bitmap {
  max-width: 94px;
  max-height: 108px;
}

.plant-compact .plant-shadow {
  width: 62px;
  height: 12px;
}

.plant-compact .mature-plant {
  bottom: 18px;
}

.plant-compact .seedling {
  bottom: 20px;
}

.pine-trunk {
  position: absolute;
  left: 61px;
  bottom: 3px;
  width: 24px;
  height: 55px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(90deg, #7e4b26, #b46f38 55%, #7b4729);
}

.pine-layer {
  position: absolute;
  left: 50%;
  width: 116px;
  height: 60px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 96% 82%, 68% 76%, 82% 100%, 50% 82%, 18% 100%, 32% 76%, 4% 82%);
  background: linear-gradient(145deg, #1fc35d 0%, #099443 54%, #076e38 100%);
  filter: drop-shadow(0 4px 2px rgba(2, 76, 40, 0.16));
}

.layer-a {
  top: 1px;
  width: 78px;
  height: 57px;
  background: linear-gradient(145deg, #23d268, #09943f);
}

.layer-b {
  top: 28px;
  width: 104px;
}

.layer-c {
  top: 56px;
  width: 124px;
  height: 62px;
}

.layer-d {
  top: 84px;
  width: 132px;
  height: 58px;
  background: linear-gradient(145deg, #18ad52, #087a3e);
}

.pine-cone {
  position: absolute;
  bottom: 3px;
  width: 15px;
  height: 10px;
  border-radius: 50%;
  background: #a46b2a;
  box-shadow: inset 0 -2px 0 rgba(91, 52, 16, 0.2);
}

.cone-a {
  left: 24px;
  transform: rotate(22deg);
}

.cone-b {
  right: 22px;
  transform: rotate(-12deg);
}

.cone-c {
  right: 40px;
  bottom: 12px;
  width: 11px;
  height: 8px;
}

.mon-stem {
  position: absolute;
  bottom: 8px;
  width: 7px;
  height: 82px;
  border-radius: 999px;
  background: linear-gradient(#178a59, #0f6846);
  transform-origin: bottom center;
}

.stem-a {
  left: 63px;
  transform: rotate(-13deg);
}

.stem-b {
  left: 72px;
  height: 94px;
}

.stem-c {
  left: 81px;
  transform: rotate(14deg);
}

.mon-leaf {
  position: absolute;
  width: 54px;
  height: 69px;
  border-radius: 62% 38% 62% 38%;
  background:
    radial-gradient(ellipse at 28% 48%, transparent 0 7%, rgba(0, 104, 71, 0.16) 8% 11%, transparent 12%),
    radial-gradient(ellipse at 68% 58%, transparent 0 8%, rgba(0, 104, 71, 0.14) 9% 12%, transparent 13%),
    linear-gradient(135deg, #49d9b0, #12a974 58%, #08744f);
  box-shadow: inset 10px 0 0 rgba(255, 255, 255, 0.12);
}

.leaf-a {
  left: 16px;
  top: 43px;
  transform: rotate(-28deg);
}

.leaf-b {
  left: 39px;
  top: 12px;
  transform: rotate(-8deg);
}

.leaf-c {
  right: 22px;
  top: 26px;
  transform: scaleX(-1) rotate(-18deg);
}

.leaf-d {
  left: 24px;
  top: 72px;
  transform: rotate(-52deg);
}

.leaf-e {
  right: 20px;
  top: 74px;
  transform: scaleX(-1) rotate(-48deg);
}

.bush-blob {
  position: absolute;
  border-radius: 42% 58% 36% 64%;
  background: linear-gradient(145deg, #38cf33, #069315 68%, #057011);
  box-shadow: inset 9px 8px 0 rgba(255, 255, 255, 0.12);
}

.blob-a {
  left: 22px;
  bottom: 22px;
  width: 64px;
  height: 58px;
  transform: rotate(-13deg);
}

.blob-b {
  left: 52px;
  bottom: 48px;
  width: 78px;
  height: 70px;
  transform: rotate(15deg);
}

.blob-c {
  left: 78px;
  bottom: 18px;
  width: 64px;
  height: 58px;
  transform: rotate(-6deg);
}

.blob-d {
  left: 31px;
  bottom: 60px;
  width: 55px;
  height: 50px;
}

.flower {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffe971;
  box-shadow:
    0 -7px 0 #fff9bd,
    0 7px 0 #fff9bd,
    7px 0 0 #fff9bd,
    -7px 0 0 #fff9bd;
}

.flower::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #f4a51f;
}

.flower-a {
  left: 53px;
  top: 31px;
}

.flower-b {
  right: 36px;
  top: 57px;
}

.flower-c {
  left: 35px;
  top: 82px;
}

.flower-d {
  right: 58px;
  top: 94px;
  transform: scale(0.72);
}

@media (max-width: 380px) {
  .status-bar {
    padding-inline: 20px;
  }

  .top-actions {
    padding: 36px 28px 0;
  }

  .task-panel {
    padding-inline: 28px;
  }

  .glass-dome {
    width: 292px;
    height: 292px;
  }

  .island {
    width: 232px;
  }

  .plant-stage {
    min-height: 348px;
    margin-top: 44px;
  }

  .timer-button {
    font-size: 66px;
  }

  .focus-button {
    min-height: 64px;
    font-size: 22px;
  }

  .bottom-sheet h2 {
    font-size: 30px;
  }

  .plant-option {
    font-size: 18px;
  }

  .garden-date-row strong {
    font-size: 21px;
  }

  .iso-base {
    transform: translateX(-50%) scale(0.86);
  }
}
