*{box-sizing:border-box}
:root{--paper:#fff9f5;--blush:#f5e0dd;--rose:#a55564;--roseDark:#844251;--ink:#694538;--sub:#785749;--line:#ecd2cc;--ivory:#fffcf8;--shadow:0 5px 15px #a05b4c19;--radius:20px;color-scheme:light;font:16px/1.55 "Yu Gothic UI",Meiryo,"Hiragino Sans",system-ui,sans-serif}
body{margin:0;color:var(--ink);background-color:#f8e9e3;background-image:repeating-linear-gradient(0deg,#ecc1c518 0 22px,transparent 22px 44px),repeating-linear-gradient(90deg,#ecc1c518 0 22px,transparent 22px 44px)}
main{margin:0 auto;max-width:900px;padding:14px 17px calc(103px + env(safe-area-inset-bottom));display:grid;gap:13px}
h1,h2,h3,p,ul{margin:0}h1,h2,h3{line-height:1.28}
h2{font-size:20px;margin-bottom:11px}h3{font-size:17px}svg{width:22px;height:22px;flex:none}
a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}
button,.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;text-align:center;line-height:1.25;border-radius:99px;padding:8px 14px;border:1px solid var(--line);background:var(--ivory);box-shadow:0 2px 5px #a9776410;font-weight:720;cursor:pointer;text-decoration:none}
button:hover,.button:hover{border-color:#af7a73}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,label.button:focus-within{outline:3px solid #a35868;outline-offset:2px}
button:disabled{cursor:default;opacity:.48}
.primary,.selected{color:#fff;background:linear-gradient(128deg,#ae5c6b,#9e5060);border-color:#a35462}
.primary:hover,.selected:hover{background:var(--roseDark)}
.blush{background:var(--blush)}.danger,.error{color:#932c49}.error{overflow-wrap:anywhere}
[hidden]{display:none!important}
.hero{position:relative;overflow:hidden;isolation:isolate;min-height:176px;display:grid;place-items:center;border-radius:24px;background:radial-gradient(ellipse at 52% 40%,#fffdf8 3%,#fff6ec 50%,#f4dcd8);border:1px solid #f0d3ca;box-shadow:var(--shadow)}
.hero-flowers,.hero-latte{position:absolute;z-index:-1;pointer-events:none;background-size:cover;background-position:center}
.hero-flowers{left:0;top:0;bottom:0;width:27%;background-image:url(flowers.jpg);background-position:left center;mask-image:linear-gradient(90deg,black 64%,transparent)}
.hero-latte{right:0;bottom:0;width:26%;height:70%;background-image:url(latte.jpg);background-position:right bottom;mask-image:radial-gradient(ellipse at 80% 66%,black 43%,transparent 79%)}
.hero-title{text-align:center;padding:13px 12px;z-index:0}.hero-title p{font:italic 24px/1.1 Georgia,"Yu Mincho",serif;color:#89584b;margin-bottom:9px}
.hero-title h1{font-size:clamp(28px,6vw,49px);letter-spacing:.045em;color:#714b3d}
.hero-title h1::after{content:"";display:block;width:73%;height:5px;margin:10px auto 0;border-radius:80% 35% 80% 35%;transform:rotate(-2deg);background:linear-gradient(90deg,#f7e1dc,#e3adad,#f7e1dc)}
.gear,.circle{width:45px;padding:5px;flex:none}.hero .gear{position:absolute;top:9px;right:12px;background:#fff8f4e8}
.small-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 1px}
.small-heading h1{font-size:clamp(25px,5vw,35px)}
.card{min-width:0;background:#fffaf6;border:1px solid var(--line);box-shadow:var(--shadow);padding:16px;border-radius:var(--radius)}
.hint{color:var(--sub);font-size:14px;line-height:1.55;margin:4px 0 8px}
.actions,.shortcuts,.chips,.quick,.pill-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.chips button{min-height:43px;padding-inline:14px}
.pill-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pill-tabs button{min-height:54px;font-size:clamp(14px,3vw,18px)}
.shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.shortcuts>*{min-height:47px;font-size:14px;padding:6px 3px}
.quick{display:grid;grid-template-columns:1fr 1fr}.quick a{min-height:48px}
.today{text-align:center;background:linear-gradient(145deg,#fffaf5,#f5dedf);padding:21px 15px}
.today>span{font-size:18px;font-weight:760;display:flex;align-items:center;justify-content:center;gap:6px}
.today>strong{display:block;font-size:clamp(37px,8vw,62px);line-height:1.22;color:var(--roseDark);letter-spacing:-.04em;overflow-wrap:anywhere}
.today>p{font-size:14px;margin:6px 0 11px}.today .actions{justify-content:center}
.stats{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.stats.two{grid-template-columns:1fr 1fr}
.stat{padding:11px 12px;display:grid;gap:4px;background:var(--ivory);border:1px solid var(--line);border-radius:14px;min-width:0}
.stat span{font-size:14px;color:var(--sub)}.stat strong{font-size:clamp(17px,4vw,26px);line-height:1.25;overflow-wrap:anywhere}
.stats.two .stat{background:var(--blush);box-shadow:none;border:0}.line-label{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:9px;font-size:14px}
progress{height:11px;width:100%;accent-color:var(--rose);border:none;border-radius:99px;overflow:hidden;display:block;margin-top:5px}
progress::-webkit-progress-bar{background:#f4dfda}progress::-webkit-progress-value{background:#b86b76;border-radius:99px}
.shop-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}.shop-head h2{display:flex;align-items:center;gap:6px;margin:0}.shop-head h2 strong{font-size:25px;color:var(--rose)}
.shop-head>span{border-radius:99px;padding:5px 9px;background:#f6dbdc;color:#82505a;font-size:14px;font-weight:700}
.items,.compact,.records{list-style:none;padding:0}
.items li{display:grid;grid-template-columns:44px 54px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:64px;border-top:1px dashed var(--line)}
.items li:first-child{border:0}
.tick{width:44px;height:44px;padding:3px;border:2px solid #b7837c;border-radius:10px;background:#fffdf9;color:#8f495b;box-shadow:none}
.tick.checked{background:#f9e0e3}.product-icon{font-size:27px;text-align:center;background:#faece9;border-radius:11px;padding:2px;line-height:44px}
.product-name{min-width:0;display:grid;justify-content:start;justify-items:start;text-align:left;gap:2px;box-shadow:none;border:0;border-radius:6px;background:transparent;padding:5px 2px}
.product-name strong{font-size:18px;overflow-wrap:anywhere}.product-name small{font-size:13px;overflow-wrap:anywhere;color:var(--sub)}
.price{white-space:nowrap;font-weight:750}
.shop-totals{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin-top:12px;padding:10px 0}
.shop-totals div{padding:2px 9px;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.shop-totals div+div{border-left:1px solid var(--line)}
.shop-totals span{font-size:13px;color:var(--sub);font-weight:670;min-width:0}.shop-totals strong{display:block;color:var(--roseDark);font-size:clamp(16px,4.4vw,24px);line-height:1.2;overflow-wrap:anywhere}
.shop-add>*{flex:1}.shop-add .primary{min-height:52px}
.compact li{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(69px,94px) auto;align-items:center;gap:6px;padding:4px 0;border-top:1px dashed var(--line)}.compact li:first-child{border:0}
.records li{display:flex;align-items:center;gap:6px;border-top:1px dashed var(--line);padding:3px 0}.records li:first-child{border:0}
.record{width:100%;border:0;box-shadow:none;background:none;border-radius:6px;display:flex;justify-content:space-between;text-align:left;padding:5px 0}
.record>span{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.record small{font-size:12px;color:var(--sub)}.record b{flex:none}
.month{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.month button{width:44px;padding:3px}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:9px}
.weekday{text-align:center;font-size:13px}.day{border-radius:8px;display:flex;flex-direction:column;justify-content:start;min-height:59px;gap:1px;padding:3px;overflow:hidden}
.day small{max-width:100%;font-size:11px;overflow-wrap:anywhere}.day[aria-pressed=true]{background:var(--blush);border-color:#a77773}
.chart{padding:3px 0 8px}.report-total{margin-top:7px}.report-total strong{font-size:26px;color:var(--roseDark)}
nav{position:fixed;z-index:2;width:min(864px,calc(100% - 22px));left:50%;bottom:calc(8px + env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;background:#fffaf5f8;box-shadow:0 5px 23px #90524427;border:1px solid var(--line);border-radius:20px;padding:5px}
nav a{text-decoration:none;min-height:57px;border-radius:14px;display:grid;align-content:center;justify-items:center;gap:3px;font-weight:750;font-size:13px;line-height:1.15;text-align:center;padding:3px 0}
nav a[aria-current=page]{background:#f8e2e1;color:#943e54}
dialog{max-height:88dvh;width:min(640px,calc(100% - 25px));padding:14px;border-radius:20px;border:1px solid var(--line);color:var(--ink);background:var(--paper);overflow:auto}
dialog::backdrop{background:#4e33276f}#modal{display:grid;gap:10px}#modal>header{display:flex;align-items:center;justify-content:space-between;gap:6px}#modal>header h2{margin:0}
label{display:grid;gap:3px;font-size:14px;font-weight:700}
input:not([type=checkbox]),select,textarea{min-height:44px;padding:7px 8px;background:#fffdfa;border:1px solid var(--line);border-radius:8px;font-size:16px;min-width:0;width:100%}
textarea{min-height:86px;resize:vertical}.check{display:flex;align-items:center;gap:5px;min-height:40px}.check input{width:22px;height:22px;accent-color:var(--roseDark);flex:none}
.form-grid,.expense-line,.recipe-line{display:grid;gap:6px}.form-grid,.recipe-line{grid-template-columns:repeat(2,minmax(0,1fr))}
.expense-line{grid-template-columns:minmax(0,1.4fr) minmax(0,.75fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;background:#f8e8e3;padding:7px;border-radius:10px;margin-bottom:7px}.delete-line{min-width:40px;padding:4px}.goal{border-bottom:1px dashed var(--line);padding-bottom:8px}.goal .actions{margin-top:6px}
#toast{position:fixed;left:50%;bottom:calc(80px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:5;background:#764754;color:white;padding:8px 14px;border-radius:11px;width:max-content;max-width:calc(100% - 20px)}
@media(max-width:550px){
main{padding:8px 8px calc(92px + env(safe-area-inset-bottom));gap:9px}
.hero{min-height:143px;border-radius:17px}.hero-title p{font-size:18px}.hero-title h1{font-size:clamp(25px,6.8vw,39px)}.hero .gear{top:6px;right:6px}
.card{padding:11px;border-radius:15px}.shortcuts>*{font-size:12px}.shortcuts svg{width:17px;height:17px}
.items li{grid-template-columns:44px 35px minmax(0,1fr) auto;gap:5px}.product-icon{font-size:19px;line-height:36px}.product-name strong{font-size:16px}.price{font-size:14px}
.stat{padding:7px}.stat span{font-size:12px}.stats{gap:5px}
nav{width:calc(100% - 12px);padding:4px}nav a{font-size:11px;min-height:49px}nav svg{width:20px;height:20px}
.expense-line{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.delete-line{grid-column:2;justify-self:end}
}

@font-face{font-family:"Zen Maru Gothic";src:url("ZenMaruGothic-Regular.ttf") format("truetype");font-display:swap}
:root{--paper:#fffbfa;--ivory:#fffefa;--blush:#fae5e9;--rose:#a34e66;--roseDark:#894259;--ink:#564044;--sub:#725960;--line:#efd5dd;--shadow:0 5px 16px #a2597015;font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Yu Gothic UI",sans-serif}
body{background-color:#fdf4ef;background-image:repeating-linear-gradient(0deg,#eec4cb18 0 21px,transparent 21px 42px),repeating-linear-gradient(90deg,#eec4cb18 0 21px,transparent 21px 42px)}
.hero{background:radial-gradient(ellipse at 52% 44%,#fffefa 5%,#fff4ec 56%,#f8dce4)}
.hero-title h1{color:#6c4a50}.hero-title p{color:#80525e}.hero-title h1::after{background:linear-gradient(90deg,#f8e4e7,#edb5c3,#f8e4e7)}
.primary,.selected{background:#ad5970;border-color:#ad5970}.primary:hover,.selected:hover{background:#8c445c}
.card{border-radius:24px;background:#fffdf9}.today{background:linear-gradient(135deg,#fff9f3,#f9e0e6);min-height:0;padding:13px}
.today>strong{font-size:clamp(37px,8vw,59px)}.today>p{margin:2px 0 1px}.record-cta{min-height:58px;font-size:clamp(18px,4.6vw,22px);width:100%;box-shadow:0 7px 15px #ac567136}
.today-used{display:block;font-size:clamp(25px,6vw,34px);line-height:1.25;margin-bottom:6px;color:var(--roseDark)}
.spend-pills{display:flex;flex-wrap:wrap;gap:6px}.spend-pills span{display:flex;gap:7px;align-items:center;padding:5px 8px;background:#fbeaf0;border-radius:99px;font-size:14px}
.wallet-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.wallet-summary .stat:nth-child(odd){background:#fff4f7}
.wallet-summary .wallet-debt{background:#f8dbe5}.top-gap{margin-top:10px}
.entry-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.entry-tile{min-height:121px;display:grid;align-content:center;justify-items:center;gap:5px;border-radius:19px;background:#fff9fb;padding:7px}
.entry-tile:nth-child(2){background:#fff8ef}.entry-tile:nth-child(3){background:#fbe6ef}.entry-tile:nth-child(4){background:#fff2e1}
.entry-tile img{width:65px;height:60px;object-fit:contain}.tile-emoji{font-size:44px;height:60px;display:grid;place-items:center}
.gacha-big{width:140px;height:132px;object-fit:contain;margin:auto;display:block}.gacha-prices>*{flex:1;min-height:51px}.quick-count{display:flex;justify-content:space-between;gap:8px;padding:5px 0}.quick-count>span{white-space:nowrap}
.line-stock{grid-column:1/-1;min-width:0;display:grid;grid-template-columns:minmax(84px,.9fr) minmax(0,1fr) minmax(0,1fr);gap:7px;align-items:end;border-top:1px dashed var(--line);padding-top:3px}.line-stock .hint{grid-column:1/-1;margin:0;font-size:12px}
.shopping-group{font-size:14px;color:#72525e;margin:10px 0 4px}.compact li>span{overflow-wrap:anywhere}.compact small{display:block;font-size:12px;color:var(--sub)}
.meal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:8px}
.meal-tile{display:grid;justify-items:start;gap:5px;background:#fff5f8;border:1px solid var(--line);border-radius:18px;padding:11px}.meal-tile>span{font-size:26px}
.meal-lines{padding:0;list-style:none}.meal-lines li{display:flex;justify-content:space-between;gap:9px;padding:5px 0;border-bottom:1px dashed var(--line)}
#meal-servings{width:90px}#toast button{margin-left:9px;min-height:38px;color:#673b49;background:#fff3f5}
nav{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:550px){
.hero{min-height:114px}.card{border-radius:18px}
.wallet-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
nav a{font-size:10px;white-space:nowrap}
}


:root{--paper:#fff9fd;--ivory:#fff;--blush:#ffe6f1;--rose:#aa3766;--roseDark:#8f315a;--ink:#542e49;--sub:#76556d;--line:#f6cbe0;--shadow:0 5px 0 #f8cfdf,0 14px 24px #d85e9516}
body{background-color:#fff2f8;background-image:radial-gradient(#f6bfdb68 1.5px,transparent 1.5px);background-size:18px 18px}
main{max-width:900px;gap:14px}
.hero{min-height:106px;display:flex;justify-content:space-between;gap:8px;padding:10px 14px 10px 22px;border:2px solid #f5c0db;border-radius:28px;background:linear-gradient(155deg,#fff 0%,#fff1f8 56%,#ffdcea);overflow:hidden}
.hero-title{text-align:left;padding:0;min-width:0}.hero-title h1{font-size:clamp(25px,5.5vw,45px);color:#733251;letter-spacing:.01em}.hero-title p{font:italic clamp(12px,3vw,17px)/1.2 Georgia,serif;color:#9b446e;margin-bottom:3px}.hero-title h1::after{height:4px;margin:5px 0 0;background:#f6b9d8}
.hero>.sticker{width:94px;height:80px;object-fit:contain;margin-right:53px}.hero .gear{position:static;background:#fff;width:42px;height:42px;min-height:42px}
.hero:not(.home-hero)>.gear{position:absolute;right:11px;top:10px}
.home-tools{display:flex;align-items:center;gap:6px}
.wallet-launch{width:73px;height:64px;min-height:0;padding:0;background:#fff7fb;border:2px solid #f8c4dd;box-shadow:0 4px 0 #f5bcd7;flex:none}
.sticker{width:70px;height:61px;object-fit:contain;flex:none;vertical-align:middle}.wallet-launch>.sticker{width:100%;height:100%}
.small-heading{padding:3px 7px 3px 0}.small-heading h1{display:flex;align-items:center;gap:3px;font-size:clamp(24px,5vw,34px)}.small-heading .sticker{width:62px;height:52px}
.card{border:2px solid #f8cfe3;padding:14px 16px;border-radius:26px;background:#fffdfd;box-shadow:0 4px 0 #f9d6e7}
.card h2{color:#733653}.today{background:radial-gradient(ellipse at 12% 8%,#fff,transparent 56%),linear-gradient(155deg,#fff0f8,#ffdbec);border:2px solid #f7bedb}
.today strong,.today-used{color:#a63c69}.today p{color:#7c4b67}
.primary,.selected,.button.primary{background:#f5a3cb;border:2px solid #ee87b6;color:#602744;box-shadow:0 4px 0 #e784b2}
.primary:hover,.selected:hover,.button.primary:hover{background:#ffc1df;color:#602744}
button:not(.primary):not(.selected),.button:not(.primary){box-shadow:0 3px 0 #f6d1e4}
.record-cta{min-height:55px;font-weight:850}
.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.home-shortcuts .button{display:grid;justify-items:center;align-content:center;gap:0;border-radius:19px;padding:5px 3px 8px;background:#fff5fa;line-height:1.18}
.home-shortcuts .button:nth-child(2){background:#f3faec}.home-shortcuts .button:nth-child(3){background:#faf0ff}.home-shortcuts .button:nth-child(4){background:#fff4eb}
.home-shortcuts .sticker{width:62px;height:51px}.home-shortcuts a{font-size:14px}
.spend-pills span,.stats.two .stat{background:#ffe5f2}.wallet-summary .stat:nth-child(odd){background:#fff0f7}.wallet-summary .wallet-debt{background:#ffe6f2}
.wallet-mascot{display:flex;justify-content:center;gap:0}.wallet-mascot img{width:83px;height:71px}
nav{background:#fff9fdef;border:2px solid #f4c4dc;box-shadow:0 5px 18px #af467427;padding:3px}
nav a{color:#734660;padding:2px;gap:0}nav a .sticker{width:46px;height:36px}nav a[aria-current=page]{background:#ffe2ef;color:#85264f}
dialog{background:#fff8fc;border:2px solid #f4bdd8;border-radius:25px;box-shadow:0 9px 0 #edabd099,0 20px 65px #9e3c7060}
dialog::backdrop{background:#813d6959}
label{color:#5f3b54}input:not([type=checkbox]),select,textarea{border:1.5px solid #efc8dc;border-radius:13px;background:#fff}
.entry-tile{min-height:105px;background:#fff0f7!important;border-radius:21px;border:2px solid #f3c6dc;font-size:17px}
.entry-tile:nth-child(2){background:#fbf0ff!important}.entry-tile:nth-child(3){background:#ffedf6!important}.entry-tile:nth-child(4){background:#fff5e8!important}
.entry-tile img{width:78px;height:62px}
.method-chip{display:flex;align-items:center;gap:8px;padding:5px 9px;border-radius:16px;background:#ffe5f1;font-weight:750}.method-chip .sticker{width:41px;height:34px}.method-chip button{margin-left:auto;min-height:40px}
.fallback-guide{background:#fff0f7;border:1px solid #f6cbe0;border-radius:15px;padding:10px}.fallback-guide ol{margin:5px 0;padding-left:1.6em;font-size:14px}.fallback-guide .hint{margin:4px 0 0}
.data-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.data-tiles button{border-radius:20px;justify-content:flex-start;padding:4px 10px}.data-tiles .sticker{width:44px;height:40px}
#toast{background:#fff0f8;color:#652b4c;border:2px solid #f4b7d6}
@media(max-width:550px){
main{gap:11px}.hero{min-height:87px;padding:8px 9px;border-radius:21px}.hero .gear{width:36px;min-height:36px;height:36px}
.hero .gear svg{width:18px;height:18px}.hero:not(.home-hero)>.gear{right:7px;top:6px}.hero>.sticker{width:69px;height:59px;margin-right:38px}
.wallet-launch{width:59px;height:53px}.home-tools{gap:4px}
.card{border-radius:20px;padding:11px}.today{padding:9px}.record-cta{min-height:49px}
.home-shortcuts .sticker{width:46px;height:41px}.home-shortcuts a{font-size:11px}
nav a .sticker{width:37px;height:31px}nav a{min-height:46px}
.data-tiles button{font-size:13px}
}

.juice-sticker{position:relative;display:block;height:62px}.juice-sticker span{position:absolute;right:0;bottom:0;font-size:19px;line-height:1;background:#fff4fa;border-radius:99px;padding:3px}

@font-face{font-family:"Atoikura Title";src:url("ZenMaruGothic-Bold.ttf") format("truetype");font-style:normal;font-weight:700;font-display:swap}
.home-hero .hero-title h1{font-family:"Atoikura Title","Zen Maru Gothic",sans-serif;color:#945b70;font-size:clamp(29px,6vw,47px);letter-spacing:.045em;line-height:1.13}
.home-hero .hero-title h1::after{content:none}
.home-hero .hero-title p{font:650 clamp(11px,2.9vw,14px)/1.28 "Zen Maru Gothic",sans-serif;letter-spacing:.12em;color:#8a6373;margin:7px 0 0}
.home-hero .hero-title{padding:5px 0}
.reserve-warning{color:#8a3558;font-weight:720;background:#fff3f8;border:1px solid #efbdcf;border-radius:11px;padding:6px 9px}
.reserve-section h2{display:flex;align-items:center;gap:4px;margin-bottom:7px}
.reserve-section h2 .sticker{width:39px;height:36px}
.reserve-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.reserve-tabs button{min-height:44px;font-size:clamp(13px,3.2vw,16px);padding:6px 4px}
.reserve-summary{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0;border-radius:14px;background:#fff1f6;padding:8px 9px;color:#704c61;font-size:13px}
.reserve-summary strong{display:block;font-size:clamp(16px,4.0vw,22px);line-height:1.22;color:#7b4a67;overflow-wrap:anywhere}
.reserve-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:9px;margin-top:9px}
.reserve-plan{padding:10px;border:1px solid #efd0e0;border-radius:17px;background:#fff9fc;min-width:0}
.reserve-title{display:flex;align-items:center;gap:6px}
.reserve-title span{background:#fbe5ee;border-radius:12px;padding:3px 6px;font-size:21px}
.reserve-title h3{overflow-wrap:anywhere;color:#744b61}
.reserve-plan .line-label b{color:#8a4768}.reserve-plan .hint{margin:4px 0}
.reserve-plan progress::-webkit-progress-value{background:linear-gradient(90deg,#efb9d5,#dfa7bf)}
.reserve-success{background:#f8e3ec;border-radius:10px;padding:6px;color:#8b4267;font-weight:800}
.reserve-plan-actions{margin-top:7px;gap:6px}
.reserve-plan-actions button{min-height:41px;padding:6px 10px;font-size:13px}
.reserve-photo{width:100%;height:145px;object-fit:contain;border-radius:10px;background:#fff2fa;margin-bottom:6px}
.reserve-history{margin-top:10px}.reserve-history summary{cursor:pointer;color:#684058;font-weight:750}
.reserve-url{color:#8a4165;font-weight:700;font-size:14px;display:inline-block;margin-top:4px}


.fund-art{display:inline-block;width:42px;height:42px;vertical-align:middle;object-fit:contain;flex:none}
.reserve-title>.fund-art{width:48px;height:48px}
.fund-picker{border:1px solid #f1d2e0;border-radius:17px;background:#fff7fa;padding:7px 8px 9px;margin:0;min-width:0}
.fund-picker legend{font-size:14px;font-weight:750;padding:0 4px}
.fund-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.fund-choice{display:block;position:relative;cursor:pointer;min-width:0}
.fund-choice input[type=radio]{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;z-index:1;cursor:pointer}
.fund-choice-frame{position:relative;display:grid;place-items:center;border:2px solid #edd9e0;border-radius:14px;background:#fffefe;aspect-ratio:1;padding:3px}
.fund-choice-frame .fund-art{width:100%;height:100%;min-width:0;min-height:0;pointer-events:none}
.fund-choice:hover .fund-choice-frame{border-color:#c284a0}
.fund-choice input:checked+.fund-choice-frame{border-color:#b46a8c;background:#ffeaf3;box-shadow:0 1px 0 #e4a5bf}
.fund-choice input:focus-visible+.fund-choice-frame{outline:2px solid #874468;outline-offset:2px}
.fund-selected{display:none;position:absolute;right:1px;top:1px;background:#b46a8c;color:#fff;border-radius:100%;width:18px;height:18px;place-items:center}
.fund-selected svg{width:13px;height:13px}
.fund-choice input:checked+.fund-choice-frame .fund-selected{display:grid}
.calendar-cell{display:flex;flex-direction:column;background:#fffaf7;border:1px solid var(--line);border-radius:12px;min-width:0;padding-bottom:3px}
.calendar-cell.current{background:#fae7ef;border-color:#d596af}
.calendar-cell .day,.calendar-cell .day:not(.primary):not(.selected){border:none;background:transparent;border-radius:11px;box-shadow:none;width:100%;min-height:41px;flex:none;overflow:visible}
.calendar-cell .day:hover{background:#fbeaf1}
.calendar-fund-stickers{display:flex;gap:1px;flex-wrap:wrap;align-content:start;justify-content:center;padding:1px 0}
.calendar-fund-icon,.calendar-fund-stickers button:not(.primary):not(.selected){position:relative;display:inline-grid;place-items:center;width:27px;min-height:25px;height:25px;border-radius:7px;padding:0;border:1px solid transparent;background:#fff3f7;box-shadow:none}
.calendar-fund-icon:hover,.calendar-fund-stickers button:not(.primary):not(.selected):hover{border-color:#c18aa1}
.calendar-fund-icon .fund-art{width:24px;height:23px}
.calendar-fund-icon.complete{opacity:.74}
.calendar-fund-icon.complete::after{content:"";position:absolute;right:0;bottom:1px;width:5px;height:9px;border:solid #4d8060;border-width:0 2px 2px 0;transform:rotate(38deg)}
.calendar-fund-icon.extra{color:#7b4b61;font-size:11px;font-weight:800}
.calendar-funds-day{border-top:1px solid var(--line);margin:10px 0;padding-top:8px}
.calendar-funds-day h3{font-size:15px}
.calendar-fund-row{display:grid;grid-template-columns:auto 1fr auto;gap:6px}.calendar-fund-row .fund-art{width:36px;height:36px}
.fund-detail{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.fund-detail div{background:#fff0f6;padding:6px 8px;border-radius:10px}
.fund-detail dt{font-size:13px}.fund-detail dd{margin:0;font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:470px){
.fund-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.fund-choice-frame{border-radius:10px}
.calendar{gap:2px}.calendar-cell{border-radius:8px}.calendar-cell .day{font-size:13px;min-height:36px}
.calendar-fund-icon,.calendar-fund-stickers button:not(.primary):not(.selected){width:22px;height:24px;min-height:24px}
.calendar-fund-icon .fund-art{width:20px;height:21px}
}
