.first-garden-layout{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:6px;max-width:480px;height:100dvh;min-height:0;max-height:100dvh;display:grid;overflow:hidden}.first-garden-header{grid-row:1;min-width:0}.first-garden-coach{grid-row:2;min-width:0}.first-garden-stage{grid-row:3;height:100%}.first-garden-controls{grid-row:4}@media (orientation:landscape) and (height<=500px){.onboarding-welcome-panel{flex-direction:row}.onboarding-welcome-portrait{flex:0 0 32%;height:auto;padding-top:0}.onboarding-welcome-portrait img{max-height:calc(100dvh - 32px)}.onboarding-welcome-copy{gap:4px;min-width:0;padding:12px}.onboarding-welcome-copy h1{font-size:24px}.onboarding-welcome-copy>p{font-size:12px;line-height:20px}.first-garden-layout{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(190px,.85fr) minmax(0,1.15fr);column-gap:12px;max-width:960px}.first-garden-header,.first-garden-coach,.first-garden-controls{grid-column:1}.first-garden-coach{align-self:start}.first-garden-stage{padding-block:max(.5rem, env(safe-area-inset-top)) max(.5rem, env(safe-area-inset-bottom));grid-area:1/2/-1}.first-garden-controls{grid-row:3}}.garden-home-page{color:#254638;background:#faf4e9;width:100%}.garden-home-hero{isolation:isolate;height:100svh;min-height:560px;max-height:1100px;position:relative;overflow:hidden}.home-scene{z-index:-1;position:absolute;inset:0}.home-scene-image{object-fit:cover;pointer-events:none;width:100%;height:100%;position:absolute}.home-story-stage{z-index:1;pointer-events:none;position:absolute;inset:25% 0 27%}.home-keeper{flex-direction:column;align-items:center;width:60%;display:flex;position:absolute;inset:0 auto 0 0}.home-keeper>img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 5px 12px #4532251f);width:100%;height:calc(100% - 38px);min-height:0;-webkit-mask-image:linear-gradient(#000 88%,#0000);mask-image:linear-gradient(#000 88%,#0000)}.home-keeper>figcaption{color:#31523e;background:#fff8e7db;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:38px;padding:3px 12px;display:flex}.home-keeper strong{font-family:var(--font-display);font-size:17px;line-height:1}.home-keeper figcaption span{letter-spacing:.06em;margin-top:3px;font-size:9px}.home-scene:after{content:"";pointer-events:none;background:linear-gradient(#fff5e6a6,#0000 38% 67%,#faf4e9f0 92%);position:absolute;inset:0}.home-brand{top:max(24px, env(safe-area-inset-top));text-align:center;position:absolute;left:16px;right:16px}.home-eyebrow{letter-spacing:.16em;text-transform:uppercase;color:#526951;font-size:10px;font-weight:700}.home-brand h1{font-family:var(--font-display);letter-spacing:-.035em;color:#254638;text-shadow:0 2px 18px #fff4e0;margin-top:3px;font-size:clamp(36px,10vw,54px);line-height:1.12}.home-brand h1 span{color:#8f6545}.home-game-description{text-shadow:0 1px 12px #fff4e0;margin-top:10px;font-size:16px;font-weight:650;line-height:1.45}.home-world-description{color:#526951;margin-top:6px;font-size:12px}.home-play{bottom:max(82px, calc(68px + env(safe-area-inset-bottom)));text-align:center;position:absolute;left:24px;right:24px}.home-destination{color:#34513d;margin-bottom:8px;font-size:11px;font-weight:700}.home-play-button{width:100%;min-height:56px;font-family:var(--font-display);color:#3d341d;cursor:pointer;background:linear-gradient(#ffdb7a,#efb442);border:2px solid #fff0bd;border-radius:18px;justify-content:center;align-items:center;gap:16px;font-size:21px;display:flex;box-shadow:0 4px #a66a23,0 10px 24px #503c1929}.home-play-button:active{transform:translateY(2px);box-shadow:0 2px #a66a23}.home-progress{color:#526951;margin-top:12px;font-size:10px}.home-navigation{left:24px;right:24px;bottom:max(12px, env(safe-area-inset-bottom));justify-content:center;gap:20px;display:flex;position:absolute}.home-navigation a{color:#315844;background:#fffaeea6;border:1px solid #3f594033;border-radius:14px;align-items:center;gap:7px;min-height:48px;padding-inline:12px;font-size:12px;font-weight:700;display:inline-flex}.home-play-button:focus-visible,.home-navigation a:focus-visible{outline-offset:4px;outline:3px solid #315844}.home-garden-details{max-width:760px;margin:auto;padding:24px 12px 48px;scroll-margin-top:12px}.home-story-details{background:#f5eedc;border:1px solid #c5cbb4;border-radius:18px;margin-top:16px}.home-story-details>summary{cursor:pointer;align-items:center;gap:10px;min-height:52px;padding:12px 16px;font-size:13px;font-weight:650;list-style:none;display:flex}.home-story-details>summary::-webkit-details-marker{display:none}@media (orientation:portrait) and (height<=700px){.home-brand{top:16px}.home-eyebrow{font-size:9px}.home-brand h1{font-size:32px}.home-game-description{margin-top:6px;font-size:14px;line-height:1.4}.home-world-description{max-width:250px;margin:4px auto 0;font-size:10px;line-height:14px}.home-story-stage{top:27%;bottom:35%}}@media (width>=900px){.garden-home-hero{max-width:1200px;min-height:700px;margin:auto}.home-scene{left:36%}.home-scene-image{-webkit-mask-image:linear-gradient(90deg,#0000,#000 16%);mask-image:linear-gradient(90deg,#0000,#000 16%)}.home-brand{text-align:left;max-width:420px;top:20%;left:5%;right:auto}.home-brand h1{font-size:64px}.home-game-description{margin-top:20px;font-size:21px}.home-world-description{margin-top:16px;font-size:14px}.home-play{width:340px;bottom:23%;left:5%;right:auto}.home-navigation{width:340px;bottom:12%;left:5%;right:auto}}@media (orientation:landscape) and (height<=500px){.garden-home-hero{min-height:320px}.home-eyebrow{display:none}.home-scene{left:42%}.home-brand{text-align:left;width:40%;top:24px;left:20px;right:auto}.home-brand h1{font-size:34px}.home-game-description{font-size:14px}.home-world-description{display:none}.home-story-stage{top:6%;bottom:14%}.home-play{width:38%;bottom:68px;left:20px;right:auto}.home-navigation{gap:12px;width:38%;bottom:10px;left:20px;right:auto}.home-navigation a{gap:5px;padding-inline:4px;font-size:11px}}.home-journal-label{flex-direction:column;gap:1px;line-height:1.3;display:flex}.home-journal-label small{color:#526951;font-size:9px;font-weight:400}.garden-map-page{color:#254638;background:#faf4e9;width:100%;min-height:100dvh}
