:root{--primary:#3568d4;--primary-soft:#eaf0ff;--success:#18865b;--success-soft:#e3f6ed;--coin:#9b6500;--coin-soft:#fff4d7;--text:#1d2638;--muted:#657086;--border:#dde3ee;--bg:#f6f8fc;--surface:#fff;--streak:#e8673f}*{box-sizing:border-box}html{background:var(--bg)}body{background:var(--bg);color:var(--text);margin:0;font-family:Noto Sans JP,Hiragino Sans,Yu Gothic UI,system-ui,sans-serif;font-size:16px;line-height:1.55}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100dvh}.phone{max-width:768px;margin:auto}.content{padding:12px 16px calc(104px + env(safe-area-inset-bottom))}.app-header{z-index:5;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f6f8fcf0;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}h1{margin:0;font-size:24px}h2{margin:0;font-size:20px}.avatar{width:38px;height:38px;color:var(--primary);background:#dfe8ff;border-radius:50%;place-items:center;font-weight:800;display:grid}.side-nav{display:none}.hero-card{background:linear-gradient(140deg,#fff,#eef3ff);border:1px solid #dce5ff;border-radius:22px;align-items:center;gap:20px;min-height:142px;padding:20px;display:flex;box-shadow:0 8px 28px #3568d41a}.hero-card p{color:var(--muted);margin:0}.hero-card h2{margin:3px 0 9px;font-size:24px}.hero-card .money{color:var(--coin)}.ring{--rate:0deg;background:conic-gradient(var(--primary) var(--rate),#dce4f4 0);border-radius:50%;flex:0 0 92px;place-items:center;width:92px;height:92px;display:grid;position:relative}.ring:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:9px}.ring span{z-index:1;font-size:22px;font-weight:800}.encourage{text-align:center;color:#334a7b;margin:16px 0;font-weight:700}.chips{scrollbar-width:none;gap:8px;padding:2px 0 14px;display:flex;overflow:auto}.chips button{white-space:nowrap;border:1px solid var(--border);min-height:36px;color:var(--text);background:#fff;border-radius:999px;padding:5px 14px}.chips .selected,.weekday-picks .selected{background:var(--primary);color:#fff;border-color:var(--primary)}.list-title{margin:6px 0 10px;font-size:17px}.list-title span{color:var(--muted);font-size:14px}.task-list{gap:10px;display:grid}.task{border:1px solid var(--border);text-align:left;background:#fff;border-radius:16px;align-items:center;gap:12px;width:100%;min-height:76px;padding:12px;transition:all .2s;display:flex;box-shadow:0 2px 8px #2434520d}.task:active{transform:scale(.99)}.task.done{background:var(--success-soft);border-color:#b5e1cd}.check{border:2px solid var(--primary);color:#fff;border-radius:50%;flex:0 0 48px;place-items:center;width:48px;height:48px;font-weight:900;display:grid}.done .check{background:var(--success);border-color:var(--success)}.task-copy{flex-direction:column;flex:1;min-width:0;display:flex}.task-copy b{font-size:16px}.task-copy small{color:var(--muted)}.done .task-copy b{text-decoration:line-through}.reward{color:var(--coin);background:var(--coin-soft);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:13px;font-weight:800}.task em{color:var(--success);font-size:12px;font-style:normal;font-weight:700}.empty{text-align:center;padding:48px 16px}.empty>b{background:var(--primary-soft);width:64px;height:64px;color:var(--primary);border-radius:50%;place-items:center;font-size:30px;display:inline-grid}.month-picker{justify-content:space-between;align-items:center;margin:4px 0 12px;display:flex}.month-picker button{width:48px;height:48px;color:var(--primary);background:#fff;border:0;border-radius:50%;font-size:30px}.mini-summary,.card,.calendar-card{border:1px solid var(--border);background:#fff;border-radius:16px;box-shadow:0 2px 8px #2434520d}.mini-summary{grid-template-columns:repeat(3,1fr);margin-bottom:12px;padding:14px 5px;display:grid}.mini-summary div{text-align:center;border-right:1px solid var(--border)}.mini-summary div:last-child{border:0}.mini-summary b{font-size:18px;display:block}.mini-summary span{color:var(--muted);font-size:11px}.calendar-card{padding:12px}.weekdays,.days{grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.weekdays span{text-align:center;color:var(--muted);padding:7px 0;font-size:12px}.days button{background:0 0;border:0;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:46px;display:flex}.days button.today{outline:2px solid var(--primary)}.days button.selected{background:var(--primary);color:#fff}.days i{background:#9eb6ed;border-radius:50%;width:8px;height:8px;font-size:7px;font-style:normal}.days i.full{background:var(--success);color:#fff;width:14px;height:14px}.days i.low{background:#d4dced}.card{margin-top:14px;padding:18px}.day-detail p{border-top:1px solid var(--border);justify-content:space-between;margin:0;padding:10px 0;display:flex}.detail-stats{grid-template-columns:repeat(3,1fr);margin:12px 0;display:grid}.detail-stats span{color:var(--muted);text-align:center;font-size:11px}.detail-stats b{color:var(--text);font-size:17px;display:block}.muted{color:var(--muted);font-size:14px}.streak-card{color:#8b371d;background:#fff0e9;border-radius:20px;align-items:center;gap:18px;padding:20px;display:flex}.streak-card>span{font-size:38px}.streak-card div{flex-direction:column;display:flex}.streak-card b{color:var(--streak);font-size:34px}.section-heading{justify-content:space-between;align-items:end;display:flex}.section-heading>b{color:var(--primary);font-size:32px}.bar-chart{border-bottom:1px solid var(--border);align-items:end;gap:5px;height:150px;margin:18px 0 8px;display:flex}.bar-chart i{background:linear-gradient(var(--primary),#7fa2ee);border-radius:5px 5px 0 0;flex:1;min-height:2px;position:relative}.bar-chart i:nth-child(3n){background:var(--success)}.bar-chart span{width:1px;height:1px;position:absolute;overflow:hidden}.category-row{grid-template-columns:75px 1fr 55px;align-items:center;gap:10px;margin:16px 0;font-size:14px;display:grid}.category-row>div{background:#e9edf5;border-radius:999px;height:8px;overflow:hidden}.category-row i{background:var(--primary);height:100%;display:block}.allowance-hero{text-align:center;color:#704800;background:linear-gradient(145deg,#fff7df,#ffedb6);border-radius:22px;padding:26px}.allowance-hero>b{font-size:42px;line-height:1.2;display:block}.allowance-hero b small{font-size:17px}.allowance-hero p{margin:5px}.money-chart{align-items:end;gap:7px;height:150px;padding-top:25px;display:flex;overflow:hidden}.money-chart div{flex-direction:column;flex:1;justify-content:end;align-items:center;min-width:24px;height:100%;display:flex}.money-chart i{background:#f3aa20;border-radius:5px 5px 0 0;width:70%;display:block}.money-chart span{white-space:nowrap;font-size:9px}.money-chart small{color:var(--muted);font-size:10px}.money-row{border-bottom:1px solid var(--border);justify-content:space-between;padding:12px 0;display:flex}.privacy-note{text-align:center;color:var(--muted);font-size:13px}.settings-intro{background:var(--primary-soft);border-radius:18px;margin-bottom:14px;padding:20px}.settings-intro span{color:var(--primary);font-size:13px;font-weight:700}.settings-intro p{margin-bottom:0}.settings-title{justify-content:space-between;align-items:center;display:flex}.settings-title p{color:var(--muted);margin:0;font-size:13px}.primary{background:var(--primary);color:#fff;border:0;border-radius:12px;min-height:48px;padding:8px 18px;font-weight:700}.primary.small{min-height:44px}.template-row,.settings-list>button{border:0;border-top:1px solid var(--border);text-align:left;background:#fff;justify-content:space-between;align-items:center;width:100%;min-height:60px;padding:9px 2px;display:flex}.template-row:first-of-type{margin-top:12px}.template-row span:first-child{flex-direction:column;display:flex}.template-row small{color:var(--muted)}.warning{background:#fff4d7;border-radius:10px;padding:12px;font-size:13px}.task-form{margin-top:0}.task-form .back{min-height:44px;color:var(--primary);background:0 0;border:0;padding:0}.task-form label,.task-form fieldset{border:0;flex-direction:column;gap:7px;margin:18px 0;padding:0;font-weight:700;display:flex}.task-form em{color:#c84242;font-size:11px}.task-form input,.task-form select{border:1px solid var(--border);background:#fff;border-radius:10px;height:48px;padding:8px;font-size:16px}.weekday-picks{gap:5px;display:flex}.weekday-picks button{border:1px solid var(--border);background:#fff;border-radius:10px;flex:1;min-width:38px;height:44px}.yen-input{align-items:center;gap:8px;display:flex}.yen-input input{flex:1}.task-form>.primary{width:100%}.bottom-nav{z-index:10;height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--border);background:#fff;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button,.side-nav button{color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative}.bottom-nav button{min-height:60px;font-size:11px}.bottom-nav i{font-size:23px;font-style:normal;line-height:1}.bottom-nav .active{color:var(--primary);font-weight:700}.bottom-nav .active:before{content:"";background:var(--primary);border-radius:0 0 3px 3px;width:24px;height:3px;position:absolute;top:0}.toast{z-index:20;bottom:calc(82px + env(safe-area-inset-bottom));color:#fff;background:#1d2638;border-radius:13px;align-items:center;gap:8px;max-width:480px;margin:auto;padding:13px 14px;display:flex;position:fixed;left:16px;right:16px;box-shadow:0 8px 24px #1d263844}.toast button{color:#a9c3ff;background:0 0;border:0;margin-left:auto;font-weight:700}.loading{min-height:100dvh;color:var(--muted);place-items:center;display:grid}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #3568d4}@media (prefers-reduced-motion:no-preference){.task.done .check{animation:.35s pop}.toast{animation:.25s rise}@keyframes pop{50%{transform:scale(1.18)}}@keyframes rise{0%{opacity:0;transform:translateY(16px)}}}@media (width>=1024px){.app-shell{padding-left:216px}.side-nav{border-right:1px solid var(--border);background:#fff;flex-direction:column;width:216px;padding:28px 14px;display:flex;position:fixed;inset:0 auto 0 0}.brand{margin:0 10px 30px;font-size:22px;font-weight:800}.brand b{background:var(--primary);color:#fff;border-radius:10px;place-items:center;width:34px;height:34px;display:inline-grid}.side-nav button{border-radius:12px;flex-direction:row;justify-content:flex-start;gap:12px;min-height:50px;padding:0 14px;font-size:15px}.side-nav button i{width:25px;font-size:22px;font-style:normal}.side-nav button.active{background:var(--primary-soft);color:var(--primary);font-weight:700}.phone{max-width:960px}.bottom-nav{display:none}.content{padding:20px 32px 60px}.hero-card,.task-list{max-width:720px}}.choice-box,.effort-box{border:1px solid var(--border);background:#fff;border-radius:18px;margin-top:14px;padding:18px;box-shadow:0 2px 8px #2434520d}.choice-box.school{background:linear-gradient(145deg,#fff,#f1f5ff);border:2px solid #9db7ed}.choice-box.chore{background:linear-gradient(145deg,#fff,#fff9e8)}.box-title{align-items:center;gap:11px;margin-bottom:14px;display:flex}.box-title>span{background:var(--primary);color:#fff;border-radius:12px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:19px;font-weight:800;display:grid}.box-title p{color:var(--muted);margin:1px 0 0;font-size:13px}.choice-box h3,.effort-box h3{color:#43516a;margin:17px 0 8px;font-size:15px}.choice-list{grid-template-columns:1fr 1fr;gap:8px;display:grid}.choice-list button{border:1px solid var(--border);text-align:left;background:#fff;border-radius:12px;align-items:center;gap:8px;min-height:52px;padding:8px 10px;display:flex}.choice-list button i{border:2px solid var(--primary);color:#fff;border-radius:7px;flex:0 0 24px;place-items:center;width:24px;height:24px;font-style:normal;display:grid}.choice-list button span{flex:1;font-size:14px;font-weight:700}.choice-list button b{color:var(--coin);white-space:nowrap;font-size:12px}.choice-list button.checked{background:var(--success-soft);border-color:#acd9c5}.choice-list button.checked i{background:var(--success);border-color:var(--success)}.school .choice-list{grid-template-columns:1fr}.school .choice-list button{min-height:66px;font-size:17px}.effort-box label{flex-direction:column;gap:6px;margin:13px 0;font-weight:700;display:flex}.effort-box textarea,.effort-box select{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;min-height:48px;padding:11px;font-size:16px}.effort-box textarea{resize:vertical;min-height:92px}.effort-box .primary{width:100%}.effort-box .primary:disabled{cursor:not-allowed;background:#aeb7c8}.effort-history{border-top:1px solid var(--border);margin-top:18px;padding-top:5px}.effort-history div{border-top:1px solid #edf0f5;justify-content:space-between;padding:9px 0;display:flex}.effort-history b{color:var(--coin)}.daily-total{background:linear-gradient(135deg,#fff8df,#ffedb4);border:2px solid #f2cd68;border-radius:20px;align-items:center;gap:16px;margin-top:16px;padding:22px 20px;display:flex;box-shadow:0 8px 24px #ab6f001f}.total-coin{color:#fff;background:#f3aa20;border-radius:50%;flex:0 0 58px;place-items:center;width:58px;height:58px;font-size:28px;font-weight:900;display:grid;box-shadow:inset 0 0 0 5px #ffd777}.daily-total span{color:#704800;font-size:14px;font-weight:700;display:block}.daily-total strong{color:#704800;font-variant-numeric:tabular-nums;font-size:36px;line-height:1.2;display:block}.daily-total strong small{margin-left:3px;font-size:16px}.daily-total p{color:#856521;margin:3px 0 0;font-size:13px}textarea:focus-visible{outline-offset:2px;outline:3px solid #3568d4}@media (width<=350px){.choice-list{grid-template-columns:1fr}}@media (prefers-reduced-motion:no-preference){.daily-total{animation:.48s ease-out total-pop}.daily-total .total-coin{animation:.6s ease-out coin-bounce}@keyframes total-pop{0%{opacity:.65;transform:scale(.97)}65%{transform:scale(1.015)}to{opacity:1;transform:scale(1)}}@keyframes coin-bounce{0%{transform:translateY(8px)rotate(-10deg)}55%{transform:translateY(-5px)rotate(7deg)}to{transform:none}}}@media (width>=1024px){.choice-box,.effort-box,.daily-total{max-width:720px}}:root{--primary:#4b79e6;--primary-soft:#edf2ff;--success:#23a779;--success-soft:#e7faef;--coin:#a96800;--coin-soft:#fff3c6;--bg:#fff9f0;--text:#26304b;--muted:#6f7891;--border:#e4def0}html,body{background:#fff9f0}body{background-image:radial-gradient(circle at 12px 12px,#ffb9cc3b 2px,#0000 2px),radial-gradient(circle at 38px 38px,#5b97eb29 2px,#0000 2px);background-size:50px 50px}.app-header{background:#fff9f0e6}.app-header h1{color:#303958;text-shadow:0 2px #fff}.avatar{background:#fff2b9;border:2px solid #ffd766;width:44px;height:44px;overflow:hidden;box-shadow:0 3px #e8ba38}.avatar img{object-fit:cover;object-position:center 18%;width:52px;height:52px;transform:scale(1.45)}.pop-hero{background:linear-gradient(145deg,#dff4ff 0%,#edf1ff 54%,#fff1c9 100%);border:3px solid #fff;min-height:194px;padding:18px 16px 18px 130px;display:block;position:relative;overflow:visible;box-shadow:0 7px #c9dafa,0 11px 26px #4666aa26}.hero-mascot{object-fit:contain;filter:drop-shadow(0 7px 5px #29549733);z-index:2;width:155px;height:175px;position:absolute;bottom:-5px;left:-13px}.hero-progress{z-index:3;justify-content:flex-end;align-items:center;gap:13px;display:flex;position:relative}.hero-progress .ring{background:conic-gradient(#ff79a8 var(--rate),#fff 0);flex-basis:78px;width:78px;height:78px;box-shadow:0 4px #bdd0f3}.hero-progress .ring:after{inset:8px}.hero-progress .ring span{font-size:18px}.hero-card h2{color:#3553a2;font-size:22px}.hero-card .money{color:#9a6300;background:#fff8db;border-radius:999px;padding:5px 10px;display:inline-block}.mascot-talk{color:#405ca1;background:#fff;border:2px solid #d8e4ff;border-radius:16px;margin:17px 10px 20px;padding:10px 14px;position:relative;box-shadow:0 4px #d7e2f8}.mascot-talk:before{content:"";background:#fff;border-top:2px solid #d8e4ff;border-left:2px solid #d8e4ff;width:16px;height:16px;position:absolute;top:-10px;left:38px;transform:rotate(45deg)}.choice-box,.effort-box,.card,.calendar-card,.mini-summary{border:3px solid #fff;border-radius:22px;box-shadow:0 5px #e7deef,0 8px 20px #4d4b7317}.choice-box.school{background:linear-gradient(145deg,#e8f5ff,#f3efff);border:3px solid #fff;box-shadow:0 5px #bed8f4}.choice-box.chore{background:linear-gradient(145deg,#fff8dc,#fff1e4);box-shadow:0 5px #f0d7a5}.effort-box{background:linear-gradient(145deg,#fff,#f7efff);box-shadow:0 5px #dfcbed}.box-title>span{background:linear-gradient(145deg,#678ff1,#3e69d5);border:2px solid #a9c1ff;border-radius:14px;box-shadow:0 3px #274ea9}.choice-box.chore .box-title>span{background:linear-gradient(145deg,#ffba56,#f18e43);border-color:#ffd699;box-shadow:0 3px #c36f2f}.effort-box .box-title>span{background:linear-gradient(145deg,#df86e8,#ae61ca);border-color:#efbaf4;box-shadow:0 3px #86449e}.choice-list button{border:2px solid #e6e7f2;border-radius:14px;transition:transform .15s,box-shadow .15s;box-shadow:0 3px #dcddea}.choice-list button:active{transform:translateY(2px);box-shadow:0 1px #dcddea}.choice-list button.checked{background:linear-gradient(145deg,#e2faef,#d5f5e6);border-color:#88d8b7;box-shadow:0 3px #81c7a9}.choice-list button i{border-radius:9px}.primary{background:linear-gradient(145deg,#678ff1,#3e69d5);border:2px solid #91adf4;transition:transform .15s,box-shadow .15s;box-shadow:0 4px #2b51ac}.primary:active{transform:translateY(3px);box-shadow:0 1px #2b51ac}.daily-total,.allowance-hero{background:linear-gradient(135deg,#fff9d7,#ffe893 60%,#ffd7a1);border:3px solid #fff;box-shadow:0 6px #f0ca60,0 10px 26px #ab6f0026}.bottom-nav{border-top:3px solid #fff0d6;box-shadow:0 -5px 18px #58507a1a}.bottom-nav button{font-weight:700}.bottom-nav .active{color:#416bd1}.bottom-nav .active i{transform:translateY(-2px)scale(1.08)}.streak-card{border:3px solid #fff;box-shadow:0 5px #ffcbb8}.settings-intro{background:linear-gradient(145deg,#e7f3ff,#f1edff);border:3px solid #fff;border-radius:22px;box-shadow:0 5px #cddbf8}@media (prefers-reduced-motion:no-preference){.hero-mascot{animation:3s ease-in-out infinite mascot-float}.avatar img{animation:2.8s ease-in-out infinite mascot-peek}.choice-list button.checked i{animation:.35s ease-out star-pop}@keyframes mascot-float{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-6px)rotate(1deg)}}@keyframes mascot-peek{0%,to{transform:scale(1.45)rotate(0)}50%{transform:scale(1.48)rotate(4deg)}}@keyframes star-pop{50%{transform:scale(1.22)rotate(8deg)}}}@media (width<=360px){.pop-hero{padding-left:112px}.hero-mascot{width:137px}.hero-progress{gap:7px}.hero-progress .ring{flex-basis:68px;width:68px;height:68px}.hero-card h2{font-size:19px}}
