/* life: the garden, the pet, goals, wishes, songs, the time capsule, self-care, stickers, us */

/* garden */
.garden-plot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #CFEFC9; border-radius: 26px; padding: 12px; box-shadow: inset 0 0 0 4px #BCE5B5; overflow: hidden; }
.bed { background: #FFFBF4; border-radius: 20px; padding: 10px; box-shadow: 0 3px 0 rgba(74, 55, 67, .08); display: flex; flex-direction: column; gap: 8px; }
.bed b { font-weight: 600; font-size: 15px; }
.plant-pic { position: relative; height: 104px; display: flex; align-items: flex-end; justify-content: center; }
.plant-pic .soil { position: absolute; left: 6px; right: 6px; bottom: 0; height: 26px; border-radius: 14px 14px 10px 10px; background: #8E6243; box-shadow: inset 0 5px 0 #7A5236; }
.plant-pic .soil.mound { height: 30px; }
.plant-pic .spr { position: relative; margin-bottom: 12px; }
.plant-pic.empty small { position: relative; color: #FFF3E0; margin-bottom: 4px; font-weight: 500; }
.plant-pic .sp-seed { margin-bottom: 20px; }
.plant-pic .spark { position: absolute; right: 8px; top: 2px; margin: 0; animation: twinkle 1.6s ease-in-out infinite; }
.sway { transform-origin: 50% 100%; animation: sway 3s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.drop { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px 2px 2px; border-radius: 999px; background: var(--sand); opacity: .5; }
.drop.on { background: var(--sky-l); opacity: 1; }
.rain { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.rain i { position: absolute; top: -20px; width: 4px; height: 14px; border-radius: 3px; background: #6FB7EE; animation: rain .9s ease-in forwards; }
@keyframes rain { to { transform: translateY(420px); opacity: 0; } }
.plant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plant-opt { background: #fff; border-radius: 18px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 3px 0 var(--line); }
.plant-opt b { font-size: 14px; font-weight: 600; }
.plant-opt small { font-size: 11.5px; color: var(--ink2); }
.btn.done { opacity: .6; }

/* pet */
.pet-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pet-opt { background: #fff; border-radius: 18px; padding: 8px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 3px 0 var(--line); transition: transform .15s var(--spring); }
.pet-opt small { font-size: 12px; }
.pet-opt.on { background: var(--butter-l); box-shadow: inset 0 0 0 2.5px var(--butter); transform: scale(1.06); }
.pet-home { position: relative; height: 220px; border-radius: 28px; background: linear-gradient(#FFF3DD, #FFE7C2); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.pet-bed { position: absolute; bottom: 18px; width: 210px; height: 56px; border-radius: 50%; background: #9CC9F0; box-shadow: inset 0 -10px 0 #7FB2E0, inset 0 0 0 16px #B8D9F5; }
.pet-big { position: relative; margin-bottom: 36px; animation: hop 1.4s ease-in-out infinite; }
.pet-big .spr { width: 130px; height: 130px; }
.pet-big.size0 .spr { width: 110px; height: 110px; }
.pet-big.size2 .spr { width: 160px; height: 160px; }
.pet-bubble { position: absolute; top: 18px; right: 70px; background: #fff; border-radius: 18px; padding: 6px; box-shadow: var(--shadow-s); animation: bob 1.8s ease-in-out infinite; }
.pet-acts { margin-top: 8px; }
.walk { position: relative; height: 420px; border-radius: 28px; overflow: hidden; background: #BFE6FF; }
.walk-sky { position: absolute; inset: 0 0 45% 0; background: linear-gradient(#9FD3F5, #DDF2FF); }
.walk-trees { position: absolute; left: 0; bottom: 120px; display: flex; gap: 40px; width: 200%; animation: scrollTrees 4.2s linear forwards; }
@keyframes scrollTrees { to { transform: translateX(-50%); } }
.walk-path { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: #8FD08A; box-shadow: inset 0 40px 0 #E4DCD3; }
.walker { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 10px; }
.walker svg { width: 120px; height: 150px; animation: walk .32s ease-in-out infinite; }
.walk-pet { animation: hop .3s ease-in-out infinite; transform: scaleX(-1); }
.walk-t { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font-size: 20px; }

/* goals */
.todo-list { background: #fff; border-radius: 22px; padding: 12px; margin-bottom: 12px; box-shadow: 0 3px 0 var(--line); }
.todo-list b { font-weight: 600; }
.todo { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-top: 1.5px dashed var(--line); font-size: 16px; }
.todo:first-of-type { border-top: 0; }
.todo.done span { color: var(--ink3); text-decoration: line-through; }
.check { width: 28px; height: 28px; border-radius: 9px; box-shadow: inset 0 0 0 2.5px var(--ink3); display: grid; place-items: center; color: #fff; flex: none; }
.todo.done .check { background: var(--mint); box-shadow: none; }
.cheer { padding: 2px; border-radius: 10px; background: var(--butter-l); }
.todo .del, .news .del { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; color: var(--ink3); flex: none; }
.promise-box { margin-top: 6px; }
.promise { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 20px; padding: 12px; margin-bottom: 8px; box-shadow: 0 3px 0 var(--line); }
.promise b { display: block; font-weight: 600; font-size: 15px; }
.promise small { display: block; font-size: 13px; color: var(--ink2); }
.promise.won { background: var(--mint-l); }
.promise.lost { background: var(--butter-l); }
.board { display: flex; flex-direction: column; gap: 12px; background: #E7C08F; border-radius: 26px; padding: 14px; box-shadow: inset 0 0 0 6px #D49A62; }
.goal { background: #FFFBEF; border-radius: 16px; padding: 12px; box-shadow: 0 4px 0 rgba(0, 0, 0, .08); position: relative; }
.goal:nth-child(odd) { transform: rotate(-.6deg); }
.goal:nth-child(even) { transform: rotate(.6deg); background: #FFF1F5; }
.goal::before { content: ''; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #E0606F; box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.goal b { display: block; font-weight: 600; }
.goal small { display: block; color: var(--ink2); font-size: 13px; }
.focus-ring { position: relative; width: 220px; height: 220px; margin: 6px auto 0; }
.focus-ring svg { position: absolute; inset: 0; }
.focus-ring circle { transition: stroke-dasharray 1s linear; }
.focus-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.focus-in b { font-size: 46px; font-weight: 600; font-variant-numeric: tabular-nums; }
.focus-in small { color: var(--ink2); }

/* wishes */
.sky-list { background: linear-gradient(#2E3266, #5B4B8A); border-radius: 26px; padding: 12px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.sky-list::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#FFF6C8 1px, transparent 1.5px); background-size: 38px 31px; opacity: .45; pointer-events: none; }
.wish { position: relative; display: flex; align-items: center; gap: 10px; background: rgba(255, 253, 249, .96); border-radius: 18px; padding: 10px; animation: popBig .5s var(--spring) both; }
.wish b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.wish small { color: var(--ink2); font-size: 12.5px; }

/* songs */
.song { display: flex; align-items: flex-start; gap: 12px; background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 3px 0 var(--line); }
.song b { display: block; font-weight: 600; }
.song small { display: block; color: var(--ink2); font-size: 13px; }
.song-note { margin: 4px 0 0; font-size: 14px; }
.vinyl { width: 54px; height: 54px; border-radius: 50%; flex: none; background: radial-gradient(circle, var(--c) 0 26%, #2E2630 27% 30%, #3B3240 31% 100%); box-shadow: inset 0 0 0 3px #4A4058; animation: spin 6s linear infinite; position: relative; }
.vinyl i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
a.btn { text-decoration: none; }

/* time capsule */
.capsule { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 3px 0 var(--line); }
.capsule b { display: block; font-weight: 600; }
.capsule small { display: block; color: var(--ink2); font-size: 13px; }
.seal { width: 56px; height: 56px; border-radius: 16px; background: var(--butter-l); display: grid; place-items: center; flex: none; }
.capsule.ready .seal { background: var(--pink-l); animation: wiggle 1.4s ease-in-out infinite; }
.letter { text-align: center; }
.letter-body { text-align: left; white-space: pre-wrap; background: #FFFBEF; border-radius: 18px; padding: 16px; margin: 12px 0 16px; font-size: 17px; line-height: 1.5; box-shadow: inset 0 0 0 2px #F3E3C0; max-height: 50vh; overflow-y: auto; }

/* self-care */
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.care { background: #fff; border-radius: 18px; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 3px 0 var(--line); transition: transform .15s var(--spring); }
.care small { font-size: 11.5px; text-align: center; line-height: 1.15; color: var(--ink2); }
.care.on { background: var(--sky-l); box-shadow: inset 0 0 0 2.5px var(--sky); }
.care.on small { color: var(--ink); }
.breathe { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bubble-big { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #BFE3FF 60%, #8CC8F2); display: grid; place-items: center; font-weight: 600; color: #2E5E87; box-shadow: 0 10px 30px rgba(95, 168, 220, .35); }
.bubble-big.on { animation: breathe12 12s ease-in-out infinite; }
@keyframes breathe12 { 0% { transform: scale(.75); } 33% { transform: scale(1.15); } 66% { transform: scale(1.15); } 100% { transform: scale(.75); } }

/* stickers */
.stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sticker { background: #fff; border-radius: 20px; padding: 12px 6px 10px; text-align: center; box-shadow: 0 3px 0 var(--line); }
.sticker .st-pic { width: 70px; height: 70px; margin: 0 auto 4px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.sticker:not(.got) .spr { filter: grayscale(1) opacity(.35); }
.sticker.got .st-pic { background: radial-gradient(circle, #FFF3CC, #FFE08A); box-shadow: 0 0 0 4px #fff, 0 3px 8px rgba(227, 181, 68, .45); }
.sticker b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.sticker small { display: block; font-size: 11.5px; color: var(--ink2); margin-top: 2px; line-height: 1.2; }
.sticker:not(.got) b { color: var(--ink2); }

/* us */
.us-hero { display: flex; align-items: flex-end; justify-content: center; gap: 4px; background: linear-gradient(#FFE1EA, #FFF6EC); border-radius: 28px; padding: 16px 8px 12px; }
.us-person { display: flex; flex-direction: column; align-items: center; }
.us-person svg { width: 120px; height: 150px; }
.us-person b { font-size: 18px; font-weight: 600; }
.us-person small { color: var(--pink-d); font-size: 13px; font-weight: 500; }
.us-heart { margin-bottom: 90px; animation: bob 2s ease-in-out infinite; }
.us-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.us-stats > div { background: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: 0 3px 0 var(--line); }
.us-stats b { display: block; font-size: 22px; font-weight: 600; }
.us-stats small { color: var(--ink2); font-size: 13px; }
.invite-link { margin: 12px 0 10px; padding: 10px 12px; border-radius: 14px; background: var(--cream); font-size: 13px; word-break: break-all; color: var(--ink2); user-select: all; -webkit-user-select: all; }
.setting { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 6px; text-align: left; font-size: 16px; border-radius: 12px; }
.setting + .setting { border-top: 1.5px solid var(--line); border-radius: 0; }
.setting.danger { color: var(--red); }
.toggle { width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.toggle i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .15); transition: transform .25s var(--spring); }
.toggle.on { background: var(--mint); }
.toggle.on i { transform: translateX(20px); }
