.mochi-dialog{--ink:#482d3c;--soft:#8a6272;--line:#e9cbd5;--rose:#db4f79;position:fixed;inset:0;margin:auto;width:min(540px,calc(100vw - 24px));max-height:88dvh;padding:0;border:2px solid #ab768c;border-radius:22px;background:#fffaf7;color:var(--ink);box-shadow:0 6px 0 #81597055,0 24px 90px #4a234d35;font:500 16px/1.6 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif;overscroll-behavior:contain;z-index:4000}
.mochi-dialog::backdrop{background:#39243769;backdrop-filter:blur(4px)}.mochi-dialog *{box-sizing:border-box}.mochi-dialog button,.mochi-dialog input,.mochi-dialog select,.mochi-dialog textarea{font:inherit}.mochi-dialog form{margin:0}.mochi-dialog button{cursor:pointer}.mochi-dialog button:disabled{opacity:.5;cursor:default}.mf-bar{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:1;padding:13px 19px;border-bottom:1px solid var(--line);background:#fff0f3;font-size:14px;color:#824661;font-weight:800}.mf-x{background:white;border:1px solid #cd9caf;color:var(--ink);border-radius:8px;width:32px;height:32px;line-height:1}.mf-content{padding:24px}.mf-content h2{font-size:26px;line-height:1.3;margin:0 0 7px;letter-spacing:-.06em;color:var(--ink)}.mf-content h3{font-size:17px;margin:20px 0 7px;color:var(--ink)}.mf-content p{margin:6px 0 14px}.mf-lead,.mf-note{color:#795c6a}.mf-note{font-size:14px}.mf-box,.mf-item{padding:15px;border:1px solid var(--line);border-radius:14px;background:white;margin:12px 0}.mf-box.berry{background:#fff0f4}.mf-box.mint{background:#eaf7ef}.mf-box.lemon{background:#fff8db}.mf-cover{text-align:center;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff0f4;margin:16px 0}.mf-cover img{width:115px;height:115px;object-fit:contain;image-rendering:pixelated;margin:0 auto 7px}.mf-cover strong{display:block;font-size:21px}.mf-content label{display:block;margin:12px 0 5px;font-size:14px;font-weight:750}.mf-content input:not([type=checkbox]),.mf-content select,.mf-content textarea{background:white;border:1px solid #ccacba;border-radius:9px;padding:10px 12px;color:var(--ink);width:100%;min-width:0}.mf-content input[type=file]{font-size:14px}.mf-content input[type=checkbox]{accent-color:#ce557d}.mf-content textarea{resize:vertical;min-height:70px}.mf-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 2px}.mf-btn,.mf-link{padding:9px 14px;background:white;color:#704358;border:1px solid #cc9db1;border-radius:10px;font-weight:750!important}.mf-btn.primary{background:#ad3d65;border-color:#ad3d65;color:white}.mf-btn.kakao{background:#fee500;color:#302700;border-color:#d9bd30}.mf-link{display:inline-block;text-decoration:none;font-size:14px}.mf-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(62px,1fr));gap:6px}.mf-choice label{cursor:pointer;position:relative;text-align:center;border:1px solid var(--line);border-radius:10px;padding:7px 2px;background:white}.mf-choice label:has(input:checked){background:#ffe6ef;border-color:#c84473}.mf-choice input{position:absolute;opacity:0}.mf-choice label:focus-within{outline:2px solid #992252}.mf-choice b{display:block;font-size:24px}.mf-status{position:sticky;bottom:0;z-index:1;background:#fff1c6;font-size:14px;color:#654923;padding:8px 18px;border-top:1px solid #e5c685}.mf-status:empty{display:none}.mf-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.mf-item h3,.mf-box h3{margin:0 0 7px}.mf-item small{display:block;color:var(--soft)}.mf-flex{display:flex;gap:8px}.mf-flex>*{flex:1;min-width:0}.mf-bubble{padding:9px 12px;background:#f5eff2;border-radius:12px;margin:6px 0;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}.mf-bubble img{display:block;max-width:100%;max-height:200px;margin-top:4px}.mf-msgs{max-height:270px;overflow:auto}.mf-meter{display:block;height:9px;width:100%;accent-color:#d95083}.mf-votes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mf-votes button{padding:13px 6px}.mf-badge{border-radius:10px;background:#f6e6ee;color:#7c455b;padding:2px 7px;font-size:13px}.mf-loader{padding:12px;color:var(--soft)}.mf-avatar{font-size:46px}.mf-content :focus-visible{outline:3px solid #bc5980;outline-offset:2px}.mf-sticker{font-size:44px}.mf-error{color:#9c3e52}.mf-checklist label{font-weight:550;margin:6px 0}.mf-checklist input{margin-right:7px}
.mf-map{display:block;width:100%;height:215px;background:#eaf5ec;border:1px solid var(--line);border-radius:13px;margin:12px 0 8px}
.mf-pet{width:33px;height:33px;vertical-align:middle;image-rendering:pixelated;object-fit:contain}.mf-pet.large{display:block;width:44px;height:44px;max-width:100%;margin:0 auto 2px}
.m-mapnav,.m-sort{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.m-mapnav{justify-content:space-between}.m-ranking{margin:22px 0 16px}.m-ranking h3{font-size:21px}.m-sort{gap:5px}.m-sort button{border:1px solid #d8cbe4;padding:6px 10px;border-radius:14px;font-size:13px}.m-sort button[aria-pressed=true]{background:#ede2f9;color:#714496;font-weight:750}.m-ranking ol{list-style:none;padding:0;margin:10px 0}.m-ranking li{display:grid;grid-template-columns:20px 64px 1fr auto;align-items:center;gap:9px;border-top:1px solid #eee4ef;padding:12px 0}.m-num{font-family:monospace;color:#8e5eab;font-size:17px}.m-thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;background:#efe9f5}.m-nophoto{display:grid;place-items:center;font-size:11px;color:#6e6278}.m-shopname{font-weight:800;font-size:16px;text-align:left;padding:0}.m-ranking li p{margin:3px 0;font-size:13px;color:#775580}.m-ranking small{display:block;color:#786c80;font-size:12px}.m-external{font-size:13px;white-space:normal}.m-ranking small a{color:inherit}.m-ranking li .m-external{max-width:75px}@media(max-width:520px){.m-ranking li{grid-template-columns:17px 56px 1fr}.m-thumb{width:56px;height:56px}.m-ranking li>.m-external{grid-column:3;max-width:none}.m-mapnav{align-items:flex-start;flex-direction:column}}
.m-overview{display:none;width:100%;height:auto;border-radius:12px}.m-overview.loaded{display:block}.m-overview.loaded+.mf-map{display:none}
.mf-kakao-login{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;margin:14px 0;background:#fee500;color:#191919;border-radius:9px;font-size:16px;font-weight:700;text-decoration:none}.mf-kakao-login svg{width:20px;height:20px;fill:currentColor}
.week-pair,.week-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.week-pair>div{min-width:0;border-radius:14px;background:#fee7ee;padding:8px;text-align:center}.week-pair>div+div{background:#e8e7ff}.week-pair button{display:block;width:100%;margin:3px 0;overflow-wrap:anywhere}.week-tally{margin:14px 0;padding:14px;border:1px solid #dfd3e8;border-radius:14px;background:#fff}.week-bar{height:18px;border-radius:9px;background:#9583cf;overflow:hidden;margin:8px 0}.week-bar:empty{background:#eee8ef}.week-bar i{height:100%;display:block;background:#e285a7}.week-stats span:last-child{text-align:right}.week-stats{font-size:13px}.fighter img:not([hidden]){object-fit:cover;border-radius:8px;image-rendering:auto}.fighter img[hidden]{display:none}
.fruit-panel{display:flex;align-items:center;gap:18px;padding:19px;border-radius:18px;background:#eaf5e7}.fruit-panel.e1{background:#ffe1e7}.fruit-panel.e2{background:#fff0c9}.fruit-panel.e3{background:#e9edf9}.fruit-panel.e4{background:#e8e1fa}.fruit-panel>span{font-size:48px}.fruit-panel strong{font-size:21px}.fruit-panel p{margin:4px 0 0}.chart-detail{margin:16px 0;padding:12px;border:1px solid #decede;border-radius:12px}.chart-detail summary{cursor:pointer;font-weight:700}.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;text-align:center;margin-top:10px}.pillars span{background:#f2eafa;border-radius:9px;padding:6px 0;font-size:13px}.pillars b{display:block;font-size:17px}.reading-lines{margin:0;padding-left:1.2em}.reading-lines li+li{margin-top:6px}

.mf-content .mg-intro{background:#ffedf3;border:1px solid #ebbdcd;border-left:5px solid #c65880;border-radius:14px;padding:14px 18px;margin:12px 0;color:#773751;font-weight:600}.mg-intro strong{font-size:1.22em}
.mg-list,.mg-records{list-style:none;margin:0;padding:0}.mg-list li{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:white}.mg-list img{flex:none;background:#f5edf9;border-radius:12px;image-rendering:pixelated}.mf-content .mg-list p{margin:3px 0 0;font-size:.92em}.mg-records li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.mg-records strong{overflow-wrap:anywhere}.mg-records span{white-space:nowrap;color:#78415b}

.social-choice{margin:16px 0;border:1px solid var(--line);border-radius:12px;padding:12px}.social-choice legend{font-weight:700}.social-choice p{font-size:.9em}.mochi-dialog .social-choice label{display:flex;gap:8px;align-items:center}.mochi-dialog .social-choice input{width:auto;margin:0}

.mf-auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:14px 0 18px;padding:4px;background:#f6eaf0;border-radius:12px}.mf-auth-switch button{min-height:44px;border:0;border-radius:9px;background:transparent;color:#694858;font-weight:700}.mf-auth-switch button[aria-pressed="true"]{background:#fff;color:#8d3159;box-shadow:0 1px 4px #57384925}.mf-auth-switch button:focus-visible{outline:2px solid #8d3159}

.mf-match{display:inline-block;vertical-align:middle;padding:1px 6px;border-radius:8px;background:#f6eaf2;color:#773f63;font-size:12px;font-weight:650;white-space:nowrap}.mf-account-end{margin-top:28px;padding-top:12px;border-top:1px solid #eadfe4;display:flex;justify-content:flex-end}.mf-account-end .mf-signout{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;margin-top:7px;padding:7px 17px;border:1px solid #967687;border-radius:11px;background:#f1e7ec;color:#503747;font-size:.95rem;box-shadow:0 2px 0 #ddcbd5}
.mf-account-end .mf-signout::before{content:'';box-sizing:border-box;width:13px;height:17px;border:2px solid currentColor;border-radius:2px;background:radial-gradient(circle at 76% 52%,currentColor 1.4px,transparent 1.7px)}
.mf-account-end .mf-signout:is(:hover,:focus-visible){background:#e8d9e2;border-color:#755163}.mf-fortunes{display:grid;gap:10px;margin-bottom:14px}.mf-fortunes article{padding:14px 16px;background:#fff4f7;border-radius:14px;border:1px solid #eed5df}.mf-fortunes h4{margin:0}.mf-fortunes article strong{color:#7c3859}.mf-fortunes article small{display:block;color:#70545f;margin-top:3px}

.mf-manage{margin-top:18px}.mf-manage-row{padding:12px 0;border-bottom:1px solid var(--line)}.mf-manage-row .mf-actions{margin:6px 0 0}.mf-manage-row .mf-remove{color:#85425b;background:#fffafa}.mf-chat-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.mf-chat-time{font-size:.56em;line-height:1.25;color:#735969;white-space:nowrap;font-variant-numeric:tabular-nums}
.install-guide .install-status{color:#62396d;background:#f3eafa;padding:9px 13px;border-radius:12px;font-size:.9rem}.install-guide figure{margin:16px 0;display:flex;justify-content:center;align-items:center;gap:20px;background:#ffedf2;border-radius:16px;padding:14px;color:#784b69}.install-icon{display:grid;justify-items:center;font-weight:bold}.install-icon img{width:52px;height:52px;border-radius:13px;image-rendering:pixelated}.install-menu{background:white;border:2px solid #dbbad0;padding:10px;border-radius:10px;font-weight:bold}.install-guide ol{padding-left:1.5em;line-height:1.65}.install-guide .purple{width:100%}
.mf-bubble{--cloud-fill:#fff5f8;--cloud-edge:#e6c7d7;position:relative;isolation:isolate;margin:18px 5px 12px;padding:12px 17px;background:linear-gradient(175deg,var(--cloud-fill) 64%,#f9e6ef);border:1px solid var(--cloud-edge);border-radius:28px 33px 27px 18px / 23px 28px 22px 16px;box-shadow:0 2px 0 #eddae4}.mf-bubble::before,.mf-bubble::after{content:'';position:absolute;pointer-events:none;background:var(--cloud-fill);border:1px solid var(--cloud-edge);border-bottom:0;border-radius:70% 70% 0 0}.mf-bubble::before{width:26px;height:8px;top:-8px;left:23px;transform:rotate(-4deg)}.mf-bubble::after{width:21px;height:6px;top:-6px;left:46px;transform:rotate(5deg)}
.mochi-dialog .mf-bar{font-size:19.04px;line-height:1.25}.mochi-dialog .mf-content>h2{font-size:33.15px;overflow-wrap:anywhere}.mochi-dialog .mf-x,.mochi-dialog .mf-bar>button{font-size:1rem;min-width:36px;min-height:36px}.friend-name{font-weight:800;color:#714a78;text-decoration:underline;text-underline-offset:3px}

.mf-notice-link{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;color:inherit}
.mf-notice-link span{border-radius:20px;background:#f1e8fa;color:#65477e;font-size:.86em;font-weight:700;padding:4px 10px}
.mf-notice-link:hover,.mf-notice-link:focus-visible{border-color:#bc9ed5;background:#faf5ff}

.chat-dialog .mf-content:has(.talk-log){display:flex;flex-direction:column;padding:0}
.chat-dialog .mf-content:has(.talk-log)>h2{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden}
.talk-head{display:flex;align-items:center;gap:10px;padding:12px 18px;background:#fffafc;border-bottom:1px solid #dacfdc}
.talk-head>.mf-pet{width:42px;height:42px;object-fit:contain}
.talk-head>div{display:grid;gap:2px}
.talk-head small{font-size:.78rem;color:#756477}
.talk-head strong{font-size:1.13rem;line-height:1.35}
.chat-dialog .talk-log{display:flex;flex-direction:column;gap:14px;height:clamp(160px,44dvh,410px);max-height:none;overflow:auto;padding:16px 14px;background-color:#e4eef6;background-image:radial-gradient(#cfdfeb 1px,transparent 1px);background-size:14px 14px;overscroll-behavior:contain}
.talk-row{display:flex;align-items:flex-start;gap:8px}
.talk-row>.mf-pet{width:32px;height:32px;object-fit:contain;border-radius:11px;background:#fff9fc}
.talk-bubble{position:relative;min-width:0;max-width:82%;background:#fff;border:1px solid #d3dee4;border-radius:4px 18px 18px 18px;padding:7px 12px;box-shadow:0 2px 0 #a9bdcd35}
.talk-row.outgoing{justify-content:flex-end}
.outgoing .talk-bubble{background:#d6edc8;border-color:#abcba8;border-radius:18px 4px 18px 18px}
.talk-bubble .mf-chat-line{gap:12px;align-items:center}
.talk-bubble .mf-chat-line b{font-size:.76rem;color:#58665b}
.talk-bubble .mf-chat-time{color:#56646a}
.talk-text{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;line-height:1.5}
.talk-bubble>img{display:block;max-width:100%;max-height:210px;margin-top:5px;border-radius:10px}
.chat-dialog form[data-form=message]{padding:12px 15px 10px;background:#fffafc}
.talk-input{display:flex;gap:8px}
.talk-input input{flex:1}
.talk-send{flex:none;min-height:42px;padding:0 17px;border:1px solid #5e835e;border-radius:14px;color:#fff;background:#47734f;font-weight:700}
.chat-retention{display:block;margin-top:6px;font-size:.78rem;color:#716373}
.talk-empty{margin:auto!important;padding:8px 13px;border-radius:14px;color:#536874;background:#f5f9fc;text-align:center;font-size:.9rem}
@media(max-height:530px){.chat-dialog .talk-log{height:28dvh;min-height:60px}.talk-head{padding:5px 12px}}

.mf-register-link{display:inline-flex;align-items:center;gap:.5em;text-decoration:none}.mf-register-link img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated}

/* My Page dollhouse and its two walkable lanes. */
.my-mochi-village{margin:12px 0 18px;overflow:hidden;border:1px solid #cca8b3;border-radius:15px;background:#fffaf5;box-shadow:0 3px 0 #ecd7dc}
.my-village-view{position:relative;isolation:isolate;overflow:hidden;padding-top:calc(100% + 5rem);background:#9ce9f2}
.village-ground{position:absolute;inset:auto 0 0;aspect-ratio:2/1}
.village-upper-sky{position:absolute;inset:0;background:linear-gradient(#87daef,#9ce9f2 45%)}
.village-upper-sky i{position:absolute;left:9%;top:24%;width:16%;aspect-ratio:4/1;background:#fffbe7;clip-path:polygon(0 65%,14% 65%,14% 40%,30% 40%,30% 15%,46% 15%,46% 0,65% 0,65% 24%,80% 24%,80% 46%,91% 46%,91% 65%,100% 65%,100% 100%,0 100%)}
.village-upper-sky i:nth-child(2){left:51%;top:10%;width:8%;opacity:.8}
.village-upper-sky i:nth-child(3){left:72%;top:38%;width:19%}
.village-pixels{display:block;width:100%;height:100%;image-rendering:pixelated}
.my-mochi-village figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;padding:9px 14px;color:#5c3748}
.my-mochi-village figcaption>b{font-size:.86rem}
.my-mochi-village figcaption>span{font-size:.92rem;font-weight:720;overflow-wrap:anywhere}
.mochi-pixel-heart{display:inline-block;width:.83em;height:.76em;background:#cd5078;vertical-align:baseline;clip-path:polygon(0 17%,15% 17%,15% 0,37% 0,37% 16%,62% 16%,62% 0,85% 0,85% 17%,100% 17%,100% 49%,83% 49%,83% 65%,67% 65%,67% 82%,55% 82%,55% 100%,45% 100%,45% 82%,32% 82%,32% 65%,16% 65%,16% 49%,0 49%)}
.village-walker{position:absolute;display:grid;place-items:center;left:var(--home-x);top:var(--home-y);width:clamp(30px,10%,54px);transform:translate(-50%,-100%);animation:village-roam var(--pace,11s) linear infinite;min-width:44px;min-height:44px;padding:0;border:0;border-radius:12px;background:transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.village-walker.near{--home-x:28%;--home-y:88%;z-index:2}
.village-walker.far{--home-x:71%;--home-y:80%;z-index:1;width:clamp(26px,9%,48px)}
.village-walker i{position:absolute;bottom:0;width:62%;height:12%;border-radius:50%;background:#795f5755}
.village-walker .mf-pet{display:block;position:relative;width:100%;height:auto;aspect-ratio:1;image-rendering:pixelated;animation:village-hop .48s steps(2,end) infinite}
.village-walker.far .mf-pet{animation-delay:-.22s}
@keyframes village-roam{0%,10%,100%{left:var(--home-x);top:var(--home-y)}47%,60%{left:var(--way-x,var(--home-x));top:var(--way-y,var(--home-y))}}
@keyframes village-hop{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.village-walker,.village-walker .mf-pet{animation:none}}

/* A strawberry-stamp letterhead for the couple's own direct messages. */
.mochi-dialog.couple-chat{border-color:#cc91a5;box-shadow:0 8px 0 #6a364419,0 22px 62px #51203836}
.couple-chat .mf-bar{background:#fff4f5;border-bottom-color:#ebc7d1}
.couple-chat .sweetheart-head{position:relative;isolation:isolate;overflow:hidden;justify-content:space-between;gap:10px;padding:15px clamp(13px,3vw,22px);border-bottom:2px solid #d99eae;background-color:#fff3ee;background-image:repeating-linear-gradient(135deg,transparent 0 9px,#f9dbdc88 9px 11px,transparent 11px 19px)}
.sweetheart-head .sweetheart-names{gap:2px;min-width:0}
.sweetheart-head .sweetheart-names>small{color:#97385c;letter-spacing:.025em;font-weight:750}
.sweetheart-head .sweetheart-names>strong{color:#682d44;overflow-wrap:anywhere;font-size:clamp(1.05rem,3vw,1.28rem)}
.sweetheart-head .sweetheart-stamp{display:flex;flex:none;align-items:center;justify-content:center;gap:1px;padding:5px 8px;background:#fffcf4;border:2px dotted #d398a5;border-radius:5px;box-shadow:1px 2px 0 #d79ca74d;transform:rotate(-3deg)}
.sweetheart-stamp .mf-pet{width:clamp(24px,6vw,37px);height:clamp(24px,6vw,37px)}
.sweetheart-stamp .mochi-pixel-heart{width:10px;height:9px;margin:0 1px}
.couple-chat .talk-log{background-color:#fff5f5;background-image:radial-gradient(circle,#dab5bf80 1px,transparent 1.5px);background-size:17px 17px}
.couple-chat .talk-row>.mf-pet{background:#fff1eb;border:1px solid #e7c2ca}
.couple-chat .talk-bubble{background:#fffdf8;border-color:#e5bdc8;border-radius:7px 20px 19px 16px;box-shadow:0 2px 0 #e7c5ce66}
.couple-chat .outgoing .talk-bubble{background:#ffe3eb;border-color:#e2a6ba;border-radius:20px 7px 17px 19px}
.couple-chat .talk-bubble .mf-chat-line b,.couple-chat .mf-chat-time{color:#774351}
.couple-chat .talk-empty{color:#884653;background:#fffaf7;border:1px dashed #e1b2c0}
.couple-chat form[data-form=message]{background:#fffaf7;border-top-color:#e1b2c0}
.couple-chat .talk-input input{border-color:#d2a1b0}
.couple-chat .talk-send{background:#a33f61;border-color:#8d3350}
.couple-chat .chat-retention{color:#7b5964}
@media(max-height:530px){.couple-chat .sweetheart-head{padding-block:5px}.sweetheart-stamp .mf-pet{width:24px;height:24px}}

/* Accessible native radio choices allow the relationship label to stay next to each name. */
.peer-picker{margin:12px 0;border:1px solid #d6b9c5;border-radius:12px;background:#fffdfb;overflow:hidden}
.peer-picker summary{cursor:pointer;padding:9px 12px;color:#653f55}
.peer-picker summary>span{font-size:.85rem;margin-right:10px}
.peer-picker summary>strong{font-size:1rem}
.peer-picker fieldset{border:0;border-top:1px solid #ead5df;margin:0;padding:4px 10px;max-height:13.5rem;overflow:auto}
.peer-picker legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.peer-picker fieldset label{display:flex;align-items:center;gap:8px;margin:0;padding:7px 2px;min-height:40px}
.mf-content .peer-picker input[type=radio]{width:18px;min-width:18px;height:18px;accent-color:#a33f61;margin:0;padding:0}
.village-walker.guest-two{--home-x:78%;--home-y:93%}
.village-walker.guest-three{--home-x:17%;--home-y:77%}
.my-mochi-village figcaption small{margin-left:auto;color:#82405a;font-weight:650}
.village-roster{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;flex-basis:100%;font-size:.9rem}
.village-roster>button{max-width:100%;min-height:32px;padding:3px 8px;border:1px solid #e8c7d0;border-radius:9px;background:#fff0f3;color:#653b4d;overflow-wrap:anywhere}
.village-walker:is(:active,:focus-visible){animation-play-state:paused}
@media(hover:hover){.village-walker:hover{animation-play-state:paused}}
.village-walker.is-speaking .mf-pet{filter:drop-shadow(0 0 2px #fff8e8)}
.village-speech{position:relative;display:grid;align-content:center;flex-basis:100%;gap:2px;min-height:4.8em;margin:5px 0 0;padding:8px 13px;border:1px solid #d7a5b6;border-radius:17px 21px 14px 19px;background:#fff4f7;color:#583548;font-size:.92rem;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.village-speech::before{content:"";position:absolute;top:-5px;left:clamp(12px,var(--speaker-x,24%),calc(100% - 20px));width:8px;height:8px;transform:rotate(45deg);background:#fff4f7;border-top:1px solid #d7a5b6;border-left:1px solid #d7a5b6}
.village-speech>b{color:#8b4560;font-size:.85rem}

.push-welcome{width:min(440px,94vw);max-height:88dvh;padding:0;overflow:auto}
.push-welcome .mf-content{padding:clamp(14px,4vw,22px)}
.push-welcome header{display:flex;align-items:center;gap:10px}
.push-welcome header img,.push-sketch img,.push-welcome figure img{width:38px;height:38px;image-rendering:pixelated}
.push-welcome h2{margin:0;color:#65394a}
.push-welcome .push-code-tip{font-size:.9rem;color:#784053;background:#fff3ec;padding:10px;border-radius:12px}
.push-welcome ol{list-style:none;counter-reset:step;margin:14px 0;padding:0}
.push-welcome li{counter-increment:step;position:relative;display:grid;grid-template-columns:62px 1fr;align-items:center;gap:13px;padding:10px 0;border-bottom:1px dashed #e6ccd4}
.push-welcome li b{font-size:1rem;color:#623745}
.push-welcome li p{margin:4px 0;color:#684f58;font-size:.9rem;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.push-sketch{position:relative;display:grid;place-items:center;min-height:57px;background:#f8eaf0;border-radius:14px}
.push-sketch:before{content:counter(step);position:absolute;top:-4px;left:-3px;border:1px solid #98566a;border-radius:50%;background:#fffaf5;color:#743e56;width:19px;height:19px;text-align:center;font:bold 13px/19px sans-serif}
.sketch-tab,.sketch-test{border:2px solid #9a7983;border-radius:6px;background:#fffaf7;color:#644758;padding:2px 4px;font-size:.72rem;font-weight:bold}
.sketch-tab i{display:block;font:7px/9px sans-serif;border-bottom:1px solid #e7becb;color:#c57791}
.sketch-icon{position:relative}.sketch-icon i{position:absolute;right:-4px;bottom:2px;border-radius:50%;background:#d9f4e3;color:#316045;font-weight:900}
.sketch-bell,.sketch-test{font-size:1.4rem}.sketch-test{background:#ddf2e8;color:#347953}
.push-welcome figure{margin:10px 0 16px;border-radius:16px;padding:10px 12px;background:#e8e1f4}
.push-welcome figcaption{color:#594769;font-size:.83rem;font-weight:bold;margin-bottom:6px}
.push-welcome figure div{display:flex;align-items:center;gap:9px;background:#fffdfa;padding:9px;border-radius:11px;color:#503c50;font-size:.9rem}
.push-welcome figure span{flex:1}.push-welcome figure small{float:right;color:#745f70}
.push-welcome button{width:100%}

.mf-shortcuts{margin:20px 0 24px;padding:12px clamp(10px,3vw,16px) 6px;background:#f2eff9;border:1px solid #c5badc;border-radius:16px;box-shadow:0 3px 0 #e5dfee}
.mf-shortcuts h3{margin:0 0 6px;padding:0 3px;color:#604572;font-size:1rem}
.mf-shortcuts .mf-activity{box-sizing:border-box;width:100%;display:grid;grid-template-columns:minmax(8.15em,39%) minmax(0,1fr);gap:clamp(6px,2vw,14px);align-items:center;padding:10px 3px;min-height:48px;border:0;border-top:1px dashed #c8bad7;background:transparent;color:#49354e;text-align:left;text-decoration:none;line-height:1.4;border-radius:0}
.mf-shortcuts .mf-activity:is(:hover,:focus-visible){background:#fffcff;border-radius:6px}
.mf-activity-title{display:flex;align-items:center;gap:7px;font-size:.93rem;font-weight:750;word-break:keep-all}
.mf-activity-title img{box-sizing:border-box;flex:none;width:32px;height:32px;padding:4px;border-radius:10px;background:#fffbef;box-shadow:inset 0 0 0 1px #ded1d0;object-fit:contain;image-rendering:pixelated}
.mf-activity[href] img{background:#ffeef3}
.mf-activity[data-id=myContacts] img{background:#e7f5ee}
.mf-activity small,.mf-code-setting small{color:#68556c;word-break:keep-all;overflow-wrap:anywhere}
.mf-activity small{font-size:.875rem}
.mf-account-end{flex-direction:column;align-items:flex-end;gap:3px}
.mf-code-setting{width:100%;display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:2px 8px}
.mochi-dialog .mf-code-setting button{padding:3px 7px;min-height:24px;font-size:.8rem;line-height:1.35;border-radius:7px;background:#fffaf7;border-color:#d8c6cd}
.mf-code-setting small{font-size:.78rem}
.mf-contacts{list-style:none;margin:0;padding:3px;display:grid;gap:7px;max-height:52dvh;overflow:auto}
.mf-contacts button{display:flex;width:100%;gap:10px;align-items:center;justify-content:space-between;text-align:left;min-height:46px;padding:8px 12px;border:1px solid #e4cdd6;border-radius:12px;background:#fffdfa;color:#573647}
.mf-contacts button>span{min-width:0;font-weight:700;overflow-wrap:anywhere}
.mf-contacts button small:last-child:not(.mf-match){flex:none;color:#795569;font-size:.82rem}
.mf-contacts .mf-pinned-partner{position:sticky;top:0;z-index:1}
.mf-pinned-partner button{background:#ffedf2;border-color:#daa9bb}
.mf-account-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}
.mf-account-row .mf-signout{margin:0}
.mf-account-row .mf-withdraw{min-height:44px;padding:5px 3px;color:#795b69;background:transparent;border:0;box-shadow:none;text-decoration:underline;text-underline-offset:3px;font-size:.86rem}

.my-mochi-village{position:relative}
.village-walker{cursor:pointer}
.village-walker>*{pointer-events:none}
.village-walker.is-pressed,.village-walker.is-pressed .mf-pet{animation-play-state:paused}
.my-mochi-village.has-speech .village-speech{position:absolute;top:.4rem;inset-inline:3.5%;z-index:4;min-height:0;margin:0;padding:.38rem .75rem;background:#fff7fb;box-shadow:0 2px 0 #cb8a9a55;pointer-events:none}
.my-mochi-village.has-speech .village-speech::before{top:auto;bottom:-5px;left:28%;transform:rotate(225deg);background:#fff7fb}

.village-love-burst{position:absolute;z-index:3;width:0;height:0;pointer-events:none}
.village-love-burst i{position:absolute;left:0;top:0;background-image:linear-gradient(135deg,transparent 18%,#fff9 19% 26%,transparent 27%);animation:village-heart-pop .87s ease-out both;pointer-events:none}
@keyframes village-heart-pop{
 0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}
 14%{opacity:1}
 48%{opacity:1;transform:translate(calc(var(--dx)*.8),calc(var(--dy)*.8)) scale(1.24)}
 100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.58)}
}
@media(prefers-reduced-motion:reduce){
 .village-love-burst i{display:none}
 .village-love-burst i:first-child{display:block;animation:none;transform:translate(-50%,-120%)}
}

.place-shelf{--shelf:#edf6ed;--edge:#c2d6c4;margin:16px 0;padding:14px;border-radius:16px;border:1px solid var(--edge);background:var(--shelf)}
.place-shelf.hearted{--shelf:#fff0f3;--edge:#ebc7d4}
.place-shelf h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#593d4a;font-size:1rem}
.place-shelf h3 small{font-size:.78rem;border-radius:1em;padding:2px 8px;background:#fffaf8;color:#744d60}
.place-shelf ul{list-style:none;display:grid;gap:7px;padding:0;margin:0}
.place-shelf li,.place-empty{border:1px solid var(--edge);border-radius:12px;background:#fffdf9;padding:9px;align-items:center}
.place-shelf li{display:flex;gap:6px;flex-wrap:wrap}
.place-card{flex:1 1 135px;min-width:0;display:flex;gap:9px;align-items:center;text-decoration:none;color:#593d4a}
.place-card span{min-width:0;overflow-wrap:anywhere}
.place-card small{display:block;font-size:.8rem;color:#735f66;line-height:1.5}
.place-card img{flex:none;width:42px;height:42px;background:var(--shelf);border-radius:10px}
.place-card img.stamp{padding:7px;object-fit:contain;image-rendering:pixelated}
.place-card img.photo{object-fit:cover}
.place-tools{display:flex;margin-left:auto;gap:3px}
.place-tools .mf-btn{padding:5px 8px;font-size:.81rem;min-height:34px;background:#fffaf7;border-color:#dfd1d2}
.place-empty p{margin:0 0 5px;font-size:.9rem}
.place-empty a{display:inline-block;padding:5px 0;color:#79516c;font-weight:700;text-underline-offset:3px}
.mf-shortcuts .mf-activity{grid-template-columns:minmax(8.15em,max-content) minmax(0,1fr);gap:clamp(5px,1vw,7px)}
.mf-code-setting small{text-align:left;letter-spacing:normal;word-spacing:normal;line-height:1.55;font-size:.83rem}
@media(max-width:380px){.place-shelf{padding:10px}.mf-shortcuts .mf-activity{grid-template-columns:max-content minmax(0,1fr);column-gap:6px}.mf-activity-title{gap:4px}.mf-activity-title img{width:26px;height:26px}}

.mochi-dialog .mf-bar>.mf-back{width:auto;min-height:34px;padding:3px 10px;border:1px solid #e3bdcb;border-radius:12px;background:#fff7fa;color:#704157;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer}
.mf-bar .mf-back[hidden]{display:none}
.mf-back+span{margin-inline-end:auto}

.week-pair .mf-btn[data-act="vote"][aria-pressed="true"]{background:#ffd7e3;border-color:#aa4367;color:#752343;font-weight:800;box-shadow:inset 0 2px 3px #c6748e55}
.village-neighbors{margin:.85rem 0 1.1rem;color:#563a50}
.village-neighbors header{display:flex;align-items:center;justify-content:space-between;gap:.45rem;flex-wrap:wrap;margin:0 0 .45rem}
.village-neighbors header h3{margin:0;font-size:1rem}
.village-neighbors header .mf-btn{margin-left:auto;min-height:36px;padding:.35rem .65rem;border-radius:20px;font-size:.83rem;background:#fff8fb;color:#824363}
.village-neighbors ul{list-style:none;padding:0;margin:0;display:grid;gap:.4rem}
.village-neighbors li>button{display:flex;align-items:center;gap:.6rem;width:100%;text-align:left;background:#fff9fc;border:1px solid #ead4e0;border-radius:14px;padding:.45rem .7rem;color:inherit;min-height:48px}
.village-neighbors li>button:hover,.village-neighbors li>button:focus-visible{background:#fbeaf2;border-color:#ce93ac}
.village-neighbors li>button>span{min-width:0;overflow-wrap:anywhere;font-weight:700}
.village-neighbors li>button>small{color:#8a4769;margin-left:auto;flex:none;font-weight:700}
.village-neighbors>p{margin:.3rem 0;padding:.7rem;background:#faf5fa;border-radius:12px;font-size:.9rem}

.mf-fave-list{display:grid;gap:8px}
.mf-fave-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 12px;color:#52374a;text-decoration:none;background:#fffdf8;border:1px solid #e9c9d3;border-radius:14px;box-shadow:0 2px #f1e2e5}
.mf-fave-card:hover,.mf-fave-card:focus-visible{background:#fff5f6;border-color:#b97793}
.mf-fave-image{width:48px;height:48px;border-radius:11px;overflow:hidden;background:#fae8eb url('/art/strawberry.png') center/32px no-repeat}
.mf-fave-image img{width:100%;height:100%;object-fit:cover}
.mf-fave-copy{min-width:0;line-height:1.35}.mf-fave-copy strong,.mf-fave-copy small{display:block;overflow-wrap:anywhere}.mf-fave-copy small{font-size:.76rem;color:#756570;margin:.12rem 0}
.mf-fave-stats{display:flex;flex-wrap:wrap;align-items:center;gap:3px 7px;font-size:.72rem;color:#645961}.mf-fave-stats b{border-radius:6px;background:#ffedf1;color:#813d58;padding:2px 5px}.mf-fave-arrow{color:#945776;font-size:1.3rem}
.place-shelf.hearted li{padding:3px 7px 3px 0;flex-wrap:nowrap}.hearted .mf-fave-card{flex:1;min-width:0;border:0;box-shadow:none}

.battle-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end;margin-bottom:6px;text-align:center}
.battle-names strong{font-size:clamp(.87rem,3.8vw,1.05rem);line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}
.battle-photo{position:relative;display:block;height:clamp(90px,24vw,140px);border-radius:10px;overflow:hidden;background:#fff8f1 url('/art/strawberry.png') center/54px no-repeat}
.battle-photo img{width:100%;height:100%;object-fit:cover}
.battle-photo span{position:absolute;bottom:6px;right:6px;background:#fffaf7;color:#62334a;border:1px solid #deb8c5;border-radius:99px;padding:4px 9px;font-weight:700;font-size:.78rem;box-shadow:0 2px 5px #44233535}

/* The live mission shares its mint paper and strawberry pin with the walk page. */
.mission-route{margin:.8rem 0;border:1px solid #b9d3c4;border-radius:1rem;background:#f5fbf7;color:#305543;overflow:hidden}
.mission-route header{display:flex;flex-wrap:wrap;gap:.25rem .6rem;align-items:center;justify-content:space-between;padding:.7rem .85rem}
.mission-route h3{font:inherit;font-weight:800;margin:0}
.mission-map-metric{font-size:.93rem;font-weight:750;font-variant-numeric:tabular-nums}
.mission-map-canvas{height:clamp(195px,30dvh,320px);background:#e4eee7;overflow:hidden}
.mission-map-canvas svg{display:block;width:100%;height:100%}
.mission-route .mission-map-legend{display:flex;align-items:center;gap:.35rem .7rem;flex-wrap:wrap;padding:.55rem .8rem 0;font-size:.82rem}
.mission-map-legend span::before{content:'';display:inline-block;vertical-align:baseline;width:.63rem;height:.63rem;border-radius:50%;margin-right:.26rem;background:#286bb1}
.mission-map-legend .mission-destination::before{background:#aa3d62;border-radius:.3rem .3rem .08rem .3rem;transform:rotate(45deg)}
.mission-map-legend a{margin-left:auto;color:#3b5c4b;text-decoration:underline}
.mission-route .mission-map-note{font-size:.88rem;line-height:1.45;margin:.45rem .8rem .7rem;word-break:keep-all}
.mission-route .mission-route-retry{min-height:44px;border:1px solid #97b4a4;border-radius:.7rem;margin:0 .8rem .7rem;padding:.35rem .65rem;color:#305543;background:white;font:inherit;font-size:.9rem}
#mf-arrive:not(:disabled){box-shadow:0 0 0 3px #94e5ba,0 0 12px #75cfa0}
.mission-map-frame{position:relative}
.mission-map-frame .mission-map-follow{position:absolute;right:.5rem;top:.5rem;min-height:44px;padding:.35rem .7rem;font-size:.875rem;font-weight:750;color:#305543;background:#fffdf9;border:1px solid #88a997;border-radius:1rem;box-shadow:0 2px 4px #38523c26}
.mission-map-follow[aria-pressed=true]{background:#d8efdf}
.mission-route .mission-external{display:inline-block;color:#345f4a;font-weight:650;font-size:.88rem;margin:.1rem .8rem .7rem;text-decoration:underline}
.mission-route [hidden]{display:none!important}

/* Walk mission: compact rewards above a mint destination ticket. */
.walk-rewards{display:flex;flex-wrap:wrap;gap:.4rem;margin:.55rem 0 .9rem;color:#5c4b5a;font-size:.82rem}
.walk-rewards span{border:1px solid #edd8d9;border-radius:2rem;padding:.25rem .65rem;background:#fff4f2}.walk-rewards b{color:#813e59}
.walk-ticket{border:1px solid #bed8c8;border-radius:18px;overflow:hidden;background:#fcfdf8}
.walk-ticket>header{display:flex;align-items:center;gap:.75rem;padding:.8rem 1rem;background:#e7f3e7;border-bottom:1px dashed #adccba}
.walk-ticket header img,.shop-mission img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated}
.walk-ticket header small,.walk-choice small{font-weight:750;color:#537460}.walk-ticket h3{margin:0;font-size:1.08rem;color:#334f41}
.walk-ticket .walk-filter{padding:.75rem .75rem 0}.walk-filter-tools{display:flex;align-items:stretch;gap:.35rem;flex-wrap:wrap;margin-top:.4rem}
.walk-ticket .walk-filter-tools select{min-width:0;width:auto;flex:1 1 6.2rem}
.walk-ticket button,.walk-ticket .walk-filter-tools select{border-radius:12px;border:1px solid #c0d4c6;background:white;color:#365a47;font:inherit;font-size:.85rem;font-weight:650;min-height:42px;padding:.4rem .6rem}
.walk-ticket .walk-saved[aria-pressed=true]{background:#ffe7ed;color:#823b54;border-color:#c98fa3}
.walk-ticket .walk-sort-note{margin:.45rem .8rem;font-size:.78rem;line-height:1.45;color:#5a685d}
.walk-ticket .walk-picks{display:grid;gap:.3rem;margin:.4rem .65rem}.walk-ticket .walk-pick{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.5rem;text-align:left;padding:.55rem .7rem;background:#fffefa;border-color:#dfdfcf;color:#493947}
.walk-ticket .walk-pick>span:first-child{min-width:0;display:grid;gap:.1rem}.walk-pick strong{font-size:.94rem;overflow-wrap:anywhere}.walk-pick small{font-size:.77rem;color:#655d67;overflow-wrap:anywhere}
.walk-ticket .walk-pick>span:last-child{flex:none;color:#4d6f55;font-size:.8rem}.walk-ticket .walk-pick[aria-pressed=true]{border-color:#538063;background:#e8f5e9;box-shadow:inset 3px 0 #538063}
.walk-ticket .walk-more{margin:.15rem .65rem .55rem;background:transparent}.walk-ticket [hidden]{display:none!important}
.walk-ticket .walk-choice{display:flex;gap:.65rem;align-items:baseline;margin:0;background:#eef5eb;padding:.65rem .85rem;border-top:1px dashed #bdd0bf;font-size:.9rem}
.walk-depart{width:100%;background:#37654e!important;color:white!important}.walk-depart:disabled{opacity:.55}
.shop-mission{margin:.9rem 0;padding:.85rem;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.45rem .7rem;border-radius:15px;background:#eef6eb;border:1px solid #c2d8c6;color:#365a45}
.shop-mission p{font-size:.85rem;margin:.17rem 0}.shop-mission #detail-walk{grid-column:1/-1;border-radius:12px;background:#39654f;color:white;border:0;font-weight:750;min-height:44px}
.shop-mission small{grid-column:1/-1;line-height:1.45;color:#7e344d}.shop-mission small:empty{display:none}

.walk-float{position:fixed;z-index:10000;left:calc(100% - 66px);top:calc(100% - 140px);box-sizing:border-box;width:56px;height:56px;padding:3px;display:grid;place-content:center;justify-items:center;gap:0;border:2px solid #67927c;border-radius:15px;background:#eef8ed;color:#294e3c;box-shadow:0 3px 0 #a8c2a8,0 5px 15px #39314027;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.walk-float[hidden]{display:none!important}.walk-float:active{cursor:grabbing}.walk-float img{width:30px;height:29px;object-fit:contain;image-rendering:pixelated;pointer-events:none}.walk-float span{font-size:11px;font-weight:800;line-height:1.1;white-space:nowrap}.walk-float:focus-visible{outline:3px solid #795386;outline-offset:2px}
.mf-bar .walk-fold{margin-left:auto;min-height:36px;padding:.34rem .6rem;border:1px solid #adc8b5;border-radius:10px;background:#f4faf2;color:#365c48;font:inherit;font-size:.8rem;cursor:pointer}.mf-bar .walk-fold[hidden]{display:none}
