@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Kiwi+Maru:wght@400;500&display=swap');
:root{font-family:'Kiwi Maru','Hiragino Maru Gothic ProN',sans-serif;color:#684b35;background:#f4eddf;font-size:15px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(#e1d8bb 1px,transparent 1px) 0 0/16px 16px}button,input{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #41a9bc;outline-offset:2px}button:disabled{opacity:.45;cursor:default}#app{max-width:480px;margin:auto;height:100dvh;display:flex;flex-direction:column;background:#fff9ee;box-shadow:0 0 60px #8c745629;overflow:hidden}.home-layout{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.home{position:relative;flex:none;width:min(100%,calc((100dvh - 106px)*.75));aspect-ratio:1086/1448;background:url(assets/home.jpg) center/100% 100%;container-type:inline-size}.hit{position:absolute;border:0;background:transparent;border-radius:40px;color:transparent;padding:0;min-height:34px}.hit:hover{background:#fff3}.hit:active{background:#ffc3d766}.heart{position:absolute;left:11%;top:3%;background:#fffdf2;border-radius:12px;font-size:5.3cqw;line-height:1.25;padding:0 6px}.town-label{position:absolute;bottom:12%;left:6%;width:88%;padding:2px 0;background:#fff1d8;border-radius:12px;color:#60462e;font-size:3.5cqw;letter-spacing:-.5px}.home-save{font-size:10px;color:#9d8465}.ad-banner{position:relative;flex:none;display:flex;align-items:center;gap:9px;text-align:left;width:calc(100% - 24px);height:65px;padding:9px 12px;background:#fff5e3;border:1px solid #e4cfa7;border-radius:16px;box-shadow:0 2px 0 #eadcc5}.ad-banner strong{display:block;font-size:13px}.ad-banner small{display:block;font-size:10px;line-height:1.5;margin-top:3px}.ad-banner>span:nth-last-child(2){flex:1;min-width:0}.ad-banner img{width:46px;height:46px;object-fit:contain;border-radius:8px}.ad-mark{font-size:9px;color:#a38261;border:1px solid #dec7a5;border-radius:4px;padding:1px 4px;align-self:flex-start}.ad-flower{font-size:34px;color:#df9ead}.topbar{flex:none;height:54px;display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:#fff8eaeF;border-bottom:1px solid #e6d3ad}.back,.small{border:1px solid #d7bb92;border-radius:18px;padding:8px 12px;background:#fffdf5;min-height:40px}.screen{padding:12px 14px max(8px,env(safe-area-inset-bottom));min-height:0;flex:1;display:flex;flex-direction:column;gap:8px;overflow:hidden}h1{font-size:23px;margin:3px 0}h2{font-size:17px;margin:4px 0}p{line-height:1.6;margin:8px 0}small,.muted{font-size:11px;color:#927c64;line-height:1.6}.eyebrow{font-size:10px;letter-spacing:2px;color:#aa795d}.lead{flex:none;text-align:center}.lead p{margin:4px 0}.primary,.action{display:block;border:2px solid #b18a60;border-radius:20px;background:#f8b8c9;box-shadow:0 3px 0 #d9ba91;padding:10px;min-height:44px;font-weight:500;width:100%;margin:0}.action{background:#fff7df}.primary:active,.action:active{transform:translateY(2px);box-shadow:none}.card{background:#fffdf8;border:1px solid #e9d7b6;border-radius:20px;padding:12px}.row{display:flex;align-items:center;gap:8px}.between{justify-content:space-between}.center{text-align:center}.pill{display:inline-block;font-size:10px;padding:2px 6px;margin:2px;border-radius:10px;background:#eeeecf}.tabs{display:flex;flex:none;gap:4px;justify-content:center}.tabs button{white-space:nowrap;border:1px solid #dec8a6;border-radius:16px;padding:8px;font-size:12px;min-height:40px;background:#fffdf7}.tabs .selected{background:#f8b8c9}.sprite{display:block;flex-shrink:0;width:94px;height:94px;object-fit:contain;margin:auto;vertical-align:middle}.sprite.big{width:180px;height:180px}.sprite.unknown{filter:brightness(0);opacity:.18}.scene{position:relative;overflow:hidden;flex:1 1 180px;min-height:115px;max-height:245px;border-radius:24px;background:linear-gradient(#9de0ea 0 65%,#dfedaa 65%);display:flex;align-items:center;justify-content:center;gap:8px;border:2px solid #e4d6af}.scene:before{content:'☁　　☁';color:#fff;font-size:40px;position:absolute;top:0;left:16px;opacity:.8}.scene .sprite{position:relative;z-index:1;animation:bob 3s ease-in-out infinite;width:min(42vw,170px);height:min(42vw,170px)}.hero{height:172px;width:155px;flex-shrink:0;overflow:hidden;position:relative;z-index:1;border-radius:42%}.hero img{position:absolute;width:420px;max-width:none;left:-129px;top:-103px}.encounter-art{position:relative}.growth{position:absolute;bottom:0;right:2px;font-size:16px;z-index:2}.area-icon{font-size:55px;z-index:1}.dialog{flex:none;background:#fffaf0;border:2px solid #bd9b6d;border-radius:18px;padding:10px 12px;line-height:1.6;box-shadow:0 3px 0 #eee0c5;font-size:13px}.friend-meter{flex:none;padding:5px 8px}.friend-meter .row{font-size:13px}.meter{height:9px;border-radius:15px;background:#f1e6d4;overflow:hidden;margin:5px 0}.meter span{height:100%;display:block;background:linear-gradient(90deg,#f6b7bc,#ec86ac);border-radius:15px}.celebrate{display:block;padding-bottom:4px;color:#b36b69;font-size:12px}.tagline{font-size:12px;line-height:1.6}.controls{flex:none;display:flex;flex-direction:column;gap:8px}.controls>.small{width:100%}.two-actions,.question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none}.question-grid .action{font-size:12px;padding:8px}.two-actions>.primary:only-child{grid-column:1/-1}.two-actions:has(>button:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.two-actions:has(>button:nth-child(3)) button{font-size:11px;padding:7px 3px}.paged-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px;min-height:0;flex:1}.paged-grid .card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;padding:8px 5px;gap:2px}.paged-grid .card strong{font-size:12px;line-height:1.5;display:block}.paged-grid .card small{font-size:10px}.item-art{display:block;width:82px;height:82px;object-fit:contain;margin:auto;flex-shrink:1;min-height:0}.item-card .item-art{max-height:calc(100% - 63px)}.monster-card .sprite{max-height:calc(100% - 40px);flex-shrink:1;min-height:0}.pager{flex:none;display:flex;justify-content:space-between;align-items:center;padding-top:3px;font-size:12px}.pager .small{min-width:90px}.item-detail,.species-art{display:flex;align-items:center;justify-content:center;min-height:80px;max-height:180px;flex:1}.item-detail .item-art{width:180px;height:180px;max-height:100%}.species-art .sprite{height:100%;max-height:160px}.individual-card{gap:6px!important}.page-individuals>.paged-grid{flex:none;min-height:150px;max-height:190px}.mission-card h2{font-size:14px}.mission-card p{font-size:11px;margin:3px 0}.mission-card .small{width:95%;margin-top:5px;min-height:36px;padding:5px}.ready{background:#f9d3dd}.claim-all{flex:none}.toast{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(90%,420px);background:#6b533df5;color:#fff;padding:12px;border-radius:16px;z-index:20;text-align:center;font-size:13px;pointer-events:none}.town{flex:1;min-height:0;display:flex;flex-direction:column;background:linear-gradient(#b6e6ef 35%,#d9e8ac 35%);border-radius:24px;padding:10px;text-align:center;overflow:hidden}.houses{flex:none;font-size:44px}.town-friend{background:transparent;border:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.town-friend .sprite{width:90px;height:90px;max-height:calc(100% - 20px);min-height:0;animation:wander 7s ease-in-out infinite alternate}.town .pager .small{background:#fff9e3}.footer{flex:none;text-align:center;font-size:9px;color:#9b8668;margin-top:auto;padding-top:2px}.empty{text-align:center;padding:24px 8px;flex:1;display:flex;flex-direction:column;justify-content:center}.save{font-size:9px;color:#7d9a6b}.area-list{display:flex;flex-direction:column;flex:1;gap:10px;min-height:0}.area-card{display:flex;align-items:center;gap:10px;background:#fffdf8;border:1px solid #e3cba7;border-radius:22px;padding:12px;text-align:left;flex:1;min-height:0;box-shadow:0 3px 0 #eee2c9}.area-card>span{font-size:38px}.area-card>div{flex:1}.area-card h2{font-size:19px}.area-card p{font-size:11px;margin:3px 0;color:#a48765}.area-card small{font-size:11px}.weather{padding:4px 8px}.ad-form{display:flex;flex-direction:column;gap:8px;min-height:0}.ad-form p{margin:0}.ad-form label{display:flex;flex-direction:column;gap:3px;font-size:12px}.ad-form input{width:100%;border:1px solid #d8bd91;background:#fffdf8;border-radius:10px;padding:8px;font-size:13px;min-height:38px}.external-link{text-align:center;text-decoration:none;margin-top:8px}.page-settings>.action{margin-top:2px}.page-settings>.card{margin-top:8px}.page-news .card,.page-adconfirm .card{margin:16px 0}.page-town>.two-actions{margin-top:0}
@keyframes bob{50%{transform:translateY(-5px) rotate(2deg)}}@keyframes wander{to{transform:translateX(8px) translateY(-5px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}@media(min-width:600px) and (min-height:750px){#app{height:calc(100dvh - 32px);margin:16px auto;border-radius:28px}.home{width:min(100%,calc((100dvh - 138px)*.75))}}@media(max-height:740px){.screen{padding:8px 12px 6px;gap:6px}h1{font-size:21px}.scene{max-height:170px;flex-basis:140px}.scene .sprite{width:138px;height:138px}.hero{transform:scale(.82);margin:-15px}.dialog{font-size:12px;padding:8px 10px}.primary,.action{padding:8px;min-height:40px}.controls{gap:6px}.lead p{font-size:11px}.sprite.big{width:140px;height:140px}.footer{font-size:8px}.friend-meter{padding:1px 7px}.friend-meter small{font-size:10px}.ad-banner{height:58px}.home{width:min(100%,calc((100dvh - 96px)*.75))}.town-label{font-size:3.5cqw}.page-individuals>.paged-grid{min-height:135px}.ad-form{gap:5px}.ad-form input{padding:6px;min-height:34px}.ad-form .muted{font-size:10px}.ad-form label{font-size:11px}.area-card{padding:8px}.area-card h2{font-size:16px}.area-card>span{font-size:30px}.tabs button{font-size:11px;padding:6px;min-height:36px}.back,.small{min-height:38px}.topbar{height:50px}.mission-card p{font-size:11px}.mission-card small{font-size:9px}.mission-card .small{font-size:11px}.celebrate{font-size:10px}}
@media(max-height:610px){.scene{max-height:112px;min-height:85px}.scene .sprite{width:100px;height:100px}.hero{transform:scale(.6);margin:-32px}.dialog{font-size:11px;line-height:1.4;padding:6px 8px}.friend-meter .row{font-size:11px}.friend-meter small{font-size:9px}.controls .action,.controls .primary{min-height:36px;font-size:11px;padding:6px}.question-grid .action{font-size:10px;min-height:34px}.friend-meter .meter{margin:3px 0}.item-art{width:65px;height:65px}.monster-card .sprite{width:76px;height:76px}.mission-card h2{font-size:12px}.mission-card p{font-size:10px}.mission-card .small{min-height:30px}.page-settings>.action{min-height:36px}.ad-form input{min-height:29px;padding:4px}.ad-banner strong{font-size:12px}.ad-banner small{font-size:9px}.item-card .pill{font-size:8px}.paged-grid .card strong{font-size:11px}.houses{font-size:30px}}
.card p,.card strong,.card small{max-width:100%;overflow-wrap:anywhere}.item-art{width:125px;height:125px}.monster-card .sprite{width:120px;height:120px}.mission-card p{width:100%}.ad-banner strong,.ad-banner small{overflow-wrap:anywhere}@media(max-height:610px){.item-art{width:85px;height:85px}.monster-card .sprite{width:80px;height:80px}}
.dialog .item-art{display:inline-block;width:30px;height:30px;vertical-align:middle;margin-right:4px}.ad-banner strong{line-height:1.4}
button.celebrate{border:0;background:#fff0d8;border-radius:10px;width:100%;text-align:left;font:inherit;font-size:11px;margin:0 0 4px;padding:4px 7px;color:#a76a59}.page-milestone .card{font-size:14px;line-height:1.8}.page-milestone .species-art{max-height:240px}
/* お花集めゲームと共通の、画像つき７種のご案内。 */
.home{width:min(100%,calc((100dvh - 132px)*.75))}.ad-banner{height:88px;padding:7px 8px;gap:4px}.ad-main{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:100%;background:none;border:0;padding:0;text-align:left}.ad-main>img{width:84px;height:64px;object-fit:contain;background:#fffdf7;border-radius:8px;flex:none}.ad-main>span:last-child{min-width:0;flex:1}.ad-main strong{font-size:12px;line-height:1.5}.ad-main small{font-size:10px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ad-main .ad-mark{font-size:8px;padding:1px 3px;align-self:flex-start}.ad-tools{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;flex:none;width:34px}.ad-tools button{background:#fffdf7;border:1px solid #dec8a8;border-radius:8px;width:32px;height:26px;padding:0;font-size:21px;line-height:1}.ad-tools small{font-size:8px;line-height:1.4}.promo-feature{display:flex;flex-direction:column;align-items:center;flex:1;min-height:0;text-align:center;padding:10px;gap:5px}.promo-feature>.ad-mark{align-self:flex-start}.promo-picture{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}.promo-picture img{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:12px}.promo-feature h2{font-size:17px;margin:3px 0}.promo-feature p{margin:3px 0;font-size:12px}.promo-confirm{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;min-height:0;text-align:center}.promo-confirm>img{width:100%;min-height:0;flex:1;object-fit:contain;max-height:260px;border-radius:10px}.promo-confirm>.ad-mark{align-self:flex-start}.promo-confirm h2{font-size:18px}.promo-confirm p{margin:3px 0}.page-adconfirm .card{margin:0}.page-news .card{margin:0}.page-news .pager{gap:8px}.page-news .pager .small{min-width:80px}.page-adconfirm .external-link{margin:0;font-size:13px}
@media(min-width:600px) and (min-height:750px){.home{width:min(100%,calc((100dvh - 164px)*.75))}}@media(max-height:740px){.ad-banner{height:82px}.ad-main>img{width:74px;height:56px}.home{width:min(100%,calc((100dvh - 124px)*.75))}.ad-main strong{font-size:11px}.ad-main small{font-size:9px}.promo-feature h2,.promo-confirm h2{font-size:15px}.promo-feature p{font-size:11px}.promo-confirm p{font-size:11px}}@media(max-height:610px){.ad-main>img{width:65px;height:50px}.ad-main{gap:5px}.ad-main .ad-mark{position:absolute;top:5px;left:5px;background:#fff9e9}.promo-feature h2{font-size:13px}.promo-feature p{font-size:10px}.page-news .primary{font-size:11px}.promo-confirm p{font-size:10px}}
/* 絵本の世界を歩く、待ち時間のないぼうけん。 */
.header-tools{display:flex;align-items:center;gap:7px;flex:none}.header-tools button{position:relative;width:46px;min-height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;background:#fffdf4;border:1px solid #dec29a;border-radius:14px;padding:3px;color:#82603f;box-shadow:0 2px 0 #edddc3}.header-tools button>span{font-size:20px;line-height:1.05}.header-tools small{font-size:9px;color:#806245;line-height:1.4}.nav-bell{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notice-badge{position:absolute;right:-3px;top:-3px;min-width:16px;height:16px;border-radius:50%;background:#e789a6;color:#fff;font-size:9px;display:grid;place-items:center;border:2px solid #fff9ea}.topbar{height:57px;padding:5px 12px}.home-topbar{width:100%;height:54px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:4px 14px}.home-greeting{font-size:13px;color:#a77e57;letter-spacing:.5px}.home-layout{justify-content:center;gap:5px}.home{width:min(100%,calc((100dvh - 188px)*.75))}.home-counter-cover{position:absolute;left:1.2%;top:1.6%;width:23.5%;height:6%;border:1px solid #fff9e9;background:#fffbee;border-radius:40px;display:flex;align-items:center;justify-content:center;white-space:nowrap;color:#a27e57;font-size:2.25cqw;box-shadow:0 1px 0 #e1d3ae}.home-gear-cover{position:absolute;right:1.3%;top:1.3%;width:10%;height:7.2%;background:#fff8e6;border:2px solid #bb9569;border-radius:50%;color:#efbc53;display:flex;align-items:center;justify-content:center;font-size:7cqw;text-shadow:1px 1px #b99567}.home-layout #home-ad-slot{width:100%;flex:none;display:flex;justify-content:center}.ad-banner{height:80px;width:calc(100% - 24px);padding:8px 10px}.ad-main>img{width:86px;height:60px}.ad-main>span:last-of-type{flex:1;min-width:0}.ad-main>b{font-size:24px;color:#b7946f;margin-left:3px}.ad-main strong{font-size:12px}.home-save{font-size:9px}.ad-tools{display:none}
.page-map{position:relative;padding:12px 10px 7px;background:#f2f8d7;gap:6px}.page-map:before{content:'';position:absolute;inset:0;background:url(assets/world/adventure-map-v2.jpg) center/cover;opacity:.2;pointer-events:none}.page-map>*{position:relative;z-index:1}.map-intro{text-align:center;flex:none;padding:9px 5px 5px;background:#fff8e9eD;border:1px solid #e1c89f;border-radius:22px;box-shadow:0 3px 0 #e5d4b4}.map-intro h1{font-size:22px;letter-spacing:.3px;color:#6b4e34;margin:1px 0}.map-intro p{font-size:11px;margin:4px 0;color:#9a7754}.map-intro .eyebrow{color:#bd8b63;font-size:9px;letter-spacing:2px}.map-weather{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:0 4px}.map-weather>span{background:#fff9e9eF;border-radius:20px;padding:5px 10px;font-size:11px}.map-weather .small{min-height:32px;padding:5px 11px;background:#fff9e9eF;font-size:11px}.storybook-map{position:relative;flex:1;min-height:0;background:url(assets/world/adventure-map-v2.jpg) center/cover;border:3px solid #fff9e8;border-radius:28px;box-shadow:0 3px 0 #cbbb8b,0 6px 15px #88713b15;overflow:hidden}.journey-stop{position:absolute;display:flex;align-items:center;gap:6px;border:2px solid #b88d5d;border-radius:22px;background:#fffbeaee;padding:7px 6px;box-shadow:0 4px 0 #c5ad80,0 5px 12px #7c683132;width:89%;height:21%;min-height:78px;text-align:left;transition:transform .15s}.journey-stop:active{transform:translateY(3px);box-shadow:0 1px 0 #c5ad80}.stop-0{top:70%;left:3%;transform:rotate(-1deg)}.stop-1{top:40%;right:3%;transform:rotate(1deg)}.stop-2{top:10%;left:3%;transform:rotate(-1deg)}.stop-picture{width:23%;height:100%;max-height:84px;object-fit:cover;border-radius:14px;border:2px solid #e5ce9f;flex:none}.stop-number{position:absolute;left:-7px;top:-10px;width:26px;height:26px;display:grid;place-items:center;background:#efb7c5;color:#765138;border:2px solid #fff8df;border-radius:50%;box-shadow:0 1px 0 #bf9866;font-size:13px}.stop-copy{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}.stop-copy>small{font-size:9px;color:#ae8762;line-height:1.3}.stop-copy>strong{font-size:18px;line-height:1.4;letter-spacing:-.4px;white-space:nowrap}.stop-copy>span{font-size:10px;color:#a18765;display:flex;justify-content:space-between;gap:4px;line-height:1.4}.stop-copy b{font-size:10px;color:#b7657a;white-space:nowrap}.journey-stop .sprite{position:absolute;right:5px;top:-30px;width:53px;height:53px;filter:drop-shadow(0 2px 1px #fff);animation:float-small 3s ease-in-out infinite}.stop-1 .sprite{animation-delay:.7s}.stop-2 .sprite{animation-delay:1.2s}.map-promise{position:absolute;bottom:1%;left:10%;width:80%;text-align:center;font-size:9px;color:#846741;background:#fff8e1e8;border-radius:14px;padding:4px;letter-spacing:.5px}.map-spark{position:absolute;z-index:2;color:#fff9a9;text-shadow:0 1px 2px #bc9448;font-size:26px;animation:glimmer 3s ease-in-out infinite}.spark-one{left:5%;top:34%}.spark-two{right:4%;top:66%;animation-delay:1s}.page-map .footer{background:#fff7e3a8;border-radius:10px;font-size:8px}
.page-town{background:linear-gradient(#fff7e6,#edf1d0);padding:10px 12px 8px;gap:7px}.town-title{text-align:center;flex:none;background:#fff8e6;border:1px solid #e1c79c;border-radius:24px;padding:8px;box-shadow:0 3px 0 #e6d6b7}.town-title h1{font-size:26px;letter-spacing:1px}.town-title p{font-size:11px;margin:4px 0;color:#9b805d}.town-title .eyebrow{font-size:8px;letter-spacing:2px;color:#ba8b6c}.town-village{position:relative;display:block;min-height:0;padding:0;border:3px solid #fff9e3;border-radius:26px;background:url(assets/world/town-v2.jpg) center/cover;box-shadow:0 3px 0 #cfbf94,0 7px 18px #9f866015;overflow:hidden;isolation:isolate}.town-resident{position:absolute;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border:0;background:none;padding:0;width:26%;height:25%;min-height:55px;transform-origin:center bottom;animation:stroll 6s ease-in-out infinite}.town-resident .sprite{width:100%;height:calc(100% - 18px);min-height:0;max-width:94px;object-fit:contain;filter:drop-shadow(0 3px 1px #7b884733);animation:bob 3s ease-in-out infinite}.town-resident small{font-size:9px;background:#fff8e7f0;border:1px solid #d8bf8d;border-radius:14px;padding:2px 6px;white-space:nowrap;color:#775c3f;max-width:115%;overflow:hidden;text-overflow:ellipsis}.resident-0{left:12%;top:42%}.resident-1{left:58%;top:40%;animation-delay:1s}.resident-2{left:2%;top:66%;animation-delay:2s}.resident-3{left:35%;top:61%;animation-delay:3s}.resident-4{left:70%;top:65%;animation-delay:1.5s}.resident-5{left:42%;top:77%;height:20%;animation-delay:2.5s}.town-welcome{position:absolute;left:10%;right:10%;bottom:17%;background:#fff9e8ed;padding:12px 8px;border:2px solid #d7b584;border-radius:22px;font-size:14px;box-shadow:0 3px 0 #d4c595;color:#826544}.town-welcome small{font-size:10px;display:block;margin-top:7px}.town-hint{font-size:10px;text-align:center;line-height:1.5;color:#998160;flex:none;margin:2px 0}.village-spark{position:absolute;right:8%;top:24%;font-size:25px;color:#fffbc8;text-shadow:0 1px 2px #c4a757;animation:glimmer 3s ease-in-out infinite}.page-town .two-actions>button{font-size:13px}.page-town .pager{padding-top:1px}.page-town .pager .small{min-height:34px;padding:5px 10px}.scene.illustrated-scene{background-position:center;background-size:cover;max-height:290px}.illustrated-scene:before{display:none}.walk-invitation{position:absolute;bottom:8px;left:15%;right:15%;text-align:center;font-size:11px;background:#fff8e7e8;border:1px solid #e2c89e;border-radius:16px;padding:5px;color:#946d45}.notice-card{justify-content:center!important;gap:9px!important;text-align:center}.notice-card h2{font-size:17px;line-height:1.6;margin:0}.notice-card p{font-size:12px;line-height:1.9;margin:0;padding:0 10px}.notice-flower{font-size:30px;color:#dfa1b5}.page-notices{background:linear-gradient(#fff8e8,#fff1e1)}.page-notices>.lead{margin-bottom:3px}.page-settings .action{flex:none}.page-settings .card{flex:none}
@keyframes float-small{50%{translate:0 -5px;rotate:4deg}}@keyframes glimmer{50%{opacity:.4;transform:scale(.8)}}@keyframes stroll{50%{translate:5px -3px;rotate:2deg}}
@media(min-width:600px) and (min-height:750px){.home{width:min(100%,calc((100dvh - 220px)*.75))}}@media(max-height:740px){.home{width:min(100%,calc((100dvh - 178px)*.75))}.home-topbar{height:50px}.header-tools button{width:43px;min-height:41px}.topbar{height:53px}.ad-banner{height:76px}.ad-main>img{width:76px;height:56px}.map-intro{padding:7px 4px 4px;border-radius:19px}.map-intro h1{font-size:19px}.map-intro p{font-size:10px;margin:3px 0}.map-intro .eyebrow{font-size:8px}.page-map{padding:8px 9px 6px;gap:5px}.stop-copy>strong{font-size:16px}.stop-copy>small{font-size:8px}.stop-copy>span,.stop-copy b{font-size:9px}.journey-stop{min-height:70px;gap:5px;padding:6px}.stop-number{width:23px;height:23px;font-size:11px;top:-9px}.journey-stop .sprite{width:46px;height:46px;top:-28px}.map-promise{font-size:8px;bottom:1.5%;padding:3px}.town-title{padding:5px}.town-title h1{font-size:23px}.town-title p{font-size:10px}.town-title .eyebrow{font-size:7px}.page-town{padding:8px 10px 6px;gap:6px}.town-welcome{font-size:12px;padding:10px 5px}.town-welcome small{font-size:9px}.notice-card h2{font-size:15px}.notice-card p{font-size:11px;line-height:1.8}.scene.illustrated-scene{max-height:190px}}
@media(max-height:610px){.home{width:min(100%,calc((100dvh - 172px)*.75))}.home-topbar{height:46px}.home-greeting{font-size:11px}.header-tools button{width:41px;min-height:39px;padding:2px}.header-tools{gap:5px}.header-tools small{font-size:8px}.header-tools button>span{font-size:18px}.topbar{height:49px}.home-layout{gap:4px}.ad-banner{height:73px}.ad-main>img{width:65px;height:49px}.home-save{font-size:8px}.map-intro h1{font-size:17px}.map-intro p{font-size:9px}.map-intro{padding:5px 3px 4px}.map-weather .small{min-height:28px;font-size:10px;padding:4px 10px}.map-weather>span{font-size:10px;padding:4px 9px}.stop-copy>strong{font-size:14px}.stop-picture{width:24%;border-radius:10px}.journey-stop{min-height:62px;border-radius:18px;gap:4px}.stop-copy{gap:2px}.stop-copy>small{font-size:7px}.stop-copy>span,.stop-copy b{font-size:8px}.journey-stop .sprite{width:38px;height:38px;top:-22px}.storybook-map{border-radius:24px}.map-promise{font-size:7px}.town-title h1{font-size:21px}.town-title p{font-size:9px}.town-hint{font-size:9px}.town-resident small{font-size:8px;padding:1px 5px}.page-town .two-actions>button{font-size:11px}.town-welcome{bottom:14%;font-size:11px}.town-welcome small{font-size:8px}.notice-card h2{font-size:13px}.notice-card p{font-size:10px;line-height:1.7}.notice-card{gap:5px!important}.notice-flower{font-size:23px}.scene.illustrated-scene{max-height:124px;min-height:90px}.walk-invitation{font-size:9px;padding:3px;bottom:5px}.page-notices .pager{display:none}}
.header-tools small{white-space:nowrap;font-size:8px}.journey-stop{height:18%}.stop-0{top:71%}.stop-1{top:42%}.stop-2{top:13%}.page-notices .pager{display:none}
.page-notices>.paged-grid{grid-template-columns:1fr}.page-notices .notice-card{gap:5px!important}.page-notices .notice-card p{max-width:360px}
/* 元の主人公画像は描き変えず、表示領域で背景を切り抜く。 */
.hero{border-radius:0}.hero img{clip-path:polygon(59.2% 24.5%,59.5% 25.8%,58.9% 28.4%,58.9% 31.6%,60.4% 34.2%,61.1% 37.5%,61.2% 38.1%,66.2% 39.5%,66.6% 40.5%,66.6% 46.4%,64.8% 48.9%,64.7% 50.2%,65.6% 51.4%,66.9% 52.1%,66.4% 53.6%,64.7% 54.8%,62.7% 55.4%,61.6% 59%,61.6% 60.6%,60.8% 61.5%,59.5% 61.7%,58% 60.9%,56.8% 59.6%,54.7% 59.4%,52.6% 59.6%,47.9% 59.5%,45.9% 60.4%,45% 62%,43.2% 62.6%,42.4% 61.9%,42% 60.7%,40.9% 59.3%,40.1% 58.7%,38.2% 58.3%,36.5% 57.5%,35.1% 56.6%,33% 56.6%,31.4% 55.8%,30.3% 54.2%,31% 52.9%,33.9% 50.2%,36.3% 46.1%,37% 45.1%,35.3% 44.4%,34.7% 43.2%,35.5% 42%,34.4% 42.5%,33.6% 41.4%,33.7% 40%,32.8% 35%,32.9% 34%,34.7% 32.3%,37.5% 33.3%,38.3% 36.3%,38.7% 34.5%,37.7% 33.7%,37.3% 31%,36.4% 29.3%,36.4% 27.7%,38.6% 27%,41.2% 27%,43.6% 27.9%,46.7% 26.3%,49.6% 25.9%,52.6% 26.5%,54.5% 25.3%,57.3% 24.5%)}
.page-walk .scene.illustrated-scene{flex:1;max-height:none;min-height:145px}.page-walk .hero{transform:none;margin:0}.page-walk .controls{gap:8px}.hit{min-height:40px}@media(max-height:610px){.page-walk .hero{transform:scale(.85);margin:-10px}.page-walk .scene.illustrated-scene{min-height:130px}}
/* スクロールで見渡せる一覧と、内容を隠さない下部広告。 */
.screen{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9bd96 transparent}.screen.scroll-page{display:block;overflow-y:auto;padding:18px 16px 20px;-webkit-overflow-scrolling:touch}.scroll-page>.lead{margin:0 0 18px}.scroll-page h1{font-size:25px}.scroll-page .tagline{font-size:13px;line-height:1.8}.scroll-page>.footer{margin-top:24px;padding:8px 0;font-size:10px}.scroll-page>.primary,.scroll-page>.small{margin:12px 0;width:100%}.filter-chips{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.filter-chips button{border:1px solid #dec49f;border-radius:18px;background:#fffcf5;min-height:38px;padding:7px 12px;font-size:12px;line-height:1.5}.filter-chips .selected{background:#f5c3d0;border-color:#ba8b74;box-shadow:0 2px 0 #e1b6a2}.collection-controls,.inventory-controls{position:sticky;top:-18px;z-index:3;background:#fff9eef5;padding:12px 0;margin:0 0 14px;border-bottom:1px solid #ead7b9;backdrop-filter:blur(8px)}.collection-counts{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin:0 0 10px;color:#9c7a58}.collection-counts strong{font-size:16px;color:#755437;margin-left:4px}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collection-card{position:relative;min-width:0;min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 8px 12px}.collection-card.is-friend{border-color:#e2a1b6;background:linear-gradient(#fffefa,#fff3e9);box-shadow:0 3px 0 #f1d4cc}.collection-card .sprite{width:105px;height:105px;flex:none}.collection-card>strong{font-size:15px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}.collection-status{font-size:11px;color:#b1807d}.collection-card>small{font-size:11px}.collection-card .meter{width:84%;height:7px;margin:0}.rarity{display:inline-block;align-self:flex-start;border-radius:10px;padding:3px 8px;font-size:10px;background:#edf0d4;color:#819059}.rarity-レア{background:#e9e4fa;color:#927bb3}.rarity-激レア{background:#fff0bb;color:#aa7d33;border:1px solid #e7ca72}.species-portrait{height:190px;display:flex;align-items:center;justify-content:center;margin:14px 0}.species-portrait .sprite{width:180px;height:180px}.friend-profile,.locked-profile,.encounter-hint{margin:16px 0;padding:18px}.friend-profile h2,.locked-profile h2,.encounter-hint h2{font-size:18px}.friend-profile dl{display:grid;grid-template-columns:94px minmax(0,1fr);gap:13px 10px;margin:20px 0 2px;font-size:14px;line-height:1.8}.friend-profile dt{color:#a0805d}.friend-profile dd{margin:0}.friend-profile .pill{font-size:12px;padding:3px 8px}.locked-profile{text-align:center;background:#f8f2e6;border-style:dashed}.locked-profile>span{font-size:25px}.locked-profile p{font-size:13px;line-height:1.9;color:#a08566}.friend-memory{background:#fff0d0;border-radius:14px;padding:12px;text-align:center;font-size:13px;line-height:1.9}.individual-list{margin:22px 0}.individual-list>h2{font-size:18px}.individual-list>h2 small{font-size:13px;margin-left:8px}.individual-row{display:flex;align-items:center;gap:12px;padding:15px;margin-top:10px}.individual-row>div{flex:1;min-width:0}.individual-row strong{display:block;font-size:15px}.individual-row span,.individual-row small{display:block;font-size:11px;line-height:1.8;color:#a28261}.individual-row .meter{height:7px;margin:7px 0 0}.individual-row>.small{flex:none;padding:9px;font-size:11px}.inventory-controls p{margin:9px 2px 0;font-size:11px;color:#a18462}.item-section{margin:18px 0 28px}.item-section>h2{display:flex;align-items:center;justify-content:space-between;font-size:19px;border-left:4px solid #e9b5c6;padding-left:10px;margin:0 0 12px}.item-section>h2 small{font-size:12px;color:#aa8c69;font-weight:400}.item-list{display:flex;flex-direction:column;gap:10px}.inventory-row{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:12px;width:100%;padding:14px 12px;text-align:left;min-height:120px}.item-picture{display:flex;align-items:center;justify-content:center;align-self:center;width:78px;height:86px;background:#fff8e7;border-radius:20px}.item-picture .item-art{width:76px;height:76px;flex:none}.item-information{min-width:0;display:flex;flex-direction:column;gap:10px}.item-title{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}.item-title>strong{font-size:15px;line-height:1.65}.quantity{font-size:18px;color:#bd718e;white-space:nowrap;padding:2px 8px;border-radius:12px;background:#fff0f4;flex:none}.quantity>small{display:inline;font-size:10px;color:inherit;margin-left:2px}.item-tags{display:flex;flex-wrap:wrap;align-items:center;gap:3px}.item-tags em{font-size:10px;color:#a88b6b;font-style:normal;margin-right:3px}.item-tags .pill{margin:0;font-size:11px;padding:3px 7px}.mission-summary{position:sticky;top:-18px;z-index:3;background:#fff9eef5;padding:12px 0 14px;border-bottom:1px solid #e6cfae;backdrop-filter:blur(8px);margin-bottom:15px}.mission-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.mission-summary strong{font-size:23px;color:#b67e83}.mission-summary span{font-size:11px;color:#a38765}.mission-summary .claim-all{min-height:47px;font-size:15px}.mission-list{display:flex;flex-direction:column;gap:14px}.mission-row{padding:17px 14px;min-height:165px}.mission-heading{display:flex;align-items:center;gap:10px}.mission-heading>div{flex:1;min-width:0}.mission-heading h2{font-size:17px;line-height:1.6;margin:0}.mission-heading p{font-size:12px;color:#a18461;margin:5px 0 0;line-height:1.7}.mission-stamp{width:35px;height:35px;flex:none;border-radius:50%;background:#fbebd7;display:grid;place-items:center;font-size:16px;color:#c09569}.mission-state{flex:none;font-size:10px;color:#aa845d;background:#fff1d1;border-radius:12px;padding:5px 7px}.mission-row.claimed .mission-state{color:#94a375;background:#edf2dd}.mission-progress{display:flex;align-items:center;gap:10px;margin:15px 0}.mission-progress .meter{flex:1;height:9px;margin:0}.mission-progress>strong{font-size:13px;min-width:38px;text-align:right;color:#a17d55}.mission-reward{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px dashed #ebd8bc;padding-top:11px}.mission-reward>span{font-size:11px;color:#a08461}.mission-reward .small{min-height:41px;min-width:95px;font-size:12px}.mission-row.claimed .mission-stamp{background:#edf2dc;color:#8ea361}.notice-list{display:flex;flex-direction:column;gap:14px}.notice-list .notice-card{padding:20px 14px;min-height:180px}.notice-list .notice-card p{font-size:13px}.scroll-page .promo-picture{height:245px;min-height:100px;flex:none}.scroll-page .promo-feature{padding:14px;gap:10px}.scroll-page .promo-confirm>img{height:220px;flex:none}.scroll-page .promo-confirm{padding:15px;gap:12px}.scroll-page.page-item .item-detail{height:185px}.scroll-page.page-item .card{padding:20px;margin:12px 0}.ad-dock{flex:none;height:calc(76px + env(safe-area-inset-bottom,0px));min-height:76px;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;justify-content:center;background:#fff7e8;border-top:1px solid #e3ceaa;box-shadow:0 -3px 12px #aa8c5e10;z-index:8}.ad-dock .ad-banner{height:100%;width:100%;margin:0;padding:5px 9px;border-radius:14px;box-shadow:0 2px 0 #eadcc5}.ad-dock .ad-main>img{width:68px;height:48px}.ad-dock .ad-main strong{font-size:11px;line-height:1.5}.ad-dock .ad-main small{font-size:9px;line-height:1.4}.ad-dock .ad-main .ad-mark{font-size:8px}.ad-dock .ad-main>b{font-size:21px}.home-layout{height:auto;min-height:0;flex:1;padding:0 0 4px;justify-content:space-between}.home{width:min(100%,calc((100dvh - 166px)*.75))}.combined-home-label{position:absolute;left:43%;top:18%;width:54%;height:66%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;background:#fff0e7;color:#69452e;font-size:3.2cqw;line-height:1.2;font-weight:500;white-space:nowrap}.home .town-label{font-size:3.45cqw}.scroll-page .empty{min-height:220px}
@media(min-width:600px) and (min-height:750px){.home{width:min(100%,calc((100dvh - 198px)*.75))}}@media(max-height:740px){.screen.scroll-page{padding:15px 13px 20px}.collection-controls,.inventory-controls,.mission-summary{top:-15px}.ad-dock{height:calc(72px + env(safe-area-inset-bottom,0px));min-height:72px}.scroll-page h1{font-size:23px}.home{width:min(100%,calc((100dvh - 160px)*.75))}.scroll-page .promo-picture{height:205px}}
@media(max-width:350px){.collection-grid{gap:9px}.collection-card{min-height:190px;padding:12px 5px;gap:6px}.collection-card>strong{font-size:13px}.collection-card .sprite{width:90px;height:90px}.collection-counts{font-size:10px}.collection-counts strong{font-size:14px}.filter-chips{gap:6px}.filter-chips button{font-size:11px;padding:6px 10px;min-height:36px}.inventory-row{grid-template-columns:64px minmax(0,1fr);gap:9px;padding:12px 9px;min-height:113px}.item-picture{width:64px;height:76px}.item-picture .item-art{width:63px;height:63px}.item-title>strong{font-size:13px}.quantity{font-size:16px;padding:2px 6px}.item-tags .pill{font-size:10px;padding:3px 5px}.mission-row{padding:14px 11px}.mission-heading h2{font-size:15px}.mission-heading p{font-size:11px}.mission-stamp{width:28px;height:28px;font-size:13px}.mission-state{font-size:9px;padding:4px 5px}.mission-reward>span{font-size:10px}.mission-reward .small{min-width:86px}.individual-row{padding:12px;gap:9px}.individual-row strong{font-size:13px}.friend-profile dl{grid-template-columns:78px 1fr;font-size:13px}.friend-profile h2,.locked-profile h2{font-size:16px}.ad-dock .ad-main>img{width:59px;height:43px}}
@media(max-height:610px){.ad-dock{height:calc(68px + env(safe-area-inset-bottom,0px));min-height:68px;padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))}.ad-dock .ad-main strong{font-size:10px}.ad-dock .ad-main small{font-size:8px}.ad-dock .ad-main>img{height:43px}.home{width:min(100%,calc((100dvh - 156px)*.75))}.scroll-page h1{font-size:22px}.scroll-page .tagline{font-size:12px}.scroll-page .promo-picture{height:180px}.scroll-page .promo-confirm>img{height:175px}}
/* お花とリボンで、出会いが楽しみになる絵本のUI。 */
:root{--joy-rose:#ec91b2;--joy-mint:#badfbc;--joy-gold:#f1cc73;--joy-ink:#745136}.ad-main{color:inherit;text-decoration:none}.ad-main:focus-visible{outline:3px solid #e58ea8;border-radius:10px}.home-empty-sky{position:absolute;left:0;top:0;width:26%;height:8.2%;background:radial-gradient(ellipse at 12% 71%,#ffffffcc 0 15%,transparent 16%),radial-gradient(ellipse at 30% 63%,#fffef9dc 0 23%,transparent 24%),radial-gradient(ellipse at 49% 74%,#ffffffc9 0 17%,transparent 18%),linear-gradient(115deg,#8bddf2,#8edff4 55%,#92e1f5);border-radius:0 0 36% 0;pointer-events:none}.home-topbar{background:linear-gradient(90deg,#fff7df,#fff1e6 60%,#ffeaf2);border-bottom:1px dashed #dfc6a1}.home-greeting{color:#b77b80}.screen{background-color:#fff8e9}.scroll-page.page-dex{background:radial-gradient(circle at 5% 6%,#fce4ed 0 7%,transparent 7.3%),radial-gradient(circle at 96% 18%,#edf5d6 0 7%,transparent 7.3%),linear-gradient(#fff9eb,#fff2e3)}.scroll-page.page-inventory,.scroll-page.page-gifts{background:linear-gradient(135deg,#fff6e9,#f8f6df 48%,#ffeef1)}.scroll-page.page-missions{background:radial-gradient(ellipse at 95% 8%,#fce0e8 0 10%,transparent 10.4%),linear-gradient(#fff8e7,#fff1dd)}.scroll-page>.lead{position:relative;margin:1px 0 17px;padding:16px 10px 18px;background:linear-gradient(115deg,#fffdf5ee,#fff0e6);border:2px solid #fffdf5;border-radius:26px 26px 32px 32px;box-shadow:0 4px 0 #e8d4b5,0 8px 16px #bc956d0a}.scroll-page>.lead:before{content:'✿';position:absolute;left:9px;top:-9px;font-size:28px;color:#e8a4b7;rotate:-15deg;text-shadow:1px 1px #fff}.scroll-page>.lead:after{content:'✦';position:absolute;right:12px;bottom:5px;font-size:20px;color:#e3bb5e}.scroll-page>.lead h1{color:#805335;letter-spacing:1px}.scroll-page .eyebrow{font-size:9px;color:#b78478;letter-spacing:1.5px}.scroll-page .tagline{color:#a77d68}.primary{position:relative;background:linear-gradient(165deg,#ffc8db,#f1a6c4);border-color:#c48891;box-shadow:0 4px 0 #d39a97,0 6px 12px #de9eaf18;color:#814b55}.primary:active{box-shadow:0 1px 0 #d39a97}.action{background:linear-gradient(#fffdf5,#fff0d7);border-color:#c9aa7a;box-shadow:0 3px 0 #dcc391}.filter-chips button{border:2px solid #fffdf7;box-shadow:0 2px 0 #d7bd94;background:#fff8ea;color:#9c7554}.filter-chips .selected{background:linear-gradient(#ffd5e2,#f3b4ce);border-color:#fff3f5;box-shadow:0 3px 0 #d493a8;color:#8c5266}.collection-controls,.inventory-controls,.mission-summary{background:#fff7e9f5;border-color:#e6c6a6;border-radius:0 0 16px 16px;padding-left:2px;padding-right:2px}.collection-grid{gap:15px 12px}.collection-card{display:block;padding:0;overflow:visible;border:2px solid #fffdf5;box-shadow:0 4px 0 #dfc8a6,0 8px 14px #ad875418;min-height:215px;background:linear-gradient(155deg,#fffefa,#fff5e1)}.collection-card.is-friend{border-color:#fff1f5;background:linear-gradient(145deg,#fff9ec,#ffe4ee);box-shadow:0 4px 0 #d9a1b0,0 8px 15px #df9cb320}.collection-open{position:relative;width:100%;height:100%;min-height:213px;padding:37px 7px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;border-radius:20px;background:transparent;color:inherit;font:inherit}.collection-open>.rarity{position:absolute;top:10px;left:9px;font-size:9px}.collection-open>strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere;max-width:100%;text-shadow:0 1px #fff}.collection-open>small{font-size:10px}.collection-open>.meter{width:83%;height:6px;margin:0}.collection-open .sprite{width:100px;height:100px}.portrait-halo{position:relative;display:grid;place-items:center;width:116px;height:110px;background:radial-gradient(ellipse,#ffe7b280,#fff7d624 60%,transparent 62%)}.is-friend .portrait-halo{background:radial-gradient(ellipse,#ffc5d980,#fff5dc44 63%,transparent 65%)}.collection-open:active .sprite{scale:1.07;rotate:3deg}.friend-ribbon{position:absolute;right:-6px;top:9px;z-index:2;border:0;min-height:29px;background:#e99eb8;color:#fff9f0;border-radius:4px 2px 2px 4px;box-shadow:0 2px 0 #be7f98;padding:4px 9px 4px 10px;font-size:10px;letter-spacing:.4px;rotate:4deg;line-height:1.5}.friend-ribbon:before{content:'';position:absolute;right:0;bottom:-5px;border-top:5px solid #b2768a;border-right:5px solid transparent}.friend-ribbon:after{content:'✿';margin-left:4px;color:#fff4bd;font-size:11px}.friend-ribbon:active{transform:translateY(2px);box-shadow:none}.collection-status{color:#ba8091;font-size:10px}.mission-row{border:2px solid #fffdf4;box-shadow:0 3px 0 #dfc8a3;background:linear-gradient(130deg,#fffef8,#fff5e9);border-radius:24px}.mission-row:nth-child(3n+2){background:linear-gradient(135deg,#fffdf5,#f0f5e2)}.mission-row:nth-child(3n){background:linear-gradient(135deg,#fffdf8,#fff0f2)}.mission-stamp{background:#ffe2ad;color:#b98753;border:2px solid #fff9df;box-shadow:0 2px 0 #e8c989}.mission-row.claimed .mission-stamp{border-color:#f9f8de;box-shadow:0 2px 0 #ccdcad}.mission-row .ready{background:#f7bad0;border-color:#da9db3;box-shadow:0 2px 0 #dcabc2}.mission-summary strong{color:#d28ca5}.inventory-row{border:2px solid #fffdf4;box-shadow:0 3px 0 #dec6a3;background:linear-gradient(130deg,#fffef9,#fff5e5);border-radius:24px}.item-picture{background:radial-gradient(circle,#ffe8bd,#fff7e5 70%);border:2px solid #fffaf0}.item-section:nth-child(2n) .item-picture{background:radial-gradient(circle,#e8f0c5,#fff7e5 70%)}.item-section:nth-child(3n) .item-picture{background:radial-gradient(circle,#ffdce9,#fff6e9 70%)}.item-section>h2{color:#ad765a;border-left-color:#eda9bf}.quantity{background:#ffe1ec;color:#bd6c91;border:1px solid #fff7f4}.item-tags .pill{background:#f0efca;border:1px solid #fffcf0}.page-map .map-intro{background:linear-gradient(130deg,#fff7d9,#ffe5ec);border:2px solid #fff7e8;box-shadow:0 4px 0 #d6b08f}.map-intro h1{color:#a16867}.journey-stop{background:linear-gradient(130deg,#fffdf2f5,#ffe9e8f2);border:3px solid #fff5e2;box-shadow:0 4px 0 #c8958b,0 8px 13px #91673620;gap:8px;width:88%;height:20%;padding:5px}.journey-stop .stop-picture{width:29%;border:2px solid #fffdf1;box-shadow:0 2px 0 #d9c197;border-radius:15px}.stop-1{background:linear-gradient(135deg,#fff8e8f2,#ffe0e9f2);box-shadow:0 4px 0 #cd91a5}.stop-2{background:linear-gradient(135deg,#fffdf2f2,#e1f0f8f2);box-shadow:0 4px 0 #9dbbcb}.stop-number{background:#f5b2cd;box-shadow:0 2px 0 #d997aa}.stop-1 .stop-number{background:#edd69c}.stop-2 .stop-number{background:#bbdcd9}.stop-copy>strong{color:#83583c}.stop-copy b{background:#ffe2b6;border:1px solid #fff8df;padding:3px 6px;border-radius:10px;color:#b07850}.journey-stop .sprite{filter:drop-shadow(0 2px 0 #fff);animation:float-small 3s ease-in-out infinite}.page-walk .illustrated-scene{border:3px solid #fffbec;box-shadow:0 4px 0 #c3c492}.page-walk .hero{animation:hero-step 3s ease-in-out infinite}.dialog{border:2px solid #d6b58a;background:linear-gradient(#fffdf7,#fff6e5);border-radius:22px;box-shadow:0 4px 0 #e6ccaa}.official-link-list{display:flex;flex-direction:column;gap:12px;margin-top:15px}.official-link-list>a{display:flex;align-items:center;gap:12px;color:#805d3f;background:#fffdf4;border:2px solid #fff1de;border-radius:19px;padding:10px;text-decoration:none;box-shadow:0 3px 0 #dec39e}.official-link-list img{width:85px;height:64px;object-fit:contain;border-radius:10px}.official-link-list span{font-size:13px;flex:1}.official-link-list b{color:#c08aa1;font-size:20px}.ad-main>b{color:#bd7896;font-size:18px}
/* お㌧もだちカードは、一人ひとり一画面。 */
.screen.page-individuals{overflow:hidden;display:flex;flex-direction:column;min-height:0;gap:6px;padding:10px 12px 7px;background:radial-gradient(ellipse at 5% 8%,#fbd5e5 0 12%,transparent 12.5%),radial-gradient(ellipse at 100% 85%,#e3f0ca 0 16%,transparent 16.5%),linear-gradient(140deg,#fff4dc,#fff0e9 55%,#f6e7ed)}.passport-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;height:28px}.passport-nav>span{font-size:9px;color:#b68a73;letter-spacing:1px}.passport-back{font:inherit;font-size:11px;color:#b2776b;border:1px solid #dfbb9e;background:#fff9e8;border-radius:14px;padding:5px 10px;min-height:28px}.passport-hero{position:relative;display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:10px;flex:none;height:132px;border:3px solid #fff8ea;border-radius:27px;background:linear-gradient(125deg,#fff6cd,#ffdeeb);box-shadow:0 4px 0 #dca3ae;padding:5px 12px 5px 4px}.passport-portrait{position:relative;height:118px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#fff5df,#ffe2a97a 60%,transparent 63%)}.passport-portrait .sprite{width:119px;height:119px;filter:drop-shadow(0 3px 1px #d7a98d33);animation:passport-bob 4s ease-in-out infinite}.passport-spark{position:absolute;left:4px;top:8px;color:#d5aa4d;text-shadow:0 1px #fff;font-size:23px;animation:glimmer 3s ease-in-out infinite}.passport-name{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.passport-name h1{font-size:22px;line-height:1.4;margin:0;color:#895a45;overflow-wrap:anywhere;max-width:100%}.passport-name .rarity{font-size:9px;padding:2px 7px;border:1px solid #fff8dd}.passport-status{font-size:10px;line-height:1.5;color:#bf7b93}.passport-name>small{font-size:10px;color:#b18d70}.passport-friend-bow{position:absolute;right:10px;top:-13px;font-size:28px;rotate:8deg}.companion-picker{display:block;font-size:0;margin-top:2px;width:100%}.companion-picker select{font:inherit;font-size:10px;height:23px;width:100%;max-width:170px;background:#fff9e9;border:1px solid #dfbb9c;border-radius:9px;color:#976e53;padding:1px 5px}.has-companions .passport-name h1{font-size:19px}.has-companions .passport-name{gap:2px}.passport-bond{flex:none;padding:5px 6px 2px}.passport-bond>div:first-child{display:flex;align-items:baseline;gap:8px}.passport-bond>div:first-child>span:first-child{font-size:10px;color:#ae7a79}.passport-bond strong{font-size:23px;line-height:1.2;color:#cf819e}.passport-bond strong small{font-size:10px;color:#b38f75}.passport-bond>div:first-child>span:last-child{margin-left:auto;font-size:9px;color:#ba997a}.passport-bond .meter{height:8px;margin:5px 0 4px;background:#ecdcc5;border:1px solid #fff9e7}.passport-bond .meter span{background:linear-gradient(90deg,#f8b4cd,#e48bb6)}.bond-steps{display:flex;justify-content:space-between;gap:4px}.bond-steps>span{font-size:8px;color:#bfa88b;border-radius:8px;background:#f4e8d7;padding:2px 5px;line-height:1.4}.bond-steps .unlocked{color:#bb718d;background:#ffe4ed;border:1px solid #fff4e7;padding:1px 4px}.passport-tabs{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;height:35px}.passport-tabs button{font:inherit;background:#fff9e9;border:2px solid #fff8e7;box-shadow:0 2px 0 #d7bda0;border-radius:12px;color:#b18b6b;font-size:11px;padding:5px 2px;white-space:nowrap}.passport-tabs .selected{background:linear-gradient(#ffcbdc,#f5b2cc);color:#945d78;box-shadow:0 3px 0 #d398b0}.passport-panel{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;border:2px solid #fff6e6;border-radius:22px;padding:14px 13px;background:#fffdf3;box-shadow:0 3px 0 #e1c29e}.passport-facts{display:grid;grid-template-columns:75px minmax(0,1fr);align-items:center;gap:12px 8px;margin:0;font-size:13px;line-height:1.5}.passport-facts dt{color:#b88b65;font-size:11px}.passport-facts dd{margin:0;color:#846044;min-width:0}.passport-facts .pill{font-size:11px;padding:3px 7px;background:#f3e8b6;margin:1px}.passport-facts dd>small{font-size:8px;display:block;line-height:1.4;margin-top:2px;color:#b99578}.passport-locked{font-size:10px;color:#c3aa8e;line-height:1.5}.passport-secret{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.passport-secret>span{font-size:26px;color:#d49ab2;line-height:1.1}.passport-secret h2{font-size:16px;line-height:1.5;margin:0;color:#b18178}.passport-secret p{font-size:12px;line-height:1.9;margin:0;max-width:100%;color:#aa8b70}.passport-secret>small{font-size:9px;color:#c1a181}.unlocked-secret h2,.unlocked-memory h2{color:#b66f8f}.unlocked-secret p,.unlocked-memory p{color:#997053}.unlocked-memory>span{font-size:32px}.passport-action{flex:none;min-height:43px;font-size:14px;padding:9px;margin:0}.page-individuals>.footer{flex:none;font-size:8px;margin:0;padding:2px 0 0;line-height:1.4}
@keyframes hero-step{50%{translate:0 -4px;rotate:1deg}}@keyframes passport-bob{50%{translate:0 -3px;rotate:2deg}}
@media(max-height:740px){.passport-hero{height:118px;grid-template-columns:102px minmax(0,1fr);padding:4px 9px 4px 3px}.passport-portrait{height:104px}.passport-portrait .sprite{width:106px;height:106px}.passport-name h1{font-size:19px}.passport-name .rarity{font-size:8px}.has-companions .passport-name h1{font-size:17px}.passport-bond strong{font-size:21px}.passport-panel{padding:11px 12px}.passport-facts{gap:10px 7px;font-size:12px}.passport-tabs{height:33px}.passport-tabs button{font-size:10px}.passport-secret h2{font-size:15px}.passport-secret p{font-size:11px}.journey-stop{gap:5px;padding:5px}.stop-copy>strong{font-size:15px}}
@media(max-height:610px){.screen.page-individuals{padding:7px 10px 6px;gap:5px}.passport-nav{height:24px}.passport-back{min-height:24px;padding:3px 8px;font-size:10px}.passport-nav>span{font-size:8px}.passport-hero{height:94px;grid-template-columns:88px minmax(0,1fr);gap:7px;border-radius:22px;padding:3px 8px 3px 2px}.passport-portrait{height:84px}.passport-portrait .sprite{width:88px;height:88px}.passport-name h1{font-size:17px;line-height:1.35}.passport-name{gap:2px}.passport-name .rarity{font-size:7px;padding:1px 6px}.passport-status{font-size:9px}.passport-name>small{font-size:9px}.passport-friend-bow{font-size:23px;top:-11px;right:7px}.passport-spark{font-size:18px;top:3px}.passport-hero.has-companions{height:110px}.has-companions .passport-name h1{font-size:15px}.companion-picker select{font-size:9px;height:22px}.passport-bond{padding:2px 5px}.passport-bond strong{font-size:19px}.passport-bond>div:first-child>span:first-child,.passport-bond strong small{font-size:9px}.passport-bond>div:first-child>span:last-child{font-size:8px}.passport-bond .meter{height:7px;margin:4px 0 3px}.bond-steps>span{font-size:7px;padding:1px 4px}.bond-steps .unlocked{padding:0 3px}.passport-tabs{height:30px;gap:5px}.passport-tabs button{font-size:9px;padding:4px 1px;border-radius:10px}.passport-panel{padding:10px;border-radius:18px}.passport-facts{grid-template-columns:65px minmax(0,1fr);font-size:11px;gap:8px 6px}.passport-facts dt{font-size:10px}.passport-facts .pill{font-size:10px;padding:2px 5px}.passport-locked{font-size:9px}.passport-secret{gap:5px}.passport-secret>span{font-size:22px}.passport-secret h2{font-size:13px}.passport-secret p{font-size:10px;line-height:1.8}.passport-secret>small{font-size:8px}.passport-action{min-height:37px;font-size:12px;padding:7px}.page-individuals>.footer{font-size:7px;padding-top:1px}.page-map .journey-stop{height:20%;min-height:62px}.stop-copy>strong{font-size:13px}.stop-copy>small{font-size:7px}.stop-copy b{padding:2px 4px;font-size:7px}.journey-stop .stop-picture{width:27%}.collection-open{min-height:192px;padding:35px 5px 12px}.collection-open>strong{font-size:13px}.collection-open .sprite{width:88px;height:88px}.portrait-halo{width:100px;height:94px}.collection-card{min-height:194px}.friend-ribbon{font-size:8px;padding:4px 6px;min-height:25px;right:-5px}.friend-ribbon:after{font-size:9px}.collection-open>.rarity{font-size:8px;left:7px}.scroll-page>.lead{padding:13px 9px 15px}.scroll-page>.lead h1{font-size:21px}}
@media(min-height:611px){.passport-facts{font-size:14px;gap:13px 9px}.passport-facts dt{font-size:12px}.passport-facts .pill{font-size:12px}.passport-status{font-size:11px}.passport-tabs button{font-size:11px}}

/* Compact illustrated page titles: leave space for the adventure. */
.screen .page-heading,.screen.scroll-page>.page-heading{display:flex;align-items:center;gap:10px;flex:none;text-align:left;position:relative;margin:0 0 12px;padding:8px 11px;min-height:56px;border:1px solid #ead9bc;border-radius:16px;background:linear-gradient(115deg,#fffdf6,#fff1e8);box-shadow:0 3px 0 #ead9bd;box-sizing:border-box}
.screen .page-heading:before,.screen .page-heading:after{content:none}
.page-heading .heading-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:13px;background:#f8e2dc;box-shadow:inset 0 0 0 1px #ffffffb0;transform:rotate(-5deg)}
.page-heading .heading-icon svg{width:30px;height:30px;overflow:visible}
.page-heading .icon-book,.page-heading .icon-house{background:#e8edcf}.page-heading .icon-bag,.page-heading .icon-mission{background:#f7e8be}.page-heading .icon-gear{background:#eee0ee}.page-heading .icon-flag,.page-heading .icon-bell{background:#e2eff1}
.page-heading .heading-copy{min-width:0;flex:1}
.screen .page-heading h1,.screen.scroll-page>.page-heading h1{font-size:19px;line-height:1.3;letter-spacing:0;margin:0;color:#805335}
.screen .page-heading h1 small{font-size:11px}
.screen .page-heading p{font-size:10px;line-height:1.45;margin:3px 0 0;color:#a17b65}
@media(max-width:350px),(max-height:610px){.screen .page-heading,.screen.scroll-page>.page-heading{padding:6px 9px;gap:8px;margin-bottom:10px;min-height:49px}.page-heading .heading-icon{flex-basis:32px;width:32px;height:32px;border-radius:11px}.page-heading .heading-icon svg{width:26px;height:26px}.screen .page-heading h1,.screen.scroll-page>.page-heading h1{font-size:17px}.screen .page-heading p{font-size:9px;margin-top:2px}}

/* The home menu is painted in the same picture-book style as Tonno. */
.storybook-home-menu{position:absolute;left:0;top:55%;width:100%;height:40%;isolation:isolate}
.home-menu-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
.home-paint-button{position:absolute;padding:0;border:0;background:transparent;color:#71482f;border-radius:999px;min-height:36px;font-weight:500;transition:transform .18s ease,filter .18s ease,background .18s ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent;text-shadow:0 1px #fff9ed,1px 0 #fff9ed,-1px 0 #fff9ed}
.home-paint-button>span{position:absolute;display:flex;align-items:center;justify-content:center;line-height:1.4;white-space:nowrap;letter-spacing:0}
.home-adventure{left:8%;top:3%;width:84%;height:28%}.home-adventure>span{left:26%;top:0;width:70%;height:100%;font-size:4.25cqw;color:#8f4254}
.home-collection{left:3%;top:36%;width:46%;height:26%}.home-inventory{left:51%;top:36%;width:46%;height:26%}.home-collection>span,.home-inventory>span{left:40%;top:0;width:55%;height:100%;font-size:3.5cqw}.home-inventory>span{font-size:4cqw}
.home-village,.home-missions,.home-guide{top:68%;width:29%;height:29%;border-radius:22%}.home-village{left:5%}.home-missions{left:36%}.home-guide{left:67%}.home-village>span,.home-missions>span,.home-guide>span{left:2%;top:62%;width:96%;height:32%;font-size:3.3cqw}.home-village>span{font-size:2.98cqw;letter-spacing:-.04em}
.home-paint-button:hover{background:#fff7;filter:brightness(1.03);transform:translateY(-2px)}.home-paint-button:active{background:#ffd6e866;transform:translateY(2px) scale(.98)}.home-paint-button:focus-visible{outline:3px dashed #be708b;outline-offset:2px;background:#fff4}
.home-button-spark{position:absolute;right:3%;top:2%;font-size:4.5cqw;color:#d3a443;text-shadow:0 1px #fff;animation:home-twinkle 2.6s ease-in-out infinite;font-style:normal;pointer-events:none}
@keyframes home-twinkle{0%,100%{transform:rotate(-10deg) scale(.8);opacity:.55}50%{transform:rotate(10deg) scale(1.1);opacity:1}}
@media(prefers-reduced-motion:reduce){.home-button-spark{animation:none}.home-paint-button{transition:none}}
.home-village,.home-missions,.home-guide{top:62%;height:35%}.home-village>span,.home-missions>span,.home-guide>span{top:64%;height:27%}.home-paint-button{min-height:44px}

/* A story window reads differently from a choice button. */
.screen .rpg-dialog{position:relative;flex:none;background:#365d70;color:#fff9e5;border:2px solid #b99c62;border-radius:3px;box-shadow:inset 0 0 0 2px #fff0bc,0 3px 0 #cbb791;padding:9px 13px 12px;font-family:'DotGothic16','Hiragino Kaku Gothic ProN',monospace;font-size:16px;line-height:1.65;cursor:default}
.rpg-speaker{display:block;font-family:'Kiwi Maru',sans-serif;font-size:10px;color:#ffe7ab;letter-spacing:1px;line-height:1.3;margin:0 0 4px}.rpg-message{overflow-wrap:anywhere}.rpg-dialog small{color:#fff2ce}.rpg-dialog .item-art{display:inline-block;width:32px;height:32px;margin:0 4px 0 0;vertical-align:middle}.encounter-announcement{display:block;color:#ffe5a3;font-weight:400;font-size:17px;margin-bottom:3px}.rpg-dialog .celebrate{color:#ffe1a8;text-align:left}
.page-walk{gap:8px}.page-walk .page-heading{margin-bottom:0}.journey-progress{flex:none;padding:2px 4px 4px}.journey-progress-copy{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:6px;font-size:12px;color:#89694a}.journey-progress-copy strong{font-weight:500}.journey-progress-copy>span{color:#ad6e89;font-size:11px;white-space:nowrap}.journey-track{height:9px;position:relative;border-radius:2px;background:#e8dec1;border:1px solid #c5af83;margin:0 5px}.journey-track>span{display:block;height:100%;background:repeating-linear-gradient(90deg,#a8c786 0 12px,#b8d596 12px 14px);transition:width .25s ease}.journey-track>i{position:absolute;top:50%;transform:translate(-50%,-50%);color:#d99ab0;font-size:19px;text-shadow:1px 1px #fff;font-style:normal;transition:left .25s ease}.journey-landmarks{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a18a68;margin-top:4px}.journey-landmarks>span:nth-child(2){color:#9a8065}.adventure-actions{display:grid;grid-template-columns:1fr;gap:8px}.adventure-actions>.primary{font-size:16px;min-height:47px;border-radius:22px}.adventure-actions>.action{font-size:13px;min-height:40px;border-radius:20px}.adventure-actions:has(.visit-guardian){grid-template-columns:1.3fr 1fr}.adventure-actions>.primary{grid-column:1/-1}.adventure-actions .visit-guardian{background:#edf1ce;border-color:#b0bc86;font-size:12px}.page-walk .scene.illustrated-scene{min-height:110px}
@media(max-height:650px){.page-walk{gap:6px;padding-top:8px;padding-bottom:5px}.page-walk .page-heading{min-height:44px;padding:5px 9px}.journey-progress-copy{font-size:11px;margin-bottom:4px}.journey-progress{padding-bottom:1px}.journey-landmarks{font-size:8px;margin-top:3px}.screen .rpg-dialog{font-size:14px;line-height:1.6;padding:8px 11px 10px}.encounter-announcement{font-size:15px}.rpg-speaker{font-size:9px;margin-bottom:3px}.adventure-actions{gap:6px}.adventure-actions>.primary{min-height:44px;padding:8px}.adventure-actions>.action{min-height:36px;padding:7px}.page-walk .scene.illustrated-scene{min-height:92px}.page-walk .hero{scale:.8}}
@media(prefers-reduced-motion:reduce){.journey-track>span,.journey-track>i{transition:none}}
/* Keep conversation choices compact without turning the story into a button. */
:is(.page-encounter,.page-talk,.page-profile)>.page-heading{margin-bottom:0}
:is(.page-encounter,.page-talk,.page-profile)>.controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
:is(.page-encounter,.page-talk,.page-profile)>.controls>.two-actions{display:contents}
:is(.page-encounter,.page-talk,.page-profile)>.controls>.question-grid,:is(.page-encounter,.page-talk,.page-profile)>.controls>.small{grid-column:1/-1}
:is(.page-encounter,.page-talk,.page-profile) .controls .action,:is(.page-encounter,.page-talk,.page-profile) .controls .primary{font-size:13px;padding:8px;min-height:42px}
@media(max-height:650px){:is(.page-encounter,.page-talk,.page-profile){gap:6px;padding-top:8px;padding-bottom:5px}:is(.page-encounter,.page-talk,.page-profile)>.controls{gap:6px}:is(.page-encounter,.page-talk,.page-profile) .controls .small{min-height:34px;padding:6px;font-size:11px}:is(.page-encounter,.page-talk,.page-profile) .scene.illustrated-scene{min-height:78px}:is(.page-encounter,.page-talk,.page-profile) .friend-meter{padding:2px 7px}:is(.page-encounter,.page-talk,.page-profile) .friend-meter>.row{font-size:11px}:is(.page-encounter,.page-talk,.page-profile) .friend-meter>small{font-size:9px}}
:is(.page-encounter,.page-talk,.page-profile)>.controls>.two-actions>.primary:only-child{grid-column:auto}
@media(max-height:650px){.page-talk .scene.illustrated-scene{min-height:50px;max-height:58px}.page-talk .scene>.hero{display:none}.page-talk .scene .sprite{width:54px;height:54px}.page-talk .controls .question-grid .action{font-size:11px;padding:5px;min-height:36px;line-height:1.5}}

.home-clear-sky{position:absolute;right:0;top:0;width:13%;height:9%;background:radial-gradient(ellipse at 100% 0%,#8bdcf1,#83d5ee);pointer-events:none}
.home-clear-sky{background-image:url(assets/home.jpg);background-size:769.2308% 1111.1111%;background-position:87% 0;background-repeat:no-repeat}

.header-tools .header-help>span{font-size:21px;font-weight:500;line-height:1.05;color:#a47986}
.home-village,.home-missions{top:67%;height:27%;width:46%;border-radius:999px}.home-village{left:3%}.home-missions{left:51%}.home-village>span,.home-missions>span{left:42%;top:0;width:54%;height:100%;font-size:3.5cqw;letter-spacing:-.04em}.home-village>span{font-size:3.05cqw}
@media(max-width:350px){.header-tools{gap:5px}.header-tools button{width:41px}.home-greeting{font-size:11px}}
.home-village,.home-missions{top:64%;height:24%}.home-village>span{left:49%;width:48%}

/* Narration and character dialogue are distinct, separately spaced turns. */
.speech-turn{display:block}.speech-turn+.speech-turn{margin-top:8px;padding-top:7px;border-top:1px dashed #fff3cf55}.speech-label{display:block;font-family:'Kiwi Maru',sans-serif;font-size:10px;line-height:1.35;letter-spacing:.5px;color:#ffe5a6;margin-bottom:4px}.character-turn>.speech-label{color:#ffd1e3}.speech-turn>p{margin:0;font:inherit;line-height:inherit}.narrator-turn>p{color:#fff0bf}.speech-turn .encounter-announcement{margin:0;font-size:inherit}.screen .rpg-dialog{line-height:1.55}.rpg-message br{display:initial}
@media(max-height:650px){.speech-turn+.speech-turn{margin-top:5px;padding-top:5px}.speech-label{font-size:9px;margin-bottom:2px}.screen .rpg-dialog{font-size:14px;line-height:1.5;padding:7px 10px 9px}:is(.page-encounter,.page-talk,.page-profile) .scene.illustrated-scene{min-height:60px}}
:is(.page-encounter,.page-profile) .scene.illustrated-scene{min-height:80px}
@media(max-height:650px){:is(.page-encounter,.page-profile) .scene.illustrated-scene{min-height:60px}}

.encounter-news{position:absolute;top:6px;right:7px;z-index:4;display:grid;place-items:center;width:38px;height:34px;border:1px solid #be8e9f;border-radius:10px;background:#fff1db;color:#885d49;font-size:21px;box-shadow:0 2px #d6b4a3}
.page-encounter>.controls:has(>.two-actions>button:nth-child(2))>.small{grid-column:auto;line-height:1.4}
@media(max-height:650px){.page-encounter:has(>.controls>.two-actions>button:nth-child(2)) .scene.illustrated-scene{min-height:38px}.page-encounter>.controls:has(>.two-actions>button:nth-child(2))>.small{min-height:42px;padding:5px;font-size:10px}}
@media(min-height:651px){:is(.page-encounter,.page-profile){gap:6px;padding-top:10px;padding-bottom:6px}}
@media(min-height:651px){.page-encounter .scene.illustrated-scene{min-height:64px}}

/* A tiny path makes the destination visible without counting steps. */
.journey-map{position:relative;height:36px;margin:2px 17px 0}.route-road,.route-covered{position:absolute;left:0;top:24px;height:7px;border-radius:20px;background:#dfd6b8;border:1px solid #c9b38d}.route-road{width:100%}.route-covered{background:#b3cd91;border-color:#9cb878}.route-node{position:absolute;top:27px;width:6px;height:6px;border-radius:50%;background:#fff6da;border:1px solid #bda77f;transform:translate(-50%,-50%)}.route-node.passed{background:#94b571}.route-traveler{position:absolute;left:var(--to);top:0;width:30px;height:33px;transform:translateX(-50%);border-radius:45%;overflow:hidden;z-index:2;animation:route-travel .6s ease-out both;box-shadow:0 2px 0 #92704f33}.route-traveler>img{position:absolute;width:81px;max-width:none;left:-25px;top:-20px}.route-finish{position:absolute;right:-12px;top:11px;width:24px;height:24px;font-size:23px;color:#d996b0;text-shadow:1px 1px #fff;line-height:1;z-index:1}.journey-progress-copy{margin-bottom:1px}.journey-landmarks{margin-top:0}
@keyframes route-travel{from{left:var(--from)}to{left:var(--to)}}
.gift-guide{font-size:12px!important;line-height:1.6;margin:0 2px 10px!important;color:#966578!important}.gift-guide>small{display:block;font-size:10px;color:#a28565;margin-top:3px}.gift-preview{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding-top:8px;border-top:1px dashed #e5c9a7;font-size:12px}.gift-preview>strong{color:#9a8061;font-size:12px}.gift-preview>span{color:#b36988;font-size:13px;font-weight:500}.gift-preview>small{font-size:10px;white-space:nowrap}.gift-tier-1>strong{color:#b78354}.gift-tier-2>strong{color:#bc648d}.item-tags .pill.matches-favorite{background:#ffe1ec;border-color:#e9a4bd;color:#a35574}.gift-gain{font-weight:500;color:#b76b8d;font-size:11px}
@media(max-height:650px){.journey-map{height:33px}.route-road,.route-covered{top:22px}.route-node{top:25px}.route-traveler{scale:.92;transform-origin:center top}.gift-gain{font-size:10px}.page-gifts .inventory-row{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){.route-traveler{animation:none}}
@media(max-height:650px){.rpg-dialog .item-art{width:24px;height:24px}.page-encounter:has(.gift-gain) .speech-turn+.speech-turn{margin-top:4px;padding-top:4px}.page-encounter:has(.gift-gain) .rpg-dialog{padding-top:6px;padding-bottom:7px}}

.speech-turn+.speech-turn{margin-top:8px;padding-top:0;border-top:0}.speaker-name{color:#ffd1e3}.speech-turn>p{white-space:normal}
@media(max-height:650px){.speech-turn+.speech-turn,.page-encounter:has(.gift-gain) .speech-turn+.speech-turn{margin-top:6px;padding-top:0}}
/* A complete little story: listen, give, invite, remember. */
.page-map,.page-story{gap:9px}.page-map>.page-heading,.page-story>.page-heading{margin-bottom:0}.story-cover{display:flex;flex:1;min-height:0;flex-direction:column;width:100%;padding:0;overflow:hidden;text-align:center;border:2px solid #fff9e8;border-radius:25px;background:#fff3dd;box-shadow:0 4px #d8bc95;color:#79563c}.story-cover-scene{position:relative;flex:1;min-height:95px;display:flex;align-items:center;justify-content:center;background-size:cover;background-position:center;border-bottom:2px solid #ead9b8}.story-cover-scene>.hero{scale:.85;margin:-13px}.story-cover-scene>.sprite{width:135px;height:135px;margin:0}.story-cover-tag{position:absolute;top:9px;left:9px;background:#fff8e7;border:1px solid #dfc69b;border-radius:12px;padding:4px 9px;font-size:10px;color:#b17b7d}.story-cover-copy{display:flex;flex:none;flex-direction:column;align-items:center;gap:5px;padding:13px 10px 15px}.story-cover-copy>small{font-size:11px;color:#b5828a}.story-cover-copy>strong{font-size:21px;line-height:1.5}.story-cover-copy>span{font-size:12px}.story-cover-copy>b{display:block;padding:8px 23px;background:#f4b7cd;border:2px solid #fff3ed;border-radius:22px;font-weight:500;font-size:14px;box-shadow:0 2px #d49cae;margin-top:3px}.story-stamps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:0;margin:0;flex:none}.story-stamps>li{display:grid;grid-template-columns:22px 1fr;align-items:center;padding:6px 5px;border-bottom:2px solid #e4d8bc;background:#fff6e6;border-radius:12px;color:#a18b70;min-width:0}.story-stamps>li>span:first-child{grid-row:1/3;font-size:24px;line-height:1;color:#d5c5a6}.story-stamps>li>span:nth-child(2){font-size:11px;white-space:nowrap}.story-stamps>li>small{font-size:8px;line-height:1.2;color:inherit}.story-stamps>li.bloomed{background:#ffeaf0;border-bottom-color:#e5b0c1;color:#a56e85}.story-stamps>li.bloomed>span:first-child{color:#d68ba9}.story-map-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}.story-map-actions>button{font-size:12px;padding:8px;min-height:40px}.story-scene{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;min-height:90px;flex:1;overflow:hidden;background-size:cover;background-position:center;border:3px solid #fff9e8;border-radius:23px;box-shadow:0 3px #d3c59b}.story-scene>.hero{flex:none;scale:.9;margin:-9px;z-index:1}.story-flower-friend{position:relative;z-index:1;flex:none}.story-flower-friend>.sprite{width:140px;height:140px;margin:0}.story-keepsake{position:absolute;bottom:10px;right:0;width:49px;height:49px;object-fit:contain;filter:drop-shadow(0 2px #fff9e3)}.story-picnic{position:absolute;bottom:3px;left:50%;width:92px;height:45px;transform:translateX(-50%);border:2px dashed #e1b9af;border-radius:50%;background:#fff1d8d9;display:grid;place-items:center;z-index:2}.story-picnic>img{width:65px;height:65px;object-fit:contain;align-self:end;margin-top:-27px}.story-actions{display:flex;flex:none;flex-direction:column;gap:8px}.story-actions>.primary{font-size:14px;min-height:44px}.story-actions>.two-actions>button{font-size:12px;padding:8px}.story-gifts{display:flex;flex-direction:column;gap:7px}.story-gift{display:flex;align-items:center;gap:9px;width:100%;min-height:60px;padding:6px 10px;border:2px solid #fff9e8;border-radius:18px;background:linear-gradient(#fffdf5,#ffeedc);box-shadow:0 2px #dcc29f;text-align:left;color:#805b40}.story-gift>img{width:43px;height:43px;object-fit:contain}.story-gift>span{flex:1;min-width:0}.story-gift strong{display:block;font-size:14px;font-weight:500}.story-gift small{display:block;font-size:10px;line-height:1.6;color:#a87a74}.story-gift>b{font-size:13px;color:#b1768c}.story-flower-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.story-flower-choices>button{display:flex;flex-direction:column;align-items:center;padding:5px;border:2px solid #fff9e9;background:#fff4df;border-radius:16px;box-shadow:0 2px #d6c19c}.story-flower-choices>button.selected{background:#ffe4ef;border-color:#e5a9c0;box-shadow:0 2px #d69cb4}.story-flower-choices img{width:48px;height:48px;object-fit:contain}.story-flower-choices span{font-size:10px;white-space:nowrap}.page-story .rpg-dialog{font-size:15px;line-height:1.55;padding:10px 12px}.page-story>.footer,.page-map>.footer{margin-top:0}.story-memory-card{position:relative;padding:10px 10px 17px;background:#fffdf2;border:1px solid #e5c9a7;box-shadow:0 4px #d9c7a7;rotate:-1deg;margin:15px 0 22px}.memory-tape{position:absolute;z-index:4;left:36%;top:-10px;width:28%;height:24px;background:#e7b8c9c4;border:1px dashed #df9eb6;rotate:3deg}.story-memory-card .story-scene{height:210px;flex:none;min-height:0;border-radius:9px}.story-memory-card .story-flower-friend>.sprite{width:136px;height:136px}.memory-caption{text-align:center;padding-top:15px}.memory-caption>span{font-size:11px;color:#a68568}.memory-caption h2{font-size:17px;margin:8px 0}.memory-caption p{font-size:13px;line-height:1.8;margin:0;color:#a08364}.memory-note{text-align:center;font-size:13px;color:#b1848c;line-height:1.9}.memory-shop{display:flex;gap:12px;align-items:center;margin:23px 0 18px;padding:12px;background:#fff4df;border:2px solid #fffbec;border-radius:19px;box-shadow:0 2px #dbc29d;color:#815e43;text-decoration:none}.memory-shop>img{width:88px;height:68px;object-fit:contain;border-radius:9px}.memory-shop>span{min-width:0}.memory-shop small{display:block;font-size:10px;line-height:1.6;color:#a1856c}.memory-shop strong{display:block;font-size:13px;margin:5px 0}.story-empty{text-align:center;padding:30px 5px}.story-empty>span{font-size:55px;color:#e8a1ba}.story-empty p{font-size:14px;line-height:1.9}.story-empty>.primary{margin-top:25px}.town-tea-memory{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);z-index:3;background:#fff4d9e6;border:1px solid #e2c7a3;border-radius:19px;display:flex;align-items:center;gap:4px;padding:4px 9px;color:#956a58}.town-tea-memory>img{width:35px;height:35px;object-fit:contain}.town-tea-memory>span{font-size:9px}.story-cover:active,.story-gift:active{filter:brightness(1.04)}
@media(max-height:650px){.page-story,.page-map{gap:6px;padding:8px 11px 5px}.page-story .page-heading,.page-map .page-heading{min-height:43px;padding:5px 9px}.story-stamps>li{padding:4px}.story-stamps>li>span:nth-child(2){font-size:10px}.story-stamps>li>span:first-child{font-size:21px}.story-stamps>li>small{font-size:7px}.story-cover-copy{gap:3px;padding:8px}.story-cover-copy>strong{font-size:18px;line-height:1.35}.story-cover-copy>span{font-size:10px}.story-cover-copy>b{font-size:12px;padding:6px 18px}.story-cover-scene>.hero{scale:.65;margin:-25px}.story-cover-scene>.sprite{width:100px;height:100px}.story-scene{min-height:55px}.story-scene>.hero{scale:.68;margin:-23px}.story-flower-friend>.sprite{width:105px;height:105px}.story-keepsake{width:38px;height:38px;bottom:3px}.page-story .rpg-dialog{font-size:14px;line-height:1.5;padding:8px 10px}.story-gift{min-height:53px;padding:4px 8px;gap:7px}.story-gift>img{width:34px;height:34px}.story-gift strong{font-size:13px}.story-gift small{font-size:9px}.story-gifts{gap:6px}.story-flower-choices img{width:39px;height:39px}.story-flower-choices span{font-size:9px}.story-actions{gap:6px}.story-actions>.primary{min-height:41px;padding:8px;font-size:13px}.story-picnic{width:75px;height:31px;bottom:0}.story-picnic>img{width:49px;height:49px;margin-top:-23px}.story-map-actions>button{font-size:11px;min-height:36px;padding:6px}}
/* A goal, an actionable request and a visible unlock share one progression. */
.festival-goal{background:#fff9e9;border:2px solid #e2ba9d;padding:10px 13px;border-radius:9px;display:grid;gap:6px;color:#74553c}.festival-goal>strong{font-size:15px}.festival-goal>span,.festival-goal>small{font-size:13px;line-height:1.5}.festival-areas{display:grid;gap:10px;flex:1;min-height:0}.festival-area{display:flex;align-items:center;overflow:hidden;background:#fff5de;border:3px solid #fffaf0;border-radius:18px;box-shadow:0 2px #d2ab80;text-align:left;padding:0;min-height:82px;color:#704f34}.festival-area>img{width:32%;height:100%;min-height:82px;object-fit:cover}.festival-area>span{padding:9px;display:grid;gap:7px}.festival-area strong{font-size:17px}.festival-area small{font-size:13px;line-height:1.4}.festival-area.locked{opacity:.62;filter:saturate(.45)}.quest-area-intro{font-size:14px;line-height:1.7;margin:0}.quest-list{display:grid;gap:10px;flex:1;min-height:0}.quest-card{display:flex;align-items:center;gap:8px;padding:8px;border:2px solid #fff9ec;background:#fff4df;border-radius:15px;text-align:left;color:#755338;box-shadow:0 2px #d5b990}.quest-card>.sprite{width:69px;height:69px;flex:none}.quest-card>.quest-copy{display:grid;gap:4px}.quest-card strong{font-size:16px}.quest-card .quest-copy span{font-size:14px}.quest-card small{font-size:12px;line-height:1.5}.quest-card:disabled{opacity:.55;filter:saturate(.4)}.quest-stage{display:flex;justify-content:space-around;background:#fcf4e0;border:1px solid #d6b48a;padding:7px 3px;gap:3px}.quest-stage span{font-size:13px;color:#a69582}.quest-stage .done{color:#967042;font-weight:bold}.quest-scene{position:relative;display:flex;justify-content:center;align-items:end;flex:1;min-height:75px;max-height:180px;overflow:hidden;background-size:cover;background-position:center 61%;border:2px solid #dab890;border-radius:10px}.quest-scene>.hero{transform:scale(.63);margin:-25px -30px}.quest-scene>.sprite{width:120px;height:120px}.quest-actions{display:grid;gap:8px}.quest-target{display:grid;gap:4px;padding:9px 11px;border:2px solid #b7c69b;background:#fbffe9;border-radius:5px}.quest-target small{font-size:13px;color:#798353}.quest-target strong{font-size:15px;line-height:1.5}.quest-note{font-size:13px;line-height:1.6;text-align:center;display:block;margin:1px 0;color:#87664d}.quest-unlock{background:#fff2ba;border:2px solid #e4be68;padding:9px;font-size:14px;line-height:1.6;border-radius:7px}.page-quest .rpg-dialog{font-size:16px;line-height:1.65;padding:10px 12px;flex:none;max-height:none}.page-quest>.footer,.page-quest-area>.footer{margin-top:0}.page-quest .small{min-height:32px;padding:5px}.search-spots{display:grid;gap:14px}.search-spots>.card{display:grid;gap:8px;padding:20px;color:#79573b}.search-spots strong{font-size:18px}.search-spots small{font-size:14px}.search-items{display:grid;gap:9px}.search-item{display:flex;align-items:center;gap:8px;text-align:left;color:#755438;padding:8px}.search-item>.item-art{width:50px;height:50px;flex:none}.search-item>span{flex:1;min-width:0;display:grid;gap:6px}.search-item strong{font-size:15px}.search-item>span>span{display:flex;flex-wrap:wrap;gap:4px}.search-item em{font-size:12px;font-style:normal;background:#f2e5cb;border-radius:7px;padding:3px 6px}.search-item>b{font-size:13px;white-space:nowrap}.search-item.chosen{border:2px solid #c4839e;background:#ffe7ed}.quest-delivery-bar{position:sticky;top:0;z-index:8;display:flex;justify-content:space-between;align-items:center;background:#fff4df;padding:8px;border:2px solid #ddb98f;border-radius:8px;font-size:14px}.quest-delivery-bar>.primary{width:auto;min-width:145px}.festival-town-decor{position:absolute;bottom:0;left:4%;right:4%;display:flex;align-items:end;justify-content:center;pointer-events:none;z-index:2}.festival-town-decor img{width:11%;max-height:58px;object-fit:contain;filter:drop-shadow(0 2px 1px #92704844)}.festival-town-banner{position:absolute;top:4%;left:4%;right:4%;background:#fff7dce8;color:#a2667c;padding:9px 4px;text-align:center;font-size:14px;border:2px solid #e5b8b7;z-index:4}.campaign-help{font-size:16px;line-height:1.9}.campaign-help h2{font-size:19px}.campaign-help ol{padding-left:25px}.page-flower-game>.sprite{height:100px;width:100px;align-self:center}.flower-sequence{display:flex;gap:15px;justify-content:center}.flower-sequence>span{width:65px;height:65px;display:grid;place-items:center;background:#fff3dd;border:2px solid #d8b68d;border-radius:10px;font-size:25px}.flower-sequence .item-art{width:57px;height:57px}.page-flower-game>.rpg-dialog{font-size:16px}.page-flower-game{gap:12px}.page-map .two-actions>button,.page-quest .two-actions>button{font-size:14px;padding:9px 5px}.page-free-map .journey-stop:disabled{opacity:.5;filter:saturate(.3)}
@media(max-height:650px){.page-quest,.page-quest-area{padding:7px 10px;gap:6px}.festival-goal{padding:7px 10px;gap:4px}.festival-area{min-height:70px}.festival-area>img{min-height:70px}.festival-area>span{padding:6px;gap:3px}.festival-area strong{font-size:15px}.festival-area small{font-size:12px}.quest-card{padding:5px;gap:6px}.quest-card>.sprite{width:55px;height:55px}.quest-card>.quest-copy{gap:2px}.quest-card strong{font-size:14px}.quest-card small{font-size:11px}.quest-scene{max-height:100px;min-height:55px}.quest-scene>.sprite{width:90px;height:90px}.quest-scene>.hero{transform:scale(.48);margin:-35px -43px}.page-quest .rpg-dialog{font-size:14px;padding:7px 10px;line-height:1.55}.quest-stage{padding:5px 2px}.quest-stage span{font-size:12px}.quest-target{padding:6px 8px}.quest-target strong{font-size:14px}.quest-note{font-size:12px}.quest-unlock{padding:7px;font-size:13px}.page-quest .primary,.page-quest .action{min-height:37px;padding:7px}.quest-area-intro{font-size:13px}.page-quest-area .quest-list{gap:7px}}
.festival-party{position:relative;background-size:cover;background-position:center;border:3px solid #e2be8f;border-radius:13px;padding:9px 8px 50px;flex:1;min-height:190px;max-height:330px;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.festival-party>strong{text-align:center;background:#fff8e9e8;border-radius:6px;font-size:15px;padding:7px;z-index:3}.festival-guests{display:grid;grid-template-columns:repeat(3,1fr);max-width:310px;width:100%;align-self:center;min-height:0}.festival-guests button{border:0;background:transparent;padding:0;min-height:0}.festival-guests button[aria-pressed=true]{background:#fff5c99c;border-radius:30px}.festival-guests .sprite{width:66px;height:66px;max-width:100%;object-fit:contain}.festival-party .festival-town-banner{display:none}.page-festival .rpg-dialog{font-size:15px;line-height:1.6;padding:9px 12px}.mission-campaign{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px;border:2px solid #dfbc84;background:#fff5d3;border-radius:8px}.mission-campaign strong{font-size:14px}.mission-campaign>.small{font-size:12px;padding:6px}.page-festival{gap:7px}@media(max-height:650px){.festival-party{padding-bottom:30px;min-height:140px}.festival-guests .sprite{width:48px;height:48px}.festival-party>strong{font-size:13px;padding:4px}.page-festival .rpg-dialog{font-size:14px;padding:7px 10px}.page-festival .page-heading h1{font-size:18px}}
.quest-scene>.hero{position:absolute;left:12%;bottom:3px;margin:0;transform:scale(.48);transform-origin:bottom center;animation:none}.quest-scene>.sprite{position:absolute;right:18%;bottom:2px;width:90px;height:90px}.quest-scene{min-height:90px}.festival-area.locked{opacity:1;filter:none;color:#83715f;background:#f0eadf}.festival-area.locked>img{opacity:.5;filter:saturate(.4)}@media(max-height:650px){.quest-scene{min-height:63px}.quest-scene>.hero{transform:scale(.32);left:8%}.quest-scene>.sprite{width:63px;height:63px}}
@media(max-height:650px){.page-quest>.quest-stage,.page-quest>.footer{display:none}.page-quest>.page-heading{min-height:40px;padding:4px 8px}.page-quest>.page-heading h1{font-size:18px;line-height:1.4}.page-quest .heading-icon{width:30px;height:30px}.page-quest>.quest-scene{flex:1;max-height:120px}.page-quest>.quest-actions{gap:6px}.page-quest>.quest-actions .quest-note{font-size:12px;line-height:1.4}}
/* Reading has no button chrome. Every action has an icon and a distinct pressed edge. */
.ui-icon{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;flex:none;vertical-align:middle}.ui-icon>svg{width:100%;height:100%;overflow:visible}.screen>.page-heading,.screen.scroll-page>.page-heading,.screen .lead.page-heading{min-height:34px;height:auto;padding:0 2px 4px;border:0;border-radius:0;box-shadow:none;background:none;display:flex;align-items:center;text-align:left;gap:8px;flex:none;margin:0}.screen .page-heading h1,.screen.scroll-page>.page-heading h1{font-size:19px;line-height:1.4;margin:0}.screen .page-heading .heading-copy{min-width:0}.screen .page-heading>.ui-icon{width:28px;height:28px;filter:none}.screen .page-heading p{display:none}.screen>.footer{font-size:9px;line-height:1.1;color:#9e896d;margin:0;text-align:center}.screen .game-button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:47px;padding:9px 13px;width:100%;border:2px solid #b78090;border-radius:14px;background:#f6bed0;box-shadow:0 4px 0 #bf8193;color:#624639;flex:none;font-size:16px;font-weight:500;margin:0;line-height:1.45;transition:transform .12s,box-shadow .12s}.screen .game-button:active{transform:translateY(3px);box-shadow:0 1px 0 #bf8193}.screen .game-button>.ui-icon{width:25px;height:25px}.screen .game-button.game-secondary{background:#fdfbf1;border-color:#90a7a7;box-shadow:0 4px #90a7a7}.screen .game-button.game-quiet{min-height:32px;width:auto;align-self:center;box-shadow:none;border:0;border-radius:0;background:none;padding:3px 7px;color:#706a5d;font-size:14px;gap:5px}.screen .game-button.game-quiet>.ui-icon{width:20px;height:20px}.screen .game-button:disabled{background:#e5e2d9;box-shadow:none;border-color:#c4c1b8;color:#8b8981;opacity:1;cursor:default}.screen :is(button.primary,button.action){border-radius:13px;border-width:2px;box-shadow:0 4px #c39e7c}.screen button.primary{background:#f5b9cc;border-color:#ba8794;box-shadow:0 4px #bb8595}.screen button.action{background:#fffaf0;border-color:#9caeac;box-shadow:0 4px #9caeac}.screen .small{box-shadow:none;background:none;border:0;color:#7c6d59;min-height:30px}.screen .card:not(button){background:#fffdf5;border-color:#e7dfd0;border-radius:7px;box-shadow:none}.screen .rpg-dialog{border-radius:2px;background:#376577;border:3px double #fff2c8;box-shadow:0 0 0 1px #b39261;color:#fffdf0;font-size:16px;line-height:1.6;padding:10px 12px}.rpg-dialog .speech-turn p{margin:0}.rpg-dialog .speaker-name{color:inherit}.page-map,.page-quest-area,.page-quest,.page-quest-build,.page-flower-game{gap:9px}.festival-preview{position:relative;flex:1;min-height:105px;max-height:210px;background-position:center 64%;background-size:cover;border-radius:13px;overflow:hidden;border:0;box-shadow:inset 0 0 0 2px #fff8eb}.festival-preview-caption{position:absolute;left:50%;top:9px;transform:translateX(-50%);background:#fff8e9eb;padding:4px 13px;white-space:nowrap;border-radius:20px;font-size:14px;color:#806144}.festival-preview .festival-town-decor{bottom:27px}.festival-preview .festival-town-banner{display:none}.festival-blooms{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);display:flex;gap:5px;background:#fff9e9df;border-radius:20px;padding:0 10px}.festival-blooms>span{font-size:21px;line-height:1.1;color:#bdb399}.festival-blooms>.bloomed{color:#ca7798}.festival-areas{flex:none;gap:9px}.festival-area{min-height:66px;height:66px;box-shadow:0 3px #9ba79a;border:2px solid #97a99c;border-radius:13px;background:#fffdf1;overflow:hidden;padding:0}.festival-area>img{min-height:0;height:100%;width:28%}.festival-area>span{display:flex;flex-direction:column;flex:1;gap:3px;padding:5px 10px}.festival-area strong{font-size:16px}.festival-area small{font-size:13px;line-height:1.4;letter-spacing:.5px;color:#856c5d}.festival-area>.ui-icon{width:20px;height:20px;margin-right:10px}.festival-area.locked{border:1px solid #d9d3c7;background:#ede9e0;color:#827867;box-shadow:none;opacity:1}.festival-area.locked small{font-size:12px;letter-spacing:0;color:#827867}.festival-area.locked>img{filter:saturate(.3);opacity:.65}.quest-list{flex:1;gap:12px}.quest-card{padding:8px 12px;gap:12px;background:#fffaf0;border:2px solid #9eafaa;border-radius:15px;box-shadow:0 4px #98aaa5;min-height:94px}.quest-card>.sprite{width:75px;height:75px;margin:0}.quest-card>.quest-copy{flex:1;gap:6px}.quest-card strong{font-size:18px}.quest-card small{font-size:14px}.quest-card>.ui-icon{width:25px;height:25px}.quest-card:disabled{box-shadow:none;background:#eeebe3;border-color:#d3cec2;opacity:.7}.area-unlock-hint{display:flex;align-items:center;gap:5px;font-size:13px;margin:0;line-height:1.5}.area-unlock-hint .ui-icon{width:22px;height:22px}.quest-scene{flex:1;min-height:94px;max-height:230px;box-shadow:none;border:0;border-radius:13px;overflow:hidden}.quest-scene>.hero{transform:scale(.58);left:12%;bottom:5px;margin:0;animation:none}.quest-scene>.sprite{width:115px;height:115px;right:14%;bottom:3px}.page-quest .quest-scene:has(+.quest-earned-decor){min-height:90px;max-height:155px}.page-quest .rpg-dialog{font-size:16px;line-height:1.6;padding:10px 12px}.quest-actions{gap:10px}.visual-clue{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;padding:4px 0 5px;background:none;border:0;box-shadow:none}.clue-label{font-size:12px;color:#85725b;display:flex;flex-direction:column;align-items:center;gap:1px;flex:none}.clue-label>.ui-icon{width:20px;height:20px}.clue-pieces{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}.clue-chip{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:15px;line-height:1.4;white-space:nowrap;font-weight:500}.clue-chip>i{width:16px;height:16px;border-radius:50%;border:1px solid #a58c75;flex:none;box-shadow:inset 0 1px 2px #fff8}.clue-chip>.ui-icon{width:23px;height:23px}.clue-plus{font-size:15px;color:#b69b7f}.material-clue{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px;align-items:center;position:relative}.material-clue .item-art{width:32px;height:32px}.material-clue>span{font-size:13px;line-height:1.4}.material-clue>b{position:absolute;right:0;top:-9px;color:#78946d;background:#fffdf1;border-radius:20px}.material-clue.owned{color:#67865e}.page-quest-search .visual-clue,.page-quest-bag .visual-clue{position:sticky;top:0;z-index:3;background:#fff9ee}.search-spots{display:grid;gap:14px;flex:1;align-content:center}.spot-button{display:flex;align-items:center;gap:13px;text-align:left;padding:15px 13px;min-height:85px;border:2px solid #8da7a8;border-radius:15px;box-shadow:0 4px #8da7a8;background:#fffdf1;color:#72543e}.spot-button>.ui-icon:first-child{width:40px;height:40px}.spot-button>span:nth-child(2){flex:1;display:grid;gap:5px}.spot-button strong{font-size:18px}.spot-button small{font-size:13px}.spot-button>.ui-icon:last-child{width:22px;height:22px}.find-scene{border-radius:12px;padding:10px;background-size:cover;background-position:center;flex:1;min-height:0}.find-objects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.find-object{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;background:#fffdf0ed;border:2px solid #9fb1a0;border-radius:14px;box-shadow:0 3px #9eab94;color:#6e5037;min-width:0}.find-object>.item-art{width:64px;height:64px;flex:none;margin:0}.find-object>strong{font-size:14px;line-height:1.45}.find-object>span{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}.find-object .clue-chip{font-size:11px;font-weight:400;gap:3px}.find-object .clue-chip>i{width:10px;height:10px}.find-object .clue-chip>.ui-icon{width:15px;height:15px}.find-object:active,.spot-button:active,.quest-card:active,.festival-area:not(:disabled):active{transform:translateY(3px);box-shadow:none}.quest-earned-decor{height:45px;position:relative;display:flex;justify-content:center;flex:none}.quest-earned-decor>.item-art{height:55px;width:55px;position:relative;margin:-8px 0 0}.reward-strip{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;font-size:14px;line-height:1.5;text-align:center}.reward-strip .ui-icon{width:23px;height:23px}.reward-strip strong{color:#ac6380}.bag-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bag-choice{position:relative;display:flex;flex-direction:column;align-items:center;padding:10px 5px;gap:7px;background:#fffdf3;border:2px solid #a9b4a4;border-radius:14px;box-shadow:0 3px #a1b09d;min-width:0}.bag-choice>.item-art{width:70px;height:70px;flex:none}.bag-choice>strong{font-size:14px}.bag-choice>span{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.bag-choice .clue-chip{font-size:11px}.bag-choice>b{position:absolute;right:7px;top:6px;font-size:13px}.bag-choice.chosen,.build-material.chosen{border-color:#c27596;background:#ffe3ed;box-shadow:0 3px #b87391}.quest-delivery-bar{border:0;border-radius:0;background:#fff9ee;gap:6px;padding:5px 0;box-shadow:none}.quest-delivery-bar>.game-button{width:auto;min-width:185px}.game-companion{flex:1;min-height:80px;max-height:190px;display:flex;align-items:center;justify-content:center;background:url(assets/world/flower-hill-v2.jpg) center 70%/cover;border-radius:12px}.game-companion>.sprite{width:120px;height:120px;max-height:100%;object-fit:contain}.flower-sequence{gap:9px;min-width:0;flex:none}.flower-sequence>span{width:65px;height:65px;flex:0 1 65px;min-width:0;border-radius:7px;background:#fffdf5;border:1px solid #dacbad;box-shadow:none}.flower-sequence .item-art{width:100%;height:100%;padding:4px}.story-flower-choices>button{border:2px solid #9bac9e;box-shadow:0 4px #9bac9e;border-radius:13px;background:#fff9e9;padding:7px;gap:3px}.story-flower-choices>button>span{font-size:14px}.story-flower-choices .item-art{width:57px;height:57px;flex:none}.quiet-note{font-size:14px;text-align:center;margin:0;color:#836b53}.build-hint{font-size:14px;text-align:center;margin:0;line-height:1.6}.build-diorama{position:relative;flex:1;min-height:125px;max-height:230px;background-size:cover;background-position:center 70%;border-radius:13px;display:flex;align-items:end;justify-content:center;padding:14px}.build-slots{display:flex;gap:20px;width:100%;align-items:end;justify-content:center}.build-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px dashed #4f8d99;background:#ffffffd9;box-shadow:none;border-radius:9px;min-height:95px;min-width:100px;padding:8px;color:#617d7a}.build-slot>.ui-icon{width:44px;height:44px;opacity:.5}.build-slot>.item-art{width:65px;height:65px;flex:none}.build-slot strong{font-size:14px}.build-slot.ready{border-style:solid;box-shadow:0 3px #6a9999;background:#e8fbf6}.build-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:none}.build-material{min-width:0;border:2px solid #9cad9e;box-shadow:0 4px #9cad9e;background:#fff9e9;border-radius:14px;display:flex;flex-direction:column;align-items:center;padding:7px 5px;gap:3px}.build-material>.item-art{width:51px;height:51px;flex:none}.build-material>strong{font-size:14px;line-height:1.45}.build-material>small{font-size:13px;color:#7a8769}.page-quest-build>.footer,.page-quest>.footer,.page-flower-game>.footer{display:none}.filter-chips>button,.passport-tabs>button{box-shadow:0 2px #b9b19c}.inventory-row,.collection-open{cursor:pointer}.mission-row,.notice-card,.passport-panel{border-radius:5px!important}.mission-row>button{border-radius:12px}
@media(max-height:650px){.page-map,.page-quest-area,.page-quest,.page-quest-build,.page-flower-game{gap:7px;padding:8px 11px}.screen>.page-heading,.screen .lead.page-heading{min-height:31px;padding:0 1px 3px}.screen .page-heading h1,.screen.scroll-page>.page-heading h1{font-size:17px}.screen .page-heading>.ui-icon{width:25px;height:25px}.screen .game-button{font-size:15px;min-height:42px;padding:7px 10px;gap:7px}.screen .game-button.game-quiet{font-size:13px;min-height:26px;padding:2px 5px}.festival-preview{min-height:72px;max-height:105px}.festival-preview-caption{top:5px;font-size:12px;padding:3px 10px}.festival-area{height:60px;min-height:60px}.festival-area strong{font-size:14px}.festival-area small{font-size:12px}.festival-area.locked small{font-size:11px}.festival-areas{gap:8px}.quest-card{min-height:86px;padding:6px 9px;gap:8px}.quest-card>.sprite{width:65px;height:65px}.quest-card strong{font-size:16px}.quest-card small{font-size:13px}.quest-list{gap:10px}.quest-scene{min-height:80px;max-height:150px}.quest-scene>.hero{transform:scale(.41);left:9%;bottom:4px}.quest-scene>.sprite{width:81px;height:81px;right:14%;bottom:2px}.page-quest .rpg-dialog{font-size:15px;line-height:1.5;padding:8px 10px}.visual-clue{gap:6px;padding:3px 0}.clue-chip{font-size:14px}.clue-label{font-size:11px}.clue-pieces{gap:4px}.material-clue{grid-template-columns:25px minmax(0,1fr)}.material-clue>.item-art{width:25px;height:25px}.material-clue>span{font-size:12px}.quest-actions{gap:7px}.spot-button{min-height:75px;padding:10px;gap:9px}.spot-button strong{font-size:16px}.search-spots{gap:12px}.find-object>.item-art{width:47px;height:47px}.find-object{padding:6px 3px;gap:4px}.find-object>strong{font-size:13px}.find-scene{padding:7px}.find-objects{gap:8px}.game-companion{min-height:65px;max-height:130px}.game-companion>.sprite{width:100px;height:100px}.flower-sequence>span{height:53px;flex-basis:53px}.story-flower-choices .item-art{width:45px;height:45px}.story-flower-choices>button>span{font-size:12px}.build-diorama{min-height:105px;max-height:165px;padding:10px}.build-slot{min-height:83px;min-width:95px;padding:5px}.build-slot>.item-art{width:52px;height:52px}.build-material>.item-art{width:40px;height:40px}.build-material>strong{font-size:13px}.build-material>small{font-size:12px}.build-hint{font-size:13px}.reward-strip{font-size:13px}.quest-earned-decor{height:35px}.quest-earned-decor>.item-art{height:43px;width:43px}.quest-delivery-bar>.game-button{min-width:160px}}
.find-objects{grid-template-columns:repeat(3,minmax(0,1fr))}.find-object>.item-art{width:56px;height:56px}.find-object>strong{font-size:13px;min-height:38px;display:flex;align-items:center;text-align:center}.find-object>span{min-height:28px;align-items:center;align-content:center}.find-object .clue-chip{font-size:10px;gap:2px}.find-object .clue-chip>.ui-icon{width:12px;height:12px}.find-object .clue-chip>i{width:9px;height:9px}.festival-blooms{align-items:center}.festival-blooms>small{font-size:12px;white-space:nowrap;color:#896b51;padding-right:4px}@media(max-height:650px){.find-object>.item-art{width:42px;height:42px}.find-object>strong{font-size:12px;min-height:35px}.find-object>span{min-height:28px}.find-object{padding:5px 2px;gap:3px}.find-objects{gap:7px}}
.town-built-corner{position:absolute;display:flex;align-items:end;gap:2px;z-index:2;pointer-events:none}.town-built-corner>img{width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 2px 1px #6e664333)}.built-corner-0{left:5%;bottom:29%}.built-corner-1{right:4%;top:28%}.built-corner-2{right:16%;bottom:22%}.festival-preview .town-built-corner>img{width:27px;height:27px}.festival-party .town-built-corner{display:none}.screen button.card.inventory-row{border:2px solid #9eaeaa;border-radius:13px;background:#fffdf3;box-shadow:0 3px #9eaeaa}.screen .collection-open{border:2px solid #9eaeaa;border-radius:13px;background:#fffdf3;box-shadow:0 3px #9eaeaa}.screen .collection-card{border:0;background:none;padding:0;box-shadow:none}.gift-preferences{display:flex;justify-content:center;align-items:center;gap:8px;padding:7px 0 9px}.gift-preferences>.clue-chip{font-size:14px}.campaign-help p>.ui-icon{width:24px;height:24px;margin-right:5px}
.find-object .clue-chip{font-size:12px}.find-object>span{min-height:34px}.find-object>.item-art{width:50px;height:50px}.find-object>strong{font-size:14px}.find-object .clue-chip>i{width:10px;height:10px}.find-object .clue-chip>.ui-icon{width:14px;height:14px}.page-quest-search .find-scene{flex:none}.page-festival>.footer{display:none}@media(max-height:650px){.find-object>strong{font-size:13px}.find-object>.item-art{width:42px;height:42px}.find-object .clue-chip{font-size:11px}.find-object>span{min-height:30px}.page-festival .quest-note{font-size:12px;margin:0}.page-festival .rpg-dialog{font-size:14px;line-height:1.45;padding:7px 10px}.page-festival .festival-party{min-height:140px;padding-bottom:30px}.page-festival .two-actions .action,.page-festival .two-actions .primary{font-size:13px;min-height:40px;padding:6px 3px}}
/* After the festival: memories become places, with small, varied shared activities. */
.life-town-view{position:relative;flex:1;min-height:145px;max-height:250px;background-size:cover;background-position:center 64%;border-radius:13px;overflow:hidden}.life-place{position:absolute;bottom:8%;width:31%;border:0;box-shadow:none;background:none;color:#72543e;padding:0}.life-place.place-0{left:3%;bottom:25%}.life-place.place-1{left:35%;bottom:8%}.life-place.place-2{right:1%;bottom:30%}.life-place>strong{font-size:12px;background:#fff9e9de;padding:3px 6px;border-radius:9px;display:inline-block}.life-place-art{height:75px;position:relative;display:flex;align-items:center;justify-content:center;border:2px dashed #fffdf0;border-radius:40% 40% 15px 15px;background:#fff9e966}.life-place.level-0 .life-place-art{height:46px}.empty-place{font-size:28px;color:#e8c18a}.life-place-art>.ui-icon{width:43px;height:43px;filter:drop-shadow(0 2px #906e4a44)}.life-place-art>.item-art{width:38px;height:38px;margin:0}.life-place-art.style-0{background:#f7d6e5c9}.life-place-art.style-1{background:#f7e6b7c9}.life-place.level-3 .life-place-art{border-style:solid;border-color:#fff8df;box-shadow:0 3px #ab8c5d99}.place-companions{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);display:flex;gap:2px}.place-companions>.sprite{width:35px;height:35px}.place-roof{position:absolute;right:5px;top:-12px;font-size:25px;color:#e5b45e}.life-chapters{display:grid;gap:8px;flex:none}.life-chapter{display:flex;align-items:center;gap:9px;padding:9px 12px;border:2px solid #96aaa1;border-radius:13px;background:#fffcef;box-shadow:0 3px #96aaa1;text-align:left;min-height:64px;color:#73573f}.life-chapter>.ui-icon{width:29px;height:29px}.life-chapter>span{display:grid;gap:3px;flex:1}.life-chapter strong{font-size:16px}.life-chapter small{font-size:12px;line-height:1.4}.life-chapter>b{font-size:14px;color:#bc7b91;letter-spacing:1px}.life-links{display:flex;gap:8px;justify-content:center;align-items:center;flex:none}.life-links>.game-button:not(.game-quiet){width:auto;flex:1}.life-links>.game-quiet{margin:auto}.life-scene{position:relative;flex:1;min-height:95px;max-height:200px;background-size:cover;background-position:center 65%;border-radius:13px;overflow:hidden;display:flex;justify-content:space-around;align-items:end}.life-scene>.hero{position:absolute;bottom:5px;left:8%;transform:scale(.5);transform-origin:bottom center;margin:0;animation:none}.life-scene-friends{display:flex;align-items:end;gap:5px;position:absolute;bottom:5px;right:8%}.life-scene-friends>.sprite{width:70px;height:70px;margin:0}.life-choice-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:none}.life-choice{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 5px;background:#fffdf1;border:2px solid #93a99c;border-radius:13px;box-shadow:0 4px #93a99c;min-width:0;color:#745339}.life-choice>.item-art{width:52px;height:52px;flex:none;margin:0}.life-choice>.ui-icon{width:45px;height:45px}.life-choice strong{font-size:15px;line-height:1.4;text-align:center}.life-reward{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;font-size:13px;line-height:1.5}.life-reward>.ui-icon{width:22px;height:22px}.life-reward>strong{color:#a56883}.page-life-event,.page-life-letter{gap:9px}.page-life-event>.rpg-dialog,.page-life-letter>.rpg-dialog{font-size:15px;line-height:1.6;padding:9px 11px}.page-life-event>.life-town-view{min-height:100px;max-height:200px}.page-life-event>.footer,.page-life-letter>.footer{display:none}.life-seat-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;flex:none}.life-person{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border:2px solid #9cac9f;border-radius:13px;background:#fff9e9;box-shadow:0 3px #9cac9f;color:#75573f;min-width:0}.life-person>.sprite{width:61px;height:61px;margin:0}.life-person>strong{font-size:14px;line-height:1.4}.life-person>small{font-size:13px}.life-person.chosen{background:#ffe0eb;border-color:#bd7d95;box-shadow:0 3px #bd7d95}.life-seat-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;flex:1;min-height:90px;max-height:160px}.life-seat-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:2px dashed #7ca7a4;border-radius:10px;background:#eaf4d7;color:#638275;min-width:0}.life-seat-slot:nth-child(2){background:#dce8d2}.life-seat-slot>strong{font-size:14px}.life-seat-slot>span{display:flex;justify-content:center;min-height:30px}.life-seat-slot .sprite{width:37px;height:37px;margin:0}.life-envelope{background:#fffdf5;border:1px solid #d8c8a9;padding:14px 15px;position:relative;box-shadow:0 3px #c9b89a;flex:1;max-height:180px;min-height:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.life-envelope>p{font-size:17px;line-height:1.7;margin:7px 0}.life-envelope>small{font-size:13px}.life-letter-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none}.life-letter-people .life-person>strong{font-size:12px}.life-letter-people .life-person>.sprite{width:62px;height:62px}.life-path-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:6px;flex:1;min-height:180px;max-height:270px;background:#d7e8ad;padding:9px;border-radius:15px}.path-cell{border:2px solid #aab992;border-radius:10px;background:#fbf5d9;box-shadow:0 3px #9eac88;font-size:24px;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:0}.path-cell.walked{background:#e4bf90;border-color:#b49061}.path-cell.flower-bed{background:#b8d483;opacity:1;box-shadow:none;border:0}.path-cell .item-art,.path-cell .sprite{width:49px;height:49px;max-height:100%;margin:0}.life-letter-list{display:grid;gap:12px}.life-letter-list>button{display:flex;align-items:center;gap:10px;border:2px solid #96aaa1;border-radius:13px;background:#fffcef;box-shadow:0 3px #96aaa1;text-align:left;padding:9px;color:#75563d}.life-letter-list>button>.sprite{width:55px;height:55px;margin:0}.life-letter-list>button>span{display:grid;gap:5px;flex:1}.life-letter-list strong{font-size:15px;line-height:1.4}.life-letter-list small{font-size:13px}.life-keepsake-letter{background:#fffdf5;border:1px solid #d9c5a8;padding:20px 17px;box-shadow:0 3px #d3bea0;flex:none;line-height:1.7}.life-keepsake-letter>strong{font-size:15px;color:#a27680}.life-keepsake-letter>p{font-size:16px;line-height:1.8;margin:13px 0}.life-keepsake-letter>span{font-size:13px;color:#8e805f}.life-style-options{display:grid;gap:15px}.life-style-options>section>strong{display:block;font-size:16px;margin-bottom:9px}.life-style-options>section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.life-style-options button{padding:10px 6px;border:2px solid #99aaa2;box-shadow:0 3px #99aaa2;border-radius:12px;background:#fff9eb;color:#75563f;display:flex;align-items:center;gap:7px;font-size:14px}.life-style-options button.selected{background:#f8d7e2;border-color:#b77f95;box-shadow:0 3px #b77f95}.life-style-options button>.ui-icon{width:25px;height:25px}.life-passport-memory>.ui-icon{width:31px;height:31px}.life-passport-memory h2{font-size:16px}.life-passport-memory p{font-size:15px}.life-chapter:active,.life-choice:active,.life-person:active{transform:translateY(3px);box-shadow:none}
@media(max-height:650px){.life-town-view{min-height:105px;max-height:155px}.life-place-art{height:59px}.life-place-art>.ui-icon{width:30px;height:30px}.life-place-art>.item-art{width:28px;height:28px}.life-place>strong{font-size:10px;padding:2px 3px}.place-companions>.sprite{width:27px;height:27px}.life-chapter{min-height:56px;padding:6px 9px;gap:7px}.life-chapter strong{font-size:14px}.life-chapter small{font-size:11px}.life-chapter>b{font-size:12px}.life-chapters{gap:8px}.page-life-event,.page-life-letter{padding:8px 11px;gap:7px}.page-life-event>.rpg-dialog{font-size:14px;line-height:1.5;padding:7px 9px}.life-scene{min-height:76px;max-height:150px}.life-scene>.hero{transform:scale(.4);left:2%}.life-scene-friends{right:5%;gap:2px}.life-scene-friends>.sprite{width:53px;height:53px}.life-choice{gap:4px;padding:7px 3px}.life-choice>.item-art{width:42px;height:42px}.life-choice strong{font-size:13px}.life-choice>.ui-icon{width:36px;height:36px}.life-person>.sprite{width:45px;height:45px}.life-person>strong{font-size:13px}.life-person>small{font-size:12px}.life-seat-slots{min-height:72px;max-height:115px}.life-seat-slot .sprite{width:30px;height:30px}.life-seat-slot>.ui-icon{width:20px;height:20px}.life-seat-slot>strong{font-size:13px}.life-envelope{min-height:100px;padding:9px}.life-envelope>p{font-size:15px;line-height:1.5}.life-letter-people .life-person>.sprite{width:46px;height:46px}.life-letter-people .life-person>strong{font-size:11px}.life-path-grid{min-height:155px;max-height:225px;padding:7px;gap:5px}.path-cell .item-art,.path-cell .sprite{width:40px;height:40px}.life-keepsake-letter{padding:12px}.life-keepsake-letter>p{font-size:14px;line-height:1.6;margin:8px 0}.life-reward{font-size:12px}.page-life-event>.life-town-view{min-height:85px;max-height:145px}}
.life-chapter>.ui-icon{flex:none;display:inline-flex;width:29px;height:29px}.life-chapter>span:not(.ui-icon){min-width:0;flex:1}.life-chapter>.ui-icon>svg{width:29px;height:29px}.life-letter-list>button>.ui-icon{flex:none;display:inline-flex;width:27px;height:27px}.life-letter-list>button>span:not(.ui-icon){min-width:0;flex:1}.life-letter-list>button>.ui-icon>svg{width:27px;height:27px}@media(max-height:650px){.life-chapter>.ui-icon,.life-chapter>.ui-icon>svg{width:25px;height:25px}.life-chapter>b{font-size:11px;letter-spacing:0}}
.place-path-mini{display:grid;grid-template-columns:repeat(3,8px);gap:2px;position:absolute;bottom:5px;right:4px;padding:3px;background:#a9c787;border-radius:5px}.place-path-mini>i{width:8px;height:7px;border-radius:2px;background:#bdd69a}.place-path-mini>i.walked{background:#e8c99b}.place-seats-mini{position:absolute;bottom:10px;left:7px;right:7px;display:flex;justify-content:space-between}.place-seats-mini>.ui-icon{width:20px;height:20px}.place-letters-mini{position:absolute;top:3px;left:4px;font-size:12px;color:#956d83}.life-visit-friends{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none}.life-visit-friends>button{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px solid #9baa9d;border-radius:12px;box-shadow:0 3px #9baa9d;background:#fff9ea;padding:5px 2px;color:#76583f;min-width:0}.life-visit-friends>button[aria-pressed=true]{background:#ffdfeb;border-color:#bb8195}.life-visit-friends .sprite{width:56px;height:56px;margin:0}.life-visit-friends span{font-size:12px}.page-life-visit>.footer{display:none}.page-life-visit>.rpg-dialog{font-size:15px;line-height:1.6;padding:9px 11px}@media(max-height:650px){.life-visit-friends .sprite{width:43px;height:43px}.life-visit-friends span{font-size:11px}.page-life-visit>.rpg-dialog{font-size:14px;line-height:1.5;padding:7px 9px}.page-life-visit{gap:7px;padding:8px 11px}.place-path-mini{transform:scale(.8);transform-origin:bottom right}.place-seats-mini>.ui-icon{width:16px;height:16px}}
.choice-stationery{position:relative;display:block;width:65px;height:52px}.choice-stationery>.ui-icon{position:absolute;inset:0;width:65px;height:52px}.choice-stationery>.item-art{position:absolute;width:22px;height:22px;right:3px;top:-2px}.life-passport-memory>.ui-icon{display:none}.life-passport-memory h2{font-size:15px;margin:2px 0}.life-passport-memory p{font-size:14px;margin:4px 0}.life-passport-memory .small{font-size:13px;min-height:28px;padding:4px 7px}
/* Intrinsic icon sizing is independent of flexible text wrappers. */
.ui-icon{flex:none!important;min-width:0;min-height:0;align-self:center;line-height:0}.ui-icon>svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden;flex:none}
/* Soft painted paper, warm ink, and blossom colours keep the controls lively and legible. */
:root{--joy-ink:#77503b;--joy-line:#bd9873;--joy-rose:#dfa2b6;--joy-leaf:#9bb48d;--joy-gold:#e7c279}.screen{color:var(--joy-ink);background:radial-gradient(ellipse at 0 3%,#ffe0e653,transparent 43%),radial-gradient(ellipse at 100% 89%,#e5edba5e,transparent 42%)}.screen>.page-heading{color:#7f5035;position:relative}.screen>.page-heading .ui-icon{filter:drop-shadow(0 1px #fff9)}.screen .page-heading h1{text-shadow:0 1px #fff9;letter-spacing:.6px}.area-unlock-hint{font-size:14px;color:#8c7355;gap:7px;padding:0 3px}.area-unlock-hint>.ui-icon{width:23px;height:23px}.quest-list{gap:14px;align-content:stretch;padding:3px 3px 5px}.quest-card{display:grid;grid-template-columns:82px minmax(0,1fr) 35px;align-items:center;gap:13px;position:relative;isolation:isolate;padding:11px 15px 13px 10px;min-height:104px;max-height:145px;border:2px solid #bc9875;border-radius:22px 27px 23px 19px;background:radial-gradient(ellipse at 16% 48%,#f9dfdfbb 0 18%,transparent 38%),linear-gradient(112deg,#fffdf2,#fff1e5);box-shadow:0 4px #dfbd94,inset 0 0 0 3px #fffaf1;overflow:hidden;color:#77523a;transition:transform .16s,box-shadow .16s}.quest-card:nth-child(2){background:radial-gradient(ellipse at 16% 48%,#f7e8b8b5 0 18%,transparent 38%),linear-gradient(112deg,#fffdf2,#fff5db);border-radius:27px 20px 24px 24px}.quest-card.is-guardian{background:radial-gradient(ellipse at 16% 48%,#dfebcbb5 0 18%,transparent 38%),linear-gradient(112deg,#fffdf1,#eef5df);border-color:#a9b28b}.quest-card>.sprite{position:relative;width:82px;height:82px;max-width:100%;margin:0;filter:drop-shadow(0 3px 1px #a8835433);z-index:1}.quest-card>.quest-copy{display:grid;gap:7px;min-width:0;flex:none;align-self:center}.quest-card strong{font-size:19px;line-height:1.5;font-weight:500;letter-spacing:.8px}.quest-card small{font-size:14px;line-height:1.45;display:inline-flex;align-items:center;width:fit-content;padding:3px 10px;border-radius:12px;background:#eddfc660;color:#907355}.quest-card.is-complete small{color:#8c6475;background:#f8dce6}.quest-card>.quest-badge{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff4d6;border:1px solid #dbbe8a;box-shadow:0 2px #e9d8b8;flex:none;min-width:0;align-self:center}.quest-card>.quest-badge>.ui-icon{width:23px;height:23px;flex:none}.quest-card.is-complete>.quest-badge{background:#e5efd9;border-color:#abc195;box-shadow:0 2px #c4d2ad}.quest-card:disabled{background:#f3eee0;border-color:#cfc5ad;box-shadow:none;opacity:1;filter:none;color:#9a8c75}.quest-card:disabled>.sprite{filter:saturate(.5);opacity:.62}.quest-card:disabled .quest-badge{background:#eee9dc;border-color:#ccc2ac;box-shadow:none}.quest-card.is-complete:after{content:'✧';position:absolute;right:66px;top:10px;color:#d4ae66;font-size:18px;pointer-events:none}.screen .game-button:not(.game-quiet){position:relative;overflow:hidden;border-color:#bb8195;border-radius:17px 20px 16px 19px;background:linear-gradient(165deg,#ffe5ec 0,#f4b9cf 62%,#efb4ca);box-shadow:0 4px #c58a9e,inset 0 0 0 2px #fff4f0;color:#795142}.screen .game-button.game-secondary{border-color:#aaa981;background:linear-gradient(160deg,#fffceb,#f2e8c7);box-shadow:0 4px #bdba96,inset 0 0 0 2px #fffdf0}.screen .game-button:not(.game-quiet):not(:disabled):after{content:'✧';position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:20px;color:#fff9;pointer-events:none}.screen .game-button.game-quiet{color:#8c765e}.screen .game-button:disabled{background:#e8e3d6;border-color:#c8bca5;box-shadow:none;color:#a19582}.screen :is(button.primary,button.action){border-color:#bd9877;box-shadow:0 3px #d8b692,inset 0 0 0 2px #fff9ed;background:linear-gradient(145deg,#fffcef,#f8ebd5)}.screen button.primary{border-color:#bd8297;background:linear-gradient(155deg,#ffe3ec,#f1b5cd);box-shadow:0 4px #bd859a,inset 0 0 0 2px #fff0f4}.festival-area:not(.locked){border-color:#bf9d76;box-shadow:0 3px #d8bc95;background:#fff9e9;border-radius:18px 23px 18px 21px}.festival-preview,.life-town-view,.quest-scene,.life-scene,.game-companion{box-shadow:inset 0 0 0 2px #fff8e8,0 2px #dfc9a2;border-radius:18px 22px 17px 20px}.festival-preview-caption{background:#fff6e4ed;color:#8a6449;box-shadow:0 1px #ddc39e}.festival-blooms{background:#fff9e9e8}.life-chapter,.spot-button,.life-letter-list>button{border-color:#bc9b7c;background:linear-gradient(135deg,#fffcee,#fff0e4);box-shadow:0 3px #dab99a,inset 0 0 0 2px #fff9ec;border-radius:17px 20px 17px 19px}.life-chapter:nth-child(2){background:linear-gradient(135deg,#fffbed,#fbe5e9)}.life-chapter:nth-child(3){background:linear-gradient(135deg,#fffbed,#edf1d8)}.life-choice,.life-person,.life-visit-friends>button,.find-object,.bag-choice,.build-material,.story-flower-choices>button{border-color:#b59b7b;box-shadow:0 3px #d5b996,inset 0 0 0 2px #fffbed;background:linear-gradient(145deg,#fffdf2,#fff1df);border-radius:16px 20px 17px 18px}.life-choice.chosen,.life-person.chosen,.bag-choice.chosen,.build-material.chosen,.life-visit-friends>button[aria-pressed=true]{border-color:#be839b;background:linear-gradient(145deg,#fff1f5,#fbd8e5);box-shadow:0 3px #c78da3,inset 0 0 0 2px #fff5f7}.life-place-art{box-shadow:0 2px #bcaa8255,inset 0 0 0 2px #fff9;rotate:-2deg}.life-place.place-1 .life-place-art{rotate:2deg}.life-place>strong{background:#fff8e8ed;box-shadow:0 1px #d6c09c;color:#886147}.life-place.level-3 .place-roof{color:#deb65e;text-shadow:0 1px #fff3bf}.screen button.card.inventory-row,.screen .collection-open{border-color:#bb9a7b;background:linear-gradient(135deg,#fffdf2,#fff1e1);box-shadow:0 3px #dabd9c,inset 0 0 0 2px #fff9eb}.screen .rpg-dialog{background:linear-gradient(135deg,#426f80,#345e70);box-shadow:0 0 0 1px #b89668,0 2px #d8c39e;border-color:#fff1c4}.life-keepsake-letter,.life-envelope{background:linear-gradient(115deg,#fffdf4,#fff5e9);box-shadow:0 3px #dec5a3;border-color:#dcc2a0}.life-seat-slot,.build-slot{border-color:#9bad8c;background:#f0f4dd}.screen .quest-card:active,.screen .life-chapter:active,.screen .spot-button:active,.screen .life-choice:active{transform:translateY(3px) rotate(-.25deg);box-shadow:0 1px #c7ab8b}
@media(prefers-reduced-motion:no-preference){.quest-card>.sprite{animation:joy-arrival .4s ease-out both}.quest-card:nth-child(2)>.sprite{animation-delay:.07s}.quest-card:nth-child(3)>.sprite{animation-delay:.14s}.life-reward,.reward-strip{animation:joy-reward .4s ease-out both}}@keyframes joy-arrival{from{opacity:0;transform:translateY(7px) rotate(-4deg)}to{opacity:1;transform:none}}@keyframes joy-reward{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
@media(max-height:650px){.quest-list{gap:11px;padding:2px 2px 4px}.quest-card{grid-template-columns:65px minmax(0,1fr) 30px;padding:8px 11px 9px 8px;gap:9px;min-height:86px;max-height:115px}.quest-card>.sprite{width:65px;height:65px}.quest-card strong{font-size:16px;letter-spacing:.3px}.quest-card small{font-size:12px;padding:3px 7px}.quest-card>.quest-badge{width:29px;height:29px}.quest-card>.quest-badge>.ui-icon{width:20px;height:20px}.quest-card>.quest-copy{gap:5px}.quest-card.is-complete:after{right:48px;top:5px;font-size:15px}.area-unlock-hint{font-size:12px}.screen .game-button:not(.game-quiet){border-radius:15px 18px 14px 17px}}
@keyframes joy-arrival{from{transform:translateY(5px) rotate(-3deg)}to{transform:none}}
/* Original hero art and original encounter monster form one small RPG scene. */
.warflower-sprite{position:relative;overflow:hidden;isolation:isolate;flex:none}.warflower-sprite>img{position:absolute!important;width:600%!important;height:auto!important;max-width:none!important;left:-365%!important;top:-258%!important;clip-path:polygon(62.7% 44%,64.9% 43.8%,65.8% 44.8%,67% 45%,68% 46.1%,70% 46.5%,71.4% 48%,72.4% 49%,74.1% 49%,75% 50%,75.5% 51.5%,74.8% 52.6%,74.1% 53%,74% 54.5%,73.5% 55.5%,72.5% 56.5%,71% 56.7%,71.3% 58.4%,70.4% 59.6%,69% 59.4%,68.7% 57.6%,67.3% 57.6%,66.9% 59.3%,65.5% 59.5%,64.8% 58.7%,65.4% 56.9%,63.5% 56.2%,62.5% 55.2%,62% 53%,61.4% 52.4%,61.4% 50.7%,62.5% 49.7%,62% 47.9%,62.2% 46%);pointer-events:none}.page-first-duel{gap:8px;padding:10px 12px 6px}.duel-stage{position:relative;flex:1;min-height:145px;max-height:330px;background:linear-gradient(#3cb8cd 0 63%,#e2e9a6 63%);border-radius:7px;overflow:hidden;box-shadow:inset 0 0 0 2px #fff5db,0 2px #d9bd8e}.duel-hero{position:absolute;left:4%;bottom:5%;width:155px;height:172px;transform:scale(.87);transform-origin:bottom center;transition:transform .3s,left .3s;z-index:2}.duel-hero>.hero{transform:none!important;scale:1!important;animation:none!important;margin:0!important}.duel-monster{position:absolute;right:12%;bottom:7%;width:110px;height:110px;transition:right .35s,transform .3s;z-index:2}.duel-monster>.warflower-sprite{width:110px;height:110px;margin:0}.duel-bubble{position:absolute;right:-5px;top:-23px;font-size:25px;color:#fff8d1;text-shadow:0 1px #827c4666}.duel-petal{position:absolute;left:18px;top:19px;font-size:24px;line-height:1;color:#fff4d4;text-shadow:0 1px #dfba68}.duel-near .duel-monster{right:28%}.duel-moment-shield .duel-hero{transform:scale(.87) rotate(5deg)}.duel-moment-peek .duel-monster{transform:translateY(-7px) rotate(-7deg)}.duel-moment-sway .duel-monster{animation:duel-sway .9s ease-in-out 2}.duel-moment-sway .duel-hero{animation:duel-hero-sway .9s ease-in-out 2}.duel-moment-spin .duel-monster{animation:duel-spin .65s ease-out}.duel-moment-spin .duel-hero{animation:duel-hero-spin .65s ease-out}.duel-moment-petal .duel-petal{animation:duel-petal .8s ease-in-out}.duel-scenery{position:absolute;left:-5%;right:-5%;bottom:-2%;height:18%;display:flex;justify-content:space-between;pointer-events:none}.duel-scenery>i{width:95px;height:60px;background:#b0d25d;border:2px solid #aac75b;border-radius:70% 80% 0 0;align-self:end}.duel-scenery>i:nth-child(2){width:40px;height:25px;background:#c4dc7d}.duel-hug{background-image:url('assets/friends.jpg');background-size:100% auto;background-position:center 30%;background-repeat:no-repeat;background-color:#3cb8cd;min-height:180px;max-height:300px}.duel-read-cue{display:flex;align-items:center;gap:7px;justify-content:center;flex:none;font-size:13px;color:#826447;line-height:1.5;min-height:23px}.duel-read-cue>.ui-icon{width:20px;height:20px}.page-first-duel .rpg-dialog{font-size:16px;line-height:1.55;padding:10px 12px;flex:none}.duel-commands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none}.duel-command{display:flex;align-items:center;gap:8px;padding:10px 9px;text-align:left;border:2px solid #b99c73;border-radius:4px;background:linear-gradient(135deg,#fffdf2,#ffebd7);box-shadow:0 3px #d5b48e;color:#775039;min-height:47px;min-width:0;font-family:'DotGothic16','Hiragino Maru Gothic ProN',sans-serif;font-size:15px;line-height:1.4}.duel-command>.ui-icon{width:24px;height:24px}.duel-command:active{transform:translateY(2px);box-shadow:0 1px #cda582;background:#fbdce6}.duel-command:first-child{background:linear-gradient(135deg,#fff5f4,#f5ccdb);border-color:#bb8a96}.duel-commands:has(>.duel-command:only-child){grid-template-columns:1fr}.duel-commands:has(>.duel-command:only-child)>.duel-command{justify-content:center}.duel-result-actions{display:grid;gap:9px;flex:none}.duel-keepsake{display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;line-height:1.4;margin:0;color:#ac7088}.duel-keepsake>.ui-icon{width:23px;height:23px}.duel-memory-grid{display:grid;gap:17px}.duel-memory{background:#fffdf3;border:1px solid #dcc4a6;padding:8px 8px 13px;box-shadow:0 3px #d8bfa0;rotate:-.7deg}.duel-memory-photo{height:180px;background:url('assets/friends.jpg') center 31%/100% auto;border-radius:3px}.duel-memory>strong{display:flex;align-items:center;justify-content:center;gap:6px;font-size:16px;margin:10px 0 4px}.duel-memory>p{font-size:14px;line-height:1.7;margin:5px 7px}.duel-memory .ui-icon{width:24px;height:24px}@keyframes duel-sway{25%{transform:rotate(9deg)}75%{transform:rotate(-9deg)}}@keyframes duel-hero-sway{25%{transform:scale(.87) rotate(-5deg)}75%{transform:scale(.87) rotate(5deg)}}@keyframes duel-spin{50%{transform:scaleX(-1) translateY(-9px)}100%{transform:none}}@keyframes duel-hero-spin{50%{transform:scale(-.87,.87) translateY(-9px)}100%{transform:scale(.87)}}@keyframes duel-petal{50%{translate:8px -10px;rotate:20deg}}
@media(max-height:650px){.page-first-duel{padding:8px 11px 4px;gap:7px}.duel-stage{min-height:90px;max-height:220px}.duel-hero{left:0;bottom:3%;transform:scale(.57)}.duel-monster{width:79px;height:79px;right:12%;bottom:4%}.duel-monster>.warflower-sprite{width:79px;height:79px}.duel-bubble{font-size:21px;top:-19px}.duel-near .duel-monster{right:26%}.duel-moment-shield .duel-hero{transform:scale(.57) rotate(5deg)}.duel-moment-sway .duel-hero,.duel-moment-spin .duel-hero{animation:none}.duel-read-cue{font-size:12px;gap:5px;line-height:1.4}.duel-read-cue>.ui-icon{width:18px;height:18px}.page-first-duel .rpg-dialog{font-size:14px;line-height:1.5;padding:8px 10px}.duel-command{min-height:41px;font-size:13px;padding:8px 6px;gap:5px}.duel-command>.ui-icon{width:21px;height:21px}.duel-commands{gap:7px}.duel-hug{min-height:140px;max-height:220px;background-position:center 30%}.duel-result-actions{gap:8px}.duel-keepsake{font-size:13px}.duel-memory-photo{height:150px}.page-first-duel>.footer{font-size:8px;line-height:1}}

.warflower-sprite>img{clip-path:polygon(72.56% 43.56%,68.11% 43.78%,67.44% 44.00%,67.00% 44.22%,66.67% 44.44%,66.44% 44.67%,66.22% 44.89%,66.00% 45.11%,65.89% 45.33%,64.67% 45.56%,64.22% 45.78%,63.89% 46.00%,63.67% 46.22%,63.56% 46.44%,63.44% 46.67%,63.33% 46.89%,63.11% 47.11%,63.11% 47.33%,63.00% 47.56%,63.00% 47.78%,63.00% 48.00%,63.00% 48.22%,63.00% 48.44%,63.00% 48.67%,62.67% 48.89%,62.44% 49.11%,62.33% 49.33%,61.78% 49.56%,61.56% 49.78%,61.56% 50.00%,61.56% 50.22%,61.56% 50.44%,60.78% 50.67%,61.78% 50.89%,61.78% 51.11%,61.78% 51.33%,61.78% 51.56%,61.89% 51.78%,61.89% 52.00%,62.00% 52.22%,62.11% 52.44%,62.22% 52.67%,62.44% 52.89%,62.67% 53.11%,62.89% 53.33%,63.11% 53.56%,63.11% 53.78%,63.11% 54.00%,63.11% 54.22%,63.11% 54.44%,63.11% 54.67%,63.22% 54.89%,63.22% 55.11%,63.33% 55.33%,63.44% 55.56%,63.56% 55.78%,63.78% 56.00%,64.00% 56.22%,64.22% 56.44%,64.67% 56.67%,65.44% 56.89%,65.89% 57.11%,65.89% 57.33%,66.00% 57.56%,65.44% 57.78%,65.22% 58.00%,65.11% 58.22%,65.11% 58.44%,65.22% 58.67%,65.44% 58.89%,69.56% 59.11%,70.11% 59.33%,70.33% 59.33%,70.67% 59.11%,70.78% 58.89%,70.89% 58.67%,70.89% 58.44%,70.78% 58.22%,70.67% 58.00%,70.67% 57.78%,70.56% 57.56%,70.44% 57.33%,70.67% 57.11%,71.00% 56.89%,72.44% 56.67%,73.11% 56.44%,73.44% 56.22%,73.78% 56.00%,73.89% 55.78%,74.00% 55.56%,74.22% 55.33%,74.33% 55.11%,74.44% 54.89%,74.44% 54.67%,74.44% 54.44%,74.44% 54.22%,74.44% 54.00%,74.44% 53.78%,74.44% 53.56%,74.56% 53.33%,74.89% 53.11%,75.00% 52.89%,75.22% 52.67%,75.33% 52.44%,75.44% 52.22%,75.44% 52.00%,75.56% 51.78%,75.67% 51.56%,75.67% 51.33%,75.67% 51.11%,75.67% 50.89%,76.22% 50.67%,75.56% 50.44%,75.56% 50.22%,75.44% 50.00%,75.33% 49.78%,75.22% 49.56%,75.11% 49.33%,74.89% 49.11%,74.67% 48.89%,74.56% 48.67%,74.56% 48.44%,74.56% 48.22%,74.56% 48.00%,74.56% 47.78%,74.56% 47.56%,74.56% 47.33%,74.44% 47.11%,74.33% 46.89%,74.22% 46.67%,74.00% 46.44%,73.78% 46.22%,73.56% 46.00%,73.22% 45.78%,72.56% 45.56%,71.78% 45.33%,71.56% 45.11%,71.44% 44.89%,71.22% 44.67%,71.00% 44.44%,70.67% 44.22%,74.00% 44.00%,74.22% 43.78%,74.33% 43.56%)}
.duel-petal{z-index:4;left:15px;top:35px;font-size:21px}.page-first-duel .duel-command{font-size:14px;gap:6px}@media(max-height:650px){.page-first-duel .duel-command{font-size:12px;gap:5px}}
.duel-hug,.duel-memory-photo{background-size:auto 250%;background-position:center 40%}.duel-moment-petal .duel-monster{animation:duel-hop .65s ease-in-out 2}@keyframes duel-hop{50%{transform:translateY(-8px) rotate(4deg)}}
/* Visible cues and action feedback, including a distinct response to each petal tap. */
.duel-stage{--duel-scale:.87}.duel-offered-flower{position:absolute;left:47%;bottom:23%;font-size:28px;line-height:1;color:#fff8d1;text-shadow:0 1px #d5aa55;z-index:4;pointer-events:none}.duel-peek-leaves{position:absolute;right:9%;bottom:1%;width:105px;height:65px;z-index:4;pointer-events:none}.duel-peek-leaves>.item-art{width:105px;height:65px;object-fit:contain;filter:drop-shadow(0 2px #7f9b4866)}.duel-joy-burst{position:absolute;left:42%;bottom:49%;font-size:21px;color:#f4a5bd;z-index:5;pointer-events:none;animation:duel-joy-pop .85s ease-out both}.duel-focus-flower.duel-react-idle .duel-monster{animation:duel-look-at-flower 2.6s ease-in-out 2}.duel-focus-play.duel-react-idle .duel-monster{animation:duel-want-to-play 2.1s ease-in-out 3}.duel-react-surprise .duel-offered-flower{left:19%;bottom:54%;animation:duel-flower-arrives 1.1s ease-out both}.duel-react-surprise .duel-hero{animation:duel-small-startle .65s ease-out}.duel-react-offer .duel-offered-flower{animation:duel-hold-out 1.15s ease-in-out both}.duel-react-offer .duel-hero,.duel-react-share .duel-hero{animation:duel-offer-bow .9s ease-in-out both}.duel-react-offer .duel-monster{animation:duel-follow-petal 1.15s ease-in-out both}.duel-react-share .duel-monster,.duel-react-match .duel-monster{animation:duel-happy-nod 1.1s ease-in-out both}.duel-react-chase .duel-offered-flower{animation:duel-petal-arc 1.15s ease-in-out both}.duel-react-chase .duel-monster{animation:duel-chase-petal 1.15s ease-in-out both}.duel-react-chase .duel-hero{animation:duel-offer-bow 1.15s ease-in-out both}.duel-react-hide .duel-monster{animation:duel-hide-behind-leaf 1.25s ease-in-out both}.duel-react-peek .duel-monster{animation:duel-pop-out 1.1s ease-in-out both}.duel-react-guard .duel-hero,.duel-react-match .duel-hero{animation:duel-show-shield .9s ease-in-out both}.duel-react-sway .duel-hero,.duel-react-invite .duel-hero,.duel-react-nod .duel-hero{animation:duel-both-sway 1.2s ease-in-out 2}.duel-react-sway .duel-monster,.duel-react-invite .duel-monster{animation:duel-buddy-sway 1.2s ease-in-out 2}.duel-react-nod .duel-monster,.duel-react-notice .duel-monster{animation:duel-look-at-flower 1.2s ease-in-out both}.duel-react-spin .duel-hero{animation:duel-both-spin .85s ease-in-out both}.duel-react-spin .duel-monster{animation:duel-spin .85s ease-in-out both}.duel-commands .duel-command:first-child{box-shadow:0 3px #c49790,inset 0 0 0 1px #fff8}.duel-react-offer~.duel-commands .duel-command:first-child{background:#ffe0e9}
@keyframes duel-look-at-flower{25%,65%{transform:translate(-7px,2px) rotate(-9deg)}45%{transform:translate(-3px,0) rotate(-4deg)}}@keyframes duel-want-to-play{20%,60%{transform:translateY(-9px) rotate(6deg)}40%,80%{transform:translateY(0) rotate(-6deg)}}@keyframes duel-flower-arrives{from{transform:translate(-7px,-17px) rotate(-25deg)}60%{transform:translate(0,3px) rotate(14deg)}to{transform:none}}@keyframes duel-small-startle{35%{transform:scale(var(--duel-scale)) translateY(-7px) rotate(-4deg)}}@keyframes duel-hold-out{20%{transform:translate(-18px,5px) rotate(-15deg)}60%{transform:translate(12px,-7px) rotate(14deg)}to{transform:translate(7px,0)}}@keyframes duel-offer-bow{35%,65%{transform:scale(var(--duel-scale)) translateX(11px) rotate(6deg)}}@keyframes duel-follow-petal{30%{transform:translate(-13px,-4px) rotate(-8deg)}65%{transform:translate(8px,-10px) rotate(7deg)}to{transform:translate(-5px,0)}}@keyframes duel-petal-arc{from{transform:translate(-25px,5px) rotate(-20deg)}45%{transform:translate(40px,-62px) rotate(80deg)}to{transform:translate(65px,-5px) rotate(150deg);opacity:.5}}@keyframes duel-chase-petal{25%{transform:translate(13px,-12px) rotate(8deg)}50%{transform:translate(31px,-24px) rotate(-6deg)}75%{transform:translate(18px,-6px) rotate(5deg)}to{transform:translate(0,0)}}@keyframes duel-happy-nod{25%,65%{transform:translateY(-7px) rotate(-6deg)}45%,85%{transform:rotate(5deg)}}@keyframes duel-hide-behind-leaf{35%,65%{transform:translateY(19px) rotate(9deg)}to{transform:translateY(8px) rotate(5deg)}}@keyframes duel-pop-out{from{transform:translateY(16px)}40%{transform:translate(-12px,-19px) rotate(-12deg)}70%{transform:translate(5px,-5px) rotate(8deg)}to{transform:none}}@keyframes duel-show-shield{45%{transform:scale(var(--duel-scale)) translateX(9px) rotate(-7deg)}}@keyframes duel-both-sway{25%{transform:scale(var(--duel-scale)) rotate(-10deg)}75%{transform:scale(var(--duel-scale)) rotate(10deg)}}@keyframes duel-buddy-sway{25%{transform:rotate(-13deg) translateY(-4px)}75%{transform:rotate(13deg) translateY(-4px)}}@keyframes duel-both-spin{45%{transform:scale(calc(var(--duel-scale) * -1),var(--duel-scale)) translateY(-9px)}to{transform:scale(var(--duel-scale))}}@keyframes duel-joy-pop{from{opacity:0;transform:translateY(10px) scale(.5)}40%{opacity:1;transform:translateY(-7px) scale(1.1)}to{opacity:1;transform:translateY(-2px) scale(1)}}
@media(max-height:650px){.duel-stage{--duel-scale:.57}.duel-offered-flower{font-size:23px;left:45%;bottom:21%}.duel-peek-leaves{width:78px;height:48px;right:9%}.duel-peek-leaves>.item-art{width:78px;height:48px}.duel-joy-burst{font-size:18px;left:39%;bottom:49%}.duel-react-surprise .duel-offered-flower{left:19%;bottom:43%}}
@media(prefers-reduced-motion:reduce){.duel-stage *{animation:none!important}.duel-focus-flower .duel-monster{rotate:-5deg}.duel-focus-play .duel-monster{rotate:5deg}}
/* Decorative glints must not become part of a button's accessible name. */
.screen .game-button:not(.game-quiet):not(:disabled):after{content:'';width:13px;height:18px;background:#fff9;clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%)}
.duel-focus-play.duel-react-notice .duel-monster{animation:duel-want-to-play 1.2s ease-in-out 2}.duel-react-peek .duel-hero,.duel-react-hide .duel-hero{animation:duel-show-shield 1.1s ease-in-out both}
/* Consistent roles: rounded raised controls; a single square blue reading window. */
.page-first-duel .duel-command{border-radius:18px;background:linear-gradient(145deg,#fffaf0,#ffe6d5);border:2px solid #bc9275;box-shadow:0 4px #d7b28f,inset 0 0 0 2px #fff8ef}.page-first-duel .duel-command:first-child{border-radius:18px;background:linear-gradient(145deg,#ffe9ef,#f6c5d7);border-color:#be8b9d;box-shadow:0 4px #ca92a6,inset 0 0 0 2px #fff2f5}.page-first-duel .rpg-dialog{border-radius:2px;background:#365f72;border:3px double #fff0c6;box-shadow:0 0 0 1px #b89c70}.page-first-duel .duel-command:active{transform:translateY(3px);box-shadow:0 1px #c79c80}@media(max-height:650px){.page-first-duel .duel-command,.page-first-duel .duel-command:first-child{border-radius:16px}}
/* The map is a play surface; panels explain, rounded controls act. */
.petal-wallet{display:inline-flex;align-items:center;gap:7px;flex:none;background:#fff0ba;border:1px solid #dcb773;border-radius:30px;padding:5px 12px;color:#81522f;font-size:19px;margin:0 0 8px;box-shadow:0 2px 0 #e5c993}.petal-wallet small{font-size:13px}.page-world-map,.page-map,.page-world-town,.page-town{position:relative}.page-world-map>.petal-wallet,.page-map>.petal-wallet{position:absolute;right:14px;top:9px}.world-map{position:relative;width:100%;aspect-ratio:1.25;max-height:340px;min-height:220px;isolation:isolate;background:#e4efd1;border:3px solid #b8a67c;border-radius:18px;overflow:hidden;box-shadow:inset 0 0 30px #fff4dc}.world-region{position:absolute;z-index:-2;width:100%;height:65%;object-fit:cover;filter:grayscale(1);opacity:.48;transition:filter .8s,opacity .8s}.world-region.explored{filter:none;opacity:1}.world-region.region-0{bottom:0}.world-region.region-1{top:7%;left:30%;width:70%;height:58%;clip-path:ellipse(68% 57% at 65% 50%)}.world-region.region-2{top:0;height:30%;clip-path:ellipse(80% 75% at 50% 0)}.world-roads{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.world-roads path{stroke:#fff4ce;stroke-width:3;fill:none;stroke-linecap:round;filter:drop-shadow(0 1px 1px #9b8056)}.world-roads path.route-highlight{stroke:#df8da2;stroke-dasharray:2 2}.world-node{position:absolute;transform:translate(-50%,-50%);width:88px;height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible;color:#5b4330;gap:1px}.world-node-art{position:relative;display:flex;align-items:center;justify-content:center;width:39px;height:39px;background:#fff8e9;border:2px solid #ae9270;border-radius:50%;box-shadow:0 2px 0 #baa483}.world-node .sprite{width:33px!important;height:33px!important;object-fit:contain;margin:0!important}.world-node .warflower-sprite img{width:600%!important;max-width:none!important}.world-node .ui-icon{width:26px!important;height:26px!important}.world-node.unvisited .world-node-art{filter:grayscale(1);background:#eae7df}.world-node.unvisited .sprite{opacity:.35}.world-node.selected .world-node-art{outline:3px solid #de88a4;outline-offset:2px}.world-node.current .world-node-art{background:#fff0a7}.world-node small{display:block;white-space:nowrap;background:#fff8e8ed;border-radius:9px;padding:0 5px;font-size:12px;line-height:18px;font-weight:800}.world-you{position:absolute;left:-14px;top:-13px;color:#b54468;font-size:24px;z-index:2;filter:drop-shadow(0 1px #fff)}.world-friend{position:absolute;right:-7px;bottom:-2px;color:#d15e8a;background:white;border-radius:50%;font-size:14px;width:19px}.world-actions{display:flex;gap:8px;margin:9px 0}.world-actions>button{flex:1;min-height:46px;border-radius:24px!important;font-size:15px!important;padding:8px!important}.world-actions .ui-icon{width:25px!important;height:25px!important}.world-legend{text-align:center;font-size:12px;color:#7a6247;line-height:1.5}.page-world-map .rpg-dialog,.page-map .rpg-dialog{margin-top:10px;min-height:64px!important;padding:10px 12px!important}.page-world-map .rpg-message,.page-map .rpg-message{font-size:15px;line-height:1.6}.page-world-map .page-heading,.page-map .page-heading{padding-right:115px;min-height:38px;margin-bottom:8px}.petal-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.shop-product{border-radius:20px;background:#fffaf0;border:2px solid #d7b78a;padding:8px;display:flex;align-items:center;flex-direction:column;box-shadow:0 3px #e3cdac}.shop-product.selected{border-color:#d07996;background:#fff0f4}.shop-product .item-art{width:65px;height:65px;object-fit:contain;flex:none}.shop-product strong{font-size:14px}.shop-product small{font-size:14px;color:#a35471}.shop-review{border:0;border-left:4px solid #d88ea6;padding:10px 14px;margin:12px 0;background:#fff2f3}.shop-review p{margin:6px 0;font-size:15px}.shop-review button{border-radius:28px}.world-garland{position:absolute;left:10%;right:10%;top:10%;display:flex;justify-content:center;pointer-events:none}.world-garland .item-art{width:23%;height:70px;object-fit:contain;transform:rotate(-12deg)}.world-garland .item-art:nth-child(even){transform:rotate(14deg) translateY(15px)}.world-town{min-height:190px;max-height:310px;height:32vh}.world-memory-art{height:150px;background:#d9edcc;display:flex;align-items:center;justify-content:center;overflow:hidden}.world-memory-art .hero{width:100px;height:140px;position:relative;inset:auto}.world-memory-art .sprite{width:100px;height:120px;object-fit:contain}.duel-play-ball{position:absolute;width:42px;height:42px;left:50%;top:57%;z-index:4;animation:duel-ball-roll 1.4s ease-in-out both}.duel-play-ball .item-art{width:100%;height:100%}.duel-commands{gap:7px!important}.duel-command{min-height:43px!important;padding:7px 9px!important;border-radius:24px!important}.duel-command .ui-icon{width:25px!important;height:25px!important}.duel-result-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:7px}.duel-result-actions>button{min-height:42px!important;font-size:14px!important;border-radius:24px!important;padding:7px!important}.duel-result-actions>button:last-child{grid-column:1/-1}.page-first-duel .duel-stage{max-height:245px}.page-first-duel .rpg-dialog{padding:9px 12px!important}.page-first-duel .rpg-message{font-size:15px;line-height:1.55}.page-first-duel .speech-turn{margin:3px 0!important}.page-world-gift .inventory-row .item-art{width:62px;height:62px}.page-world-gift .inventory-row small{display:block;font-size:14px}.page-missions .mission-row h2{font-size:16px}.page-missions>.claim-all{width:100%;margin-bottom:12px;border-radius:24px}.world-node:focus-visible{outline:2px solid #b34771;border-radius:20px}@keyframes duel-ball-roll{0%{transform:translateX(-50px) rotate(0)}60%{transform:translateX(65px) rotate(280deg)}100%{transform:translateX(25px) rotate(180deg)}}
@media(max-height:650px){.world-map{min-height:180px;max-height:225px}.world-node{height:52px}.world-node-art{width:31px;height:31px}.world-node .sprite{width:27px!important;height:27px!important}.world-node small{font-size:11px;line-height:15px}.world-actions{margin:6px 0}.world-actions>button{font-size:13px!important;min-height:40px}.world-legend{font-size:11px}.page-first-duel .duel-stage{height:175px!important;min-height:145px!important}.duel-command{font-size:13px!important;min-height:38px!important}.page-first-duel .page-heading{margin-bottom:4px}.page-first-duel .rpg-dialog{margin:5px 0!important}.page-first-duel .rpg-message{font-size:13px;line-height:1.5}}

.world-actions>.game-button,.duel-result-actions>.game-button,.two-actions>.game-button{width:auto!important;min-width:0!important;flex:1 1 0!important}.world-node .sprite{filter:none}.world-node.unvisited .sprite{filter:brightness(.7)}

.world-reveal{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;pointer-events:none}

.world-you .ui-icon{width:23px!important;height:23px!important}.world-legend .ui-icon{width:16px!important;height:16px!important;vertical-align:middle}.topbar>.back{display:flex;align-items:center;justify-content:center;gap:4px}.topbar>.back>.ui-icon{width:19px!important;height:19px!important}.header-tools button>.ui-icon{width:21px!important;height:21px!important;flex:none!important}
/* Completion has its own stage, rewards and level-up ceremony. */
.player-progress{display:grid;grid-template-columns:1fr 86px;align-items:center;gap:2px 8px;margin:0 0 7px;padding:5px 9px;background:#fff7db;border-radius:12px;color:#825b38}.player-progress>strong{font-size:13px;display:flex;align-items:center;gap:3px}.player-progress .ui-icon{width:19px!important;height:19px!important;flex:none}.player-progress>.meter{height:7px;margin:0}.player-progress>small{grid-column:2;font-size:10px;text-align:right;line-height:1}.world-map{max-height:285px;min-height:195px}.world-node.locked .world-node-art{background:#e8e4dc;border-color:#b7b0a4}.world-node.locked .ui-icon{width:22px!important;height:22px!important}.world-node .world-friend{display:flex;align-items:center;justify-content:center;width:19px;height:19px;right:-7px;bottom:-3px;background:white}.world-node .world-friend .ui-icon{width:19px!important;height:19px!important}.world-node.cleared .world-node-art{border-color:#83a075}.world-legend .ui-icon{width:15px!important;height:15px!important}.world-roads path.route-highlight{stroke:#d67a9d!important;stroke-width:3!important}.home-greeting{display:flex;align-items:center;gap:4px;font-size:12px!important}.home-greeting .ui-icon{width:21px!important;height:21px!important;flex:none}.clear-result{position:relative;text-align:center;display:flex;flex-direction:column;align-items:stretch;gap:7px;animation:clear-arrive .45s ease-out}.clear-ribbon{font-size:22px;font-weight:900;line-height:1.35;color:#995472;background:linear-gradient(100deg,#f7ccdd,#fff1b5,#f7ccdd);border:2px solid #d2a86d;box-shadow:0 3px #e0c7a0;border-radius:5px 5px 19px 19px;padding:9px 5px;display:flex;align-items:center;justify-content:center;gap:5px;flex:none}.clear-ribbon .ui-icon{width:28px!important;height:28px!important;flex:none}.clear-portrait{position:relative;background:radial-gradient(ellipse,#fff9c8 25%,#f5dce1 65%,#e2edcf);height:125px;border-radius:50% 50% 18px 18px;display:flex;align-items:center;justify-content:center;overflow:hidden}.clear-portrait::before,.clear-portrait::after{content:'✦　♡　✧';position:absolute;color:#d28c9b;font-size:24px;top:12px;left:8px;animation:clear-spark 1.8s ease-in-out 2}.clear-portrait::after{left:auto;right:7px;top:72px;color:#bb9e47;animation-delay:.3s}.clear-portrait .hero{position:relative!important;width:105px!important;height:125px!important;inset:auto!important;flex:none;animation:clear-bounce 1s ease-in-out 2}.clear-portrait>.sprite{width:100px!important;height:105px!important;object-fit:contain;flex:none;margin:0!important;animation:clear-bounce 1s .2s ease-in-out 2}.clear-portrait>.warflower-sprite{width:95px!important;height:95px!important}.clear-portrait>span:not(.sprite){position:absolute;bottom:4px;right:23%;color:#d989a3;font-size:20px}.clear-result .rpg-dialog{margin:0!important;text-align:left;padding:8px 11px!important;min-height:0!important;flex:none}.clear-result .rpg-message{font-size:14px!important;line-height:1.55!important}.clear-result .speech-turn{margin:2px 0!important}.clear-rewards{display:flex;justify-content:space-evenly;align-items:center;gap:5px;background:#fff4c9;border:1px solid #e6c982;border-radius:18px;padding:5px;font-size:14px;color:#87582f}.clear-rewards strong{display:flex;align-items:center;gap:4px}.clear-rewards .ui-icon{width:20px!important;height:20px!important}.clear-level{background:#fcf5df;border:1px solid #d9c8a4;border-radius:13px;padding:5px 9px}.clear-level>b{display:block;color:#bb617d;font-size:18px;animation:clear-spark .8s ease-in-out 3}.clear-level>strong{font-size:17px}.clear-level>strong small{display:block;font-size:12px;font-weight:normal}.clear-level .player-progress{margin:3px 0 0;padding:0;background:none}.clear-level>strong+.player-progress>strong{visibility:hidden}.clear-unlocks{font-size:13px;margin:0!important;line-height:1.5;color:#637c50}.clear-unlocks .ui-icon{width:17px!important;height:17px!important;vertical-align:middle}.clear-result .duel-result-actions{margin:0!important;gap:5px}.clear-result .duel-result-actions button{min-height:37px!important;font-size:13px!important;padding:5px!important}.clear-result .duel-result-actions button .ui-icon{width:21px!important;height:21px!important}.clear-result .duel-result-actions .game-quiet{border:0!important;box-shadow:none!important;min-height:28px!important;background:transparent!important}.chest-treasure{height:130px;background:radial-gradient(ellipse,#fff4b5,transparent 70%)}.chest-treasure .item-art{width:130px;height:130px;object-fit:contain;animation:clear-bounce 1s ease-in-out 2}.town-shop-building{position:absolute;right:7%;top:36%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:112px;min-height:83px;border:2px solid #bc8e65!important;background:#fff4d9ee!important;border-radius:17px!important;box-shadow:0 4px #d4b080!important;padding:8px!important;color:#825b38;z-index:5}.town-shop-building>.ui-icon{width:30px!important;height:30px!important}.town-shop-building strong{font-size:13px}.town-shop-building small{font-size:11px;color:#b27186}.world-town .town-resident.resident-0{left:18%!important}.world-town{height:28vh;min-height:160px}.page-world-clear .footer,.page-first-duel:has(.clear-result) .footer{font-size:10px;margin-top:5px}.page-world-map .rpg-dialog,.page-map .rpg-dialog{min-height:55px!important;margin-top:7px!important}.page-world-map .rpg-message,.page-map .rpg-message{font-size:14px!important}.page-world-map .world-actions,.page-map .world-actions{margin:6px 0}.page-world-map .world-actions>.game-button,.page-map .world-actions>.game-button{min-height:40px;font-size:14px!important}.page-town>.petal-wallet,.page-world-town>.petal-wallet{margin-bottom:5px}.world-node .world-you{filter:none}
@keyframes clear-arrive{from{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes clear-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes clear-spark{0%,100%{opacity:.65}50%{opacity:1;filter:brightness(1.2)}}
@media(max-height:650px){.world-map{max-height:184px;min-height:160px}.player-progress{padding:3px 7px;margin-bottom:5px}.page-world-map .world-actions>.game-button,.page-map .world-actions>.game-button{min-height:36px;font-size:12px!important}.page-world-map .rpg-dialog,.page-map .rpg-dialog{padding:6px 9px!important;min-height:50px!important}.page-world-map .rpg-message,.page-map .rpg-message{font-size:12px!important}.world-node-art{width:27px;height:27px}.world-node .sprite{width:24px!important;height:24px!important}.clear-result{gap:5px}.clear-ribbon{font-size:19px;padding:5px}.clear-portrait{height:87px}.clear-portrait .hero{width:80px!important;height:100px!important}.clear-portrait>.sprite{width:77px!important;height:81px!important}.clear-result .rpg-message{font-size:12px!important}.clear-rewards{font-size:12px;padding:3px}.clear-level{padding:3px 8px}.clear-level>b{font-size:16px}.clear-level>strong{font-size:15px}.clear-unlocks{font-size:11px}.clear-result .duel-result-actions button{font-size:12px!important;min-height:33px!important}.clear-result .duel-result-actions button:last-child{min-height:25px!important}.world-town{min-height:140px;height:25vh}.town-shop-building{top:28%;min-height:72px;width:105px}}
@media(prefers-reduced-motion:reduce){.clear-result,.clear-portrait .hero,.clear-portrait>.sprite,.clear-portrait::before,.clear-portrait::after,.clear-level>b{animation:none}}

.clear-level .player-progress{grid-template-columns:1fr;gap:3px}.clear-level .player-progress>strong{display:none!important}.clear-level .player-progress>.meter,.clear-level .player-progress>small{grid-column:1}.clear-level>strong,.clear-level>b{line-height:1.35}.clear-level>strong small{line-height:1.4}@media(max-height:650px){.clear-portrait{height:75px}.clear-ribbon{font-size:18px;padding:3px}.clear-ribbon .ui-icon{width:23px!important;height:23px!important}.clear-result .rpg-dialog{padding:6px 9px!important}.clear-level .player-progress{margin-top:4px}.clear-result .duel-result-actions button:last-child{padding:2px!important}.clear-result{gap:4px}}
.clear-portrait .hero{width:155px!important;height:172px!important;transform:scale(.7)!important;scale:1!important;margin:-20px!important;animation:none!important;overflow:hidden!important;display:block!important}.clear-portrait .hero img{width:420px!important;max-width:none!important;left:-129px!important;top:-103px!important}@media(max-height:650px){.clear-portrait .hero{transform:scale(.44)!important;margin:-38px!important}}
/* Story actions belong to the same square RPG window as the dialogue. */
.rpg-choices{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:8px 0 0;padding:7px 0 0;border-top:1px solid #ffffff50}.rpg-option{display:flex!important;align-items:center;justify-content:flex-start!important;gap:9px!important;width:100%!important;min-width:0!important;min-height:30px!important;padding:3px 4px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fffbed!important;box-shadow:none!important;text-shadow:none!important;text-align:left!important;font-family:inherit!important;font-size:15px!important;font-weight:normal!important;line-height:1.45!important;letter-spacing:.02em;cursor:pointer;flex:none!important}.rpg-option>span{display:block;flex:1}.rpg-option>.rpg-cursor{width:10px!important;height:13px!important;flex:none!important;color:#fff5cf;visibility:hidden}.rpg-option:first-child>.rpg-cursor,.rpg-option.cursor-here>.rpg-cursor{visibility:visible}.rpg-choices:has(.cursor-here)>.rpg-option:not(.cursor-here)>.rpg-cursor{visibility:hidden}.rpg-option:hover,.rpg-option:focus-visible,.rpg-option.cursor-here{background:#ffffff12!important;outline:none!important}.rpg-option:focus-visible{box-shadow:inset 0 0 0 1px #fff4bb!important}.rpg-dialog:has(.rpg-choices){padding:11px 14px!important}.page-first-duel .duel-stage{height:195px!important;min-height:160px!important;max-height:210px!important}.page-first-duel .rpg-dialog{margin:8px 0!important}.world-roads path.route-highlight{stroke:#fff4ce!important;stroke-dasharray:none!important}.world-node.selected .world-node-art{outline-color:#a98c63!important}.next-level-play{grid-column:1/-1;font-size:11px;line-height:1.45;color:#a15e79;padding-top:2px}.level-play-unlocked{font-size:12px;margin:3px 0 0;color:#ad587b;font-weight:bold}.clear-level .next-level-play{display:none}.hide-garden{height:180px;display:flex;gap:7px;align-items:center;justify-content:center;background:linear-gradient(#c5e4e5 50%,#e6efba 50%);border-radius:16px;padding:12px;margin-bottom:9px;overflow:hidden}.hide-bush{position:relative;width:30%;max-width:110px;display:flex;flex-direction:column;align-items:center;justify-content:center}.hide-bush>.item-art,.hide-bush>.sprite{width:95px!important;height:100px!important;object-fit:contain;margin:0}.hide-bush small{font-size:12px;color:#6e6045;background:#fff7e2;border-radius:10px;padding:2px 9px}.hide-bush>b{position:absolute;top:20px;background:#fff6da;border-radius:12px;font-size:13px;padding:3px 7px;box-shadow:0 2px #cdb580}.hide-bush.rustling>.item-art{animation:leaf-rustle 1.3s ease-in-out infinite}.hide-bush.found>.sprite{animation:clear-bounce 1s ease-in-out 2}.hide-bush .warflower-sprite>img{width:600%!important}.rhythm-stage{height:190px;background:linear-gradient(#d4e9ea,#fff0cf);border-radius:16px;padding:10px;margin-bottom:9px}.rhythm-friend{display:flex;align-items:center;justify-content:center;height:100px}.rhythm-friend>.sprite{width:88px!important;height:88px!important;object-fit:contain;margin:0}.rhythm-friend>span:not(.sprite){font-size:30px;color:#c3809a}.rhythm-notes{display:flex;justify-content:center;gap:5px;padding:6px}.rhythm-note{display:flex;align-items:center;justify-content:center;width:48px;height:50px;background:#fffaf0;border:2px dashed #d3af83;border-radius:14px;color:#a78163;font-size:24px;flex:none}.rhythm-note>.item-art{width:43px;height:43px;object-fit:contain}.rhythm-note.matched{border-style:solid;border-color:#8aa67d}.chest-discovery{height:180px;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;border-radius:15px;margin-bottom:10px;overflow:hidden}.chest-discovery>.hero{flex:none;transform:scale(.75);margin:-20px}.chest-discovery>.ui-icon{width:70px!important;height:70px!important;flex:none}.page-world-map .world-map,.page-map .world-map{max-height:240px;min-height:180px}.page-world-map .world-legend,.page-map .world-legend{margin-top:7px}.page-world-map .rpg-option,.page-map .rpg-option{min-height:28px!important}.clear-result .player-progress{gap:3px}.page-level-play .page-heading{margin-bottom:8px}
@keyframes leaf-rustle{0%,70%,100%{transform:rotate(0)}76%{transform:rotate(-12deg)}84%{transform:rotate(12deg)}92%{transform:rotate(-8deg)}}
@media(max-height:650px){.page-first-duel .duel-stage{height:125px!important;min-height:125px!important;max-height:125px!important}.rpg-option{font-size:13px!important;min-height:25px!important;padding:2px 3px!important}.rpg-dialog:has(.rpg-choices){padding:8px 10px!important}.rpg-choices{margin-top:5px;padding-top:5px}.page-world-map .world-map,.page-map .world-map{height:145px;min-height:145px;max-height:145px}.page-world-map .rpg-option,.page-map .rpg-option{min-height:25px!important}.next-level-play{font-size:10px;padding-top:1px}.page-world-map .player-progress,.page-map .player-progress{margin-bottom:4px}.page-world-map .page-heading,.page-map .page-heading{margin-bottom:4px}.hide-garden{height:140px}.hide-bush>.item-art,.hide-bush>.sprite{width:78px!important;height:83px!important}.rhythm-stage{height:140px;padding:5px}.rhythm-friend{height:78px}.rhythm-friend>.sprite{width:67px!important;height:67px!important}.rhythm-note{width:42px;height:43px}.rhythm-note>.item-art{width:36px;height:36px}.chest-discovery{height:140px}.level-play-unlocked{font-size:11px;margin-top:2px}}
@media(prefers-reduced-motion:reduce){.hide-bush.rustling>.item-art{animation:none;transform:rotate(-10deg)}}
.hide-bush>b.hide-surprise{top:10px;padding:0;background:#fff9df;border-radius:50%;width:50px;height:50px;animation:clear-arrive .4s ease-out}.hide-surprise>.item-art{width:48px;height:48px;object-fit:contain}.clear-result .rpg-dialog:has(.rpg-choices){padding:9px 12px!important}.clear-result .rpg-option{font-size:14px!important;min-height:28px!important}.clear-result .rpg-choices{margin-top:5px;padding-top:5px}.clear-result .clear-portrait{height:110px}.clear-result .chest-treasure{height:100px}.clear-result .chest-treasure .item-art{width:100px;height:100px}.page-world-gift .duel-stage{height:170px;min-height:130px}@media(max-height:650px){.clear-result .clear-portrait{height:65px}.clear-result .rpg-option{font-size:12px!important;min-height:24px!important}.clear-result .rpg-dialog:has(.rpg-choices){padding:6px 9px!important}.clear-result .rpg-message{line-height:1.4!important}.clear-result .chest-treasure,.clear-result .chest-treasure .item-art{height:80px}.page-world-gift .duel-stage{height:120px!important;min-height:120px!important}.hide-bush .hide-surprise{width:44px;height:44px}.hide-surprise>.item-art{width:42px;height:42px}}
.rhythm-won .rhythm-friend>.sprite{animation:clear-bounce .8s ease-in-out 2}.rhythm-won .rhythm-friend>span:not(.sprite){color:#cb6e95;animation:clear-spark 1s ease-in-out 2}
/* Results show the memory, this outing's gains, and only two next actions. */
.compact-result{gap:8px!important}.result-memory-card{margin:0;background:#fffdf3;border:1px solid #dfc9a9;border-radius:17px;overflow:hidden;box-shadow:0 3px #e9d6b9}.compact-result .clear-portrait{height:130px;border-radius:0}.result-memory-card figcaption{display:flex;gap:5px;align-items:center;justify-content:center;color:#87603f;padding:6px;font-size:14px;line-height:1.3}.result-memory-card figcaption .ui-icon{width:18px!important;height:18px!important;flex:none}.result-reward-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.result-reward{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:15px;background:#fff1c2;padding:7px;color:#8a5e31;min-height:46px}.result-reward .ui-icon{width:26px!important;height:26px!important;flex:none}.result-reward strong{font-size:23px;line-height:1.1}.result-reward small{font-size:12px}.result-reward:only-child{grid-column:1/-1}.result-level-line{display:flex;align-items:center;justify-content:center;gap:8px;background:#f7e6ee;border-radius:13px;padding:7px;color:#a35a77;min-height:36px}.result-level-line>.ui-icon{width:22px!important;height:22px!important;flex:none}.result-level-line>b{font-size:12px}.result-level-line>strong{font-size:20px;line-height:1.2}.result-unlock{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px;background:#f7edff;border:1px solid #d9bedb;border-radius:12px;color:#94658f}.result-unlock>b{font-size:10px;background:#c77e9f;color:white;border-radius:6px;padding:2px 4px}.result-unlock .ui-icon{width:22px!important;height:22px!important;flex:none}.result-unlock strong{font-size:15px}.result-places{display:flex;align-items:center;gap:5px;justify-content:center;flex-wrap:wrap}.result-places>small{font-size:11px;color:#8c7a5e}.result-places>span{font-size:12px;border-radius:10px;padding:3px 8px;background:#e5edcf;color:#687e54}.compact-result .rpg-dialog{margin:0!important}.compact-result .rpg-message{font-size:12px!important;line-height:1.3!important}.compact-result .rpg-option{min-height:29px!important;font-size:15px!important}.compact-result .rpg-choices{padding-top:5px!important;margin-top:5px!important}.compact-result .speech-turn{margin:0!important}.result-score{display:flex;align-items:center;justify-content:center;gap:8px}.result-score>strong{font-size:24px;color:#d5a43d;letter-spacing:3px;line-height:1.3}.result-score>span{font-size:12px;color:#a97b45}.play-best{font-size:12px;color:#a77e40;text-align:right;margin:-4px 0 4px}.world-node.world-ready .world-node-art{filter:none!important;background:#fff0c7!important;border:2px solid #ce8b9b;box-shadow:0 0 0 4px #fff7d780,0 2px #baa483}.world-node.world-ready .sprite{opacity:1!important;filter:none!important}.world-ready-tag{position:absolute;top:-15px;left:50%;transform:translateX(-50%);background:#d6859e;color:#fff;font-size:10px;font-style:normal;line-height:16px;padding:0 6px;border-radius:7px;white-space:nowrap;box-shadow:0 1px white;z-index:4}.page-world-map .world-node:has(.world-ready-tag),.page-map .world-node:has(.world-ready-tag){z-index:3}.compact-result .result-chest-card .chest-treasure{height:120px;background:radial-gradient(ellipse,#fff0b6,transparent 70%)}.compact-result .result-chest-card .chest-treasure .item-art{width:120px;height:120px}.page-first-duel:has(.compact-result) .footer{margin-top:8px}
@media(max-height:650px){.compact-result{gap:6px!important}.compact-result .clear-portrait{height:82px}.result-memory-card figcaption{font-size:12px;padding:4px}.result-reward{min-height:35px;padding:4px;gap:5px}.result-reward .ui-icon{width:21px!important;height:21px!important}.result-reward strong{font-size:20px}.result-reward small{font-size:11px}.result-level-line{min-height:30px;padding:4px;gap:6px}.result-level-line>strong{font-size:18px}.result-level-line>b{font-size:11px}.result-unlock{padding:5px}.result-unlock strong{font-size:13px}.result-places{gap:3px}.result-places>span{font-size:10px;padding:2px 6px}.result-places>small{font-size:10px}.compact-result .rpg-dialog:has(.rpg-choices){padding:7px 10px!important}.compact-result .rpg-option{font-size:13px!important;min-height:26px!important}.result-score>strong{font-size:21px}.compact-result .result-chest-card .chest-treasure,.compact-result .result-chest-card .chest-treasure .item-art{height:85px}.world-ready-tag{top:-12px;font-size:9px;line-height:14px}.compact-result .rpg-message{font-size:11px!important}}
.compact-result:has(.result-score) .clear-portrait{height:110px}@media(max-height:650px){.compact-result:has(.result-score) .clear-portrait{height:67px}}
/* A friend's movements and closeness are the feedback. */
.together-stage{position:relative;height:220px;background:linear-gradient(#bfe4e6 55%,#e3ecb4 55%);border-radius:17px;overflow:hidden;margin:7px 0 11px;isolation:isolate}.together-stage:before{content:'';position:absolute;left:-10%;right:-10%;bottom:-42px;height:100px;background:#afcb77;border-radius:50%}.together-hero{position:absolute;left:7%;bottom:12px;width:155px;height:172px}.together-hero .hero{width:155px!important;height:172px!important;transform:scale(.82)!important;scale:1!important;margin:0!important;animation:none!important;position:relative!important;inset:auto!important;display:block!important;overflow:hidden!important;transform-origin:center bottom}.together-hero .hero img{width:420px!important;max-width:none!important;left:-129px!important;top:-103px!important}.together-monster{position:absolute;left:65%;bottom:23px;width:100px;height:110px;z-index:2;transform-origin:center bottom}.together-monster>.sprite{width:100px!important;height:100px!important;object-fit:contain;margin:0!important;max-width:none}.together-monster>.warflower-sprite{width:100px!important;height:100px!important}.together-marks{position:absolute;left:55%;top:30px;font-size:29px;color:#cb7d96;pointer-events:none;white-space:nowrap;z-index:3;animation:clear-arrive .6s ease-out}.together-notes{position:absolute;left:12px;top:12px;display:flex;gap:4px;z-index:3}.together-notes>span{display:flex;align-items:center;justify-content:center;background:#fff5d7cc;width:31px;height:31px;border-radius:50%;animation:note-bloom .45s ease-out}.together-notes .item-art{width:27px;height:27px;object-fit:contain}.beat-sway .together-monster{animation:friend-sway 1.25s ease-in-out}.beat-hop .together-monster{animation:friend-hop .9s ease-in-out}.beat-spin .together-monster{animation:friend-spin 1s ease-in-out}.beat-giggle .together-monster{animation:friend-giggle .9s ease-in-out}.together-afterglow .together-monster{left:53%;animation:friend-approach 1.1s ease-out both}.together-afterglow.tier-1 .together-monster{left:45%}.together-afterglow.tier-2 .together-monster{left:39%}.together-afterglow .together-marks{left:45%;top:26px;animation:clear-spark 1.3s ease-in-out 2}.together-hug{background-image:url('assets/friends.jpg');background-size:auto 250%;background-position:center 40%}.together-hug:before{display:none}.together-hug .together-marks{top:14px;left:43%;font-size:25px}.together-companion{position:absolute;right:1%;bottom:45px;z-index:1;animation:friend-sway 1.2s ease-in-out 2}.together-companion>.sprite{width:65px!important;height:65px!important;object-fit:contain;margin:0}.together-stage:has(.together-companion) .together-monster{left:52%}.music-sound{float:right;border:1px solid #dfc398!important;background:#fff6e1!important;border-radius:18px!important;box-shadow:none!important;color:#9d6b82!important;padding:4px 10px!important;min-height:30px!important;font-size:12px!important;margin-top:-35px!important}.page-level-play .page-heading{padding-right:70px}.play-keepsake{display:flex;align-items:center;justify-content:center;gap:5px;color:#a47e58;font-size:12px;margin:3px 0 8px}.play-keepsake .ui-icon{width:19px!important;height:19px!important;flex:none}.play-level-gift{font-size:13px;text-align:center;padding:4px 8px;margin:4px 0;background:#f9e6ed;border-radius:12px;color:#aa637d}.hidden-friend{position:absolute;left:50%;top:-11px;transform:translateX(-50%);width:60px;height:70px;overflow:hidden;animation:friend-peek 2.7s ease-in-out infinite;z-index:0}.hidden-friend>.sprite{width:60px!important;height:60px!important;object-fit:contain;margin:0}.hide-bush>.item-art{position:relative;z-index:1}.hide-bush>small{position:relative;z-index:2}.hide-bush .hide-surprise{z-index:3}.hide-peeking>.item-art{animation:leaf-rustle 2.7s ease-in-out infinite}.hide-bush .hidden-friend .warflower-sprite>img{width:600%!important}.page-level-play .rpg-dialog{margin:8px 0!important}.page-level-play .rpg-message{font-size:15px;line-height:1.6}.page-level-play .rpg-option{min-height:29px!important}
@keyframes friend-sway{0%,100%{transform:rotate(0)}25%{transform:rotate(-15deg)}75%{transform:rotate(15deg)}}@keyframes friend-hop{0%,45%,100%{transform:translateY(0) scale(1)}20%{transform:translateY(-25px) scale(.95,1.05)}65%{transform:translateY(-13px)}}@keyframes friend-spin{0%{transform:rotate(0) scale(1)}50%{transform:rotate(180deg) scale(.85)}100%{transform:rotate(360deg) scale(1)}}@keyframes friend-giggle{0%,100%{transform:translateY(0)}20%,60%{transform:translate(-7px,-6px) rotate(-8deg)}40%,80%{transform:translate(7px,-6px) rotate(8deg)}}@keyframes friend-approach{from{transform:translateX(60px) translateY(-15px) scale(.8)}60%{transform:translateX(-8px) translateY(-7px) scale(1)}to{transform:translateX(0) translateY(0) scale(1)}}@keyframes friend-peek{0%,30%,100%{translate:0 32px}43%,78%{translate:0 -8px}}@keyframes note-bloom{from{transform:scale(.4);opacity:.3}to{transform:scale(1);opacity:1}}
@media(max-height:650px){.together-stage{height:165px;margin-bottom:8px}.together-hero{bottom:8px;left:2%;height:172px}.together-hero .hero{transform:scale(.66)!important}.together-monster{left:64%;bottom:15px;width:80px;height:85px}.together-monster>.sprite,.together-monster>.warflower-sprite{width:80px!important;height:80px!important}.together-marks{font-size:23px;top:18px}.together-afterglow .together-marks{top:18px}.together-companion{bottom:37px}.together-companion>.sprite{width:47px!important;height:47px!important}.hidden-friend{width:50px;height:58px;top:-10px}.hidden-friend>.sprite{width:50px!important;height:50px!important}.page-level-play .rpg-message{font-size:13px;line-height:1.5}.page-level-play .rpg-option{min-height:25px!important}.play-keepsake{font-size:11px;margin:2px 0 5px}.play-level-gift{font-size:11px}.together-notes>span{width:27px;height:27px}.together-notes .item-art{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){.hidden-friend{animation:none;translate:0 -8px}.together-monster,.together-companion,.together-marks{animation:none!important}}
.page-level-play{position:relative}.page-level-play .music-sound{position:absolute!important;right:12px;top:12px;float:none!important;width:auto!important;min-width:0!important;max-width:68px;height:27px;min-height:27px!important;margin:0!important;z-index:5;padding:3px 9px!important;line-height:1.2!important}

.hide-garden>.hide-bush{width:30%!important;min-width:0!important;max-width:110px;flex:0 1 110px;min-height:118px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer}.hide-garden>.hide-bush>.item-art,.hide-garden>.hide-bush>.hidden-friend,.hide-garden>.hide-bush>.hide-surprise{pointer-events:none}.hide-garden>.hide-bush:focus-visible{outline:2px solid #a48463;outline-offset:3px;border-radius:15px!important}.hide-bush.rustling>.item-art{border-bottom:0!important;outline:none!important}.hide-leave{display:block;width:auto!important;min-height:30px!important;margin:6px auto!important;padding:4px 12px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#9b846b!important;font-size:12px!important}.hide-leave:focus-visible{outline:2px solid #a48463}@media(max-height:650px){.hide-garden>.hide-bush{min-height:100px!important;max-width:88px}}
/* Only the illustrated gift list scrolls; the characters stay in view. */
.screen.page-world-gift{display:flex!important;flex-direction:column;overflow:hidden!important;min-height:0;padding:8px 12px 6px!important;gap:5px}.gift-picker{display:flex;flex-direction:column;flex:1;min-height:0;gap:7px;overflow:hidden}.gift-picker>.page-heading{flex:none;margin:0!important;min-height:34px}.gift-characters{height:155px;flex:none;overflow:hidden;border-radius:14px}.page-world-gift .gift-characters>.duel-stage{height:100%!important;min-height:0!important;max-height:none!important;margin:0!important}.gift-picker>.rpg-dialog{display:flex;flex-direction:column;flex:1;min-height:0;margin:0!important;padding:9px 11px!important;overflow:hidden}.gift-picker .rpg-message{flex:none;font-size:14px!important;line-height:1.5!important}.gift-picker .speech-turn{margin:0!important}.gift-picker .rpg-choices{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;margin-top:6px;padding-top:6px;gap:5px}.gift-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e7c699 #ffffff16;padding:3px 4px 5px 2px;-webkit-overflow-scrolling:touch;touch-action:pan-y}.gift-option{position:relative;display:grid!important;grid-template-rows:64px auto;justify-items:center;align-items:center;align-content:start;gap:3px;width:100%!important;min-width:0!important;min-height:105px!important;flex:none!important;margin:0!important;padding:5px 6px 7px!important;border:1px solid #dfc69b!important;border-radius:12px!important;background:#fff9e9!important;box-shadow:0 2px #213f4c50!important;color:#785439!important;font-family:'Kiwi Maru','Hiragino Maru Gothic ProN',sans-serif!important;text-align:center;touch-action:pan-y}.gift-option>.item-art{display:block;width:72px!important;height:64px!important;object-fit:contain;flex:none;margin:0!important}.gift-name{font-size:13px!important;line-height:1.4;overflow-wrap:anywhere;white-space:normal}.gift-stock{position:absolute;right:5px;top:5px;min-width:26px;background:#f5d8e2;color:#985f79;border-radius:11px;padding:2px 5px;font-size:12px;line-height:1.3}.gift-option:focus-visible{outline:2px solid #ffe5a9!important;outline-offset:1px}.gift-option:active{background:#ffe8ef!important;transform:translateY(1px)}.gift-picker .rpg-choices>.rpg-option{flex:none!important;min-height:28px!important}.gift-empty{flex:1;font-size:14px;margin:8px 0;color:#fff4d6}.page-world-gift>.footer{flex:none;margin:3px 0 0!important;font-size:10px;line-height:1.3}
@media(max-height:650px){.gift-characters{height:110px}.gift-picker{gap:5px}.gift-picker>.page-heading{min-height:30px}.gift-picker>.rpg-dialog{padding:7px 9px!important}.gift-picker .rpg-message{font-size:13px!important}.gift-option{grid-template-rows:55px auto;min-height:94px!important;padding:4px 5px 6px!important}.gift-option>.item-art{width:62px!important;height:55px!important}.gift-name{font-size:12px!important}.gift-options{gap:7px}.gift-stock{font-size:11px}.gift-picker .rpg-choices>.rpg-option{min-height:26px!important}}
.page-world-gift .gift-characters>.duel-stage{--duel-scale:.82}.gift-stock{color:#915471!important;background:#f1ccda!important;opacity:1!important;text-shadow:none!important}@media(max-height:650px){.page-world-gift .gift-characters>.duel-stage{--duel-scale:.55}}
.page-world-gift .gift-characters .duel-hero{transform:scale(.78)!important;transform-origin:center bottom;bottom:6px!important;top:auto!important;animation:none!important}@media(max-height:650px){.page-world-gift .gift-characters .duel-hero{transform:scale(.55)!important}}
/* The shop is a painted building in town, with a shopkeeper inside. */
.world-town .town-shop-building{right:3%!important;top:4%!important;width:136px!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;gap:0!important;overflow:visible;z-index:5}.town-shop-building>.town-shop-art{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 3px 2px #83623a35)}.world-town .town-shop-building>strong{display:block;background:#fff6ddf2;border:1px solid #bc9569;border-radius:10px;color:#805834;font-size:12px;padding:2px 8px;line-height:1.4;margin-top:-5px;white-space:nowrap}.world-town .town-shop-building:active{transform:translateY(2px)}.world-town .town-shop-building:focus-visible{outline:2px solid #b96e91;outline-offset:3px;border-radius:16px!important}.petal-shop-counter{height:180px;width:100%;overflow:hidden;border:2px solid #d5b38c;border-radius:15px;background:#f8e8cf;margin:5px 0 10px}.petal-shop-counter>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%}.page-petal-shop>.rpg-dialog{margin:8px 0!important}.page-petal-shop .rpg-message{font-size:14px;line-height:1.5}.page-petal-shop .speech-turn{margin:2px 0!important}.page-petal-shop>.petal-wallet{margin-bottom:3px}@media(max-height:650px){.world-town .town-shop-building{width:108px!important;top:2%!important;right:2%!important}.world-town .town-shop-building>strong{font-size:11px;padding:2px 6px}.petal-shop-counter{height:148px;margin:4px 0 8px}.page-petal-shop .rpg-message{font-size:13px}}
/* The whole world blooms once every destination is unlocked. */
.world-map.world-all-open .world-region{filter:none!important;opacity:1!important}
.world-map.world-all-open .world-reveal{display:none}
.world-town .town-fortune-building{left:2%;right:auto;top:4%;width:126px}
.world-town .town-resident{z-index:3}
.fortune-counter{height:180px;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(#eee4f6,#fcf6df);border-radius:18px;margin:6px 0;overflow:hidden}
.fortune-counter>img{width:58%;height:100%;object-fit:contain}.fortune-counter>.sprite{width:100px;height:130px}
.fortune-flowers{display:flex;justify-content:center;gap:10px;margin:12px 0}.fortune-flowers button{width:76px!important;height:76px;padding:5px;border-radius:50%;background:#fff8e6;border:2px solid #dcafd0;box-shadow:0 4px #a67e97}.fortune-flowers .item-art{width:100%;height:100%}
.fortune-result{background:#fff6df;border:2px solid #d8b3cc;border-radius:18px;padding:14px;text-align:center}.fortune-result h2{font-size:21px;margin:6px}.fortune-result p{font-size:16px;line-height:1.6;margin:8px 0}.fortune-result>div{display:flex;justify-content:center;align-items:center;gap:10px}.fortune-result .item-art{width:55px;height:55px}.fortune-result small,.fortune-free{font-size:13px;color:#755047;text-align:center}.fortune-result>span{color:#906184}
.screen.page-level-play{overflow-y:auto!important}.catch-play{max-width:460px;margin:auto}.catch-board{display:grid;grid-template-columns:repeat(var(--size),1fr);gap:3px;background:#b8cf9b;border:5px solid #92ad7f;border-radius:16px;padding:5px;max-width:320px;margin:auto;box-shadow:0 5px 0 #d7bb87}
.catch-board .catch-tile{position:relative;width:100%!important;aspect-ratio:1;padding:0;margin:0;min-height:0;border:1px solid #dbbf8d;border-radius:9px;background:#fff7dc;box-shadow:0 2px #c7aa78;overflow:hidden;touch-action:manipulation}.catch-tile svg{display:block;width:100%;height:100%}.catch-tile path{fill:none;stroke:#ddae77;stroke-width:18;stroke-linecap:butt}.catch-tile circle{fill:#ddae77}.catch-tile:focus-visible{outline:3px solid #be6390;outline-offset:-3px}.catch-tile.catch-stop{outline:3px solid #d38389;outline-offset:-3px}.catch-tile:disabled{opacity:1!important}.catch-ball{position:absolute;inset:0;display:grid;place-items:center;color:#d95e88;font-size:27px;font-style:normal;opacity:0;animation:catch-roll .32s calc(var(--order)*.11s) forwards}.catch-stop .catch-ball{animation:catch-roll .32s calc(var(--order)*.11s) forwards}
@keyframes catch-roll{0%{opacity:0;transform:scale(.5)}40%{opacity:1;transform:scale(1.2)}100%{opacity:.9;transform:scale(1)}}
.catch-friend,.catch-start{position:relative;max-width:320px;margin:auto;height:46px;display:grid;grid-template-columns:repeat(var(--size),1fr)}.catch-friend>.sprite{width:42px;height:44px;grid-column:calc(var(--goal) + 1)}.catch-friend>span{position:absolute;right:0;top:14px;font-size:13px;color:#7c563e;background:#fff7df;padding:1px 6px;border-radius:10px;pointer-events:none}.catch-friend:has(>.sprite:last-child){height:40px}.catch-start{height:25px}.catch-start>span{grid-column:calc(var(--start) + 1);white-space:nowrap;font-size:13px;color:#a64669;line-height:25px}.catch-play .rpg-dialogue{margin-top:6px}.catch-play .page-heading{margin-bottom:0}
@media(max-height:700px){.catch-board{max-width:245px}.catch-friend,.catch-start{max-width:245px}.catch-friend{height:34px}.catch-friend>.sprite{height:34px;width:32px}.fortune-counter{height:136px}.world-town .town-fortune-building{width:102px;top:2%}.catch-play .rpg-window{padding:10px}}
@media(prefers-reduced-motion:reduce){.catch-ball{animation:none;opacity:1}}
.world-town .town-fortune-building{left:2%!important;right:auto!important;top:4%!important;width:126px!important}
.catch-friend{height:55px}.catch-friend>.sprite{position:relative!important;top:auto;right:auto;padding:0;background:none;width:48px;height:52px;align-self:end;justify-self:center;z-index:2}.catch-friend>.catch-goal-label{top:20px;width:auto;max-width:160px}.catch-start{height:42px}.catch-start>.catch-launcher{display:flex;align-items:center;gap:3px;height:42px;line-height:1}.catch-launcher img{width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid #d4b38c}.catch-start>.catch-launcher{grid-column:calc(var(--start) + 1);position:relative}.catch-board .catch-traced{background:#ffe6ab}.catch-board .catch-ball{animation:catch-pass .36s calc(var(--order)*.11s) both}.catch-board .catch-ball-last{animation:catch-roll .36s calc(var(--order)*.11s) both}.catch-play .page-heading{padding-right:0!important}
@keyframes catch-pass{0%{opacity:0;transform:scale(.5)}35%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.5)}}
@media(max-height:700px){.catch-friend{height:45px}.catch-friend>.sprite{width:40px;height:42px}.catch-friend>.catch-goal-label{top:13px}.catch-start{height:36px}.catch-start>.catch-launcher{height:36px}.catch-launcher img{width:27px;height:27px}}
@media(max-height:650px){.world-town .town-fortune-building{width:108px!important;left:2%!important;right:auto!important;top:2%!important}.catch-board{max-width:220px}.catch-friend,.catch-start{max-width:220px}}
.world-meeting-scene{height:200px;border-radius:20px;background-size:cover;display:flex;align-items:center;justify-content:center;overflow:hidden}.world-meeting-scene>.hero{width:170px;height:180px}.world-meeting-count{font-size:14px;text-align:center;color:#805936;margin:7px}.catch-play .together-stage{margin-top:8px}@media(max-height:650px){.world-meeting-scene{height:160px}}
.world-town .town-resident{width:20%!important;height:36%!important;z-index:6}.world-town .town-resident.resident-0{left:40%!important;top:50%!important}.world-town .resident-1{left:7%!important;top:70%!important}.world-town .resident-2{left:73%!important;top:70%!important}.world-town .resident-3{left:40%!important;top:73%!important}.world-town .resident-4{left:23%!important;top:62%!important}.world-town .resident-5{left:58%!important;top:62%!important}.fortune-counter.fortune-counter-small{height:86px}.fortune-counter-small>.sprite{width:68px;height:80px}
.world-town .town-resident>.sprite{width:56px!important;height:56px!important;max-width:56px}.catch-friend>.warflower-sprite{width:48px;height:48px}@media(max-height:700px){.catch-friend>.warflower-sprite{width:40px;height:40px}}
.together-catch-ball{position:absolute;bottom:-5px;right:-8px;z-index:5;width:40px;height:40px;transform:rotate(-12deg)}.together-catch-ball>.item-art{width:100%!important;height:100%!important;object-fit:contain}.together-afterglow .together-catch-ball{animation:friend-ball-wiggle 1.8s ease-in-out infinite}@keyframes friend-ball-wiggle{50%{transform:rotate(10deg) translateY(-3px)}}
.world-region.world-map-base{inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.world-map .world-reveal{object-position:center}
/* Read in one place; reveal secondary information on request. */
.map-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.map-title-row>.page-heading{margin:0!important;min-height:32px!important}.map-title-row>.petal-wallet{position:static!important;display:inline-flex!important;flex:none;width:auto!important;min-width:0;margin:0!important;padding:5px 10px!important;gap:5px}.map-title-row .petal-wallet small{display:none}.map-status-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 8px}.player-level{position:relative;min-width:0;margin:5px 0;background:#fff7e2;border-radius:12px;border:1px solid #e4c9a1}.player-level summary{display:flex;align-items:center;gap:9px;padding:8px 10px;cursor:pointer;list-style:none;font-size:14px}.player-level summary::-webkit-details-marker{display:none}.player-level summary>span:first-child{display:inline-flex;align-items:center;white-space:nowrap;gap:3px}.player-level .ui-icon{width:20px!important;height:20px!important}.player-level summary>.meter{flex:1;min-width:30px;height:6px}.level-expand{font-size:16px;color:#9b6a80}.player-level[open] .level-expand{transform:rotate(45deg)}.level-detail{padding:2px 12px 12px;border-top:1px solid #ebd9b9;font-size:14px;color:#75533e}.level-detail p{margin:7px 0 0;line-height:1.6}.level-compact{width:190px;margin:0}.level-compact[open] .level-detail{position:absolute;top:100%;left:0;min-width:230px;background:#fff7e5;border:1px solid #d9bb92;border-radius:0 0 12px 12px;box-shadow:0 6px 12px #78563525;z-index:12}.map-clear-count{display:flex;align-items:center;gap:4px;font-size:14px;white-space:nowrap;padding:8px 4px;color:#607b58}.map-clear-count .ui-icon{width:20px!important;height:20px!important}.map-tap-hint{font-size:15px;line-height:1.5;text-align:center;margin:12px 0 4px;color:#78563d}.page-world-map>.footer,.page-map>.footer{margin-top:10px!important}.world-node>small{font-size:12px!important;line-height:1.4;background:#fff9e9f5;padding:2px 7px!important;border-radius:9px}.world-node[aria-pressed=true]>.world-node-art{outline:3px solid #bc7195;outline-offset:4px}.world-map .world-ready-tag{font-size:11px;white-space:nowrap}.world-map{margin-top:0!important}
.fortune-page{max-width:460px;margin:auto}.fortune-simple{position:relative;text-align:center;padding:18px 16px 14px;border:2px solid #d5b0c6;background:linear-gradient(#fff8ed,#fff4df);border-radius:22px;box-shadow:0 5px #e9d6b5;margin:12px 0 18px}.fortune-simple>.fortune-result-flower{height:64px;width:75px;margin:0 auto 8px}.fortune-result-flower>.item-art{width:100%!important;height:100%!important;object-fit:contain}.fortune-simple h2{font-size:23px;letter-spacing:.08em;color:#945d79;margin:8px 0 14px}.fortune-simple>p{font-size:17px;line-height:1.9;margin:0 auto 22px;max-width:20em;color:#694e3b}.fortune-simple>.fortune-lucky{display:flex;align-items:center;gap:10px;position:relative;text-align:left;justify-content:flex-start;border-top:1px dashed #dcc3a7;padding-top:14px}.fortune-lucky-art{width:52px;height:52px;flex:none}.fortune-lucky-art>.item-art{width:100%!important;height:100%!important;object-fit:contain}.fortune-lucky>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}.fortune-lucky small{font-size:12px!important;text-align:left!important;color:#957265}.fortune-lucky strong{font-size:15px;line-height:1.5;color:#79543d}.fortune-gift-badge{position:absolute;right:0;top:-11px;font-size:11px!important;color:#99617c!important;background:#fff4f8;border:1px solid #dab4c5;border-radius:12px;padding:3px 7px}.fortune-actions{display:flex;flex-direction:column;gap:8px}.fortune-actions>button{margin:0!important;min-height:44px!important}.fortune-actions>.secondary{background:transparent!important;box-shadow:none!important;border-color:transparent!important;font-size:14px!important;min-height:36px!important}.fortune-showing-result .page-heading{margin-bottom:0!important}.fortune-flowers button:focus-visible,.world-node:focus-visible{outline:3px solid #b66e95!important;outline-offset:4px}
.help-guide{display:flex;flex-direction:column;gap:14px}.help-goal{font-size:18px;line-height:1.8;margin:8px 0;color:#78533e;text-align:center}.help-goal strong{color:#a55279}.help-step{padding:14px;background:#fff8e8;border-left:5px solid #e4b5c7;border-radius:4px 16px 16px 4px}.help-step h2{display:flex;align-items:center;gap:8px;font-size:19px;color:#815736;margin:0 0 10px}.help-step h2>.ui-icon{width:27px!important;height:27px!important}.help-step ul{padding-left:1.25em;margin:0;display:flex;flex-direction:column;gap:10px}.help-step li{font-size:16px;line-height:1.8;color:#624b3b}.help-step li::marker{color:#bf7b98}.help-step b{color:#a65678;background:#fae7ed;padding:1px 4px;border-radius:4px}.help-kind{font-size:16px;line-height:1.8;text-align:center;color:#806043}.quiet-empty{padding:32px 12px;text-align:center;color:#8c6d55;font-size:16px;line-height:1.8}.quiet-empty button{margin-top:16px}.claimed-missions{margin-top:14px}.claimed-missions>summary{cursor:pointer;padding:12px;font-size:14px;color:#8a6b53;background:#f3ebdc;border-radius:12px}.claimed-missions>.mission-row{opacity:.75;margin-top:10px}.mission-ready{border-color:#b7c691!important;background:#f9fbea!important}.shop-product-note{font-size:12px;color:#9a6e5d;line-height:1.5}.inventory-owned-toggle{font-size:14px!important;min-height:36px!important;width:auto!important;padding:6px 12px!important;box-shadow:none!important;margin:0 0 8px!important;background:#fff7e5!important}.inventory-unowned{opacity:.55}.gift-empty .rpg-option{color:#fff2d2!important}.catch-heading{display:flex;align-items:center;justify-content:space-between;gap:5px}.catch-heading>.page-heading{flex:1;min-width:0;padding:0!important}.catch-heading h1{font-size:18px!important}.catch-undo{flex:none;width:auto!important;font-size:13px!important;min-height:36px!important;padding:5px 8px!important;border-radius:18px!important;background:#fff7e6!important;box-shadow:0 2px #d2b892!important}.catch-tile:focus-visible{outline:3px solid #ae6590!important;outline-offset:-4px}.play-keepsake{font-size:12px;line-height:1.6;flex-wrap:wrap}
@media(max-height:650px){.fortune-simple{padding:14px 12px;margin:6px 0 12px}.fortune-simple>.fortune-result-flower{height:48px;width:58px;margin-bottom:6px}.fortune-simple h2{font-size:21px;margin:6px 0 10px}.fortune-simple>p{font-size:16px;margin-bottom:16px;line-height:1.8}.fortune-lucky-art{width:44px;height:44px}.fortune-simple>.fortune-lucky{padding-top:10px}.fortune-actions{gap:4px}.map-status-row{margin-bottom:4px}}
.fortune-result-flower>.sprite{width:64px!important;height:64px!important;margin:auto}.page-map .world-map,.page-world-map .world-map{height:clamp(230px,43vh,330px)!important;max-height:none!important}.page-map:has(.rpg-dialog) .world-map,.page-world-map:has(.rpg-dialog) .world-map{height:clamp(180px,34vh,250px)!important}@media(max-height:650px){.fortune-result-flower>.sprite{width:48px!important;height:48px!important}}
/* A keepsake first, secondary facts on demand. */
.friend-result{display:flex;flex-direction:column;gap:10px;max-width:460px;margin:auto;text-align:center}.friend-result>h1{font-size:24px;line-height:1.5;color:#a2597d;margin:5px 0 2px;letter-spacing:.06em}.friend-keepsake{margin:0;padding:8px 8px 10px;background:#fffdf4;border:1px solid #dfc59f;border-radius:15px;box-shadow:0 4px #e7cfaa;transform:rotate(-1deg)}.friend-keepsake figcaption{font-size:18px;color:#815638;line-height:1.4;margin:8px 0 0}.memory-scene{height:185px;position:relative;overflow:hidden;border-radius:10px;background-image:linear-gradient(#fff9e33b,#fff9e31c),var(--memory-bg);background-position:center;background-size:cover}.memory-cast{position:absolute;inset:0}.memory-hero{position:absolute;left:13%;bottom:6px;width:140px;height:165px}.memory-hero>.hero{width:100%;height:100%}.memory-hero img{width:100%;height:100%;object-fit:contain}.memory-friend{position:absolute;left:58%;bottom:24px;width:85px;height:85px}.memory-friend>.sprite{width:85px!important;height:85px!important;max-width:none!important}.memory-petals{position:absolute;top:16px;left:35%;font-size:25px;color:#d38aa7;letter-spacing:.15em}.memory-prop{position:absolute;left:53%;bottom:18px;width:45px;height:45px}.memory-prop>.item-art{width:100%;height:100%;object-fit:contain}.memory-shield{position:absolute;left:48%;bottom:14px;width:53px;height:63px}.memory-shield>.ui-icon{width:100%!important;height:100%!important}.memory-route-peek .memory-shield{width:65px;height:75px;left:50%;z-index:3}.memory-route-peek .memory-friend{transform:translateX(-20px) rotate(-10deg)}.memory-route-spin .memory-hero{transform:rotate(-8deg)}.memory-route-spin .memory-friend{transform:rotate(12deg)}.memory-route-sway .memory-hero{transform:rotate(6deg)}.memory-route-sway .memory-friend{transform:rotate(6deg)}.memory-route-petal .memory-prop{bottom:90px;left:45%;transform:rotate(-20deg)}.memory-route-gift .memory-prop{left:67%;bottom:23px;z-index:3}.memory-route-catch .memory-prop,.memory-route-ball .memory-prop{left:68%;bottom:14px;z-index:3}.memory-celebrate .memory-petals{animation:keepsake-bloom 1.2s ease-out both}.memory-celebrate .memory-friend{animation:keepsake-meet .7s ease-out both}@keyframes keepsake-bloom{from{opacity:0;transform:translateY(12px) scale(.7)}to{opacity:1;transform:none}}@keyframes keepsake-meet{from{opacity:0;translate:15px 0}to{opacity:1;translate:0 0}}
.keepsake-rewards{display:flex;align-items:center;justify-content:center;gap:15px;min-height:32px;color:#785740}.keepsake-rewards>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:17px}.keepsake-rewards .ui-icon{width:21px!important;height:21px!important}.keepsake-rewards small{font-size:12px;color:#8c7763}.keepsake-rewards .keepsake-level{color:#a66783;font-size:15px;background:#fae6ed;padding:4px 7px;border-radius:13px}.keepsake-level i{font-style:normal}.friend-result>.rpg-dialog{margin:0!important;text-align:left;padding:9px 14px!important}.friend-result .rpg-message{display:none}.friend-result .rpg-choices{border:0!important;padding-top:0!important;margin-top:0!important;gap:1px}.friend-result .rpg-option{min-height:36px!important;font-size:16px!important}.result-more{text-align:left;font-size:14px;color:#84654e}.result-more>summary{display:block;text-align:center;list-style:none;font-size:14px;color:#9b7990;padding:6px;cursor:pointer}.result-more>summary::after{content:' ＋';font-size:15px}.result-more[open]>summary::after{content:' −'}.result-more>p{padding:4px 12px;line-height:1.6;margin:3px 0}.result-more>button{font-size:14px!important;margin:7px 0!important;min-height:40px!important}.keepsake-chest-art{height:155px;background:#faf0ce;border-radius:10px;display:grid;place-items:center}.keepsake-chest-art>.item-art{width:120px;height:120px;object-fit:contain}.memory-postcard{padding:7px!important;display:flex;flex-direction:column;gap:8px;text-align:center}.memory-postcard>.memory-scene{height:170px;width:100%}.memory-postcard>strong{font-size:16px;color:#805335}.memory-postcard time{font-size:12px;color:#a08065}.memory-postcard .memory-petals{display:none}
.duel-stage.duel-region-0{background-image:linear-gradient(#fdf8d333,#fdf8d322),url('assets/world/flower-hill-v2.jpg')!important;background-size:cover!important;background-position:center!important}.duel-stage.duel-region-1{background-image:linear-gradient(#fff5d633,#fff5d622),url('assets/world/candy-forest-v2.jpg')!important;background-size:cover!important;background-position:center!important}.duel-stage.duel-region-2{background-image:linear-gradient(#edfaff22,#edfaff22),url('assets/world/cloud-hill-v2.jpg')!important;background-size:cover!important;background-position:center!important}.duel-stage .duel-scenery{opacity:.15}.sword-flower-burst{position:absolute;left:13%;top:13%;font-size:28px;letter-spacing:9px;color:#fff1aa;text-shadow:0 1px #ba7a70;pointer-events:none;animation:sword-bloom 1s ease-out both;z-index:7}@keyframes sword-bloom{from{opacity:0;transform:translateY(24px) scale(.4) rotate(-20deg)}60%{opacity:1}to{opacity:1;transform:translateY(-6px) scale(1) rotate(8deg)}}.duel-held-gift{position:absolute;bottom:-5px;left:15%;width:48px;height:48px;z-index:5}.duel-held-gift .item-art{width:100%;height:100%;object-fit:contain}.gift-taste{position:absolute;bottom:3px;left:4px;font-size:11px;color:#aa4e7a;background:#ffe9f2;padding:2px 5px;border-radius:8px}.gift-option:has(.gift-taste){padding-bottom:22px!important}
.town-friend-flowers{position:absolute;inset:0;pointer-events:none;z-index:2}.town-friend-flowers>span{position:absolute;left:calc(3% + var(--bloom)*12%);bottom:2%;width:38px;height:38px;transform:rotate(calc(var(--bloom)*12deg - 20deg))}.town-friend-flowers .item-art{width:100%;height:100%;object-fit:contain}.town-bloom-2,.town-bloom-3{box-shadow:inset 0 0 24px #ffe4a5!important}.friend-crest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:12px 3px}.friend-crest{background:#fff8e7!important;border:1px solid #dfc092!important;border-radius:22px!important;min-height:170px!important;display:flex;align-items:center;flex-direction:column;gap:7px;padding:10px!important;box-shadow:0 3px #d6bc95!important}.crest-art{width:110px;height:115px;position:relative;display:block}.crest-art>.ui-icon{position:absolute;inset:0;width:100%!important;height:100%!important}.crest-art>.sprite{position:absolute;left:25px;top:20px;width:60px!important;height:60px!important;max-width:none!important}.friend-crest>strong{font-size:15px;color:#805a3c}.friend-crest-grid>.quiet-empty{grid-column:1/-1}.friend-crest:focus-visible{outline:3px solid #bb7199;outline-offset:3px}
.catch-board.catch-wide{max-width:265px}.catch-play:has(.catch-wide) .catch-friend,.catch-play:has(.catch-wide) .catch-start{max-width:265px}
@media(max-height:650px){.friend-result{gap:7px}.friend-result>h1{font-size:22px;margin:1px 0}.friend-keepsake{padding:6px 6px 8px}.friend-keepsake>.memory-scene{height:155px}.friend-keepsake figcaption{font-size:16px;margin-top:6px}.memory-hero{width:120px;height:142px;left:10%}.memory-friend{width:74px;height:74px;bottom:15px}.memory-friend>.sprite{width:74px!important;height:74px!important}.keepsake-rewards{gap:9px;min-height:28px}.keepsake-rewards>span{font-size:15px}.keepsake-rewards small{font-size:11px}.friend-result .rpg-option{min-height:33px!important}.friend-result>.rpg-dialog{padding:7px 10px!important}.friend-result .memory-petals{font-size:20px;top:9px}.catch-board.catch-wide{max-width:248px;padding:2px;border-width:3px}.catch-play:has(.catch-wide) .catch-friend,.catch-play:has(.catch-wide) .catch-start{max-width:248px}.catch-play:has(.catch-wide) .catch-friend{height:29px}.catch-play:has(.catch-wide) .catch-friend>.sprite{height:28px!important;width:28px!important}.catch-play:has(.catch-wide) .catch-friend>.catch-goal-label{top:3px;font-size:12px}.catch-play:has(.catch-wide) .catch-start,.catch-play:has(.catch-wide) .catch-start>.catch-launcher{height:27px}.catch-play:has(.catch-wide) .rpg-dialog{margin:3px 0!important;padding:7px 10px!important}.catch-play:has(.catch-wide) .rpg-message{font-size:14px!important;line-height:1.5}.page-level-play>.footer{margin:2px 0!important}}
@media(prefers-reduced-motion:reduce){.memory-celebrate *, .sword-flower-burst{animation:none!important}}
.memory-scene .memory-hero{width:155px;height:172px;transform:rotate(var(--memory-tilt,0deg));transform-origin:center bottom}.memory-scene .memory-hero>.hero{width:155px!important;height:172px!important;transform:none!important;margin:0!important;border-radius:0!important}.memory-scene .memory-hero>.hero>img{width:420px!important;height:auto!important;max-width:none!important;left:-129px!important;top:-103px!important;object-fit:initial!important}.memory-route-spin{--memory-tilt:-8deg}.memory-route-sway{--memory-tilt:6deg}.memory-shield::after{content:'✿';position:absolute;left:29%;top:26%;color:#fff2a2;font-size:26px;line-height:1;background:#3b7182;border-radius:50%}.friend-result .memory-petals{pointer-events:none}@media(max-height:650px){.memory-scene .memory-hero{transform:scale(.83) rotate(var(--memory-tilt,0deg));transform-origin:left bottom;left:8%;bottom:0}}
.town-title-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 9px}.town-title-row>.page-heading{margin:0!important;min-width:0}.town-title-row .petal-wallet{position:static!important;width:auto!important;padding:5px 9px!important;gap:4px;margin:0!important;flex:none}.town-title-row .petal-wallet small{display:none}.page-town .world-town,.page-world-town .world-town{height:240px!important;min-height:0!important;max-height:none!important}.world-town .town-resident{width:56px!important;height:56px!important;min-height:56px!important;top:72%!important}.world-town .town-resident.resident-0{left:16%!important;top:72%!important}.world-town .town-resident.resident-1{left:43%!important;top:72%!important}.world-town .town-resident.resident-2{left:70%!important;top:72%!important}.page-town .world-actions,.page-world-town .world-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.page-town .world-actions>button,.page-world-town .world-actions>button{min-width:0!important;width:100%!important;font-size:12px!important;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px!important;min-height:51px!important}.page-town .world-actions .ui-icon,.page-world-town .world-actions .ui-icon{width:20px!important;height:20px!important}@media(max-height:650px){.page-town .world-town,.page-world-town .world-town{height:200px!important}.world-town .town-resident,.world-town .town-resident.resident-0,.world-town .town-resident.resident-1,.world-town .town-resident.resident-2{top:70%!important}.town-title-row{margin-bottom:5px}.town-title-row h1{font-size:18px!important}}
.duel-held-gift{width:34px;height:34px;left:60%;bottom:-10px;filter:drop-shadow(0 2px 2px #78563155)}
@media(max-height:650px){.catch-play:has(.catch-wide) .rpg-choices{margin-top:3px!important;padding-top:3px!important}.catch-play:has(.catch-wide) .rpg-message{letter-spacing:0!important}}
.duel-bond-meter{padding:5px 10px 7px;margin:0 0 7px;background:#fff6e6;border:1px solid #e5c6a6;border-radius:12px}.duel-bond-meter>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px;line-height:1.5}.duel-bond-meter strong{display:flex;align-items:center;gap:4px;font-size:13px;color:#9b597d}.duel-bond-meter strong>.ui-icon{width:19px!important;height:19px!important}.duel-bond-meter>div>span{display:flex;gap:8px;align-items:center;font-size:13px;color:#91644d}.duel-bond-meter .bond-gain{color:#ad4b7a;background:#ffe2ed;padding:0 5px;border-radius:8px;font-size:13px}.bond-fill-track{height:9px!important;background:#eadbc8;border-radius:8px;overflow:hidden;margin-top:3px}.bond-fill-track>i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#efa6c2,#d473a2);transform-origin:left center}.bond-changed .bond-fill-track>i{animation:bond-grow .65s ease-out both}.bond-full .bond-fill-track>i{background:linear-gradient(90deg,#edb26d,#f0ca70)}.bond-full strong,.bond-full>div>span{color:#ac7740}@keyframes bond-grow{from{transform:scaleX(var(--bond-from,0))}to{transform:scaleX(1)}}
.page-first-duel>.page-heading{margin-bottom:5px!important}.page-first-duel>.duel-stage{margin-top:0!important}.page-first-duel .rpg-message{line-height:1.5}.page-first-duel .rpg-option{min-height:28px!important}@media(max-height:650px){.page-first-duel>.duel-stage{height:116px!important;min-height:0!important;max-height:116px!important}.duel-bond-meter{padding:3px 8px 5px;margin-bottom:5px}.bond-fill-track{height:8px!important}.page-first-duel>.page-heading{min-height:29px!important}.page-first-duel>.rpg-dialog{padding:7px 10px!important;margin:5px 0!important}.page-first-duel .rpg-message{font-size:14px!important;line-height:1.5!important}.page-first-duel .rpg-choices{gap:0!important;margin-top:4px!important;padding-top:4px!important}.page-first-duel .rpg-option{min-height:25px!important;font-size:14px!important}.page-first-duel>.footer{margin:3px 0!important}}
@media(prefers-reduced-motion:reduce){.bond-changed .bond-fill-track>i{animation:none!important}}
/* All-open maps use a separate unfiltered image: no fog layer survives at the edges. */
.world-full-color{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover;object-position:center;z-index:-1;filter:none!important;opacity:1!important;clip-path:none!important;mask-image:none!important}.world-map.world-all-open{background-image:url('assets/world/adventure-map-v2.jpg');background-size:cover;background-position:center}.world-map.world-all-open::before,.world-map.world-all-open::after{content:none!important;display:none!important}.page-world-map>.game-button,.page-map>.game-button{min-height:40px!important;font-size:14px!important;margin:6px 0!important}
.shop-category-tabs{position:sticky;top:0;z-index:8;display:flex;gap:6px;overflow-x:auto;overscroll-behavior:contain;padding:9px 1px;background:#fff8eb;scrollbar-width:thin;margin:4px 0 8px}.shop-category-tabs>button{width:auto!important;min-height:36px!important;flex:none;white-space:nowrap;border-radius:18px!important;padding:6px 12px!important;font-size:14px!important;box-shadow:none!important;margin:0!important;background:#fffdf3!important;border:1px solid #d9b993!important;color:#84603f!important}.shop-category-tabs>button[aria-pressed=true]{background:#f6dce6!important;border-color:#bf8ca1!important;color:#985677!important}.shop-for-friend{font-size:14px;line-height:1.6;color:#815b40;margin:4px 0 10px}.shop-for-friend>span{display:block;font-size:12px;color:#9c7490}.shop-receipt{padding:10px;background:#f2f4dd;color:#657640;font-size:14px;border-radius:12px;line-height:1.6}.petal-products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-product{position:relative;min-height:110px;display:flex;flex-direction:column;gap:4px;align-items:center;padding:8px;min-width:0}.shop-product>.item-art{width:52px;height:52px;object-fit:contain}.shop-product>strong{font-size:14px;line-height:1.5;text-align:center}.shop-product>small{font-size:13px;color:#a56677}.shop-favorite{font-size:11px;color:#a55278;background:#fce7ef;padding:2px 7px;border-radius:9px}.shop-review{padding:12px!important;border:2px solid #d99fb6!important;border-radius:15px;background:#fff5eb;scroll-margin-top:58px;margin:6px 0 14px!important}.shop-review-heading{display:flex;gap:10px;align-items:center;text-align:left}.shop-review-heading>.item-art{width:62px;height:62px;object-fit:contain;flex:none}.shop-review-heading strong{font-size:17px}.shop-review-heading p{font-size:13px;line-height:1.5;color:#99745d;margin:4px 0}.shop-review>p{font-size:14px;margin:8px 0}.shop-review>button{min-height:42px!important;margin:5px 0 0!important}.shop-review>.shop-cancel{font-size:13px!important;min-height:30px!important;box-shadow:none!important;background:transparent!important;border-color:transparent!important}.shop-return{position:sticky;bottom:0;z-index:9;background:#fff8eb;padding-top:8px;margin-top:10px}.shop-return>button{margin:0!important;min-height:42px!important}.gift-title-row{display:flex;justify-content:space-between;align-items:center;gap:5px;flex:none;min-height:34px}.gift-title-row>.page-heading{margin:0!important;padding:0!important;min-height:30px!important}.gift-title-row h1{font-size:18px!important}.gift-title-row>button{display:flex;gap:3px;align-items:center;width:auto!important;min-height:34px!important;font-size:13px!important;border-radius:16px!important;padding:5px 8px!important;margin:0!important;flex:none}.gift-title-row>button>.ui-icon{width:20px!important;height:20px!important}
.journey-goal{font-size:17px;text-align:center;color:#965c7a;padding:8px;margin:4px 0 8px}.friend-journey-areas{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.friend-journey-areas>button{display:flex;align-items:center;gap:12px;background:#fff7e8!important;border:1px solid #d7b88d!important;box-shadow:0 3px #d6bf9d!important;border-radius:17px!important;padding:8px!important;min-height:105px!important;text-align:left}.friend-journey-areas img{width:100px;height:90px;object-fit:cover;border-radius:11px}.friend-journey-areas button>span{display:flex;flex-direction:column;gap:7px;min-width:0}.friend-journey-areas strong{font-size:18px}.friend-journey-areas small{font-size:13px;color:#a16e87}.friend-journey-areas b{font-size:14px;color:#8e7556}
.shop-return-to-friend{top:51px;bottom:auto;margin:4px 0 8px;padding:3px 0 7px}.shop-return:not(.shop-return-to-friend){position:static}.shop-return-to-friend>button{font-size:14px!important;min-height:36px!important}
.petal-shop-counter.shop-counter-small{height:110px;margin-bottom:6px}.shop-counter-small>img{object-position:50% 42%}@media(max-width:350px){.gift-title-row h1{font-size:16px!important}.gift-title-row>button{font-size:12px!important;padding:4px 6px!important}.petal-shop-counter.shop-counter-small{height:90px}}
/* The inventory header stays put; only owned items scroll. */
.screen.page-inventory{display:flex!important;flex-direction:column;overflow:hidden!important;min-height:0;padding:8px 12px 4px!important}.owned-inventory{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.owned-inventory-header{flex:none;padding:0 0 9px;border-bottom:1px solid #e1c7a4;background:#fff8eb}.owned-inventory-header>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.owned-inventory-header .page-heading{margin:0!important;padding:0!important;min-height:32px!important}.owned-inventory-header>div>span{font-size:13px;color:#967056;white-space:nowrap}.owned-inventory-header>label{display:flex;gap:8px;align-items:center;font-size:13px;color:#8b644c;margin-top:6px}.owned-inventory-header select{flex:1;min-width:0;font:inherit;font-size:15px;color:#79553d;background:#fffdf4;border:1px solid #d9b991;border-radius:12px;padding:7px 10px;min-height:36px}.owned-inventory-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:5px 2px 12px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;touch-action:pan-y}.owned-inventory-list .item-section>h2{font-size:15px;margin:9px 0 7px}.owned-inventory-list .inventory-row{min-height:0;padding:7px 6px 8px}.owned-inventory-list .item-picture{width:40px;height:40px;flex:none}.owned-inventory-list .item-title>strong{font-size:13px}.owned-inventory-list .quantity{font-size:18px!important}.owned-inventory-list .item-tags{gap:4px!important;margin-top:6px}.owned-inventory-list .pill{font-size:12px!important;padding:2px 6px!important}.page-inventory>.footer{flex:none;margin:4px 0 0!important;font-size:10px}.result-new-play{min-height:38px!important;font-size:14px!important;margin:0!important}
.days-intro{font-size:15px;color:#936c50;text-align:center;line-height:1.7;margin:6px 0 12px}.friend-day-list{display:flex;flex-direction:column;gap:11px;margin-bottom:16px}.friend-day-list>button{display:flex;align-items:center;gap:13px;padding:10px!important;min-height:110px!important;background:#fff9eb!important;border:1px solid #d9bb93!important;border-radius:20px!important;box-shadow:0 3px #dbc49d!important;text-align:left}.friend-day-list>button>.sprite{width:76px!important;height:76px!important;flex:none}.friend-day-list>button>span{display:flex;flex-direction:column;gap:6px;min-width:0}.friend-day-list strong{font-size:18px}.friend-day-list small{font-size:13px;color:#aa6989;line-height:1.5}.day-stamps{display:flex;gap:7px}.day-stamps i{opacity:.3;display:block;width:23px;height:23px}.day-stamps .done{opacity:1}.day-stamps .ui-icon{width:100%!important;height:100%!important}.find-more-friends>summary{font-size:14px;padding:10px;color:#936e53;cursor:pointer}.friend-day-town{position:relative;height:235px;border:2px solid #ddc29b;border-radius:18px;overflow:hidden;background:url('assets/world/town-v2.jpg') center/cover;margin:6px 0 9px;isolation:isolate}.day-cast{position:absolute;inset:0;pointer-events:none;z-index:2}.day-cast>div{position:absolute;bottom:-17px;left:18%;width:155px;height:172px;transform:scale(.65);transform-origin:center bottom}.day-cast>div>.hero{width:155px!important;height:172px!important;transform:none!important;margin:0!important;border-radius:0!important}.day-cast>div>.hero>img{width:420px!important;height:auto!important;left:-129px!important;top:-103px!important}.day-cast>.sprite{position:absolute;width:68px!important;height:68px!important;left:59%;bottom:10px}.day-spot{position:absolute;transform:translate(-50%,-50%);width:48px!important;height:48px;min-height:48px!important;padding:0!important;border:2px dashed #ac6d91!important;background:#fff5d9d9!important;border-radius:50%!important;font-size:24px!important;z-index:5;box-shadow:none!important;color:#c07b9a!important}.day-spot.chosen{background:#ffdfe9!important;border-style:solid!important;box-shadow:0 0 0 4px #fff7d8!important}.day-garden{position:absolute;transform:translate(-50%,-50%);width:75px;height:47px;display:flex;align-items:flex-end;border-bottom:8px solid #b88863;border-radius:35%;z-index:1;pointer-events:none}.day-garden>.item-art{width:43px;height:43px;object-fit:contain;margin:0 -4px}.day-bench{position:absolute;width:105px;height:75px;transform:translate(-50%,-50%);z-index:1;pointer-events:none}.day-bench>img,.day-mailbox>img{width:100%;height:100%;object-fit:contain}.day-mailbox{position:absolute;left:48%;top:35%;width:48px;height:70px;z-index:2;pointer-events:none}.town-promise-objects{position:absolute;inset:0;pointer-events:none;z-index:3}.town-promise-objects .day-garden{width:66px;height:43px}.town-promise-objects .day-garden>.item-art{width:37px;height:37px}.town-promise-objects .day-bench{width:85px;height:60px}.town-promise-objects .day-mailbox{width:38px;height:55px;top:38%;left:46%}.day-flower-options{display:flex;justify-content:center;gap:10px;margin:10px 0}.day-flower-options>button{width:70px!important;height:70px;min-height:70px!important;padding:6px!important;background:#fff6db!important;border:1px solid #d8b0c2!important;border-radius:50%!important;box-shadow:0 3px #aa7c90!important}.day-flower-options .item-art{width:100%;height:100%;object-fit:contain}.day-next-hint{font-size:13px;color:#a0775e;text-align:center;line-height:1.5;margin:8px 0}.day-letter-portrait{height:100px;display:flex;align-items:center;justify-content:center}.day-letter-portrait>.sprite{width:90px!important;height:90px!important}.day-letter{background:#fff8df;border:2px solid #e4c79c;border-radius:15px;padding:23px 18px;margin:10px 0 18px;color:#76513a;box-shadow:0 4px #e9d6b4}.day-letter p{font-size:18px;line-height:2;margin:0 0 15px}.day-letter>span{display:block;text-align:right;font-size:15px;color:#a46a86}.page-friend-day .rpg-message{font-size:15px!important;line-height:1.5}.page-friend-day .rpg-option{min-height:30px!important}.page-friend-day .rpg-dialog{padding:10px 12px!important;margin:7px 0!important}@media(max-height:650px){.friend-day-town{height:175px;margin:4px 0 7px}.day-cast>div{transform:scale(.5);bottom:-22px;left:14%}.day-cast>.sprite{width:54px!important;height:54px!important;bottom:4px}.day-next-hint{margin:4px 0;font-size:12px}.page-friend-day .rpg-message{font-size:14px!important}.page-friend-day .rpg-option{min-height:27px!important}.page-friend-day .rpg-dialog{padding:7px 10px!important}.day-flower-options>button{width:60px!important;height:60px;min-height:60px!important}.day-letter p{font-size:16px;line-height:1.9}.page-friend-day>.page-heading h1{font-size:18px!important}}
.rest-time .day-bench{left:50%!important;top:78%!important;width:150px!important;height:100px!important;z-index:1}.rest-time .day-cast>div{left:19%;bottom:7px;transform:scale(.62)}.rest-time .day-cast>.sprite{left:51%;bottom:20px;animation:day-snuggle 1.2s ease-out both}.rest-time::after{content:'♡';position:absolute;left:57%;top:29%;font-size:26px;color:#d88aa9;z-index:5;animation:keepsake-bloom 1.5s ease-out both;pointer-events:none}@keyframes day-snuggle{from{transform:translateX(25px)}to{transform:translateX(0)}}@media(max-height:650px){.rest-time .day-cast>div{transform:scale(.48);left:15%;bottom:-1px}.rest-time .day-cast>.sprite{bottom:12px}}
@media(max-height:650px){.day-letter-portrait{height:65px}.day-letter-portrait>.sprite{width:62px!important;height:62px!important}.day-letter{padding:15px 14px;margin:7px 0 12px}.day-letter p{font-size:16px;line-height:1.8;margin-bottom:10px}}
/* Explore and harvest: illustrations are touch targets; story stays in one RPG window. */
.season-picker{display:flex;gap:5px;margin:2px 0 7px}.season-picker button{flex:1;min-height:34px;border-radius:18px;padding:4px;background:#fff8e6;border:1px solid #d6bd94;font-size:14px}.season-picker button[aria-pressed=true]{background:#f3d4df;border-color:#b97e92;box-shadow:0 2px #bb8c93}.field-title{display:flex;align-items:center;justify-content:space-between;gap:4px}.field-title .page-heading{margin:0}.field-title h1{font-size:18px}.field-weather{white-space:nowrap;font-size:13px;background:#fff8e9;border-radius:14px;padding:4px 8px}.field-scene{position:relative;flex:1;min-height:125px;max-height:340px;border:2px solid #d2bc92;border-radius:16px;overflow:hidden;background-image:url('assets/field-skies-v1.png');background-size:300% 200%;background-position:var(--sky-x) var(--sky-y)}.page-field{display:flex;flex-direction:column;gap:6px;overflow:hidden}.field-scene .hero{position:absolute;width:100%;height:100%;left:0;top:0;transform:none}.field-hero{position:absolute;width:27%;height:50%;left:12%;bottom:5%;z-index:2}.field-monster{position:absolute;width:27%;height:45%;right:15%;bottom:8%;display:flex;align-items:center;justify-content:center;z-index:2}.field-monster .sprite{width:100%;height:100%;object-fit:contain}.field-monster .warflower-sprite{position:relative;transform:none}.field-sprite{display:inline-block;background-image:url('assets/harvest-atlas-v1.png');background-size:200% 200%;width:64px;height:64px;flex-shrink:0}.field-sprite.grass{background-position:0 0}.field-sprite.carrot{background-position:100% 0}.field-sprite.turnip{background-position:0 100%}.field-sprite.stall{background-position:100% 100%}.field-grass{position:absolute;width:29%;height:40%;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;bottom:12%;z-index:4;overflow:visible}.field-grass .field-sprite{width:100%;height:100%;aspect-ratio:1}.grass-0{left:3%;bottom:35%}.grass-1{left:36%;bottom:23%}.grass-2{right:1%;bottom:5%}.field-grass i{position:absolute;top:5%;left:50%;font-style:normal;color:#fff;font-size:26px;text-shadow:0 1px 3px #5b714a}.field-grass.rustling .grass{animation:grass-rustle 1.4s infinite}.field-grass.searched{opacity:.45}.field-grass.searched i{display:none}.field-tap-hint{margin:0;text-align:center;font-size:14px}.field-bond{display:flex;align-items:center;gap:8px;font-size:13px;margin:1px 3px}.field-bond .meter{flex:1;height:12px}.field-bond .meter span{background:#db87a1}.field-bond>span{white-space:nowrap}.page-field .rpg-dialog{flex-shrink:0;margin:0!important;padding:10px!important}.page-field .rpg-message{font-size:15px;line-height:1.55}.page-field .rpg-option{font-size:15px;padding:7px 6px!important;min-height:34px}.page-field .footer{margin:0;padding:2px}.harvest-crop{position:absolute;width:25%;height:45%;left:39%;bottom:-5%;z-index:3;transition:bottom .3s,transform .3s}.pull-1{bottom:0%;transform:rotate(-7deg)}.pull-2{bottom:5%;transform:rotate(7deg)}.pull-3{bottom:22%;transform:rotate(-15deg)}.is-harvesting .field-hero,.is-harvesting .field-monster{animation:harvest-tug 1s infinite alternate}.harvest-success .field-monster{animation:friend-hop 1.4s infinite}.harvest-timing{position:relative;height:30px;margin:8px 7px;background:#eee2ba;border:2px solid #f3edcc;border-radius:20px;overflow:hidden}.harvest-green{position:absolute;left:32%;width:46%;top:0;bottom:0;background:#79a77a}.harvest-marker{position:absolute;left:0;top:-2px;color:#fff6b8;font-size:23px;line-height:28px;animation:harvest-sweep .9s ease-in-out infinite alternate;transform:translateX(-50%);text-shadow:0 1px 2px #705446}.field-rewards{display:flex;justify-content:center;align-items:center;gap:7px;background:#fff3ce;border-radius:14px;font-size:16px}.field-rewards .field-sprite{width:39px;height:39px}.field-rewards>span{margin-left:15px}.vegetable-counter{height:135px;display:flex;align-items:center;justify-content:center;background:#e6efd3;border-radius:18px}.vegetable-counter>.stall{width:150px;height:135px}.vegetable-counter>div{display:flex;flex-direction:column}.vegetable-counter>div>span{display:flex;align-items:center}.vegetable-counter>div .field-sprite{width:45px;height:45px}.vegetable-trades{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vegetable-trades button{display:flex;flex-direction:column;align-items:center;border-radius:18px;background:#fff9e9;border:2px solid #ddbd8e;padding:8px;min-height:110px}.vegetable-trades button:disabled{opacity:.55}.vegetable-trades .item-art{width:56px;height:56px;object-fit:contain}.vegetable-trades small{font-size:12px}.exchange-hint{font-size:14px;text-align:center;margin:8px}.town-vegetable-building{position:absolute;left:3%;top:33%;width:31%;height:35%;z-index:5;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}.town-vegetable-building .stall{width:100%;height:100%}.town-vegetable-building strong{position:absolute;bottom:0;left:0;right:0;font-size:11px;border-radius:12px;background:#fff7d9;white-space:nowrap}.page-field .hero img{width:100%;height:100%;object-fit:contain}
@keyframes grass-rustle{0%,70%,100%{transform:rotate(0)}75%,85%{transform:rotate(-7deg)}80%,90%{transform:rotate(7deg)}}@keyframes harvest-sweep{from{left:0}to{left:100%}}@keyframes harvest-tug{from{transform:rotate(-4deg) translateY(0)}to{transform:rotate(4deg) translateY(-5px)}}@media(max-height:620px){.page-field{gap:4px}.page-field .rpg-dialog{padding:7px!important}.page-field .rpg-message{font-size:14px}.field-title h1{font-size:16px}.page-field .rpg-option{padding:5px!important;min-height:30px}.field-scene{min-height:115px}.page-field .page-heading{min-height:30px}.field-rewards{height:34px}}

#motion ~ * .harvest-marker{left:55%}.map-status-row{flex-shrink:0}.page-world-map .world-map{min-height:150px}.field-rewards>span{font-size:13px;margin-left:3px}
.field-hero>.hero{width:155px!important;height:172px!important;margin:0!important;top:auto!important;bottom:0;left:0;transform:scale(.68)!important;transform-origin:bottom left;overflow:hidden}.page-field .hero img{width:420px!important;height:auto!important;left:-129px!important;top:-103px!important;object-fit:initial!important}.page-field .field-monster .warflower-sprite{width:95px;height:105px;flex:none;overflow:hidden}
.page-field .field-monster .warflower-sprite{height:95px!important;width:95px!important}.field-monster>.sprite{max-width:100%;max-height:100%}
.page-field .field-monster .warflower-sprite{height:80px!important;width:80px!important;max-height:none;max-width:none}.field-rewards{flex-wrap:wrap;gap:3px}.harvest-level-up{font-size:12px;color:#a85d7c;background:#fff6ed;border-radius:8px;padding:2px 5px}.field-rewards .field-sprite{width:32px;height:32px}.field-rewards>span{font-size:12px}.field-scene.harvest-success .field-monster{animation:field-friend-bounce 1s ease-in-out infinite alternate}@keyframes field-friend-bounce{from{translate:0 0}to{translate:0 -7px}}
.field-miss .field-hero,.field-miss .field-monster{animation:field-stumble .45s ease-in-out 1!important}@keyframes field-stumble{0%,100%{rotate:0deg}40%{rotate:-15deg;translate:0 8px}70%{rotate:12deg}}
.town-vegetable-building{left:36%;top:8%;width:28%;height:45%}.town-vegetable-building strong{font-size:10px}.town-vegetable-building .field-sprite{pointer-events:none}
/* Distinct requests and clear success feedback. Story copy remains in the RPG window. */
.field-feedback{position:absolute;left:20%;right:12%;top:6%;z-index:12;pointer-events:none;display:flex;align-items:center;flex-direction:column;filter:drop-shadow(0 3px 2px #694d5133);animation:help-feedback .9s ease-out both}.field-feedback strong{font-family:system-ui,sans-serif;font-size:clamp(25px,7vw,39px);font-weight:900;color:#fff4c2;letter-spacing:1px;-webkit-text-stroke:1px #9b673e;text-shadow:0 3px #ad7756,2px 0 #ad7756,-2px 0 #ad7756}.field-feedback>span{background:#fff9e7eb;border:1px solid #d7bc88;color:#765244;font-size:13px;border-radius:14px;padding:2px 9px}.grade-great strong{color:#ffdfe9;-webkit-text-stroke-color:#ae6886;text-shadow:0 3px #b46d8a}.grade-retry strong{font-size:23px;color:#f0f5fc;-webkit-text-stroke-color:#7994ae;text-shadow:0 2px #7994ae}.grade-complete{animation:help-arrived .6s ease-out both;top:5%}.grade-complete strong{color:#fff3a7}.feedback-heart{position:absolute;color:#ed86a4;font-size:20px;font-style:normal;animation:help-heart .9s ease-out both}.heart-a{left:9%;--dx:-35px}.heart-b{right:6%;--dx:32px;animation-delay:.08s}.heart-c{left:46%;--dx:5px;animation-delay:.15s}.help-progress{display:flex;justify-content:center;align-items:center;gap:8px;flex-shrink:0;min-height:24px}.help-progress>span{color:#bfae9c;font-size:20px;line-height:1}.help-progress>span.done{color:#df87a0;animation:heart-fill .4s ease-out}.help-progress small{font-size:12px;color:#7c6653;margin-left:8px}.harvest-perfect{position:absolute;left:47%;width:17%;top:0;bottom:0;background:#e5e9a7;border-left:1px solid #fff8c8;border-right:1px solid #fff8c8}.bond-gain{color:#b45f80;font-size:15px;white-space:nowrap}.field-monster{right:calc(15% + var(--friend-close,0%));transition:right .35s}.request-water.is-harvesting .field-monster,.request-petals.is-harvesting .field-monster{animation:none}.request-water .field-hero,.request-petals .field-hero{animation:none!important}.field-help-target{position:absolute;z-index:8;border:0!important;box-shadow:none!important;background:transparent!important;width:48px;height:52px;padding:4px;transform:translate(-50%,-50%);touch-action:manipulation}.field-help-target.water-drop{animation:dew-bob 2s ease-in-out infinite alternate;animation-delay:var(--drift)}.water-drop svg{width:100%;height:100%;filter:drop-shadow(0 2px 1px #4c7e7d55)}.wind-petal{animation:petal-drift 3s ease-in-out infinite alternate;animation-delay:var(--drift)}.wind-petal>span{display:block;width:29px;height:36px;border-radius:75% 30% 65% 35%;background:radial-gradient(at 30% 25%,#fff1eb,#f4a9bf 75%);border:2px solid #ae7685;box-shadow:inset 3px 2px #ffe5e9;transform:rotate(30deg)}.help-flower-bed{position:absolute;left:40%;bottom:1%;width:23%;height:35%;z-index:3;transform:rotate(-12deg);filter:saturate(.65);transition:transform .3s,filter .3s}.help-flower-bed>.item-art{width:100%;height:100%;object-fit:contain}.watered-1{transform:rotate(-6deg);filter:saturate(.9)}.watered-2{transform:rotate(0);filter:saturate(1)}.watered-3{transform:rotate(0) scale(1.15);filter:saturate(1.2)}.petal-wreath{position:absolute;bottom:10%;left:-10%;right:-10%;color:#e786a5;text-shadow:0 1px #9b6272;font-size:24px;white-space:nowrap;text-align:center}.personality-shy.harvest-success .field-monster{animation:friend-shy 1.5s ease-in-out infinite alternate!important}.personality-elegant.harvest-success .field-monster{animation:friend-twirl 1.4s ease-in-out 2!important}.personality-sleepy.harvest-success .field-monster{animation:friend-doze 2.5s ease-in-out infinite alternate!important}.personality-lively.harvest-success .field-monster{animation:friend-cheer .65s ease-in-out 3!important}.field-unlock{font-size:13px;color:#ac607d;margin:0;text-align:center;background:#fff0f2;border-radius:9px;padding:3px}.trade-owned{align-self:flex-end;font-size:11px;color:#7d6b56}.vegetable-trades button[aria-pressed=true]{background:#fce9ef;border-color:#bc8098;box-shadow:0 0 0 2px #ead4db}.vegetable-bag .field-sprite{width:64px;height:64px}.vegetable-bag .item-tags{font-size:12px}.page-field .field-scene{min-height:110px}.page-field .field-rewards{flex-shrink:0}.field-grass:focus-visible,.field-help-target:focus-visible{outline:3px solid #f2bf65;outline-offset:2px}
@keyframes help-feedback{0%{opacity:0;scale:.65;translate:0 10px}20%{opacity:1;scale:1.13;translate:0 0}40%,70%{opacity:1;scale:1}100%{opacity:1;translate:0 0;scale:1}}@keyframes help-arrived{0%{opacity:0;scale:.5}60%{opacity:1;scale:1.1}100%{opacity:1;scale:1}}@keyframes help-heart{0%{opacity:0;translate:0 20px;scale:.4}30%{opacity:1}100%{opacity:0;translate:var(--dx) -50px;scale:1.2}}@keyframes heart-fill{0%{scale:.5}60%{scale:1.3}100%{scale:1}}@keyframes dew-bob{from{translate:0 -3px}to{translate:0 6px}}@keyframes petal-drift{from{translate:-10px -4px;rotate:-12deg}to{translate:12px 6px;rotate:16deg}}@keyframes friend-shy{from{rotate:-5deg;scale:.9}to{rotate:4deg;scale:1}}@keyframes friend-twirl{0%{rotate:0deg}50%{rotate:12deg;translate:0 -6px}100%{rotate:-8deg}}@keyframes friend-doze{from{rotate:-4deg;translate:0 0}to{rotate:4deg;translate:0 3px}}@keyframes friend-cheer{0%,100%{translate:0 0}50%{translate:0 -13px}}
@media(max-height:620px){.help-progress{min-height:20px}.help-progress>span{font-size:17px}.page-field .field-scene{min-height:105px}.page-field .rpg-message{font-size:14px;line-height:1.45}.field-feedback{top:3%}.field-feedback strong{font-size:27px}.page-field .field-rewards{height:auto;min-height:30px}.field-feedback>span{font-size:11px}.field-help-target{width:45px;height:48px}.page-field .field-monster .warflower-sprite{width:70px!important;height:70px!important}.field-hero>.hero{transform:scale(.59)!important}}
/* Keep the friend visible when the small result screen becomes short. */
.help-flower-bed{left:76%;width:19%;bottom:3%;height:32%;z-index:1}.harvest-crop{left:69%;width:23%;z-index:1}.field-scene.harvest-success .field-monster{height:72%;bottom:3%}.field-scene.harvest-success .field-hero>.hero{transform:scale(.49)!important}.grade-complete{left:auto;right:3%;top:5%;width:42%}.grade-complete strong{font-size:27px}.grade-complete>span{font-size:10px}.field-scene.personality-lively:has(.grade-good) .field-monster,.field-scene.personality-lively:has(.grade-great) .field-monster{animation:friend-cheer .5s ease-in-out 1}.field-scene.personality-shy:has(.grade-good) .field-monster,.field-scene.personality-shy:has(.grade-great) .field-monster{animation:friend-shy .6s ease-in-out 1}.field-scene.personality-elegant:has(.grade-good) .field-monster,.field-scene.personality-elegant:has(.grade-great) .field-monster{animation:friend-twirl .6s ease-in-out 1}.field-scene.personality-sleepy:has(.grade-good) .field-monster,.field-scene.personality-sleepy:has(.grade-great) .field-monster{animation:friend-doze .9s ease-in-out 1}
.request-petals .watered-0>.item-art{opacity:.18}.request-petals .watered-1>.item-art{opacity:.45}.request-petals .watered-2>.item-art{opacity:.7}.request-petals .watered-3>.item-art{opacity:1}.field-rewards>small{font-size:11px;color:#976d66}
/* A monotonic strength scale: weak -> GOOD -> GREAT at MAX. */
.harvest-power-heading{display:flex;justify-content:space-between;margin:5px 7px 0;font-size:12px;line-height:16px;color:#fff6d8}.harvest-power-heading b{color:#ffe3a2}.harvest-timing{background:#d8d4c9;height:34px;margin-top:3px}.harvest-weak,.harvest-green,.harvest-perfect{display:flex;align-items:center;justify-content:center;padding-bottom:5px;font-size:11px;font-family:system-ui,sans-serif;font-weight:750;line-height:1}.harvest-weak{position:absolute;left:0;top:0;bottom:0;width:60%;color:#675f55}.harvest-green{left:60%;width:25%;background:#7ab18a;color:#143e27;bottom:0;border-left:2px solid #fff9df}.harvest-perfect{left:85%;width:15%;background:#f2c665;color:#614012;bottom:0;border-left:2px solid #fff9df;border-right:0}.harvest-power-fill{position:absolute;left:0;bottom:0;height:6px;width:0;background:#ce6991;z-index:2;animation:harvest-power-charge .9s ease-in-out infinite alternate}.harvest-marker{z-index:3;color:#fffdf1;font-size:21px;text-shadow:0 1px 3px #513e34;top:0}.harvest-timing:after{content:'';position:absolute;right:0;top:0;bottom:0;width:2px;background:#fff5c9;z-index:4}@keyframes harvest-power-charge{from{width:0}to{width:100%}}
.harvest-marker{width:3px;height:100%;top:0;background:#fffdf2;border-left:1px solid #7b6247;border-right:1px solid #7b6247;box-shadow:0 0 2px #66503e;font-size:0;line-height:0;text-shadow:none}
/* GREAT changes the actual harvest, and the friend's delight. */
.harvest-crop.crop-quality-0{scale:1}.harvest-crop.crop-quality-1{scale:1.24}.harvest-crop.crop-quality-2{scale:1.48}.harvest-crop{transform-origin:right bottom;transition:scale .35s,bottom .3s,transform .3s}.request-harvest:has(.grade-great) .field-monster{animation:great-friend-cheer .7s ease-in-out 2!important}.request-harvest:has(.grade-great) .field-feedback strong{font-size:36px}.request-harvest:has(.grade-great) .feedback-heart{font-size:30px;color:#f276a2}.request-harvest:has(.grade-great) .field-hero{animation:great-hero-hop .5s ease-in-out 1!important}@keyframes great-friend-cheer{0%,100%{translate:0 0;rotate:0deg}35%{translate:0 -15px;rotate:-8deg}70%{translate:0 -7px;rotate:8deg}}@keyframes great-hero-hop{50%{translate:0 -8px;rotate:-4deg}}
.friend-visit-heading{display:flex;align-items:center;gap:5px;justify-content:space-between;flex-shrink:0}.friend-visit-heading .page-heading{margin:0;min-width:0}.friend-visit-heading h1{font-size:18px}.favorite-friend{flex-shrink:0;width:39px;height:36px;min-height:0;padding:0;background:#fff5f4;border:1px solid #d6a8b7;border-radius:50%;font-size:25px;color:#bd708e;line-height:1}.favorite-friend[aria-pressed=true]{background:#f9dce5;color:#bd537e;box-shadow:0 2px #ddabbc}.resident-favorite{position:absolute;right:0;top:-4px;color:#d57096;font-size:15px;background:#fff5ef;border-radius:50%;width:21px;line-height:21px}.resident-today{position:absolute;left:0;right:0;bottom:-2px;font-size:10px;line-height:16px;border:1px solid #dfb887;border-radius:8px;white-space:nowrap;background:#fff5ce;color:#805c3b}.daily-moment-scene.snack .day-cast{animation:snack-sway 2s ease-in-out infinite alternate}.daily-moment-scene.flowers .day-cast{animation:flowers-lean 2.5s ease-in-out infinite alternate}.daily-shared-prop{position:absolute;left:43%;bottom:6%;width:20%;height:30%;z-index:4}.daily-shared-prop .item-art{width:100%;height:100%;object-fit:contain}.daily-shared-heart{position:absolute;left:50%;top:25%;font-size:28px;color:#df7e9f;animation:moment-heart 2s ease-in-out infinite}.daily-moment-note{font-size:12px;text-align:center;margin:3px;color:#a6657c}.daily-moment-card{margin-bottom:12px;padding:10px}.daily-moment-card>strong,.daily-moment-card>time{display:block;text-align:center;font-size:14px}.daily-moment-card>time{font-size:12px;margin-top:4px;color:#947f6b}.daily-moment-card .memory-scene{height:190px}.crop-collection{margin:8px 0;background:#fff5df;border:1px solid #dec399;border-radius:14px;padding:8px 10px}.crop-collection summary{font-size:14px;font-weight:700;cursor:pointer}.crop-collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.crop-collection-grid article{min-height:120px;background:#fffbed;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;padding:7px 1px}.crop-collection-grid .field-sprite{width:45px;height:45px;transform-origin:center bottom;margin:9px 0 4px}.crop-collection-grid .crop-size-1{scale:1.18}.crop-collection-grid .crop-size-2{scale:1.4}.crop-collection-grid strong{font-size:12px}.crop-collection-grid small,.crop-collection-grid time{font-size:10px}.crop-collection-grid .not-found .field-sprite{filter:grayscale(1);opacity:.25}.town-community-basket{position:absolute;left:44%;top:47%;width:21%;height:20%;z-index:4;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;gap:0}.town-community-basket .field-sprite,.town-community-basket .item-art{width:36px;height:36px;object-fit:contain;margin-left:-9px}.daily-trade-badge{font-size:11px;color:#ac6381;background:#fde5ec;border-radius:8px;padding:2px 5px}.dex-season-filter{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:13px;margin:4px 0}.dex-season-filter select{font-size:14px;background:#fff7e6;border:1px solid #d7bb94;border-radius:12px;padding:6px 24px 6px 9px;color:#795b42;max-width:150px}.daily-moment-scene{min-height:135px}.page-friend-day .rpg-option{min-height:30px}.daily-moment-card .memory-scene{overflow:hidden}
@keyframes snack-sway{from{rotate:-3deg}to{rotate:3deg}}@keyframes flowers-lean{from{translate:0 0}to{translate:0 -3px;rotate:2deg}}@keyframes moment-heart{0%,100%{opacity:.5;scale:.85}50%{opacity:1;scale:1.1}}
@media(max-height:620px){.friend-visit-heading h1{font-size:16px}.favorite-friend{height:30px;width:33px;font-size:21px}.page-friend-day .rpg-dialog{padding:8px!important}.page-friend-day .rpg-option{min-height:28px;padding:5px!important;font-size:14px}.request-harvest:has(.grade-great) .field-feedback strong{font-size:30px}.harvest-crop.crop-quality-2{scale:1.38}.daily-moment-scene{min-height:115px}.crop-collection-grid article{min-height:112px}}
.field-scene.great-harvest .field-monster{animation:great-friend-cheer .7s ease-in-out 3!important}.great-harvest .grade-complete strong{color:#ffe392;text-shadow:0 3px #a66b53}.great-harvest .feedback-heart{font-size:27px}
html:has(#motion) .field-feedback .feedback-heart{display:none}.field-rewards{font-size:14px;gap:2px;min-height:32px}.field-rewards .field-sprite{width:24px;height:24px}.field-rewards>small{font-size:10px}.field-rewards .harvest-level-up{font-size:10px;padding:2px 3px}.field-rewards>span{font-size:11px;margin-left:1px}.great-harvest .harvest-crop.crop-quality-2{height:70%;width:30%;bottom:0%;transform:rotate(-8deg);scale:1.22}.great-harvest.field-scene{min-height:126px}
.friend-day-town .day-cast>div{bottom:4px}.town-community-basket{filter:drop-shadow(0 3px 2px #70523855)}
/* Compact two-column bag; the header stays still and only the list scrolls. */
.page-inventory .item-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.page-inventory .inventory-row{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;min-height:0;height:auto;padding:7px 6px 8px;gap:2px;border-radius:15px;text-align:center;box-shadow:0 3px #c6b49c;margin:0}.page-inventory .item-picture{display:flex;align-items:center;justify-content:center;flex:none;width:43px;height:43px;margin:0}.page-inventory .item-picture>.item-art,.page-inventory .item-picture>.field-sprite{width:43px;height:43px;object-fit:contain}.page-inventory .item-information{display:block;min-width:0;width:100%}.page-inventory .item-title{display:block;min-width:0;width:100%;padding:0;margin:0}.page-inventory .item-title>strong{display:block;font-size:13px;line-height:1.4;letter-spacing:0;min-height:19px;overflow-wrap:anywhere;padding:0}.page-inventory .quantity{position:absolute;right:5px;top:5px;display:block;font-size:14px;line-height:22px;min-width:28px;border-radius:12px;background:#f6dce5;color:#995a77;padding:0 4px;white-space:nowrap}.page-inventory .item-tags{display:flex;justify-content:center;gap:3px;margin:3px 0 0;min-width:0;overflow:hidden;font-size:11px;line-height:16px;white-space:nowrap}.page-inventory .item-tags .pill{padding:0 4px;font-size:11px;line-height:16px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-inventory .item-section{margin:3px 0 9px}.page-inventory .item-section h2{font-size:13px;margin:4px 0 6px}.page-inventory .owned-inventory-list{padding:0 2px 8px;scrollbar-gutter:stable}.page-inventory .owned-inventory-header{padding-bottom:4px}.page-inventory .owned-inventory-header>div>span{font-size:12px}.page-inventory .vegetable-bag .item-tags{color:#92785a}.help-progress small b{font-weight:800;color:#9d5974;font-size:15px}.page-friend-day .day-next-hint{font-size:12px;line-height:1.5;margin:3px 0;text-align:center}
@media(min-width:440px){.page-inventory .item-title>strong{font-size:14px}.page-inventory .item-picture,.page-inventory .item-picture>.item-art,.page-inventory .item-picture>.field-sprite{width:48px;height:48px}}
/* One predictable shell. The scene scrolls/resizes; navigation and local actions stay put. */
.has-game-navigation{isolation:isolate}.game-navigation-wrap{flex:none;background:#fff7e9;border-top:1px solid #e5cfac;z-index:10;padding:2px 5px 0;box-shadow:0 -4px 14px #8d705a0b}.game-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:2px;min-height:45px}.game-nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:43px;margin:0;padding:3px 1px;background:transparent;border:0;border-radius:14px;box-shadow:none;color:#8c6a4a;font-size:11px;line-height:1.2;letter-spacing:0;transition:background .16s,transform .12s}.game-nav-item .ui-icon{width:23px!important;height:23px!important;flex:none}.game-nav-item.is-current{background:#f8dfe7;color:#a55676;box-shadow:inset 0 0 0 1px #dca8b7}.game-nav-item.is-current:before{content:'✿';position:absolute;right:5px;top:0;font-size:10px;color:#ce819f}.game-nav-item:active{transform:scale(.94)}.game-nav-item:focus-visible{outline:2px solid #c47a96;outline-offset:0}.shell-copyright{text-align:center;color:#9d866b;font-size:8px;line-height:10px;letter-spacing:.2px;height:10px}.context-back{min-width:80px;min-height:35px;border-radius:18px;padding:5px 9px;gap:4px;font-size:13px;box-shadow:none;background:#fffbed;border:1px solid #d9bf98}.context-back .ui-icon{width:18px!important;height:18px!important}.has-game-navigation>.screen{min-height:0;flex:1;overflow:hidden;padding-top:7px;padding-bottom:7px}.has-game-navigation>.scroll-page{overflow-y:auto;overscroll-behavior:contain}.screen-action-dock{flex:none;position:relative;padding:7px 12px 8px;background:#fff6e9;border-top:1px solid #e5cba6;box-shadow:0 -5px 12px #946e5a0b;z-index:9}.screen-action-dock>.primary{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;margin:0!important;min-height:39px;border-radius:22px;padding:7px 12px;font-size:15px;background:#edbfd0;color:#754358;border:2px solid #c48b9e;box-shadow:0 3px #d5a9b5}.screen-action-dock .primary:disabled{background:#eee6d9;color:#9b8c78;border-color:#d6c7b1;box-shadow:none;opacity:1}.screen-action-dock .primary .ui-icon{width:22px;height:22px}.dock-item-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;line-height:1.4;padding-bottom:5px}.dock-item-summary strong{overflow-wrap:anywhere}.dock-item-summary>span{white-space:nowrap;color:#a3734f}.dock-action-row{display:grid;grid-template-columns:1fr 1.4fr;align-items:center;gap:8px}.dock-action-row>button{margin:0;min-height:38px;border-radius:22px;padding:6px;font-size:14px}.dock-action-row>.primary{background:#eab7ca;color:#76425b;border:2px solid #c78c9f;box-shadow:0 3px #d4a2b3}.dock-action-row>.primary:disabled{background:#eee6d9;border-color:#d6c7b1;box-shadow:none;color:#9b8c78;opacity:1}.dock-cancel{background:transparent!important;border:0!important;box-shadow:none!important;color:#886e58}.interface-story{display:flex;flex-direction:column;gap:5px}.interface-story>.page-heading,.interface-story>.field-title,.interface-story>.map-title-row,.interface-story>.town-title-row,.interface-story>.friend-visit-heading{flex:none;margin-top:0}.interface-story>.rpg-dialog{flex:none;margin-top:auto!important;margin-bottom:0!important}.interface-story .rpg-dialog{border-radius:0!important;border:3px double #f3d9a2;background:#345d6e;box-shadow:0 2px 0 #a89072}.interface-story .rpg-choices{border-top:1px solid #d8e1d159;margin-top:7px;padding-top:3px}.interface-story .rpg-option{border:0!important;border-radius:0!important;box-shadow:none!important;min-height:33px;font-size:15px;line-height:1.45;padding:6px!important;background:transparent;color:#fffbea}.interface-story .rpg-option.cursor-here,.interface-story .rpg-option:focus-visible{background:#ffffff14}.interface-story .rpg-message{font-size:15px;line-height:1.5}.interface-story .speech-turn p{margin:0 0 4px}.interface-story .speech-turn:last-child p{margin-bottom:0}.interface-story>.field-scene{min-height:92px;max-height:330px;flex:1;margin:0}.interface-story .help-progress{min-height:20px}.interface-story .field-bond{margin:0 2px;min-height:17px;flex:none}.interface-story .field-title h1{font-size:17px}.interface-story .field-weather{font-size:12px}.interface-story .great-harvest.field-scene{min-height:95px}.interface-story .field-rewards{min-height:28px;font-size:13px;flex:none}.interface-story>.world-map{flex:1;min-height:130px;max-height:none;aspect-ratio:auto;margin:0}.interface-story .season-picker{margin:0}.interface-story .map-status-row{margin:0;flex:none}.interface-story .map-tap-hint{margin:4px 0;font-size:14px;flex:none}.interface-story>.world-town{min-height:140px;flex:1;margin:0;max-height:360px}.interface-story>.friend-day-town{flex:1;min-height:120px;max-height:280px;margin:0}.interface-story .day-next-hint{flex:none;font-size:12px;margin:0}.interface-story .friend-keepsake{min-height:80px}.interface-story .friend-result{min-height:0;display:flex;flex-direction:column;gap:5px;flex:1}.interface-story .friend-result .rpg-dialog{margin-top:auto}.shop-layout{display:flex;flex-direction:column;height:100%;min-height:0}.shop-heading{flex:none;padding:0 0 6px}.shop-title-line{display:flex;align-items:center;justify-content:space-between;gap:5px}.shop-title-line .page-heading{margin:0;min-width:0}.shop-title-line h1{font-size:18px}.shop-title-line .petal-wallet{font-size:14px;padding:4px 8px}.shop-welcome{display:flex;align-items:center;gap:9px;min-height:48px;margin:3px 0 4px;color:#907151;font-size:13px}.shop-welcome>img{width:67px;height:49px;object-fit:contain;flex:none}.shop-filter{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.shop-filter select{flex:1;background:#fffbed;border:1px solid #d2b58c;border-radius:13px;font-size:14px;color:#7c5f44;padding:6px 24px 6px 10px;min-width:0}.shop-product-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:3px 3px 9px;scrollbar-gutter:stable}.shop-product-scroll .petal-products,.shop-product-scroll .vegetable-trades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-product-scroll .shop-product,.shop-product-scroll .vegetable-trades>button{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;min-height:105px;padding:8px 5px;background:#fffbed;border:1.5px solid #d9bc95;border-radius:16px;box-shadow:0 2px #dcc6a7}.shop-product-scroll .shop-product strong,.shop-product-scroll .vegetable-trades strong{font-size:13px;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}.shop-product-scroll .shop-product .item-art,.shop-product-scroll .vegetable-trades .item-art{width:46px;height:46px;object-fit:contain}.shop-product-scroll .shop-product small,.shop-product-scroll .vegetable-trades small{font-size:12px}.shop-product-scroll [aria-pressed=true]{background:#fce9ee;border-color:#c8809d;box-shadow:0 0 0 2px #e5b7c8}.shop-heading .shop-receipt{font-size:13px;line-height:1.4;margin:4px 0 0;padding:5px 7px;border-radius:10px;background:#edf2dc;color:#60784c}.compact-counter.vegetable-counter{height:70px;min-height:0;margin-top:2px;border-radius:14px}.compact-counter.vegetable-counter>.stall{width:86px;height:68px}.compact-counter.vegetable-counter>div{flex-direction:row;gap:6px}.compact-counter.vegetable-counter>div .field-sprite{width:30px;height:30px}.compact-counter.vegetable-counter b{font-size:15px}.shop-product-scroll .trade-owned{font-size:10px;align-self:center;color:#a18a73}.shop-product-scroll .daily-trade-badge{font-size:10px;line-height:1.3;padding:1px 4px}.shop-product-scroll .crop-collection{margin:9px 0 0}.page-petal-shop,.page-vegetable-shop{overflow:hidden!important}.passport-kicker{font-size:12px;color:#b28c73;text-align:center;margin:0}.has-game-navigation .page-individuals{display:flex;flex-direction:column;gap:5px;overflow:hidden}.has-game-navigation .page-individuals .passport-hero{flex:none;margin:0;min-height:90px}.has-game-navigation .page-individuals .passport-panel{min-height:0;flex:1;overflow:auto;margin:0}.has-game-navigation .passport-bond{margin:0}.has-game-navigation .passport-tabs{margin:0}.has-game-navigation .page-item .item-detail{max-height:130px}.has-game-navigation .page-item .item-detail .item-art{max-height:130px}.has-game-navigation .page-item>.card{padding:10px;border:0;box-shadow:none;background:#fff3dd}.mission-row{border:1px solid #dfc9aa;box-shadow:none}.mission-row .mission-reward button{border-radius:18px;background:#f3d4df;border:1px solid #d5a2b5}.collection-controls .filter-chips button,.tabs>button{box-shadow:none;border-radius:16px;min-height:30px}.has-game-navigation .footer{display:none}
@media(max-height:620px){.game-navigation{min-height:40px}.game-nav-item{min-height:38px;font-size:10px;padding:2px 1px}.game-nav-item .ui-icon{width:21px!important;height:21px!important}.shell-copyright{font-size:7px;line-height:9px;height:9px}.has-game-navigation>.screen{padding:5px 11px}.interface-story{gap:3px}.interface-story .rpg-dialog{padding:6px!important}.interface-story .rpg-message{font-size:14px;line-height:1.4}.interface-story .rpg-option{font-size:14px;min-height:28px;padding:4px 5px!important}.interface-story .rpg-choices{margin-top:5px;padding-top:2px}.interface-story>.field-scene{min-height:80px}.interface-story .great-harvest.field-scene{min-height:88px}.interface-story .field-title h1{font-size:16px}.interface-story>.world-map{min-height:125px}.interface-story>.world-town{min-height:125px}.interface-story>.friend-day-town{min-height:105px;margin:0}.interface-story .page-heading{min-height:28px;margin-bottom:2px}.screen-action-dock{padding:5px 11px 6px}.screen-action-dock>.primary,.dock-action-row>button{min-height:35px;font-size:14px;padding:5px 8px}.dock-item-summary{font-size:12px;padding-bottom:3px}.shop-welcome{min-height:40px;font-size:12px;margin:1px 0 3px}.shop-welcome>img{height:40px;width:56px}.shop-title-line h1{font-size:16px}.shop-filter select{padding-top:4px;padding-bottom:4px}.shop-product-scroll .shop-product,.shop-product-scroll .vegetable-trades>button{min-height:98px}.compact-counter.vegetable-counter{height:58px}.compact-counter.vegetable-counter>.stall{height:56px;width:72px}.shop-product-scroll .crop-collection summary{font-size:13px}.has-game-navigation .page-individuals .passport-hero{height:94px;min-height:94px}.has-game-navigation .page-individuals .passport-name h1{font-size:20px}.has-game-navigation .passport-bond{padding:5px 8px}.has-game-navigation .passport-tabs button{min-height:29px;font-size:12px}.has-game-navigation .passport-panel{padding:7px}.has-game-navigation .passport-facts{font-size:13px;line-height:1.45}.interface-story .fortune-result-flower{max-height:65px}.interface-story .fortune-result-flower .sprite{height:60px!important;width:60px!important}}
.has-game-navigation .owned-inventory-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:7px;min-height:52px;padding-bottom:5px}.has-game-navigation .owned-inventory-header>div{min-width:0;display:block;flex:1}.has-game-navigation .owned-inventory-header .page-heading{margin:0;min-height:27px;gap:4px}.has-game-navigation .owned-inventory-header h1{font-size:17px}.has-game-navigation .owned-inventory-header .ui-icon{width:25px;height:25px}.has-game-navigation .owned-inventory-header>div>span{display:block;font-size:11px;margin-left:29px}.has-game-navigation .owned-inventory-header>label{font-size:0;margin:0;display:block;flex:none;width:120px}.has-game-navigation .owned-inventory-header select{width:100%;min-width:0;font-size:14px;min-height:34px;padding:5px 24px 5px 9px}.has-game-navigation .page-dex{display:flex;flex-direction:column;gap:4px;overflow:hidden!important}.has-game-navigation .page-dex>.page-heading{flex:none;margin:0;min-height:29px}.has-game-navigation .page-dex>.collection-controls{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;margin:0;padding:0 0 5px}.has-game-navigation .collection-counts{grid-column:1/-1;grid-row:2;font-size:11px;margin:0;display:flex;gap:10px;justify-content:center}.has-game-navigation .dex-season-filter,.has-game-navigation .dex-rarity-filter{display:flex;align-items:center;gap:4px;margin:0;font-size:12px;min-width:0}.has-game-navigation .dex-season-filter{grid-column:1;grid-row:1}.has-game-navigation .dex-rarity-filter{grid-column:2;grid-row:1}.has-game-navigation .dex-season-filter select,.has-game-navigation .dex-rarity-filter select{min-width:0;flex:1;max-width:none;padding:5px 21px 5px 7px;font-size:13px;min-height:31px;border:1px solid #d5ba92;border-radius:12px;background:#fffbed;color:#7b5d43}.has-game-navigation .collection-grid{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:2px 2px 9px;align-content:start}.has-game-navigation .collection-card{border-radius:19px;border:1px solid #dbc4a3;box-shadow:0 3px #e4d2b9;overflow:hidden}.has-game-navigation .collection-open{min-height:152px;padding:9px 6px;gap:5px}.has-game-navigation .collection-open>.portrait-halo{margin:0 auto;min-height:67px}.has-game-navigation .collection-open>strong{font-size:14px}.has-game-navigation .collection-open>small{font-size:11px}.has-game-navigation .collection-card.is-friend{background:#fff4f4;border-color:#ddb5c3}.has-game-navigation .collection-open:active{background:#fff1e4}.has-game-navigation .friend-ribbon{font-size:10px;padding:3px 8px;min-height:0}
.mission-status{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;color:#a18c72;font-size:13px;background:#f4eddf;border-radius:12px;min-width:58px}.has-game-navigation .game-nav-item{min-height:44px}.has-game-navigation .game-navigation{min-height:44px}.screen-action-dock>.primary,.dock-action-row>button{min-height:42px}.interface-story .rpg-option{min-height:32px}.has-game-navigation .passport-tabs button{min-height:33px}
@media(max-height:620px){.has-game-navigation .page-individuals .passport-hero{height:86px;min-height:86px}.passport-kicker{font-size:11px;line-height:14px}.has-game-navigation .passport-panel .passport-facts{font-size:14px;line-height:1.4}.has-game-navigation .passport-panel .passport-facts dt{font-size:11px}.has-game-navigation .passport-panel .passport-facts dd{font-size:14px}.has-game-navigation .passport-panel .passport-secret{min-height:0;padding:5px}.has-game-navigation .passport-secret>span{font-size:18px;line-height:20px}.has-game-navigation .passport-secret h2{font-size:14px;line-height:1.4;margin:3px 0}.has-game-navigation .passport-secret p{font-size:14px;line-height:1.4;margin:3px 0}.has-game-navigation .passport-secret small{font-size:11px;line-height:1.3}}
.list-title-line{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 7px}.list-title-line .page-heading{margin:0;min-height:28px}.list-title-line h1{font-size:18px}.list-title-line .petal-wallet{font-size:14px;padding:4px 8px}.has-game-navigation .mission-row{padding:11px 12px;margin:0 0 9px;border-radius:15px;background:#fffbed}.has-game-navigation .mission-row h2{font-size:15px;line-height:1.45;margin:0 0 7px}.has-game-navigation .mission-progress{margin:3px 0;gap:8px}.has-game-navigation .mission-progress strong{font-size:12px}.has-game-navigation .mission-reward{margin-top:7px;font-size:12px}.has-game-navigation .mission-reward button{min-height:33px;padding:5px 12px;font-size:13px}.has-game-navigation .claimed-missions{font-size:13px}
.shop-product-scroll .vegetable-trades>button[aria-pressed=true],.shop-product-scroll .shop-product[aria-pressed=true]{background:#fce6ee;border-color:#c47e9b;box-shadow:0 0 0 2px #e3adc1}
@media(max-height:620px){.has-game-navigation .page-first-duel .duel-hero{scale:.77}}

/* A separate, deliberate reset step in settings. */
.reset-save-entry{margin-top:24px;padding-top:16px;border-top:1px solid #dec9b1}
.reset-save-entry button{color:#925561}
.reset-save-panel{padding:20px 16px;background:#fffaf2;border:1px solid #ddc5a6;border-radius:12px;margin:12px 0}
.reset-save-panel h2{font-size:1.2rem;margin:0 0 16px}
.reset-save-panel p{font-size:1rem;line-height:1.8}
.reset-save-warning{font-weight:bold;color:#925561}
.reset-save-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.reset-save-actions button{min-height:48px;border-radius:24px;margin:0;padding:10px 8px;font-size:1rem}
.reset-save-confirm{background:#e5b0bd;border:2px solid #b77c8b;color:#533d30;box-shadow:0 3px 0 #bf8c9a}

/* Home fills the available viewport; no space-between gap above the art. */
.home-layout{flex:1;min-height:0;height:auto;gap:0;padding:0;justify-content:flex-start;align-items:stretch}
.home-topbar{height:54px;padding-top:max(4px,env(safe-area-inset-top));flex:0 0 auto}
.home.illustrated-home{width:100%;flex:1 1 0;min-height:0;aspect-ratio:auto;background-size:100% 100%;margin:0}
.home-greeting{letter-spacing:0}
.mobile-guide{display:flex;flex-direction:column;gap:16px}
.mobile-guide section{background:#fffdf6;border:1px solid #dec9ab;border-radius:14px;padding:14px}
.mobile-guide h2{font-size:1.1rem}.mobile-guide h3{font-size:1rem;margin:16px 0 6px;color:#a25b76}
.mobile-guide p,.mobile-guide li{font-size:1rem;line-height:1.75}
.mobile-guide ol{margin:8px 0;padding-left:1.5em}.mobile-guide li+li{margin-top:8px}
.page-settings>.tabs{flex-wrap:wrap;justify-content:flex-start}.page-settings>.tabs button{flex:1;padding:7px 6px}
/* Reserve the status-bar area when launched from a phone home screen. */
.home-topbar{height:calc(54px + env(safe-area-inset-top,0px));padding:calc(4px + env(safe-area-inset-top,0px)) 14px 4px}
.topbar{height:calc(54px + env(safe-area-inset-top,0px));padding-top:calc(6px + env(safe-area-inset-top,0px))}
