:root{font-family:ui-rounded,system-ui,-apple-system,sans-serif;color:#321744;background:#170e27}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 0,#704399,#170e27 65%);min-height:100vh}.shell{max-width:510px;margin:auto;min-height:100vh;background:linear-gradient(#3d185f,#6b398b 43%,#f6effb 76%);box-shadow:0 0 55px #0a0616}header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;color:white}header strong{letter-spacing:2px}header strong span{color:#ffda91}button{cursor:pointer;font:inherit;border:0}header button{border:1px solid #a98dc7;background:#ffffff20;color:white;border-radius:30px;padding:9px;font-size:12px}.hero{height:350px;position:relative;overflow:hidden}.heroImage{position:absolute;inset:0;background:url('assets/sunflowers.jpg') center 32%/cover}.heroShade{position:absolute;inset:0;background:linear-gradient(transparent 20%,#301046bb 63%,#3d185f 100%)}.heroText{position:absolute;bottom:22px;width:100%;text-align:center;color:white;text-shadow:0 2px 8px #210b38}h1{font-family:Georgia,serif;font-size:48px;line-height:1.02;margin:0 0 12px}h1 em{color:#ffe1a4;font-style:normal;font-size:64px}.dateRibbon{display:inline-block;background:linear-gradient(110deg,#f1d6ff,#fff4fa,#c8a5e8);color:#4e1c70;border-radius:6px;padding:8px 25px;box-shadow:0 2px 15px #2a0b48;font-weight:800}#birthdayGreeting{margin-top:10px;font-size:13px}.birthday .hero{box-shadow:inset 0 0 0 5px #f4d28d}.birthday .hero:after{content:'✨ 🎉 ❄️ ✨ 🎊';position:absolute;top:15px;left:0;width:100%;text-align:center;font-size:27px;animation:twinkle 2s infinite alternate;pointer-events:none}@keyframes twinkle{to{opacity:.45;transform:translateY(12px)}}.tabs{display:flex;background:#2e104b;padding:8px 5px;gap:3px;justify-content:space-around;position:sticky;top:0;z-index:5}.tabs button{flex:1;color:#f2e5fc;background:none;padding:8px 2px;border-radius:12px;font-size:20px}.tabs button span{display:block;font-size:11px;margin-top:2px}.tabs button.active{background:#8249ad;color:white}main{padding:20px 15px 36px;min-height:400px;background:linear-gradient(#f6effb,#fffaff)}h2{font-family:Georgia,serif;color:#4a1c70;margin:5px 0 8px;font-size:28px}.sub{color:#80628d;font-size:14px;margin:0 0 16px}.dates{display:flex;gap:5px;overflow:auto;margin:18px 0}.date{flex:1;min-width:51px;border-radius:12px;background:#eee1f4;color:#593079;padding:9px 2px}.date b{display:block;font-size:19px}.date small{font-size:10px}.date.active{background:#6e2998;color:white;box-shadow:0 3px 10px #7c47a855}.panel,.event,.wish,.poster,.taskgroup{background:white;border:1px solid #ead9f1;border-radius:17px;padding:16px;margin:12px 0;box-shadow:0 4px 16px #6a408016}.dayheading,.row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.dayheading h3{margin:4px 0}.tag{font-size:11px;color:#8849aa;font-weight:700;letter-spacing:.3px}.event{background:#fcf7ff}.event h3{margin:9px 0 5px;color:#3e175d}.event p{font-size:14px;color:#725b7d}.eventTop{display:flex;justify-content:space-between;color:#8140a4;font-size:12px;font-weight:800}.gold,.outline{border-radius:22px;padding:10px 14px;font-weight:700;margin:3px 2px}.gold{background:linear-gradient(120deg,#6b268d,#9b54c1);color:white}.outline{border:1px solid #b99bc9;background:white;color:#69318a}.danger{color:#ae3262}.empty{text-align:center;color:#846694;padding:34px 10px}.form{display:grid;gap:12px}.form label{font-size:13px;font-weight:700;color:#5a3171}.form input,.form textarea,.form select{display:block;width:100%;margin-top:5px;padding:11px;border-radius:10px;border:1px solid #cbb4d7;font:inherit;background:#fff;color:#36194b}.form textarea{min-height:90px}.form input[type=checkbox]{display:inline;width:auto}.poster{background:linear-gradient(140deg,#4b1b74,#9556b7,#4c1e73);color:white;text-align:center;border:3px solid #e2c5fa;padding:24px 14px}.poster h2{color:#ffe3b5;font-size:34px}.poster .wish{color:#4d2964;text-align:left;background:#fff9ff}.poster .wish p{white-space:pre-wrap}.poster img{width:100%;max-height:190px;object-fit:cover;border-radius:10px;margin-top:8px}.poster video{width:100%;max-height:250px;margin-top:8px}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gallery img{width:100%;height:155px;object-fit:cover;border-radius:13px}.progress{height:12px;border-radius:12px;background:#eadbf3;overflow:hidden}.progress div{height:100%;background:#8537ad}.task{display:flex;gap:8px;align-items:center;border-top:1px solid #f0e6f5;padding:10px 0}.task.done span{text-decoration:line-through;color:#98869f}.task span{flex:1}.task input{accent-color:#7c2ca4;width:18px;height:18px}.hint{font-size:12px;color:#896f95}dialog{width:min(94vw,480px);border:0;border-radius:20px;padding:20px;max-height:88vh;overflow:auto}dialog::backdrop{background:#160921b9}.close{float:right;background:#eee2f6;border-radius:50%;width:30px;height:30px;font-size:23px}footer{padding:18px;text-align:center;font-size:11px;color:#d9c0e8;background:#301347}.hidden{display:none!important}
.notice{background:#fff1fa;border:1px solid #d6a6e6;padding:12px;border-radius:12px;color:#633480;margin:10px 0}.small{font-size:12px;color:#7b6189}.event button{margin-top:6px}.status{font-size:12px;color:#6d398e}.wish video{width:100%;max-height:250px}.form input[type=file]{font-size:13px}.task button{font-size:12px}.poster .wish{overflow-wrap:anywhere}.panel h3{color:#4e2672}.birthday .dateRibbon{background:linear-gradient(120deg,#ffda8c,#fff7d2,#e4b35d)}
