:root {
  --paper: #f3efe5;
  --paper-light: #fbf9f2;
  --ink: #24332e;
  --ink-soft: #6e7771;
  --green: #3e7160;
  --green-deep: #2b5548;
  --mint: #dce9df;
  --coral: #e47865;
  --yellow: #e9b84d;
  --line: #d6d0c4;
  --mood-sky: #dceee6;
  --mood-sky-deep: #b8d8c9;
  --mood-accent: #e9b84d;
  --mood-flower: #f0c955;
  --mood-flower-2: #e47865;
  --mood-leaf: #5f9679;
  --mood-text: #24332e;
  --shadow: 0 24px 65px rgba(51, 61, 53, 0.1);
  --sans: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  --serif: "Iowan Old Style", "Noto Serif KR", "AppleMyungjo", "Batang", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 7%, rgba(233, 184, 77, 0.08), transparent 25%),
    radial-gradient(circle at 95% 39%, rgba(62, 113, 96, 0.06), transparent 27%),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(62, 113, 96, 0.35);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.paper-grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

.page-shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 0 40px;
}

.site-header {
  display: flex;
  height: 90px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(36, 51, 46, 0.13);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px 14px 16px 13px;
  color: #fff;
  background: var(--green);
  transform: rotate(-2deg);
}

.brand-mark svg {
  width: 31px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand > span:last-child,
.footer-brand {
  display: flex;
  flex-direction: column;
}

.brand b {
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.brand small,
.footer-brand span {
  margin-top: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 11px;
}

.header-streak {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid #cdd7d0;
  border-radius: 30px;
  color: var(--green);
  background: rgba(220, 233, 223, 0.55);
  font-weight: 650;
}

.header-streak i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(35px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 62px 3% 80px;
}

.checkin-column {
  min-width: 0;
}

.hero-copy {
  margin-bottom: 30px;
}

.eyebrow,
.section-label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--green);
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(43px, 4.8vw, 67px);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 1.12;
}

.hero-copy h1 em {
  position: relative;
  color: var(--coral);
  font-style: normal;
}

.hero-copy h1 em::after {
  position: absolute;
  right: -4px;
  bottom: 1px;
  left: -4px;
  height: 8px;
  border-radius: 50%;
  background: rgba(228, 120, 101, 0.15);
  content: "";
}

.hero-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: -0.015em;
  line-height: 1.8;
}

.checkin-card {
  overflow: hidden;
  border: 1px solid rgba(36, 51, 46, 0.14);
  border-radius: 23px;
  background: rgba(251, 249, 242, 0.84);
  box-shadow: 0 16px 40px rgba(51, 61, 53, 0.07);
}

.selection-state,
.planted-state {
  padding: 27px;
}

.section-heading > span,
.stage-kicker,
.planted-topline > div > span {
  color: #87918b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 740;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  margin: 7px 0 4px;
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: #8b928d;
  font-size: 10px;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 19px;
}

.emotion-button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f1f0e9;
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.emotion-button:hover {
  border-color: #cbd4cd;
  background: #fffdf7;
  transform: translateY(-1px);
}

.emotion-button[aria-checked="true"] {
  border-color: var(--emotion-color, var(--green));
  background: #fffdf8;
  box-shadow: 0 5px 15px rgba(43, 63, 54, 0.08);
}

.emotion-button.dark-emotion {
  color: #e9e9e6;
  background: #3b4248;
}

.emotion-button.dark-emotion:hover,
.emotion-button.dark-emotion[aria-checked="true"] {
  border-color: var(--emotion-color, #9ca6b8);
  background: #2f353c;
}

.emotion-button strong,
.emotion-button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.emotion-button strong {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 710;
}

.emotion-button small {
  color: #8a918c;
  font-size: 9px;
}

.dark-emotion small {
  color: #adb4b5;
}

.mood-face {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50% 47% 52% 45%;
  background: var(--emotion-color, #e5d7b1);
  transform: rotate(-3deg);
}

.mood-face::before {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 12px 0 0 currentColor;
  content: "";
}

.mood-face i {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 11px;
  height: 5px;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0 0 10px 10px;
}

.face-excited i {
  top: 19px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-top: 0;
  background: rgba(255, 255, 255, 0.35);
}

.face-calm i,
.face-proud i {
  top: 20px;
  border-radius: 50%;
}

.face-sad i,
.face-lonely i {
  top: 23px;
  border-top: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.face-anxious i {
  border-radius: 0;
  transform: rotate(-4deg);
}

.face-tired::before {
  width: 8px;
  height: 1px;
  border-radius: 0;
  box-shadow: 12px 0 0 currentColor;
}

.selection-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px;
  align-items: center;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.selected-preview {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #828a85;
  font-size: 9px;
  line-height: 1.45;
}

.preview-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #b8beb9;
  transition: background 180ms ease;
}

.plant-button {
  display: flex;
  min-height: 43px;
  gap: 8px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-size: 10px;
  font-weight: 680;
  cursor: pointer;
  transition: 160ms ease;
}

.plant-button:disabled {
  border-color: #b5bbb7;
  background: #b5bbb7;
  cursor: not-allowed;
}

.plant-button:hover:not(:disabled) {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.plant-button svg {
  width: 17px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.planted-state {
  min-height: 415px;
}

.planted-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.planted-topline > div strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: -0.05em;
}

.today-species {
  padding: 7px 11px;
  border-radius: 30px;
  color: var(--green);
  background: var(--mint);
  font-size: 9px;
  font-weight: 680;
}

.support-message {
  position: relative;
  display: flex;
  min-height: 185px;
  margin: 21px 0 16px;
  padding: 28px 27px;
  align-items: center;
  border: 1px solid #d6d2c8;
  border-radius: 15px;
  background:
    linear-gradient(rgba(62, 113, 96, 0.045) 1px, transparent 1px),
    #fffdf7;
  background-size: 100% 29px;
}

.support-message > span {
  position: absolute;
  top: 8px;
  left: 14px;
  color: rgba(228, 120, 101, 0.22);
  font-family: var(--serif);
  font-size: 55px;
  line-height: 1;
}

.support-message p {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1.75;
  text-align: center;
  word-break: keep-all;
}

.support-message.refreshing p {
  animation: messageIn 400ms ease both;
}

.care-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.care-button {
  display: flex;
  min-height: 45px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bec9c1;
  border-radius: 12px;
  color: var(--green);
  background: #f2f6f2;
  font-size: 10px;
  font-weight: 670;
  cursor: pointer;
  transition: 150ms ease;
}

.care-button:hover:not(:disabled) {
  color: #fff;
  background: var(--green);
}

.care-button:disabled {
  color: #8d9590;
  background: #e9ebe7;
  cursor: default;
}

.care-button svg {
  width: 17px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.water-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 9px;
  line-height: 1;
}

.care-button:hover:not(:disabled) .water-count {
  color: var(--green);
  background: #fff;
}

.care-button:disabled .water-count {
  color: #8d9590;
  background: #d9ddd8;
}

.water-note {
  margin: 10px 0 0;
  color: #718078;
  font-size: 8px;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
}

.message-count {
  margin: 12px 0 0;
  color: #959994;
  font-size: 8px;
  text-align: center;
}

.message-count b {
  color: var(--coral);
}

.greenhouse-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(36, 51, 46, 0.18);
  border-radius: 29px;
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.greenhouse-header {
  display: flex;
  height: 70px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.greenhouse-header > div strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.stage-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 30px;
  color: var(--green);
  background: var(--mint);
  font-size: 9px;
  font-weight: 680;
}

.stage-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mood-accent);
}

.greenhouse-scene {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  color: var(--mood-text);
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.38), transparent 18%),
    linear-gradient(160deg, var(--mood-sky), var(--mood-sky-deep));
  transition: color 450ms ease, background 450ms ease;
}

.greenhouse-scene::after {
  position: absolute;
  right: -5%;
  bottom: -70px;
  left: -5%;
  height: 170px;
  border-top: 1px solid rgba(36, 51, 46, 0.18);
  border-radius: 50% 50% 0 0;
  background: rgba(248, 240, 219, 0.7);
  content: "";
}

body[data-tone="dark"] .greenhouse-scene::after {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 23, 30, 0.38);
}

.sky-decor span {
  position: absolute;
  z-index: 1;
  display: block;
}

.sun-or-moon {
  top: 48px;
  right: 60px;
  width: 58px;
  height: 58px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: var(--mood-accent);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.14);
}

body[data-tone="dark"] .sun-or-moon {
  background: #eee7c9;
  box-shadow: 0 0 24px rgba(238, 231, 201, 0.24);
}

.cloud {
  width: 76px;
  height: 23px;
  border: 1.5px solid currentColor;
  border-radius: 30px 30px 15px 15px;
  opacity: 0.52;
  background: rgba(255, 255, 255, 0.36);
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: var(--mood-sky);
  content: "";
}

.cloud::before {
  left: 12px;
  width: 27px;
  height: 22px;
}

.cloud::after {
  right: 10px;
  width: 22px;
  height: 16px;
}

.cloud-one {
  top: 94px;
  left: 63px;
}

.cloud-two {
  top: 166px;
  right: 107px;
  transform: scale(0.7);
}

body[data-tone="dark"] .cloud {
  opacity: 0.18;
}

.star {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0;
  background: #f4efd9;
  box-shadow: 0 0 7px #f4efd9;
  transition: opacity 300ms ease;
}

body[data-tone="dark"] .star {
  opacity: 0.8;
}

.star-one { top: 75px; left: 90px; }
.star-two { top: 132px; left: 44%; width: 3px; height: 3px; }
.star-three { top: 48px; left: 57%; width: 4px; height: 4px; }

.rain {
  width: 1px;
  height: 14px;
  opacity: 0;
  background: rgba(206, 220, 238, 0.65);
  transform: rotate(12deg);
}

body[data-emotion="sad"] .rain,
body[data-emotion="anxious"] .rain {
  opacity: 0.75;
  animation: rainFall 1.9s linear infinite;
}

.rain-one { top: 115px; left: 28%; }
.rain-two { top: 76px; left: 43%; animation-delay: -0.8s !important; }
.rain-three { top: 153px; left: 68%; animation-delay: -1.3s !important; }

.empty-pot-copy {
  position: absolute;
  z-index: 4;
  top: 42%;
  left: 50%;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-direction: column;
  color: rgba(36, 51, 46, 0.65);
  transform: translate(-50%, -50%);
}

.empty-pot-copy span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.empty-pot-copy small {
  font-size: 9px;
}

.main-plant {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 15px;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 455px;
  pointer-events: none;
}

.plant-svg {
  display: block;
  width: min(80%, 430px);
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 13px 7px rgba(29, 39, 33, 0.13));
}

.plant-stem,
.plant-line,
.flower-line {
  fill: none;
  stroke: var(--plant-line, #29483c);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-tone="dark"] .plant-stem,
body[data-tone="dark"] .plant-line,
body[data-tone="dark"] .flower-line {
  --plant-line: #d9ded9;
}

.plant-stem {
  stroke: var(--leaf, var(--mood-leaf));
  stroke-width: 7;
}

.plant-leaf {
  fill: var(--leaf, var(--mood-leaf));
  stroke: var(--plant-line, #29483c);
  stroke-width: 3;
  stroke-linejoin: round;
}

body[data-tone="dark"] .plant-leaf {
  stroke: #d9ded9;
}

.flower-primary {
  fill: var(--flower, var(--mood-flower));
  stroke: var(--plant-line, #29483c);
  stroke-width: 3;
  stroke-linejoin: round;
}

.flower-secondary {
  fill: var(--flower2, var(--mood-flower-2));
  stroke: var(--plant-line, #29483c);
  stroke-width: 3;
  stroke-linejoin: round;
}

body[data-tone="dark"] .flower-primary,
body[data-tone="dark"] .flower-secondary {
  stroke: #d9ded9;
}

.flower-glow {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--flower) 52%, transparent));
}

.plant-pot {
  fill: #eaa26a;
  stroke: var(--plant-line, #29483c);
  stroke-width: 4;
  stroke-linejoin: round;
}

.plant-pot-rim {
  fill: #f2bd89;
  stroke: var(--plant-line, #29483c);
  stroke-width: 4;
}

body[data-tone="dark"] .plant-pot,
body[data-tone="dark"] .plant-pot-rim {
  stroke: #d9ded9;
}

.plant-soil {
  fill: #685244;
  stroke: var(--plant-line, #29483c);
  stroke-width: 3;
}

.seed {
  fill: var(--mood-accent);
  stroke: var(--plant-line, #29483c);
  stroke-width: 3;
}

.plant-svg .grow-in {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: growIn 650ms cubic-bezier(0.22, 0.9, 0.35, 1.2) both;
}

.plant-svg .flower-group {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: bloomIn 800ms cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}

.water-drops {
  position: absolute;
  z-index: 7;
  top: 140px;
  left: 50%;
  width: 130px;
  height: 120px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.water-drops.active {
  opacity: 1;
}

.water-drops i {
  position: absolute;
  top: 0;
  width: 12px;
  height: 17px;
  border-radius: 70% 45% 65% 45%;
  background: #7db9cf;
  transform: rotate(45deg);
  animation: waterDrop 700ms ease-in both;
}

.water-drops i:nth-child(1) { left: 25px; }
.water-drops i:nth-child(2) { left: 61px; animation-delay: 100ms; }
.water-drops i:nth-child(3) { left: 96px; animation-delay: 180ms; }

.growth-panel {
  padding: 22px 28px 25px;
}

.growth-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 19px;
}

.growth-copy span {
  color: #7d8781;
  font-size: 10px;
}

.growth-copy strong {
  color: var(--green);
  font-size: 10px;
}

.growth-track {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.growth-track::before {
  position: absolute;
  top: 5px;
  right: 5px;
  left: 5px;
  height: 1px;
  background: #d7d8d2;
  content: "";
}

.growth-track span {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-direction: column;
  color: #999e99;
  font-size: 8px;
}

.growth-track i {
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
  background: #c8cbc7;
  box-shadow: 0 0 0 1px #c8cbc7;
}

.growth-track span.complete,
.growth-track span.active {
  color: var(--green);
  font-weight: 680;
}

.growth-track span.complete i,
.growth-track span.active i {
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.growth-track span.active i {
  background: var(--mood-accent);
  box-shadow: 0 0 0 1px var(--mood-accent), 0 0 0 5px rgba(62, 113, 96, 0.09);
}

.progress-bar {
  overflow: hidden;
  height: 4px;
  margin-top: 18px;
  border-radius: 10px;
  background: #e5e5df;
}

.progress-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--mood-accent));
  transition: width 600ms ease;
}

.garden-section {
  padding: 105px 4% 85px;
  border-top: 1px solid rgba(36, 51, 46, 0.13);
}

.garden-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.garden-heading h2,
.guide-copy h2 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.7vw, 48px);
  font-weight: 560;
  letter-spacing: -0.06em;
}

.garden-heading p,
.guide-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.garden-stats {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(251, 249, 242, 0.68);
}

.garden-stats div {
  min-width: 90px;
  padding: 13px 17px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.garden-stats div:last-child {
  border-right: 0;
}

.garden-stats strong,
.garden-stats span {
  display: block;
}

.garden-stats strong {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 23px;
}

.garden-stats span {
  color: #8d938f;
  font-size: 8px;
}

.garden-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 11px;
}

.garden-plant-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 205px;
  padding: 0;
  border: 1px solid rgba(36, 51, 46, 0.17);
  border-radius: 17px;
  color: var(--card-text, var(--ink));
  background: linear-gradient(160deg, var(--card-sky), var(--card-sky-deep));
  cursor: pointer;
  transition: 170ms ease;
}

.garden-plant-card:hover {
  box-shadow: 0 13px 25px rgba(42, 54, 46, 0.12);
  transform: translateY(-4px) rotate(-0.5deg);
}

.garden-plant-card .mini-plant {
  height: 147px;
}

.garden-plant-card .plant-svg {
  width: 100%;
  height: 155px;
  filter: none;
}

.garden-plant-card .card-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 12px 11px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(36, 51, 46, 0.13);
  background: rgba(255, 255, 255, 0.64);
  text-align: left;
}

.garden-plant-card.dark .card-meta {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(14, 18, 26, 0.45);
}

.card-meta strong,
.card-meta small {
  display: block;
}

.card-meta strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.card-meta small {
  opacity: 0.7;
  font-size: 7px;
}

.card-stage {
  padding: 4px 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 7px;
}

.dark .card-stage {
  background: rgba(255, 255, 255, 0.12);
}

.empty-garden {
  display: flex;
  min-height: 210px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #bdc4be;
  border-radius: 19px;
  color: #909792;
  background: rgba(251, 249, 242, 0.4);
  text-align: center;
}

.empty-garden svg {
  width: 65px;
  stroke: #96a59c;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-garden strong {
  color: #737d77;
  font-size: 11px;
}

.empty-garden span {
  font-size: 9px;
}

.growth-guide {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 35px;
  align-items: center;
  margin: 0 4% 100px;
  padding: 32px 38px;
  border: 1px solid rgba(36, 51, 46, 0.15);
  border-radius: 22px;
  background: var(--paper-light);
  box-shadow: 0 15px 35px rgba(51, 61, 53, 0.06);
}

.guide-illustration svg {
  display: block;
  width: 160px;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-flower {
  fill: #efbd55;
  stroke: var(--ink);
}

.guide-copy h2 {
  font-size: 29px;
}

.guide-copy p {
  max-width: 570px;
}

.guide-times {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.guide-times span {
  min-width: 75px;
  padding: 12px 10px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.guide-times span:last-child {
  border-right: 0;
}

.guide-times b,
.guide-times small {
  display: block;
}

.guide-times b {
  margin-bottom: 4px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 13px;
}

.guide-times small {
  color: #8b918d;
  font-size: 7px;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 95px;
  border-top: 1px solid rgba(36, 51, 46, 0.13);
  color: #888e8a;
  font-size: 9px;
}

.footer-brand b {
  color: var(--ink);
  font-size: 13px;
}

footer p,
footer small {
  margin: 0;
  font-size: inherit;
}

.plant-dialog {
  width: min(90vw, 460px);
  padding: 28px 32px 32px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 25px 80px rgba(20, 29, 25, 0.24);
  text-align: center;
}

.plant-dialog::backdrop {
  background: rgba(20, 29, 25, 0.45);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #ecece6;
  cursor: pointer;
}

.dialog-plant {
  height: 230px;
  margin-bottom: 5px;
}

.dialog-plant .plant-svg {
  width: 250px;
  height: 230px;
  filter: none;
}

.dialog-date {
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.plant-dialog h2 {
  margin: 7px 0 14px;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.05em;
}

.plant-dialog p {
  margin: 0;
  color: #66716b;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}

.dialog-message-button {
  min-height: 42px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 30px;
  color: var(--green);
  background: transparent;
  font-size: 9px;
  font-weight: 680;
  cursor: pointer;
}

.dialog-message-button:hover {
  color: #fff;
  background: var(--green);
}

.toast {
  position: fixed;
  z-index: 30;
  bottom: 27px;
  left: 50%;
  padding: 12px 18px;
  border-radius: 30px;
  color: #fff;
  background: rgba(36, 51, 46, 0.95);
  box-shadow: 0 10px 30px rgba(26, 35, 30, 0.2);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 13px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes growIn {
  from { opacity: 0; transform: scaleY(0.65); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes bloomIn {
  0% { opacity: 0; transform: scale(0.25) rotate(-8deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes waterDrop {
  from { opacity: 0; transform: translateY(0) rotate(45deg) scale(0.6); }
  25% { opacity: 1; }
  to { opacity: 0; transform: translateY(150px) rotate(45deg) scale(1); }
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rainFall {
  from { transform: translateY(-10px) rotate(12deg); }
  to { transform: translateY(70px) rotate(12deg); }
}

@media (max-width: 1120px) {
  .page-shell {
    padding: 0 23px;
  }

  .hero-grid {
    grid-template-columns: minmax(350px, 0.78fr) minmax(500px, 1.22fr);
    gap: 28px;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .garden-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .growth-guide {
    grid-template-columns: 130px 1fr;
  }

  .guide-illustration svg {
    width: 125px;
  }

  .guide-times {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 850px) {
  .page-shell {
    padding: 0 15px;
  }

  .site-header {
    height: 74px;
  }

  .hero-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 32px;
    padding: 55px 0 70px;
  }

  .checkin-column,
  .greenhouse-card {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .greenhouse-card {
    order: -1;
  }

  .greenhouse-scene {
    min-height: 500px;
  }

  .garden-section {
    padding-right: 0;
    padding-left: 0;
  }

  .garden-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .garden-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .growth-guide {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 0 10px;
  }

  .site-header {
    padding: 0 4px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand b {
    font-size: 16px;
  }

  .brand small {
    font-size: 6px;
  }

  .today-label {
    display: none;
  }

  .header-right {
    gap: 6px;
  }

  .header-streak {
    padding: 7px 9px;
    font-size: 9px;
  }

  .hero-grid {
    padding-top: 35px;
  }

  .greenhouse-card {
    border-radius: 22px;
  }

  .greenhouse-header {
    height: 62px;
    padding: 0 18px;
  }

  .stage-badge {
    font-size: 8px;
  }

  .greenhouse-scene {
    min-height: 390px;
  }

  .main-plant {
    bottom: 0;
    height: 350px;
  }

  .plant-svg {
    width: min(88%, 350px);
  }

  .sun-or-moon {
    top: 34px;
    right: 36px;
    width: 46px;
    height: 46px;
  }

  .cloud-one {
    top: 80px;
    left: 27px;
  }

  .growth-panel {
    padding: 19px 18px 22px;
  }

  .growth-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 12px;
  }

  .selection-state,
  .planted-state {
    padding: 22px 17px;
  }

  .emotion-grid {
    gap: 6px;
  }

  .emotion-button {
    grid-template-columns: 34px 1fr;
    gap: 8px;
    min-height: 58px;
    padding: 8px 9px;
  }

  .mood-face {
    width: 33px;
    height: 33px;
  }

  .mood-face::before {
    top: 11px;
    left: 9px;
  }

  .mood-face i {
    top: 20px;
    left: 11px;
  }

  .emotion-button strong {
    font-size: 11px;
  }

  .emotion-button small {
    font-size: 8px;
  }

  .selection-footer {
    grid-template-columns: 1fr;
  }

  .plant-button {
    justify-content: center;
  }

  .support-message {
    padding: 26px 19px;
  }

  .support-message p {
    font-size: 15px;
  }

  .garden-section {
    padding-top: 80px;
  }

  .garden-heading h2 {
    font-size: 33px;
  }

  .garden-stats {
    width: 100%;
  }

  .garden-stats div {
    min-width: 0;
    flex: 1;
  }

  .garden-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .garden-plant-card {
    min-height: 214px;
  }

  .growth-guide {
    display: flex;
    margin-bottom: 70px;
    padding: 27px 22px;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .guide-illustration svg {
    width: 120px;
  }

  .guide-copy h2 {
    font-size: 27px;
  }

  .guide-times {
    width: 100%;
  }

  .guide-times span {
    min-width: 0;
    flex: 1;
    padding: 10px 4px;
  }

  .guide-times b {
    font-size: 11px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 27px 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
