@font-face{font-family:Murecho;src:url('./assets/murecho.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Murecho,'Hiragino Kaku Gothic ProN',sans-serif;color:#f3e8d9;background:#403342;font-synthesis:none;--ink:#443b40;--focus:#f1cf9b}
*{box-sizing:border-box}body{margin:0}button,a,textarea{-webkit-tap-highlight-color:transparent}button,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:5px}button:active{transform:translateY(1px)}[hidden]{display:none!important}::selection{background:#e9cba7;color:#443340}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.garden{position:relative;isolation:isolate;overflow:hidden;height:100dvh;background:#403342}#world{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.grain{display:none}
.header{position:absolute;top:30px;left:44px;right:44px;display:flex;justify-content:space-between;align-items:center;z-index:4}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:400;letter-spacing:.1em;color:#f4e7cd;text-decoration:none}.brand svg{width:30px;height:34px;stroke-width:1.2}.header nav{display:flex;align-items:center;gap:25px}.nav-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:44px;background:none;font-size:14px;color:#ebdfce}.nav-button:hover{color:#ffe5b7}.nav-button svg{width:20px;height:20px}.count{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d9cab377;border-radius:50%;font-size:12px}
.intro{position:absolute;left:6%;top:19%;z-index:1}.intro h1{font-size:clamp(28px,2.5vw,36px);line-height:1.8;font-weight:350;letter-spacing:.11em;margin:0 0 17px}.intro p{font-size:14px;line-height:2.1;letter-spacing:.025em;color:#d9cabe;margin:0}.mode-button{display:flex;gap:7px;align-items:center;min-height:40px;margin-top:22px;padding:5px 0;background:none;border-bottom:1px solid #cab69d88;color:#f1dec4;font-size:13px}.mode-button svg{width:14px;height:14px}.mode-button:hover{border-color:#f1dec4}
.tree-note{position:absolute;top:12%;left:65%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.08em;color:#d8cbbd;white-space:nowrap}.small-leaf{width:12px;height:8px;border-radius:9px 2px;background:#d4cca4;transform:rotate(-35deg)}.note-divider{width:1px;height:12px;background:#b6a69466}.tree-hint{position:absolute;left:65%;bottom:5%;transform:translateX(-50%);font-size:12px;color:#d4c1b1;letter-spacing:.04em;white-space:nowrap;margin:0}
.buds{position:absolute;inset:0;pointer-events:none}.bud{position:absolute;width:44px;height:44px;padding:0;border-radius:50%;background:none;transform:translate(-50%,-50%);pointer-events:auto;display:grid;place-items:center}.bud::before{content:'';width:32px;height:32px;border-radius:50%;border:1px solid #eddfbb55;box-shadow:0 0 12px #eedabc33;opacity:.25;transition:opacity .3s,transform .3s}.bud::after{content:attr(data-date);position:absolute;bottom:40px;white-space:nowrap;padding:6px 10px;background:#322d36ef;border-radius:4px;font-size:12px;color:#f5e6cc;opacity:0;pointer-events:none;transition:opacity .2s}.bud:hover::before,.bud:focus-visible::before{opacity:1;transform:scale(1.1)}.bud:hover::after,.bud:focus-visible::after{opacity:1}.bud:active{transform:translate(-50%,-50%)}.growing .buds{visibility:hidden}
.specimen-caption{position:absolute;left:65%;bottom:8.4%;transform:translateX(-50%);text-align:center;width:390px;max-width:90%;color:#eaddc8}.specimen-caption h2{margin:0;font-size:24px;font-weight:400;letter-spacing:.14em;line-height:1.7}.specimen-caption p{font-size:12px;line-height:1.8;letter-spacing:.02em;margin:5px 0;color:#d8c7b6}.specimen-caption time{font-size:11px;color:#d1bead;letter-spacing:.06em}.specimen-caption button{display:block;margin:9px auto 0;min-height:36px;padding:3px 0;background:none;font-size:12px;color:#edd9bd;border-bottom:1px solid #c6ad9188}.specimen-caption button:hover{color:#fff0d3}
.composer{position:absolute;left:6%;bottom:12%;width:370px;padding:23px 24px 19px;background:#eee7d8;color:var(--ink);border-radius:5px 5px 25px 5px;box-shadow:0 18px 45px #1f142a22;z-index:2}.composer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer h2{font-size:17px;font-weight:450;letter-spacing:.02em;margin:0}.composer time{font-size:11px;color:#756a61;white-space:nowrap}.composer textarea{display:block;width:100%;margin:15px 0 12px;padding:0 0 12px;min-height:74px;max-height:135px;resize:vertical;background:none;border:0;border-bottom:1px solid #cfc1ae;color:#493f42;font-size:16px;line-height:1.9;border-radius:0;caret-color:#885c65}.composer textarea::placeholder{font-size:13px;color:#796c64}.mood-row{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px;white-space:nowrap}.mood-row>span{color:#76685d}.moods{display:flex;gap:2px}.mood{display:flex;align-items:center;gap:4px;padding:5px 6px;min-height:36px;background:none;border:1px solid transparent;border-radius:20px;color:#6d6059;font-size:12px}.mood[aria-pressed=true]{border-color:#aa9a80;background:#e1d7c2}.mood:hover{background:#e1d7c2}.mood-color{display:block;width:7px;height:7px;border-radius:50%}.calm{background:#829a81}.happy{background:#c48d60}.cloudy{background:#93829c}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:16px}.save-note{font-size:11px;color:#7b6e60}.plant-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:10px 14px;background:#66515e;color:#fff0d5;border-radius:24px;font-size:12px}.plant-button:hover{background:#796070}.plant-button svg{width:17px;height:17px}.form-message{font-size:12px;line-height:1.7;margin:0;color:#9b3e43}.form-message:not(:empty){margin-top:12px}
.garden-footer{position:absolute;bottom:17px;left:44px;right:44px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#cbb9ab;letter-spacing:.04em}.garden-footer button{display:flex;align-items:center;gap:6px;min-height:40px;padding:8px 0;font-size:11px;color:#dfc9b5;background:none}.garden-footer svg{width:14px;height:14px}
.history-panel{position:fixed;right:0;top:0;width:410px;max-width:100%;height:100%;z-index:7;background:#eee7d8;color:var(--ink);display:flex;flex-direction:column;box-shadow:-12px 0 50px #1b142d44;animation:panel-in .35s cubic-bezier(.16,1,.3,1)}.panel-header{padding:32px 25px 23px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid #d5c8b5}.panel-header h2{font-size:24px;font-weight:400;letter-spacing:.12em;margin:0 0 9px}.panel-header p{font-size:12px;line-height:1.9;margin:0;color:#7b6e62}.icon-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:none;color:#66565f}.icon-button:hover{background:#e0d5c1}.icon-button svg{width:20px;height:20px}.history-list{flex:1;min-height:0;overflow:auto;padding:5px 24px;scrollbar-width:thin;scrollbar-color:#b7a68f #e8e0d1}.history-item{display:flex;align-items:center;gap:12px;width:100%;border-bottom:1px solid #d5c8b5;padding:18px 0;background:none;color:var(--ink);text-align:left}.history-item:hover{background:#e3d9c822}.history-item>img{flex-shrink:0;object-fit:contain;background:#574450;border-radius:3px}.history-item-text{min-width:0;display:block}.history-item strong{display:block;font-size:15px;line-height:1.7;font-weight:450;letter-spacing:.04em}.history-item time{font-size:11px;color:#847467}.history-item p{font-size:12px;line-height:1.9;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.history-item small{font-size:11px;line-height:1.7;color:#8b705d}.panel-foot{padding:17px 25px max(17px,env(safe-area-inset-bottom));font-size:11px;line-height:1.9;border-top:1px solid #d5c8b5;color:#7a6c60}.panel-foot button{display:block;min-height:36px;margin-top:6px;padding:3px 0;background:none;border-bottom:1px solid #9b8272;color:#69534f;font-size:12px}.empty-history{font-size:14px;line-height:2;color:#7b6e62;margin:28px 0}
.memory{position:fixed;left:54%;top:50%;transform:translate(-50%,-50%);width:360px;max-width:calc(100% - 32px);max-height:calc(100svh - 44px);overflow:auto;scrollbar-width:thin;scrollbar-color:#b7a68f #e8e0d1;padding:26px 28px;background:#eee7d8;color:var(--ink);border-radius:5px 25px 5px 25px;box-shadow:0 22px 60px #1d132d55;z-index:6;animation:memory-in .35s cubic-bezier(.16,1,.3,1)}.memory-close{position:absolute;top:8px;right:8px}.memory>img{display:block;width:110px;height:125px;object-fit:contain;margin:0 auto 4px;background:#54414d;border-radius:4px}.memory h2{font-size:20px;line-height:1.7;letter-spacing:.09em;font-weight:400;margin:12px 0 8px}.memory .memory-description{font-size:12px;line-height:1.9;margin:0 0 12px;color:#7c6c5e}.memory .memory-reason{font-size:12px;line-height:1.8;margin:0 0 16px;color:#8a675b}.memory time{display:block;font-size:11px;letter-spacing:.04em;color:#8b7a6a}.memory #memoryText{font-size:15px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 15px}.memory-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#857363}.memory-bottom button{min-height:40px;background:none;padding:3px 0;border-bottom:1px solid #a48c78;color:#74584e;font-size:12px}
.toast{position:fixed;top:86px;left:50%;transform:translateX(-50%);z-index:10;width:max-content;max-width:calc(100% - 36px);padding:12px 21px;box-shadow:0 8px 30px #1f142b33;border-radius:24px;background:#ede2cf;color:#59434d;font-size:13px;line-height:1.8;text-align:center;pointer-events:none}
@keyframes panel-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes memory-in{from{opacity:0;margin-top:12px}to{opacity:1;margin-top:0}}
@media(min-width:701px) and (max-width:1050px){.header{left:28px;right:28px}.intro{left:4%;top:18%}.intro h1{font-size:28px}.intro p{font-size:13px}.composer{left:4%;width:320px;padding:20px}.composer-heading{gap:9px}.composer h2{font-size:16px}.mood-row{align-items:flex-start;flex-direction:column}.composer-bottom{align-items:flex-start;flex-direction:column;gap:10px}.specimen-caption,.tree-note,.tree-hint{left:68%}.garden-footer{left:28px;right:28px}}
@media(min-width:701px) and (max-height:850px){.intro{top:16%}.intro h1{font-size:29px;line-height:1.65;margin-bottom:12px}.intro p{font-size:13px;line-height:1.9}.mode-button{margin-top:12px}.composer{bottom:11%;padding:19px 22px 16px}.composer textarea{min-height:64px;margin:12px 0 9px}.specimen-caption{bottom:9%}.specimen-caption h2{font-size:21px}.specimen-caption button{min-height:32px;margin-top:5px}}
@media(max-width:700px){.garden{height:auto;min-height:100svh;display:flex;align-items:center;flex-direction:column;padding:100px 20px 100px}.header{top:22px;left:22px;right:22px}.brand{font-size:17px;gap:7px}.brand svg{width:24px;height:28px}.header nav{gap:4px}.nav-button>span{display:none}.nav-button svg{width:22px;height:22px}.intro{position:static;align-self:stretch;margin:10px 6px 0}.intro h1{font-size:25px;line-height:1.65;margin-bottom:12px}.intro p{font-size:12px;line-height:2}.mode-button{font-size:12px;min-height:40px;margin-top:16px}.tree-note{top:76px;left:auto;right:23px;transform:none;font-size:11px;gap:8px}.tree-hint{display:none}.specimen-caption{position:relative;left:auto;bottom:auto;transform:none;width:100%;max-width:100%;margin-top:340px}.specimen-caption h2{font-size:20px}.specimen-caption p{font-size:12px}.specimen-caption button{font-size:12px;min-height:38px}.composer{position:relative;left:auto;bottom:auto;margin:25px auto 0;width:100%;max-width:420px;padding:20px 20px 17px;flex-shrink:0}.composer h2{font-size:16px}.composer textarea{resize:none;min-height:73px}.composer-heading{gap:8px}.mood-row,.mood{font-size:11px}.mood{padding:5px}.save-note{font-size:10px}.plant-button{font-size:11px;padding:10px 12px}.garden-footer{left:22px;right:22px;bottom:max(16px,env(safe-area-inset-bottom));font-size:10px;letter-spacing:0}.garden-footer>span{max-width:200px;line-height:1.8}.garden-footer button{font-size:11px}.memory{left:50%;padding:24px}.toast{top:78px;font-size:12px}.history-panel{max-width:420px}}
@media(max-width:700px){.intro h1{font-size:23px;line-height:1.6;margin-bottom:8px}.intro h1 br{display:none}.intro p{font-size:12px;line-height:1.9}.mode-button{margin-top:12px;min-height:36px}.specimen-caption{margin-top:var(--specimen-gap,280px)}.history-panel{max-width:100%}}
@media(max-width:350px){.mood-row{align-items:flex-start;flex-direction:column}.moods{gap:9px}.composer-bottom{align-items:flex-start;flex-direction:column;gap:9px}.save-note{font-size:11px}.plant-button{font-size:12px}.garden-footer>span{max-width:166px}.composer-heading{align-items:flex-start}.composer h2{max-width:150px}.specimen-caption h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
