*{box-sizing:border-box}body{margin:0;background:#efedff;color:#171b49;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #7f59db;outline-offset:3px}.mp-app{max-width:540px;margin:auto;padding:14px 13px 92px;background:linear-gradient(145deg,#ece7ff,#fafaff 60%,#f2efff);min-height:100dvh}.mp-top{height:54px;display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}.mp-top h1{font-size:21px;margin:0;font-weight:750}.mp-top>a,.mp-top>button{display:grid;place-items:center;width:36px;height:40px;background:transparent;font-size:25px}.mp-hero{padding:14px 18px 9px;border-radius:14px;background:#e8ddfb url('../assets/plan/my-breakfast-hero.webp') center/cover;min-height:150px}.mp-hero h2{font-size:20px;line-height:1.35;margin:0 0 3px}.mp-hero p{font-size:13px;color:#656690;margin:0 0 6px}.mp-hero p>i{color:#72a654}.mp-hero .mp-target{display:flex;align-items:center;gap:5px;font-size:13px;margin-top:6px}.mp-target i{color:#9760e8!important;font-size:21px}.mp-stats{display:flex;width:65%;min-width:283px;padding:10px 9px;margin-top:8px;background:#ffffffcb;border-radius:13px;gap:10px}.mp-stats>div{display:flex;align-items:center;gap:6px;border-right:1px solid #dcd0fa;padding-right:10px}.mp-stats>div:last-child{border:0;padding:0}.mp-stats i{font-size:23px;color:#9c72e3}.mp-stats b{display:block;font-size:13px;white-space:nowrap}.mp-stats small{display:block;font-size:10px;color:#8887ab;margin-top:2px}.mp-panel{margin-top:9px;padding:10px 12px;background:rgba(255,255,255,.92);border-radius:16px}.mp-heading{display:flex;align-items:center;gap:7px;margin-bottom:10px}.mp-heading h2{display:flex;align-items:center;gap:7px;font-size:17px;margin:0;white-space:nowrap}.mp-heading h2 i{font-size:22px;color:#a078ea}.mp-heading>span{margin-left:auto;font-size:10px;color:#8b8eac}.mp-heading>span i{color:#be9be9}.mp-heading em{padding:4px 8px;font-size:10px;font-style:normal;color:#ea6b54;background:#fff0ec;border-radius:99px;white-space:nowrap}.mp-heading button{margin-left:auto;color:#8d79c0;background:transparent;font-size:11px}.mp-today{display:grid;grid-template-columns:25% 1fr;gap:13px}.mp-today>img{width:100%;height:118px;object-fit:cover;border-radius:12px}.mp-today h3{margin:1px 0 3px;font-size:16px}.mp-today p{margin:0;color:#8b8bac;font-size:11px}.mp-ingredients{display:flex;gap:8px;line-height:1.65;padding:8px 0;color:#626687!important}.mp-ingredients i{font-size:17px}.mp-tags{display:flex;gap:6px;flex-wrap:wrap}.mp-tags span{border-radius:99px;padding:5px 9px;background:#efe8fe;color:#9580c8;font-size:10px}.mp-tags span:nth-child(2){background:#ecfaf1;color:#72a986}.mp-tags span:nth-child(3){background:#fff0e8;color:#c98b6b}.mp-tags span:nth-child(4){background:#eaf2ff;color:#789bd5}.mp-actions{display:flex;gap:9px;margin-top:10px}.mp-actions button{flex:1;border:1px solid #d8c5ff;border-radius:12px;padding:10px;color:#9b70e6;background:#faf6ff;font-size:14px;font-weight:650}.mp-actions i{margin-right:6px;font-size:20px;vertical-align:middle}.mp-actions .primary{background:linear-gradient(100deg,#a98ce2,#9375d2);color:white;border-color:transparent}.mp-actions button:disabled{opacity:.72;cursor:default}.mp-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.mp-day{min-width:0;padding:7px 4px;border:1px solid transparent;border-radius:10px;background:#f7f7fd;color:#424a73;text-align:center}.mp-day.selected{border-color:#b18bff;background:#f5f0ff;color:#9766ed}.mp-day>span{display:block;font-size:11px}.mp-day small{font-size:9px;color:#989abb}.mp-day img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;margin:7px 0 3px}.mp-day b{display:block;font-size:10px;font-weight:500;min-height:33px;line-height:1.4}.mp-day em{display:inline-block;font-style:normal;font-size:9px;background:#eeeef9;color:#a3a3be;padding:4px 7px;border-radius:99px;margin-top:4px}.mp-day.selected em{color:white;background:#a581ec}.mp-day em.done{color:#9a6ae1;background:#e9ddfc}.mp-swaps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.mp-swaps button{display:flex;align-items:center;gap:6px;min-width:0;padding:9px 6px;background:#f8f7fd;border-radius:11px;text-align:left;color:#353864}.mp-swaps img{width:30%;height:51px;object-fit:cover;border-radius:7px}.mp-swaps i{font-size:33px;color:#b7b2ce}.mp-swaps b{font-size:10px;line-height:1.45;display:block}.mp-swaps small{font-size:8px;line-height:1.5;color:#9392b1;display:block;margin-top:6px}.mp-records{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.mp-record{border:1px solid #eeeaf9;border-radius:10px;padding:6px;min-width:0}.mp-record>small{font-size:9px;color:#9293ad}.mp-record>small span{float:right;color:#55a875}.mp-record>div{display:flex;align-items:center;gap:7px;margin-top:7px}.mp-record img{width:37%;aspect-ratio:1;object-fit:cover;border-radius:8px}.mp-record b{font-size:10px;font-weight:500}.mp-record .mp-tags{margin-top:6px;gap:3px}.mp-record .mp-tags span{font-size:8px;padding:3px 6px}.mp-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,540px);display:flex;justify-content:space-around;background:#fffffff5;padding:10px 6px max(13px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0;z-index:20;box-shadow:0 -3px 15px #b1a4da10}.mp-nav a{display:flex;align-items:center;flex-direction:column;color:#8b89a6;font-size:11px;gap:2px}.mp-nav i{font-size:25px}.mp-nav [aria-current]{color:#a076e9}#mp-toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);background:#3c2e5deF;color:white;padding:12px 20px;border-radius:14px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:40;font-size:13px;max-width:90vw}#mp-toast.show{opacity:1}dialog{border:0;border-radius:20px;width:min(92vw,440px);padding:25px;color:#35345b;box-shadow:0 15px 80px #51437855}dialog::backdrop{background:#39305c55;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}dialog h2{font-size:19px;margin-top:0}dialog p{font-size:14px;line-height:1.7}.mp-close{float:right;background:#f4effc;border-radius:50%;width:30px;height:30px;color:#837096}#mp-dialog-content>img{width:100%;max-height:230px;object-fit:cover;border-radius:14px}#mp-photo-result{font-size:12px;color:#806da7}@media(max-width:400px){.mp-app{padding-left:9px;padding-right:9px}.mp-panel{padding:10px 9px}.mp-heading h2{font-size:15px}.mp-heading>span{font-size:9px}.mp-today{gap:9px}.mp-today h3{font-size:14px}.mp-tags{gap:3px}.mp-tags span{padding:4px 6px;font-size:9px}.mp-day b{font-size:9px}.mp-day{padding-left:2px;padding-right:2px}.mp-stats{min-width:270px}.mp-swaps button{gap:4px}.mp-swaps b{font-size:9px}.mp-hero{padding-left:13px}.mp-hero h2{font-size:18px}}
/* Live breakfast plan: retain the reference's purple hero, white panels and food assets. */
.mp-app{padding-bottom:max(26px,env(safe-area-inset-bottom));overflow-x:clip}.mp-top{height:58px}.mp-top>a,.mp-top>button{min-width:44px;min-height:44px}.mp-hero{padding:18px;min-height:166px}.mp-hero h2{max-width:75%}.mp-stats{min-width:0;width:max-content;max-width:100%;gap:8px;margin-top:14px}.mp-stats>div{gap:5px;padding-right:9px}.mp-stats b{font-size:13px}.mp-stats small{font-size:10px}.mp-panel{margin-top:12px;padding:14px;border:1px solid #f1edfc}.mp-heading{gap:8px;flex-wrap:wrap}.mp-heading h2{font-size:18px}.mp-heading>time{margin-left:auto;font-size:11px;color:#8583a4}.mp-heading>span{font-size:11px}.mp-heading em{font-size:11px}.mp-heading em.done{background:#eaf8f0;color:#388761}.mp-heading button.mp-edit-button{display:flex;align-items:center;gap:4px;border-radius:10px;background:#f1ebff;color:#7753cc;padding:8px 12px;min-height:36px;font-size:12px;font-weight:600}.mp-meal-heading{display:flex;align-items:start;gap:8px}.mp-meal-heading h3{flex:1;min-width:0;font-size:17px;line-height:1.5}.mp-text-button{display:inline-flex;align-items:center;justify-content:center;gap:2px;color:#7955c7;background:#f6f1ff;padding:7px 9px;border-radius:9px;font-size:11px;white-space:nowrap;min-height:34px}.mp-today{grid-template-columns:27% minmax(0,1fr);gap:12px}.mp-today>img{height:auto;aspect-ratio:1/1.12;object-fit:cover}.mp-today p{font-size:12px;line-height:1.7}.mp-tags span{font-size:10px;padding:4px 8px}.mp-actions button{padding:12px 8px;min-height:48px}.mp-actions button:disabled{background:#f1eef7;color:#9590ab;opacity:1;border-color:#ebe7f2}.mp-next-note{padding:9px 12px;background:#f4f0ff;border-radius:10px;color:#7252af;font-size:12px;line-height:1.6}.mp-section-note{font-size:12px;line-height:1.6;color:#8c87a6;margin:0 0 10px}.mp-sync-status{font-size:12px;line-height:1.6;color:#8774aa;margin:8px 0 0}.mp-sync-status:empty{display:none}.mp-week{grid-template-columns:repeat(7,minmax(62px,1fr));overflow-x:auto;overscroll-behavior-x:contain;gap:5px;padding-bottom:6px}.mp-day{padding:7px 4px;display:flex;flex-direction:column;align-items:stretch}.mp-day-view{padding:0;background:none;color:inherit;display:block;width:100%;text-align:center}.mp-day-view>span,.mp-day-view>small,.mp-day-view>b{display:block}.mp-day-view>span{font-size:12px}.mp-day-view small{font-size:10px;margin-top:5px;color:#8c87a6}.mp-day-view img{margin:8px 0 4px}.mp-day-view b{font-size:11px;line-height:1.45;min-height:48px;font-weight:500;overflow-wrap:anywhere}.mp-day em{font-size:10px;margin-top:auto;align-self:center}.mp-day .mp-day-edit{margin-top:auto;border-radius:20px;color:#7750c4;background:#e7dcff;padding:7px 4px;font-size:11px;min-height:32px}.mp-swaps{gap:7px}.mp-swaps button{padding:10px 8px;align-items:start}.mp-swaps b{font-size:11px}.mp-swaps small{font-size:10px}.mp-swaps img{width:32%;height:52px}.mp-records{gap:8px}.mp-record{padding:9px;background:#fcfbff}.mp-record>small{display:flex;justify-content:space-between;gap:4px;font-size:10px;line-height:1.7;flex-wrap:wrap}.mp-record>small span{float:none;font-size:9px}.mp-record>div{align-items:start;flex-direction:column;gap:8px}.mp-record img{width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:9px;cursor:zoom-in}.mp-record b{font-size:12px;line-height:1.5}.mp-record .mp-tags span{font-size:9px}.mp-empty{grid-column:1/-1;padding:22px 12px;background:#faf8ff;border-radius:13px;color:#9187aa;font-size:13px;line-height:1.8;text-align:center}.mp-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,540px);max-width:100%;max-height:88dvh;border:0;border-radius:24px 24px 0 0;padding:10px 20px max(24px,env(safe-area-inset-bottom));color:#24234c;overflow-y:auto;overscroll-behavior:contain;animation:mp-sheet-in .24s ease-out}.mp-sheet::backdrop{background:#26213a66;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.mp-sheet-grip{width:38px;height:4px;background:#ded6ee;border-radius:4px;margin:2px auto 16px}.mp-sheet-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding-bottom:14px;border-bottom:1px solid #efeaf7;margin-bottom:16px}.mp-sheet-head h2{font-size:21px;line-height:1.5;margin:0}.mp-sheet-head p{margin:0 0 4px}.mp-close{float:none;flex:0 0 36px;width:36px;height:36px;font-size:20px}.mp-recipe-image{width:100%;max-height:230px;object-fit:cover;border-radius:16px}.mp-sheet h3{font-size:16px}.mp-steps{padding-left:24px}.mp-steps li{font-size:14px;line-height:1.9;margin:12px 0;padding-left:3px}.mp-sheet p{font-size:13px;line-height:1.8}.mp-camera{min-height:205px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1.5px dashed #d7c5f3;border-radius:18px;background:#f9f6ff;color:#987bbd;padding:22px;text-align:center}.mp-camera>i{font-size:42px}.mp-camera p{margin:0}.mp-camera img{width:100%;max-height:300px;object-fit:contain;border-radius:12px}.mp-sheet .mp-actions{margin-top:16px}.mp-save-photo,.mp-apply{width:100%;margin-top:16px;background:#9066dc;color:white;padding:14px;border-radius:13px;font-weight:650;min-height:48px}.mp-save-photo:disabled{background:#d7cbe9;cursor:default}.mp-sheet-error{color:#b25c62!important}.mp-photo-full{width:100%;max-height:66dvh;object-fit:contain;border-radius:12px}.mp-load-more{display:block;margin:18px auto 0;padding:12px 24px;background:#f0e9fc;color:#7750c4;border-radius:12px}#mp-toast{bottom:24px;z-index:10001}.mp-records .record-photo-status{font-size:11px;padding:8px;background:#f0ebf9;border-radius:8px;color:#8268a5}.mp-dialog-loading{padding:12px;color:#8b75aa}
@keyframes mp-sheet-in{from{transform:translateY(32px);opacity:.4}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.mp-sheet{animation:none}}@media(max-width:420px){.mp-hero{padding:15px}.mp-hero h2{font-size:18px}.mp-stats{padding:9px 7px;gap:6px}.mp-stats>div{padding-right:7px;gap:4px}.mp-stats i{font-size:20px}.mp-stats b{font-size:12px}.mp-stats small{font-size:9px}.mp-panel{padding:12px}.mp-heading h2{font-size:17px}.mp-today{grid-template-columns:29% minmax(0,1fr);gap:10px}.mp-meal-heading{flex-wrap:wrap;gap:3px}.mp-meal-heading h3{flex-basis:100%;font-size:16px}.mp-meal-heading .mp-text-button{padding:5px 8px;min-height:30px;margin-bottom:5px}.mp-records{grid-template-columns:1fr}.mp-record>div{flex-direction:row;align-items:center}.mp-record img{width:88px;aspect-ratio:1.1}.mp-record>div>div{flex:1}.mp-record>small{font-size:12px}.mp-record>small span{font-size:11px}.mp-record b{font-size:14px}.mp-swaps{grid-template-columns:1fr}.mp-swaps button{align-items:center;gap:12px}.mp-swaps img{width:52px;height:52px}.mp-swaps b{font-size:13px}.mp-swaps small{margin-top:3px;font-size:11px}.mp-sheet{padding-left:16px;padding-right:16px}}
.mp-load-more[hidden]{display:none!important}
/* Breakfast plan: square meal icons and a calmer, more legible daily overview. */
body{background:#f0edf7;color:#29253b}
.mp-app{background:#f7f5fb;padding:12px 18px 32px}
.mp-top{margin-bottom:12px;height:52px}
.mp-top h1{font-size:20px;letter-spacing:.5px}
.mp-top>a,.mp-top>button{color:#665977;border-radius:12px}
.mp-hero{border-radius:22px;padding:22px 18px 16px;min-height:184px;background-position:center;box-shadow:0 5px 20px #4a305709}
.mp-hero h2{font-size:21px;line-height:1.5;max-width:72%;color:#392b54}
.mp-hero p{font-size:12px;line-height:1.8;color:#7a6e8c}
.mp-hero .mp-target{font-size:11px;margin-top:8px;gap:5px}
.mp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0;padding:13px 6px;margin-top:18px;border:1px solid #ffffffc9;border-radius:15px;background:#fffffff0}
.mp-stats>div{justify-content:center;gap:6px;padding-right:0;border-color:#eee7f5}
.mp-stats i{font-size:20px;color:#9b77cc}
.mp-stats b{font-size:13px;color:#58436d}
.mp-stats small{font-size:9px;color:#998ba6}
.mp-panel{margin-top:16px;padding:18px 16px;border:1px solid #eee8f4;border-radius:20px;background:#fff;box-shadow:0 4px 15px #3f235005}
.mp-heading{margin-bottom:16px;gap:7px}
.mp-heading h2{font-size:17px;font-weight:700;gap:7px}
.mp-heading h2 i{font-size:21px;color:#9270c0}
.mp-heading>time{font-size:10px;color:#928799}
.mp-heading em{font-size:10px;padding:5px 8px;background:#fff2e8;color:#bb8952}
.mp-today{grid-template-columns:112px minmax(0,1fr);align-items:start;gap:14px}
.mp-today>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:17px;border:1px solid #f0eaf3}
.mp-meal-heading{display:flex;flex-wrap:wrap;gap:6px}
.mp-meal-heading h3{flex-basis:100%;margin:0;font-size:16px;line-height:1.6;color:#342b3d}
.mp-text-button{font-size:10px;padding:5px 8px;min-height:28px;color:#8968b0;background:#f6f1fb;border-radius:8px}
.mp-today p{font-size:11px;line-height:1.8;color:#968b9c}
.mp-ingredients{padding:8px 0;font-size:11px!important;color:#7d7188!important;gap:5px}
.mp-tags{gap:5px}
.mp-tags span{font-size:9px;padding:4px 7px;border-radius:6px;background:#f0e9f8;color:#9275b3}
.mp-actions{gap:10px;margin-top:18px}
.mp-actions button{border-radius:13px;border-color:#e6d9f3;font-size:13px;min-height:47px;background:#faf7fd;color:#9673bb}
.mp-actions .primary{background:#9572bf;color:#fff}
.mp-sync-status{margin-top:12px;font-size:11px;color:#a190ae}
.mp-section-note{font-size:11px;color:#a093ab;margin-top:-6px;margin-bottom:14px}
.mp-week{grid-template-columns:repeat(7,88px);gap:8px;padding:3px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#e1d3ed transparent}
.mp-day{padding:10px 6px;background:#faf8fc;border:1px solid #f0eaf5;border-radius:14px;scroll-snap-align:start}
.mp-day.selected{background:#f3ecfb;border-color:#be9edd;color:#79549f}
.mp-day-view>span{font-size:12px;font-weight:600}
.mp-day-view small{font-size:10px;color:#a293ae;margin-top:4px}
.mp-day-view img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:11px;margin:10px 0 8px}
.mp-day-view b{font-size:11px;line-height:1.6;min-height:54px;color:#75687f}
.mp-day em{font-size:9px;padding:4px 7px;margin-top:7px}
.mp-day.selected em{background:#a47ac9}
.mp-day em.done,.mp-day.selected em.done{color:#267451;background:#e6f5ed;font-size:10px;font-weight:600}
.mp-heading button.mp-edit-button{min-height:32px;padding:6px 10px;font-size:11px;background:#f4eefb;color:#9675b9}
.mp-swaps{grid-template-columns:1fr;gap:8px}
.mp-swaps button{align-items:center;padding:12px;gap:12px;background:#faf8fc;border:1px solid #f1ebf5;border-radius:13px}
.mp-swaps img{width:48px;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px}
.mp-swaps b{font-size:12px;font-weight:600;color:#756780}
.mp-swaps small{font-size:10px;color:#a295aa;margin-top:4px}
.mp-empty{margin:0;background:#faf8fc;color:#aa9bb5;border-radius:13px;font-size:12px;padding:24px 14px}
.mp-sheet #mp-dialog-content>.mp-recipe-image,.mp-sheet .mp-recipe-image{display:block;width:min(100%,300px);height:auto;max-height:none;aspect-ratio:1;object-fit:cover;margin:0 auto 18px;border-radius:18px}
@media(max-width:400px){.mp-app{padding-left:14px;padding-right:14px}.mp-hero{padding:18px 14px 14px}.mp-hero h2{font-size:18px}.mp-stats b{font-size:11px}.mp-stats i{font-size:18px}.mp-panel{padding:16px 13px}.mp-heading h2{font-size:16px}.mp-today{grid-template-columns:96px minmax(0,1fr);gap:12px}.mp-meal-heading h3{font-size:14px}.mp-today p{font-size:10px}.mp-ingredients{font-size:10px!important}.mp-tags span{font-size:9px;padding:4px 6px}}
@media(max-width:340px){.mp-today{grid-template-columns:80px minmax(0,1fr);gap:10px}.mp-heading>time{margin-left:0}.mp-stats i{display:none}.mp-hero h2{max-width:80%}}
/* Explicit meal choices, with today first in the coming seven days. */
#mp-edit[hidden],#mp-today-img[hidden],#mp-today-choose[hidden],#mp-tutorial[hidden],.mp-ingredients[hidden]{display:none!important}
.mp-week{grid-template-columns:repeat(7,100px);gap:9px}
.mp-day{padding:11px 7px 10px;gap:0}
.mp-day-date{text-align:center;margin-bottom:10px}
.mp-day-date>span{font-size:12px;font-weight:650;display:block}
.mp-day-date>small{display:block;margin-top:4px;font-size:10px;color:#a08dac}
.mp-day-view img{display:block;width:100%;height:auto;aspect-ratio:1;margin:0 0 8px}
.mp-day-view b,.mp-day-unplanned{font-size:11px;line-height:1.6;min-height:50px;margin:0 0 8px;color:#74637e;display:block;font-weight:500}
.mp-day-choose,.mp-today-choose{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:100%;aspect-ratio:1;border:1px dashed #cbb3e3;border-radius:12px;background:#f4edf9;color:#9571b4;padding:8px;font-size:11px}
.mp-day-choose i,.mp-today-choose i{font-size:25px}
.mp-day-choose{margin-bottom:8px}.mp-day-unplanned{display:flex;align-items:center;justify-content:center;color:#b0a1b9;text-align:center}
.mp-day .mp-day-edit{margin-top:auto;background:#eee5f7;color:#8966a5;border-radius:9px;min-height:31px;padding:6px;font-size:11px;width:100%}
.mp-day-reminder{font-size:9px;line-height:1.6;margin:8px 0 0;color:#b0a0bb;text-align:center}
.mp-day-reminder.done{color:#6b9a7c;background:#edf7f0;border-radius:8px;padding:7px 3px;margin-top:auto}
.mp-day-upload{display:flex;align-items:center;justify-content:center;gap:3px;background:#9572bf;color:#fff;border-radius:9px;padding:7px 3px;font-size:10px;margin-top:7px;min-height:32px}
.mp-today-choose{height:auto;min-width:0;align-self:start}
.mp-day-choose:hover,.mp-today-choose:hover{background:#ece0f5;border-color:#a882cb}

/* ---- iPhone 弹层滚动优化 ----
   模态弹层打开后背景仍可滚动，::backdrop 的毛玻璃与大范围阴影每帧重算，
   WebKit 实测滚动掉到 13fps。此处：锁背景、去模糊、缩小阴影、弹层独立合成层。 */
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden!important;overscroll-behavior:contain}
dialog::backdrop,.mp-sheet::backdrop{background:#26213a80;-webkit-backdrop-filter:none;backdrop-filter:none}
dialog,.mp-sheet{box-shadow:0 8px 26px #51437845;will-change:transform;contain:layout style}
/* iOS 15.4 以下无 :has() 时，由脚本添加的 body 类兜底 */
body.mp-dialog-open,html.mp-dialog-open{overflow:hidden!important}

/* iPhone 滚动：2% 透明度的 15px 阴影肉眼几乎不可见，却让 410px 高的卡片每帧重绘。
   手机端改用边框维持层次，实测滚动 38fps → 59fps；平板/桌面保留原阴影。 */
@media (max-width:640px){
  .mp-panel{box-shadow:none;border-color:#e9e2f2}
}
