@import url('night.css');
:root{color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#edf3e9;color:#243e36;font:16px/1.7 system-ui,sans-serif}main{max-width:1080px;margin:auto;padding:24px}header,nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}header a{margin-right:auto}a{color:#216b60}button,nav a{font:inherit;cursor:pointer;border:1px solid #b3c9bc;border-radius:14px;background:#fffdf7;color:#264d42;padding:12px 18px;text-decoration:none}button:hover,nav a:hover{background:#dceee0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b97429;outline-offset:3px}section{background:#fffdf8;border:1px solid #dce4d6;border-radius:28px;margin:24px 0;padding:30px;scroll-margin-top:20px;box-shadow:0 6px 24px #25492e08}section.hero{text-align:center;background:linear-gradient(135deg,#d7eadb,#fff0d2)}h1{font-size:clamp(32px,6vw,54px);margin:10px 0}h2{font-size:28px;line-height:1.35}small{letter-spacing:1px;color:#527065}.family{display:flex;justify-content:center;align-items:end;gap:12px;margin-top:25px}.member{border:0;background:transparent;padding:0;animation:bob 4s ease-in-out infinite;width:23%;max-width:160px}.member img{width:100%;filter:drop-shadow(0 8px 7px #28452d26)}.member span{display:block;background:#fff9e9;border-radius:20px}.m1{animation-delay:.6s}.m1 img{filter:sepia(.25) hue-rotate(315deg)}.m2,.m3{max-width:110px;animation-delay:1.2s}.m3 img{filter:hue-rotate(20deg)}.bounce{animation:hop .6s}.settings,.checks{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block}input[type=number],select{display:block;padding:12px;border-radius:10px;border:1px solid #a7bdaf;background:white;font:inherit;width:100%;color:#243e36}.checks label{display:flex;align-items:start;gap:10px;padding:12px;background:#f0f4eb;border-radius:12px}.checks input{width:22px;height:22px;flex-shrink:0;accent-color:#357567}.result{background:#e0eee4;padding:24px;border-radius:20px;display:grid;grid-template-columns:1fr 2fr;gap:28px;margin-top:28px}#score{display:block;font-size:42px}meter{display:block;width:100%;height:22px;accent-color:#347867}#bars>div{margin:10px 0}#advice p{border-left:3px solid #c6a15c;padding-left:14px}#feedback{font-weight:700;color:#365f41}#storybody button{display:block;margin:12px 0;width:100%;text-align:left}button:disabled{opacity:.65;cursor:default}details{border-top:1px solid #d7e1d5;padding:15px 0}summary{cursor:pointer;font-weight:650}footer{text-align:center;padding:25px}body.reduced *,body.reduced *:before{animation:none!important;scroll-behavior:auto!important}@keyframes bob{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes hop{50%{transform:translateY(-18px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@media(max-width:640px){main{padding:12px}section{padding:20px;border-radius:20px}.settings,.checks,.result{grid-template-columns:1fr}h2{font-size:24px}.family{gap:3px}header{font-size:14px}nav a{flex:1;text-align:center}}@media print{header,nav,#story,.hero,button{display:none!important}section{break-inside:avoid;box-shadow:none}body{background:white}.checks{grid-template-columns:1fr 1fr}}
.member img{border-radius:48% 48% 40% 40%;aspect-ratio:1;object-fit:cover;border:4px solid #fff9e9}.member{position:relative}.m1:after{content:'✿';position:absolute;top:-8px;right:8px;color:#e993a5;font-size:44px;text-shadow:0 2px white}.m2:after{content:'★';position:absolute;top:-2px;left:10px;color:#ecc14a;font-size:28px}.m3:after{content:'♥';position:absolute;top:-2px;right:8px;color:#79a89a;font-size:28px}

.member.chosen img{border-color:#2e8072;box-shadow:0 0 0 4px #e9bf62}.member:focus-visible{border-radius:30px}#journey meter{width:100%;height:30px}#journey{background:#fff4d8}#quests input{width:22px;height:22px}#nextTask{font-weight:700}.member img{transition:border-color .2s}#story[hidden],#growth[hidden]{display:none}

.reminder-card{background:#f0f4eb;border-radius:16px;padding:20px;margin:15px 0}.reminder-card input,.reminder-card select{font:inherit;padding:10px;margin:8px 0;width:100%;border:1px solid #a7bdaf;border-radius:10px}.reminder-card button{margin:8px 10px 0 0}

.start-here{display:flex;gap:20px;align-items:center;padding:24px;background:#e8f1df;border-radius:22px;color:#254334;margin-bottom:24px}.start-here img{width:100px;max-width:25%;border-radius:50%}.start-here h2{font-size:25px;margin:6px 0}.start-here p{line-height:1.6}.start-here small{font-size:11px;letter-spacing:1px}.start-here a{display:inline-flex;margin:8px 12px 0 0}.supply-link{display:inline-block;padding:10px 14px;margin:5px;background:#e2efe0;border-radius:12px;color:#245143}.path-hint{padding:16px;background:#e0eee4;border-radius:14px}.member{min-width:0}.member span{overflow-wrap:anywhere}@media(max-width:480px){.start-here{padding:18px;gap:12px}.start-here h2{font-size:21px}}
