:root{--plum:#43304A;--plum2:#5E4A70;--gold:#E9B73A;--pink:#F6D6DE;--lav:#EBDDF7;--card:rgba(255,252,248,.86)}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{font-family:Nunito,system-ui,sans-serif;color:var(--plum);background:linear-gradient(180deg,#FFF8EF 0%,#FCEDF0 45%,#F3EAF6 100%) fixed;padding-bottom:110px;transition:background .8s;font-variation-settings:'SOFT' 100}
body.rest{background:linear-gradient(180deg,#F4EEF0,#E6DEEA) fixed}body.rest #meadow{opacity:.55;filter:saturate(.6)}
h1,h2,h3,.h{font-family:Fraunces,sans-serif;font-weight:600;margin:0}
button{font:inherit;color:inherit;cursor:pointer}
input,select,textarea{font:inherit;color:var(--plum);width:100%;padding:12px 14px;border:2px solid #E2D6F2;border-radius:14px;background:#fff;min-height:46px}
textarea{min-height:140px;resize:vertical}
label{font-weight:700;font-size:14px;display:block;margin:10px 0 6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#sky{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.petal{position:absolute;top:-30px;width:13px;height:9px;border-radius:80% 0 80% 0;background:#F4B9CF;opacity:.8;animation:fall linear infinite}
.pollen{position:absolute;bottom:-10px;width:5px;height:5px;border-radius:50%;background:#F2C94C;box-shadow:0 0 8px 2px rgba(242,201,76,.7);animation:rise ease-in-out infinite}
@keyframes fall{0%{transform:translate(0,-20px) rotate(0)}50%{transform:translate(30px,50vh) rotate(180deg)}100%{transform:translate(-10px,105vh) rotate(360deg)}}
@keyframes rise{0%{transform:translate(0,0);opacity:0}15%{opacity:1}50%{transform:translate(14px,-50vh)}85%{opacity:.9}100%{transform:translate(-8px,-105vh);opacity:0}}
body.rest .petal{animation-duration:26s!important;opacity:.45}body.rest .pollen{display:none}
@media (prefers-reduced-motion:reduce){.petal,.pollen,.bee{animation:none!important}.petal,.pollen{display:none}}
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:calc(12px + env(safe-area-inset-top)) 18px 10px;background:rgba(255,248,240,.8);backdrop-filter:blur(10px)}
.logo{width:42px;height:42px;border-radius:12px}
.brand{flex:1;display:flex;flex-direction:column}.brand b{font-family:Fraunces;font-size:19px}.brand span{font-size:12px;font-weight:700;color:var(--plum2)}
.iconbtn{width:44px;height:44px;border:0;background:none;border-radius:50%}
main{position:relative;z-index:1;max-width:560px;margin:0 auto;padding:14px 18px;display:flex;flex-direction:column;gap:14px}
.card{background:var(--card);box-shadow:0 4px 18px rgba(150,110,130,.08);border:1px solid rgba(255,255,255,.7);border-radius:24px;padding:16px 18px;backdrop-filter:blur(6px)}
.dark{background:var(--plum);color:#fff}
.pinkc{background:var(--pink)}
.eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:.06em;color:#7A3550;text-transform:uppercase}
.muted{color:var(--plum2);font-size:14px;margin:4px 0 0}
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:6px 0}
.bee{width:170px;height:170px;border-radius:50%;object-fit:cover;animation:bob 4s ease-in-out infinite;box-shadow:0 0 0 6px rgba(255,255,255,.6),0 10px 30px rgba(185,166,224,.6)}
body.rest .bee{animation-duration:8s}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.pills{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pill{flex:1;min-height:46px;border-radius:999px;background:rgba(255,255,255,.8);border:2px solid #E2D6F2;font-weight:700;font-size:14px}
.pill[aria-pressed=true]{background:var(--plum);color:#fff;border-color:var(--plum)}
.btn{min-height:48px;border:0;border-radius:14px;background:var(--plum);color:#fff;font:600 16px Fraunces,sans-serif;padding:0 18px}
.btn.gold{background:var(--gold);color:var(--plum)}
.btn.ghost{background:rgba(255,255,255,.8);color:var(--plum);border:2px solid #E2D6F2}
.btn.wide{width:100%}
.link{background:none;border:0;color:var(--plum2);font-weight:700;text-decoration:underline;min-height:44px}
.row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid rgba(59,42,74,.08)}
.row:last-child{border-bottom:0}
.row input[type=checkbox]{width:24px;height:24px;min-height:0;accent-color:var(--plum);flex:none}
.row .txt{flex:1}
.row.done .txt{text-decoration:line-through;color:#8A79A0}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}
.star{border:0;background:none;width:40px;height:40px;font-size:20px;color:#C9B7DE}.star.on{color:var(--gold)}
.weeks{display:flex;justify-content:space-between;gap:2px}
.wk{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:700}
.wk i{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;background:#EFE8F7}
.wk.past i{background:var(--gold)}.wk.now i{background:var(--plum);color:#fff}.wk.due i{outline:2px solid #C04A78;background:var(--pink)}
.doors{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.door{aspect-ratio:1;border:0;border-radius:14px;background:#B9A6E0;font:600 17px Fraunces;color:var(--plum);min-height:44px}
.door.open{background:#EFE8F7;color:#8A79A0}.door.next{background:var(--gold);box-shadow:0 0 0 3px var(--plum)}
.ringwrap{display:flex;align-items:center;gap:12px}
.track{fill:none;stroke:rgba(255,255,255,.75);stroke-width:12}
.ring{fill:none;stroke-width:12;stroke-linecap:round;transform:rotate(-90deg);transform-origin:100px 100px;animation:draw 1.6s ease-out both}
@keyframes draw{from{stroke-dashoffset:var(--c)}}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.addbar{display:flex;gap:8px}.addbar input{flex:1}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:44px;padding:0 14px;border-radius:999px;border:2px solid #E2D6F2;background:#fff;font-weight:700}
.chip[aria-pressed=true]{background:var(--plum);color:#fff;border-color:var(--plum)}
.entry p{white-space:pre-wrap;margin:6px 0 0}
.bottom{position:fixed;left:0;right:0;bottom:0;z-index:6;display:flex;justify-content:space-around;gap:2px;padding:8px 6px calc(10px + env(safe-area-inset-bottom));background:rgba(255,251,246,.94);box-shadow:0 -4px 20px rgba(120,90,110,.08);backdrop-filter:blur(10px)}
.bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:none;font-size:12.5px;font-weight:800;color:var(--plum2);min-width:52px;min-height:60px;flex:1;border-radius:16px;-webkit-tap-highlight-color:transparent}
.bottom button.on{background:#FBE7EE}
.bottom svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2}
.bottom button.on{color:var(--plum)}
.sheet{position:fixed;inset:0;z-index:20;background:rgba(59,42,74,.35);display:flex;align-items:flex-end;justify-content:center}
.sheet[hidden],.lock[hidden]{display:none}
.sheet-card{width:100%;max-width:560px;max-height:88vh;overflow:auto;background:#FBF7F0;border-radius:26px 26px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom))}
.sheet-actions{display:flex;gap:10px;margin-top:18px}.sheet-actions .btn{flex:1}
.lock{position:fixed;inset:0;z-index:30;background:linear-gradient(170deg,#FBE3EC,#DCD0F3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}
.lock form{display:flex;flex-direction:column;gap:10px;width:100%;max-width:300px}
.lockbee{width:150px;height:150px;border-radius:50%;object-fit:cover}
.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:var(--plum);color:#fff;padding:12px 18px;border-radius:14px;z-index:40;font-weight:700}
body.sting{background:linear-gradient(180deg,#D9D3E2,#C6BCD6) fixed}body.sting .petal{display:none}
.sub{display:block;font-size:12px;font-weight:700;color:var(--plum2);letter-spacing:.04em;text-transform:uppercase}
.jar{display:flex;align-items:center;gap:14px}
.posters{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.poster{border:0;padding:0;background:none;text-align:left;display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700}
.poster .img{aspect-ratio:2/3;border-radius:14px;background:linear-gradient(160deg,#F6D6DE,#B9A6E0);background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:6px;color:var(--plum);font:600 13px Fraunces;overflow:hidden}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;color:#fff}
.bars{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;align-items:end;height:110px;margin-top:10px}
.bar{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:700;height:100%;justify-content:flex-end}
.bar i{width:100%;max-width:16px;border-radius:8px;background:#F1E6F6;display:block}
.drops{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.drops .chip{padding:0;min-height:44px}
.ep{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid rgba(59,42,74,.08);font-size:14px}
.ep b{min-width:48px}
.cgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:8px;text-align:center}
.cgrid b{font-size:11px;color:var(--plum2)}
.cday{position:relative;aspect-ratio:1;min-height:40px;border:0;border-radius:12px;background:rgba(255,255,255,.6);font-weight:700;font-size:14px}
.cday i{position:absolute;bottom:5px;left:50%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--gold)}
.cday.today{outline:2px solid var(--plum)}.cday.sel{background:var(--plum);color:#fff}

#meadow{position:fixed;left:0;right:0;bottom:0;height:46vh;z-index:0;pointer-events:none;transition:opacity .8s}
h1,h2,h3,.h,.brand b{font-weight:600;letter-spacing:-.01em}
.flybee{position:absolute;top:0;left:0;width:34px;height:28px;animation:fly linear infinite}
.flybee svg{animation:buzz .35s ease-in-out infinite alternate}
@keyframes fly{0%{transform:translate(-50px,30vh)}25%{transform:translate(28vw,22vh)}50%{transform:translate(55vw,34vh)}75%{transform:translate(80vw,18vh)}100%{transform:translate(110vw,28vh)}}
@keyframes buzz{from{transform:translateY(-2px) rotate(-4deg)}to{transform:translateY(2px) rotate(4deg)}}
body.rest .flybee{display:none}
.bee.wiggle{animation:wiggle .7s ease-in-out}
@keyframes wiggle{0%,100%{transform:rotate(0)}20%{transform:rotate(-8deg) scale(1.04)}40%{transform:rotate(7deg)}60%{transform:rotate(-5deg)}80%{transform:rotate(3deg)}}
/* Bee Sting: low stimulation dark */
body.sting{background:#262029 fixed;color:#EDE4F2;--plum:#EDE4F2;--plum2:#BDAFC6;--card:rgba(52,43,58,.92);--pink:#4A3442}
body.sting #meadow,body.sting #sky{display:none}
body.sting .top{background:rgba(38,32,41,.9)}body.sting .bottom{background:rgba(38,32,41,.96)}body.sting .bottom button.on{background:#3A2F40}
body.sting .card{border-color:#3A3040;box-shadow:none}
body.sting .btn{background:#6A5578;color:#fff}body.sting .btn.gold{background:#8C7340;color:#fff}
body.sting .pill,body.sting .chip,body.sting input,body.sting select,body.sting textarea{background:#322A38;color:#EDE4F2;border-color:#4A3F52}
body.sting .pill[aria-pressed=true]{background:#8A75A0;border-color:#8A75A0}
body.sting .eyebrow,body.sting .sub{color:#D5A9C0!important}
body.sting .bee{filter:brightness(.75)}
.timer{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.timer .big{font:600 44px Fraunces,serif}
.free{background:#EEF5E4;border-radius:14px;padding:10px 12px;margin-top:8px;font-weight:700;font-size:14px;color:#3F5A2E}
body.sting .free{background:#2F3A2C;color:#CFE3C0}
.mini{min-height:40px;padding:0 12px;font-size:14px;border-radius:12px}
.snooze{border:0;background:none;width:40px;height:40px;color:#9C8BB0;display:flex;align-items:center;justify-content:center}
.stat{font:600 34px Fraunces,serif}

/* blossom path background */
#bg{position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,249,243,.72) 0%,rgba(255,247,242,.45) 40%,rgba(255,247,242,.25) 100%),url(img/bg-blossom-tall.jpg) center/cover no-repeat;transition:filter .8s,opacity .8s}
@media (min-width:700px){#bg{background-image:linear-gradient(180deg,rgba(255,249,243,.72),rgba(255,247,242,.3)),url(img/bg-blossom.jpg)}}
#meadow{display:none}
body.rest #bg{filter:saturate(.6) brightness(.97)}
body.sting #bg{display:none}
.bee{object-position:center}
