:root{--ink:#2c2738;--muted:#686172;--purple:#7250aa;--lavender:#e6dcf3;--line:#e6e1e9;--paper:#fff;--bg:#f6f4f8}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 0 0,#e9e0f2 0,transparent 45%),var(--bg);font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.15px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{min-height:44px;border:1px solid transparent;background:#fff;border-radius:14px;padding:10px 17px;color:var(--ink);cursor:pointer;font-weight:600;font-size:14px;transition:background .15s,transform .15s}button:hover{background:#eee8f4}button:active{transform:scale(.98)}button:disabled{opacity:.55;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7250aa;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(32px,4vw,47px);letter-spacing:-1.9px;line-height:1.15;font-weight:650}h2{font-size:24px;line-height:1.2;letter-spacing:-.7px}h3{font-size:17px;letter-spacing:-.3px}h4{font-size:20px;line-height:1.25;letter-spacing:-.6px}p{margin:8px 0}small{font-size:12px}.app{max-width:1060px;margin:auto;padding:28px 36px 120px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:26px;font-weight:750;letter-spacing:-1.4px}.brand-dot{color:#9f7dd3;margin-left:-10px}.brand-icon{height:38px;width:38px;background:var(--ink);border-radius:13px;color:#eee6fb;display:flex;align-items:center;justify-content:center;font-size:21px;position:relative;letter-spacing:-1px}.brand-icon>span{font-size:13px;position:absolute;right:4px;top:0}.avatar{border:1px solid #e0d8e8;border-radius:25px;font-size:12px;background:#ffffffa0;display:flex;align-items:center;gap:13px}.avatar>span{background:#e6dbf5;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.storage-note{font-size:12px;color:#62566f;padding:8px 0}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:25px 0}.page-heading p:not(.eyebrow){color:var(--muted);font-size:15px;margin-top:10px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:#6c5e7b;margin:0 0 10px}.save-pill{font-size:11px;white-space:nowrap;border:1px solid #d8e2d9;color:#466454;background:#edf3ed;border-radius:30px;padding:7px 11px}.save-pill.error{color:#8a3630;background:#fce6e1;border-color:#edb4ad}.hero{position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(110deg,#e7dcf5,#d5c5ea);min-height:250px;display:flex;justify-content:space-between;align-items:center;padding:30px 36px;isolation:isolate}.hero:after{content:'';width:340px;height:340px;border:1px solid #ffffff70;border-radius:50%;position:absolute;right:-70px;top:-65px;z-index:-1}.hero-copy{position:relative;z-index:1}.hero h2{font-size:33px;letter-spacing:-1.3px;margin-top:16px;line-height:1.08}.hero p{font-size:13px;color:#59476e;margin:12px 0 18px}.hero small{display:block;margin-top:10px;font-size:10px;color:#655475}.streak-pill{font-size:11px;background:#ffffff8c;border:1px solid #ffffff75;border-radius:30px;padding:7px 11px;display:inline-block;color:#594172}.dark{background:var(--ink);color:white;border-radius:25px;padding:12px 20px}.dark:hover{background:#4b3f60}.hero .text-button{font-size:11px;margin-top:5px}.buddy{position:relative;flex-shrink:0;width:200px;height:210px;margin-right:30px}.buddy-body{width:134px;height:147px;position:absolute;left:33px;top:25px;background:radial-gradient(ellipse at 35% 20%,#f7eaff,#b18edc 75%);border-radius:47% 49% 44% 43%;box-shadow:inset -8px -9px 12px #7e5aaa33,inset 4px 3px 8px #ffffffaa,0 18px 25px #79639026;transform:rotate(-8deg);animation:bob 5s ease-in-out infinite}.eyes{display:flex;justify-content:space-between;position:absolute;left:40px;right:35px;top:61px}.eyes i{height:14px;width:8px;background:#483454;border-radius:100%;box-shadow:inset 2px 2px #ffffff66}.smile{position:absolute;left:61px;top:82px;width:20px;height:12px;border-bottom:3px solid #67466d;border-radius:0 0 100% 100%}.cheek{position:absolute;top:83px;background:#dc98ba88;width:17px;height:8px;border-radius:100%}.c1{left:27px}.c2{right:23px}.foot{position:absolute;top:166px;background:#b294cf;width:38px;height:18px;border-radius:50%;box-shadow:inset 3px 4px 5px #d3b7e7}.f1{left:47px;transform:rotate(-15deg)}.f2{right:37px;transform:rotate(15deg)}.buddy-shadow{position:absolute;left:25px;right:15px;bottom:13px;height:16px;border-radius:50%;background:#987db044;filter:blur(7px)}.spark{position:absolute;color:#fff;font-size:30px;text-shadow:0 2px 10px #b190d8}.s1{top:0;right:0}.s2{bottom:38px;left:0;font-size:24px}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;background:#ffffff95;border:1px solid #e6e0eb;padding:10px;border-radius:23px;margin:22px 0 28px}.week-strip button{background:transparent;border-radius:16px;display:flex;flex-direction:column;align-items:center;padding:9px 3px;gap:1px}.week-strip button span{font-size:11px;color:var(--muted)}.week-strip button strong{font-size:20px;font-weight:600}.week-strip button[aria-pressed=true]{background:var(--ink);color:#fff}.week-strip button[aria-pressed=true] span{color:#ddd3e5}.week-strip i{width:4px;height:4px;border-radius:100%;background:#c8c0d0;margin-top:4px}.week-strip i.done{background:#9c71d2}.week-strip button[aria-pressed=true] i.done{background:#ddc4fa}.section-title{display:flex;align-items:center;justify-content:space-between;margin:24px 0 18px;gap:15px}.section-title .eyebrow{margin-bottom:6px}.section-title h2{font-size:25px}.date-label{font-size:10px;color:var(--muted);display:flex;align-items:flex-end;flex-direction:column;gap:3px}.date-label input{font-size:12px;width:144px;min-height:34px;padding:4px 8px}.tracker-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.card{background:white;padding:23px;border-radius:23px;border:1px solid #e7e2eb;min-width:0;box-shadow:0 4px 15px #3a294503}.card-head{display:flex;align-items:center;gap:10px;margin-bottom:17px}.card-icon{width:33px;height:33px;border-radius:11px;background:#f0ebf6;display:grid;place-items:center;color:#71558f;font-size:20px;flex-shrink:0}.tag{font-size:8px;letter-spacing:1px;color:#675971;margin-left:auto;max-width:120px;text-align:right}.row{display:flex;justify-content:space-between;gap:10px;align-items:center}.row>p{margin:0 0 12px}.muted{font-size:13px;color:var(--muted);line-height:1.55}.segmented{display:flex;gap:10px}.segmented button{flex:1;background:#f6f3f8;border:1px solid #e7e0ed;border-radius:15px;min-height:50px}.segmented button.selected{background:var(--ink);color:white;border-color:var(--ink)}.text-button{padding:7px 0;background:transparent;color:#71518d;font-size:12px;min-height:44px}.text-button:hover{background:transparent;color:#3e235f;text-decoration:underline}.peach{background:#fae8df;border-color:#f0d7cb}.peach .card-icon{background:#f7d4bf;color:#8e5939}.mint{background:#e8efec;border-color:#dce5df}.mint .card-icon{background:#d5e4db;color:#496353}.butter{background:#f6f0df;border-color:#ece3cc}.butter .card-icon{background:#eee2bb;color:#756137}.metric{display:flex;align-items:baseline;gap:10px}.metric strong{font-size:48px;line-height:1.1;font-weight:650;letter-spacing:-2px}.metric span{font-size:13px;color:var(--muted)}.metric.medium strong{font-size:34px;letter-spacing:-1.1px}.bar{height:7px;border-radius:10px;background:#b5a6c229;overflow:hidden;margin:18px 0}.bar span{display:block;height:100%;background:#9472bb;border-radius:10px;transition:width .3s}.peach .bar span{background:#c77d56}.quick{display:flex;gap:8px;margin:12px 0 0;flex-wrap:wrap}.quick button{flex:1;white-space:nowrap;border:1px solid #ffffff80}.quiet{background:#f3eff6;border:1px solid #e4dce9}.full{width:100%}.primary-soft{background:#eee5f7;color:#60477e;display:flex;justify-content:space-between}.primary{background:var(--ink);color:#fff;width:100%;border-radius:17px;margin-top:16px}.primary:hover{background:#51405f}.book-line{display:flex;gap:17px;align-items:center;margin:5px 0 21px}.book-cover{flex-shrink:0;width:70px;height:95px;border-radius:4px 9px 9px 4px;background:linear-gradient(100deg,#5b496c 0 6px,#8d76a8 6px,#aa92c1);color:#fff0e5;padding:12px 10px;box-shadow:3px 4px 5px #44304a15;display:flex;flex-direction:column;justify-content:space-between}.book-cover span{font-size:7px;letter-spacing:1.1px;line-height:1.4}.book-cover b{font-size:23px;line-height:1}.book-info{flex:1;min-width:0}.book-info .bar{margin:11px 0}.reading-card>.muted{font-size:11px}.recall summary{font-size:12px;color:#71518d;padding:10px 0}.recall p{font-size:13px}.vape-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.vape-controls button{background:#f7f4f9;border:1px solid #e9e1ee;display:flex;flex-direction:column;gap:3px;align-items:center;padding:12px 3px}.vape-controls strong{font-size:25px;font-weight:600}.vape-controls span{font-size:10px}.vape-controls .plus{font-size:17px;color:#795e96}.divider{height:1px;background:var(--line);margin:13px 0}.round{width:44px;height:44px;border-radius:100%;padding:0;background:#f0e9f7;font-size:21px;flex-shrink:0}.wellbeing{margin:29px 0}.wellbeing>.muted{font-size:12px;margin:-4px 0 17px}.wellbeing>.section-title>span{font-size:30px;color:#9f86b8}.private{margin-bottom:12px;padding:0 22px;background:#f0ebf5;border-color:#e4dcea}.private summary,details.review-detail summary{display:flex;align-items:center;gap:12px;cursor:pointer;min-height:74px;list-style:none}.private summary::-webkit-details-marker,details.review-detail summary::-webkit-details-marker{display:none}.private summary b{font-size:15px}.expand{margin-left:auto;font-size:21px;color:#7e6a90}details[open] .expand{transform:rotate(45deg)}.private-inner{padding-bottom:16px}.private-inner>p{font-size:14px}.text-link{font-size:13px;color:#71518d}.next-action{padding:24px;background:#eeebf1;border-radius:23px}.next-action label{font-size:20px;font-weight:600;display:block;margin-bottom:14px}.next-action textarea{background:#ffffff80;border:1px solid #d9d1e1}.footer{color:#796d84;font-size:11px;text-align:center;margin:35px 0 0}.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom));width:330px;padding:6px;background:#302939;border:1px solid #ffffff33;border-radius:30px;display:flex;box-shadow:0 8px 30px #20142530;z-index:10}.bottom-nav button{flex:1;background:transparent;color:#d8cfe0;display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px;border-radius:24px;font-size:12px}.bottom-nav button>span{font-size:20px;line-height:1}.bottom-nav button[aria-current=page]{background:#e5d9f4;color:#3b2a4b}.week-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0;text-align:center;gap:10px}.week-heading h2{font-size:24px}.week-heading p{font-size:11px}.weekly-hero{background:var(--lavender);margin-bottom:20px}.weekly-hero h2{font-size:27px}.weekly-hero p{font-size:13px;color:#64546f}.week-dots{display:flex;justify-content:space-between;gap:8px;margin-top:23px;max-width:450px}.week-dots>div{display:flex;flex-direction:column;align-items:center;gap:6px}.week-dots span{height:36px;width:36px;border-radius:100%;background:#f4eefb;color:#827290;display:grid;place-items:center}.week-dots .filled{background:#75608d;color:#fff}.week-dots small{font-size:10px;color:#6c5d77}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.summary-card{padding:20px}.summary-card .card-head{gap:6px}.summary-card h3{font-size:13px}.summary-card .card-icon{width:26px;height:26px;font-size:17px;border-radius:8px}.summary-card>strong{font-size:31px;letter-spacing:-1px;font-weight:650}.summary-card>p{font-size:12px;margin:0 0 5px}.summary-card>small{display:block;font-size:10px;color:var(--muted)}.review-detail{margin-top:18px}.review-detail>summary{min-height:30px!important}.three-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.three-stats>div{display:flex;flex-direction:column}.three-stats strong{font-size:28px}.three-stats span{font-size:12px;color:var(--muted)}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.list-row b{font-size:14px}.list-row p{margin:3px 0}.list-row>button{flex-shrink:0}.note{border-bottom:1px solid var(--line);padding:12px 0}.note b{font-size:13px}.note p{font-size:14px}.note small{color:var(--muted)}.settings-card{margin-bottom:18px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:55px;border-bottom:1px solid var(--line);font-size:14px}.setting-row input{accent-color:#7250aa;width:24px;height:24px;min-height:24px}.settings-card>.muted{max-width:620px}input,select,textarea{border:1px solid #dcd4e4;background:#faf8fc;border-radius:12px;padding:12px;min-height:46px;font-size:16px;color:var(--ink);width:100%}textarea{resize:vertical}.field{display:block;margin-top:16px;font-size:13px;font-weight:600}.field input,.field select,.field textarea{margin-top:7px;font-weight:400}.field+ .muted{font-size:12px}dialog{border:1px solid #ddd3e8;border-radius:27px;padding:25px;width:min(480px,calc(100% - 28px));max-height:85dvh;color:var(--ink);background:#fff;box-shadow:0 25px 80px #38204730}dialog::backdrop{background:#21172f66;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-heading h2{font-size:23px}.modal-heading button{font-size:25px;min-width:44px;background:#f4f0f7;border-radius:100%;padding:0}#fields>h3{margin-top:23px}#form-error{color:#a73535;font-size:13px}.danger{color:#a23b3b}#toast{position:fixed;bottom:calc(92px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%) translateY(10px);padding:12px 20px;background:#fff;color:#483756;border:1px solid #d9cce3;border-radius:18px;box-shadow:0 6px 35px #49325e1f;max-width:calc(100% - 32px);width:max-content;font-size:13px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:20}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.skip{position:fixed;top:-100px;left:20px;background:white;padding:15px;z-index:30}.skip:focus{top:10px}#main:focus{outline:none}.celebrate .spark{animation:twinkle .9s ease-out}.celebrate .buddy-body{animation:celebrate .7s ease-in-out}.no-motion *{animation:none!important;transition:none!important}@keyframes bob{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-7px) rotate(-4deg)}}@keyframes celebrate{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-15px) rotate(5deg)}}@keyframes twinkle{50%{transform:scale(1.6) rotate(30deg)}}@media(min-width:1000px){.tracker-grid{grid-template-columns:repeat(3,1fr)}.hero{min-height:280px}.hero h2{font-size:40px}.hero-copy{padding-left:8px}.buddy{margin-right:100px;transform:scale(1.2)}.wellbeing{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.wellbeing .section-title,.wellbeing>.muted{grid-column:1/-1}}@media(max-width:650px){.app{padding:23px 20px 110px}.topbar{margin-bottom:14px}.storage-note{font-size:10px;padding:5px 0}.page-heading{margin:23px 0 21px;display:block}.page-heading h1{font-size:34px;letter-spacing:-1.3px}.page-heading p:not(.eyebrow){font-size:13px}.page-heading .save-pill{display:none}.hero{min-height:247px;padding:24px;align-items:center;border-radius:25px}.hero h2{font-size:29px;letter-spacing:-1px}.hero p{font-size:12px;max-width:180px}.hero small{font-size:9px;max-width:200px}.hero .dark{font-size:12px;padding:10px 14px}.hero-copy{max-width:69%}.streak-pill{font-size:10px;padding:6px 9px}.buddy{position:absolute;right:4px;bottom:30px;width:170px;transform:scale(.75);transform-origin:center right;margin:0;z-index:0}.hero:after{right:-190px}.tracker-grid{grid-template-columns:1fr;gap:14px}.card{padding:22px;border-radius:22px}.week-strip{gap:3px;padding:7px;margin:19px 0 26px}.week-strip button{padding:8px 2px}.week-strip button strong{font-size:18px}.week-strip button span{font-size:10px}.section-title h2{font-size:23px}.date-label input{width:125px;font-size:11px}.card-head h3{font-size:17px}.card-head .tag{font-size:9px}.row>.muted{font-size:12px}.metric strong{font-size:45px}.book-cover{width:68px;height:91px}.book-info h4{font-size:21px}.private{padding:0 20px}.summary-grid{grid-template-columns:1fr 1fr;gap:12px}.summary-card{padding:18px}.summary-card>strong{font-size:28px}.summary-card .card-head{gap:7px}.summary-card h3{font-size:12px}.summary-card>small{font-size:10px}.week-heading h2{font-size:21px}.weekly-hero h2{font-size:25px}.bottom-nav{width:min(340px,calc(100% - 36px))}.review-detail summary{padding:0}.wellbeing>.section-title{margin-top:30px}.settings-card .card-head h3{font-size:17px}}@media(max-width:360px){.app{padding-left:14px;padding-right:14px}.hero{padding:20px}.hero h2{font-size:26px}.buddy{right:0;transform:scale(.63)}.hero-copy{max-width:76%}.date-label input{width:112px}.summary-card{padding:15px}.summary-card .card-icon{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Vector anime companion; honours both device and in-app motion preferences. */
.anime-buddy .companion{position:absolute;width:190px;height:214px;left:4px;top:-8px;object-fit:contain;filter:drop-shadow(0 9px 5px #60406a18);animation:companion-float 5s ease-in-out infinite;transform-origin:50% 85%}
.celebrate .companion{animation:companion-cheer .8s ease-in-out}
@keyframes companion-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes companion-cheer{0%,100%{transform:translateY(0) rotate(-3deg)}40%{transform:translateY(-12px) rotate(6deg)}70%{transform:translateY(-4px) rotate(-5deg)}}
@media(max-width:650px){.anime-buddy .companion{width:170px;height:192px;left:0;top:3px}.anime-buddy .s1{right:4px;top:-10px}}
@media(prefers-reduced-motion:reduce){.anime-buddy .companion{animation:none!important}}
/* Soft sculpted companions, animated as individual interface elements. */
.sculpted-buddy{pointer-events:none;perspective:600px}
.avatar-float{position:absolute;width:180px;height:195px;left:10px;top:8px;animation:avatar-drift 7s ease-in-out infinite;transform-origin:50% 70%}
.avatar-body{position:absolute;width:144px;height:128px;left:18px;top:43px;border-radius:48% 49% 43% 45%;background:radial-gradient(ellipse at 31% 21%,#f2dbff 0,#d0a4f0 34%,#b784dd 65%,#9364c0 100%);box-shadow:inset 4px 5px 8px #ffffffa0,inset -8px -12px 15px #63339438,0 13px 18px #74508b20;transform:rotate(-5deg)}
.avatar-shine{position:absolute;width:47px;height:13px;left:19px;top:12px;background:linear-gradient(90deg,#ffffffab,#ffffff00);border-radius:100%;transform:rotate(-22deg)}
.avatar-eyes{position:absolute;left:24px;right:22px;top:39px;display:flex;justify-content:space-between;align-items:center}
.avatar-eyes i{display:block;width:32px;height:36px;border-radius:50%;background:radial-gradient(ellipse at 57% 52%,#32263e 0 17%,transparent 20%),radial-gradient(ellipse at 35% 20%,#fff,#fdf8ff 70%,#d9c7e9);box-shadow:0 2px 3px #633b7c30,inset 1px 2px 3px white;animation:avatar-blink 9s infinite;transform-origin:center}
.avatar-eyes i:last-child{width:36px;height:40px;transform:rotate(9deg)}
.avatar-mouth{position:absolute;left:58px;top:79px;width:29px;height:22px;background:#603378;border-radius:35% 35% 50% 50%;transform:rotate(-7deg);overflow:hidden;box-shadow:inset 0 2px 2px #3d225a50}
.avatar-mouth:after{content:'';position:absolute;bottom:-2px;right:0;width:24px;height:12px;background:#ed9cdc;border-radius:50%}
.avatar-blush{position:absolute;width:17px;height:8px;background:#ed9bd373;top:79px;border-radius:50%;filter:blur(1px)}.blush-left{left:17px}.blush-right{right:14px}
.antenna{position:absolute;width:13px;height:48px;background:linear-gradient(90deg,#a475c8,#e5c8fa 55%,#ae7cce);top:8px;border-radius:80% 50% 0 0;box-shadow:inset 2px 1px 3px #ffffff80;transform-origin:bottom;animation:antenna-sway 4s ease-in-out infinite}
.antenna:before{content:'';position:absolute;top:-5px;left:-3px;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f5e7ff,#ba8cde 65%,#9566b9);box-shadow:0 2px 3px #7d589c20}
.ant-left{left:35px;transform:rotate(-28deg);height:38px;top:19px}.ant-right{right:37px;transform:rotate(19deg)}
.avatar-foot{position:absolute;width:31px;height:24px;background:radial-gradient(ellipse at 32% 25%,#e0b8f5,#aa79cf 80%);top:159px;border-radius:40% 40% 50% 50%;box-shadow:inset -3px -3px 4px #7746a330;z-index:-1}.foot-left{left:36px;transform:rotate(20deg)}.foot-right{right:30px;transform:rotate(-24deg)}
.padlock .avatar-body{width:128px;height:115px;left:27px;top:61px;border-radius:30px;background:radial-gradient(ellipse at 26% 17%,#fff0e3,#f2c6b2 40%,#dfa6a4 75%,#c38ba9);box-shadow:inset 5px 6px 8px #fff8edbd,inset -8px -9px 13px #99588733,0 13px 18px #74508b20;transform:rotate(-6deg)}
.shackle{position:absolute;width:84px;height:97px;left:48px;top:5px;border-radius:46px 46px 15px 15px;border:16px solid #c5addd;background:transparent;box-shadow:inset 3px 3px 5px #6f4e8a55,3px 1px 4px #6a46813b;transform:rotate(-6deg)}
.shackle:before{content:'';position:absolute;inset:-12px;border:4px solid transparent;border-top-color:#f5e7ff;border-left-color:#e7d2f7;border-radius:40px 40px 12px 12px;opacity:.9}
.padlock .avatar-eyes{top:32px;left:30px;right:28px}.padlock .avatar-eyes i,.padlock .avatar-eyes i:last-child{width:12px;height:18px;background:radial-gradient(circle at 35% 23%,#fff 0 10%,transparent 15%),linear-gradient(#4d364e,#73516d);box-shadow:0 2px 2px #8f5c6020}
.padlock .avatar-mouth{left:55px;top:54px;width:20px;height:12px;background:none;border-bottom:3px solid #78546c;border-radius:0 0 100% 100%;box-shadow:none;transform:rotate(0)}.padlock .avatar-mouth:after{display:none}.padlock .avatar-blush{top:54px;background:#de7a9a55}.padlock .blush-left{left:18px}.padlock .blush-right{right:16px}
.keyhole{position:absolute;left:58px;top:83px;width:10px;height:12px;border-radius:6px 6px 3px 3px;background:#ba8297;box-shadow:inset 1px 1px 2px #a26885}.padlock .avatar-foot{background:radial-gradient(ellipse at 32% 25%,#f9d1bc,#cf98a5);top:167px;width:26px;height:20px}.padlock .foot-left{left:40px}.padlock .foot-right{right:38px}
.celebrate .avatar-float{animation:avatar-cheer .85s ease-in-out}
.companion-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 24px}.companion-choice{display:flex;flex-direction:column;align-items:center;min-width:0;background:#f6f1fa;border:2px solid #e8deef;padding:12px 8px 17px;border-radius:22px}.companion-choice[aria-pressed=true]{border-color:#9774b8;background:#eee3f8}.companion-choice .buddy{position:relative;right:auto;bottom:auto;margin:0;width:190px;height:205px;transform:scale(.8);transform-origin:50% 50%;pointer-events:none}.companion-choice>strong{font-size:16px}.companion-choice>span{font-size:11px;font-weight:400;color:#6c5c78;margin:5px 0 12px}.companion-choice>b{font-size:11px;color:#634776;background:#ffffffb0;padding:7px 12px;border-radius:20px}
@keyframes avatar-drift{0%,100%{transform:translate(0,0) rotate(-3deg)}35%{transform:translate(5px,-9px) rotate(3deg)}70%{transform:translate(-3px,-4px) rotate(-1deg)}}
@keyframes antenna-sway{0%,100%{rotate:-4deg}50%{rotate:7deg}}
@keyframes avatar-blink{0%,43%,47%,100%{scale:1 1}45%{scale:1 .12}}
@keyframes avatar-cheer{0%,100%{transform:translateY(0) rotate(-3deg)}35%{transform:translateY(-18px) rotate(8deg)}65%{transform:translateY(-5px) rotate(-7deg)}}
@media(max-width:650px){.sculpted-buddy .avatar-float{left:-2px}.companion-choice .buddy{width:160px;height:178px;transform:scale(.72);margin:-5px -12px 0;transform-origin:50% 50%}.companion-choice .avatar-float{left:-10px}}
@media(prefers-reduced-motion:reduce){.sculpted-buddy *{animation:none!important}}

/* Account entry uses the same readable, phone-first surfaces as the dashboard. */
.account-card{max-width:520px;margin:36px auto;padding:28px}.account-card h1{font-size:clamp(28px,6vw,40px);line-height:1.15}.account-card form{display:grid;gap:16px}.account-card .primary{min-height:48px}.account-card input{width:100%;box-sizing:border-box}.bottom-nav[hidden]{display:none!important}#account-error:empty{display:none}
