/* Restore supplied 402 × 874 pt reference hierarchy; artwork remains source-faithful. */
.page-learning{background:#fff}.page-learning .learning-scroll{inset:0;padding:0 0 97px;overflow-y:auto}.learning-illustration{position:relative;height:312px;overflow:hidden;background:#fff4ec}.learning-illustration>img{position:absolute;top:-37px;width:100%;height:auto}.page-learning .learning-content{position:relative;margin-top:-12px;padding:0 13px 20px;background:linear-gradient(transparent 0,#fff 35px)}.page-learning .card{background:linear-gradient(135deg,#fff,#fffdfc);border:1px solid #f0efec;box-shadow:0 6px 17px #7853430c;border-radius:17px}.page-learning .continue-card{padding:13px 14px;gap:12px;min-height:104px;margin-bottom:10px}.continue-card .grow{min-width:0;flex:1}.page-learning .continue-card strong{font-size:19px;color:#402821}.page-learning .continue-card p{font-size:13px;margin:6px 0 9px;color:#49322c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.learning-progress{display:flex;align-items:center;gap:8px}.learning-progress .meter{margin:0;flex:1;height:7px;background:#eeeeef}.learning-progress small{font-size:12px;color:#422c29}.learning-progress .meter i{background:linear-gradient(90deg,#ff8c82,#ff676d)}.learning-art{display:block;flex-shrink:0;background-image:url('https://tinymigo.com/japanese/assets/learning-reference.png');background-repeat:no-repeat}.art-continue{width:74px;height:80px;background-size:402px auto;background-position:-23px -322px}.art-vocab{width:68px;height:68px;background-size:402px auto;background-position:-17px -431px}.art-grammar{width:68px;height:68px;background-size:402px auto;background-position:-214px -431px}.art-kana{width:91px;height:74px;background-size:402px auto;background-position:-27px -560px}.review-entries{gap:8px}.page-learning .mini-entry{padding:10px 7px;gap:2px;min-height:87px;margin:0;display:flex}.mini-entry>span:not(.learning-art){min-width:0;flex:1}.page-learning .mini-entry strong{font-size:14px;white-space:nowrap}.page-learning .mini-entry small{font-size:10px;margin-top:7px;line-height:1.3}.mini-entry em{font-style:normal;color:#ff6667;font-size:14px}.page-learning .mini-entry b{font-size:22px;font-weight:400;color:#9b8d88}.page-learning .section-head{margin:18px 0 10px}.page-learning .section-head h2{font-size:20px;color:#392520}.page-learning .course-grid{gap:9px}.page-learning .course-card{height:103px;min-height:0;padding:8px;border:1px solid #f0efee;background:#fff;border-radius:17px;box-shadow:0 5px 15px #7057470b;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0}.page-learning .course-card strong{font:650 36px 'PingFang SC',sans-serif;color:#3a221c;z-index:1}.page-learning .course-card:first-child strong{font:600 15px LingUI,sans-serif;margin-top:-1px}.course-card .learning-art:not(.art-kana){position:absolute;width:100%;height:100%;inset:0;background-size:402px auto;opacity:1}.art-n5{background-position:-143px -553px}.art-n4{background-position:-279px -553px}.art-n3{background-position:-16px -661px}.art-n2{background-position:-143px -661px}.art-n1{background-position:-279px -661px}.course-card:has(.art-n5) strong,.course-card:has(.art-n4) strong,.course-card:has(.art-n3) strong,.course-card:has(.art-n2) strong,.course-card:has(.art-n1) strong{visibility:hidden}
.page-course{background:#fffdfb;color:#35302e}.page-course .header{height:111px;padding:42px 18px 7px}.page-course .header h1{font-size:20px;font-weight:650}.page-course .scroll{top:124px;bottom:104px;padding:0 20px 20px}.page-course .lesson-hero{padding:24px;border:1px solid #efe7dc;border-radius:22px;background:linear-gradient(120deg,#fff2e3,#f7f4e9 65%,#e9f4ec);margin:4px 0 22px}.page-course .lesson-hero:after{content:'あ';font-size:110px;position:absolute;right:8px;top:13px;color:#9bb9a422;transform:rotate(-10deg);pointer-events:none}.page-course .lesson-hero h2{font-size:22px;color:#35302e;margin:5px 0 9px;position:relative;z-index:1}.page-course .lesson-hero p{font-size:12px;line-height:1.8;color:#766c5e;position:relative;z-index:1}.page-course .eyebrow{font-size:11px;letter-spacing:1.4px;color:#9d795b}.page-course .section-head{margin:23px 0 10px}.page-course .section-head h2{font-size:16px;color:#35302e}.page-course .section-head .chip{padding:0;background:transparent;color:#9b8b7f;font-size:11px}.page-course .lesson-modules{gap:12px}.page-course .lesson-modules .card{min-height:122px;border:1px solid #eee6df;box-shadow:none;border-radius:17px;padding:18px;margin:0;background:#fff}.page-course .lesson-modules strong{font-size:16px;color:#35302e;margin-top:11px}.page-course .lesson-modules small{font-size:12px;color:#908174;margin-top:5px}.module-token{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f8eadb;color:#b58850}.module-token svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none}.module-token.dialog{background:#e8f2ec;color:#588b76}.module-token.grammar{background:#f0eaf7;color:#947ab4}.module-token.practice{background:#fcebef;color:#c77789}.page-course .list-row{border:0;border-bottom:1px solid #eee8e2;border-radius:0;box-shadow:none;background:transparent;padding:17px 0;min-height:80px;margin:0}.page-course .list-row strong{font-size:15px}.page-course .list-row small{font-size:12px}.page-course .note{padding:15px 17px;border-radius:14px;background:#f1f6ef;color:#617963;font-size:13px;line-height:1.9;margin:18px 0}.page-course .dock{bottom:20px;left:20px;right:20px;padding:13px 0 15px;border-top:1px solid #f2ece7;background:#fffdfbf5;display:flex;gap:12px}.page-course .dock button{flex:1;height:48px;padding:8px;font-size:15px;border-radius:13px;font-weight:550}.page-course .primary{background:#ff6670;color:#fff;border:1px solid #ff6670}.page-course .secondary{background:#fffdfb;color:#ca5960;border:1px solid #efadb0}.page-course .sound-card{background:white;border:1px solid #eee7e1;border-radius:19px;padding:23px 18px;margin:14px 0 23px;box-shadow:none}.page-course .sound-card .word{font-size:45px;font-weight:600;line-height:1.5;margin:20px 0 0}.page-course .sound-card>p{font-size:15px;letter-spacing:2px;color:#aa8571;margin:5px 0 20px}.page-course .sound-button{width:56px;height:56px;border:1px solid #ffd1d4;border-radius:50%;background:#ffeded;color:#e1626a;margin:4px 0 20px;padding:13px;font-size:0}.sound-button svg{width:25px;height:25px;fill:currentColor}.page-course .sound-card .word-meaning{letter-spacing:0;font-size:14px;margin:0 0 10px;color:#867364}.page-course .example{background:#fff;border:1px solid #eee7e1;border-radius:19px;padding:18px;margin:14px 0;box-shadow:0 5px 18px #7e5d3710}.page-course .example h2{font-size:22px;font-weight:500;line-height:1.8;margin:20px 0;color:#51453a}.page-course .example p{font-size:14px;line-height:1.9;color:#867364}.page-course .text-button{font-size:15px;color:#35302e;padding:8px 0;display:inline-flex;align-items:center;gap:5px}.inline-speaker{width:21px;height:21px;fill:currentColor}.page-course .grammar-title{font-size:22px;margin:25px 0;line-height:1.8;color:#35302e}.page-course .body-copy{font-size:14px;line-height:1.9;color:#867364}.page-course .chip{font-size:11px;background:#fcebed;color:#bb5d64;border-radius:8px;padding:5px 9px}.course-options button{border-radius:14px!important;min-height:57px!important;padding:16px 19px!important;font-size:17px!important}.page-course .dialog-line p{font-size:18px}.page-course .dialog-line{padding:17px 42px 17px 19px;background:#f3f5ef;border-radius:17px}.page-course .dialog-line.mine{background:#fff0eb}.page-course .dialog-line small{font-size:12px;color:#8f7c6e}@container phone (max-width:760px){.page-course .header{height:95px;padding-top:max(26px,env(safe-area-inset-top))}.page-course .scroll{top:108px}.learning-illustration{height:312px;max-height:372px}}@container phone (max-height:740px){.page-course .header{height:78px;padding-top:16px}.page-course .scroll{top:90px;bottom:93px}.page-course .dock{bottom:6px}}
.learning-illustration{height:278px}.page-learning .learning-content{margin-top:-8px}@container phone (max-width:760px){.learning-illustration{height:278px;max-height:332px}}
.page-course .primary{background-image:none}.page-course .module-token svg{width:27px;height:27px}
.pet .outfit-body,.pet .worn .asset-tile{background-color:transparent!important}
.page-room{background:#f8e9dc}.room-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.page-room .header{position:relative;z-index:2;background:linear-gradient(#fff8edeb,#fff8ed60,transparent);height:84px}.room-tabs{position:absolute;left:15px;right:15px;top:87px;z-index:2;display:flex;flex-wrap:wrap;gap:3px;background:#fffaf0e8;border:1px solid #fff8;border-radius:17px;padding:7px;box-shadow:0 5px 17px #70482c0e}.room-tabs button{flex:1 0 21%;padding:4px 5px;min-height:31px;font-size:11px;color:#7b614f;border-radius:11px;white-space:nowrap}.room-tabs .selected{background:#edd3c4;color:#774f47;font-weight:600}.room-object{position:absolute;transform:translate(-50%,-50%);min-height:33px;padding:6px 9px;border-radius:19px;background:#fffaf0ed;border:1px solid #d9c1a9;box-shadow:0 3px 9px #64431e18;font-size:11px;white-space:nowrap;color:#7d614d}.room-object>span{font-size:7px;color:#adab87;margin-right:3px}.room-caption{position:absolute;bottom:22px;left:20px;right:20px;padding:14px 17px;background:#fffaf1ed;border:1px solid #fff8;border-radius:20px;box-shadow:0 5px 20px #6a45371c}.room-caption strong{font-size:15px}.room-caption small{font-weight:400;font-size:10px;margin-left:8px;color:#ac8a72}.room-caption p{font-size:11px;color:#9b806a;margin:7px 0 10px}.room-caption .primary{min-height:41px;height:41px;font-size:12px;margin:0}.object-word{font:500 32px 'Hiragino Sans',sans-serif;text-align:center;margin:24px 0}.page-room .balance{background:#fff8}@container phone (max-height:740px){.room-tabs{top:78px}.room-caption{bottom:12px;padding:11px 15px}.room-object{font-size:10px}}
/* Keep hotspot anchoring while pressed; generic button scale must not remove its translation. */
.map-label:active,.room-object:active{transform:translate(-50%,-50%) scale(.98)}
.page .map-label:active:not(:disabled),.page .room-object:active:not(:disabled){transform:translate(-50%,-50%) scale(.98)}

/* Confirmed garden homepage: keep pet feet on the circular platform. */
.page-home .home-pet{top:41%!important;height:25%!important}
.pet .outfit-body{width:100%;height:100%;aspect-ratio:auto;background-color:transparent!important;overflow:visible}
.pet .rendered-pet-art{object-fit:contain;object-position:center bottom;image-rendering:auto}
.pet .worn .rendered-pet-art{object-position:center}
#app.page-space .closet-grid .asset-tile,#app.page-wardrobe .closet-grid .asset-tile{background-color:transparent!important;overflow:visible}
.page-match .scroll,.page-sentence .scroll{padding-bottom:110px}
.page-match .note,.page-sentence .note{font-size:12px;line-height:1.5;padding:9px 12px;margin:10px 0}
.page-match .note:empty,.page-sentence .note:empty{display:none}
.page-match .primary.wide,.page-sentence .primary.wide{margin:8px 0 18px;min-height:48px}
.sentence-reference{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;padding:10px 12px;border:1px solid #edd9c2;border-radius:14px;background:#fff8ec;color:#826c5e}
.sentence-reference small{font-size:10px;white-space:nowrap}.sentence-reference strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.reference-toggle{display:block;width:100%;margin:6px 0 10px;font-size:12px}
