@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&family=Nunito:wght@500;600;700;800;900&display=swap');
:root{--ink:#314b42;--muted:#849087;--orange:#db7959;--green:#4d7966;--cream:#f7f5ee;--line:#e8e9df;font-family:'Nunito','Noto Sans SC',system-ui,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #d78b51;outline-offset:5px}button{transition:background .18s,transform .18s,box-shadow .18s}button:hover:not(:disabled){transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(0)}.site-header{height:100px;max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e7dd;padding:0 32px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:20px;font-weight:800;letter-spacing:1px}.brand small{display:block;font-size:9px;letter-spacing:2.7px;margin-top:4px;color:#829187;font-weight:700}.brand-mark{display:grid;place-items:center;background:#df805e;width:44px;height:44px;border-radius:15px;color:#fff7e9;font-size:38px;line-height:1;transform:rotate(-9deg)}nav{display:flex;gap:25px;align-items:center}.nav-button{background:none;border:0;font-size:13px}.nav-button span{font-size:20px;vertical-align:middle;margin-right:4px}.collection-button{border:1px solid #dedfd3;border-radius:99px;background:transparent;padding:10px 16px;font-size:13px}.collection-button>span{font-size:20px;vertical-align:middle;margin-right:6px;color:var(--orange)}.collection-button b{font-size:12px;background:#e5e9dc;border-radius:50%;display:inline-grid;place-items:center;width:22px;height:22px;margin-left:8px}main{max-width:1200px;margin:auto;padding:0 32px}.page-intro{display:flex;justify-content:space-between;align-items:center;padding:38px 0 30px}.eyebrow{font-size:10px;letter-spacing:2.3px;font-weight:800;margin:0 0 13px;color:#829184;display:flex;align-items:center;gap:8px}.eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--orange)}h1{font-size:32px;letter-spacing:.6px;margin:0;font-weight:800}h1 span{color:var(--orange)}.intro-copy{font-size:13px;color:#859087;margin:12px 0 0}.mission-tag{display:flex;align-items:center;gap:12px;transform:rotate(-3deg);font-size:12px;padding-right:10px}.mission-tag>span{color:#c69a58;font-size:37px}.mission-tag small{display:block;font-size:10px;color:#979b87;margin-top:7px}.game-shell{display:grid;grid-template-columns:46% 54%;border:1px solid #dfe3d5;border-radius:28px;overflow:hidden;box-shadow:0 13px 42px #3d493109;background:#fffef9}.scene-panel{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;background:#edf0df;padding:24px 28px 26px;min-height:600px}.scene-top{display:flex;align-items:center;justify-content:space-between;z-index:2}.level-badge{font-size:10px;letter-spacing:1px;font-weight:700;border:1px solid #d6decb;border-radius:99px;padding:8px 12px;background:#f6f7ecaa}.icon-button{width:34px;height:34px;border:1px solid #d6decb;background:#f6f7ecaa;border-radius:50%;font-size:19px}.icon-button[aria-pressed=false]{opacity:.5;text-decoration:line-through}.animal-intro{text-align:center;margin-top:22px}.pet-caption{font-size:10px;letter-spacing:2px;color:#89967e}.animal-intro h2{font-size:25px;font-weight:800;margin:8px 0 0;letter-spacing:2px}.scene{width:100%;max-width:400px;margin:0 auto;height:305px;position:relative}.scene svg{width:100%;height:100%;overflow:visible}.speech-bubble{position:relative;margin:0 auto 25px;text-align:center;background:#fffef3;border:1px solid #dde1cf;padding:12px 18px;border-radius:13px;font-size:12px;max-width:100%;min-height:43px;z-index:2}.speech-bubble:before{content:'';position:absolute;top:-7px;left:47%;height:11px;width:11px;background:#fffef3;border-left:1px solid #dde1cf;border-top:1px solid #dde1cf;transform:rotate(45deg)}.rescue-progress{z-index:2;margin-top:auto}.rescue-progress>div:first-child{display:flex;justify-content:space-between;font-size:11px;align-items:center;color:#7d8b75;margin-bottom:12px}.rescue-progress strong{font-size:11px;font-weight:600}.rescue-progress strong b{font-size:17px;color:var(--green)}.progress-segments{display:flex;gap:6px}.progress-segments span{flex:1;height:7px;background:#dce2cd;border-radius:9px;transition:background .5s}.progress-segments span.done{background:#7b9c7e}.scene-flower{position:absolute;z-index:-1;color:#e1e6cc;line-height:1}.flower-one{font-size:180px;left:-80px;top:300px;transform:rotate(18deg)}.flower-two{font-size:200px;right:-105px;top:70px}.play-panel{padding:31px 36px 25px;display:flex;flex-direction:column}.play-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.chapter{font-size:11px;color:#b97d57;background:#fcf0df;border-radius:7px;padding:6px 9px;font-weight:700}.tiny-label{font-size:10px;color:#92998d}.play-panel h2{font-size:21px;margin:24px 0 8px;font-weight:800}.play-description{font-size:11px;color:#959c91;margin:0;line-height:1.8}.column-labels{display:flex;justify-content:space-between;padding:0 1px;margin-top:27px;font-size:11px;color:#6e8173}.column-labels>span{width:42%}.column-labels small{font-size:8px;letter-spacing:1px;color:#b0b5a7;margin-left:8px}.board{position:relative;display:flex;justify-content:space-between;margin-top:11px;min-height:222px;isolation:isolate;user-select:none}.word-column{display:flex;flex-direction:column;gap:13px;width:42%;z-index:2}.word-card{height:64px;flex:none;position:relative;display:flex;align-items:center;justify-content:center;gap:8px;border:1.5px solid #e4e7dd;background:#fffefa;border-radius:13px;box-shadow:0 3px 0 #eef0e6;font-size:18px;font-weight:700;touch-action:none}.word-card[data-side=en]{font-family:Nunito,system-ui,sans-serif;letter-spacing:.3px}.word-card[data-side=zh]{font-size:16px;font-weight:500;letter-spacing:1px}.word-card:after{content:'';position:absolute;top:calc(50% - 4px);width:8px;height:8px;border:2px solid #d9ded1;border-radius:50%;background:#fffefa}.word-card[data-side=en]:after{right:-6px}.word-card[data-side=zh]:after{left:-6px}.word-card.selected{border-color:#df9976;background:#fff3e8;box-shadow:0 3px 0 #eed8c2;color:#aa6848}.word-card.selected:after{border-color:#df9976;background:#df9976}.word-card.correct{border-color:#8bac91;background:#eef6e9;box-shadow:0 3px 0 #cfdec7;color:#4c785b}.word-card.hinted{border-color:#deb468;background:#fff7dc;animation:hint-pulse 1s ease 2}.word-card.wrong{border-color:#d69c8d;background:#fff1eb;animation:shake .3s}.word-card.empty{opacity:0;pointer-events:none}.word-card .speaker{font-size:12px;position:absolute;right:9px;color:#a6ae9a;font-weight:500}.word-card .hint-meaning{position:absolute;bottom:3px;font-family:inherit;font-size:9px;font-weight:500;color:#ad8250;letter-spacing:0}#connections{position:absolute;inset:0;overflow:visible;width:100%;height:100%;pointer-events:none;z-index:1}.feedback{min-height:49px;padding:14px 0 9px;display:flex;justify-content:center;align-items:center;gap:6px;text-align:center;font-size:11px;color:#91a087;line-height:1.7}.feedback>span{font-size:17px;color:#b5bf9b}.feedback.success{color:#537c60}.feedback.error{color:#b67a62}.board-tools{display:flex;justify-content:space-between;gap:10px;padding-bottom:18px;border-bottom:1px dashed #e3e7da}.subtle-button{border:0;background:transparent;font-size:11px;color:#8c9987;padding:6px 3px}.subtle-button>span{font-size:18px;vertical-align:middle;margin-right:4px}.learning-note{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:20px;font-size:11px;color:#7f8c78}.learning-note small{display:block;font-size:10px;margin-top:5px;color:#a0a797}.note-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f0f3e8;color:#91a17b;font-size:20px}.journey{display:flex;align-items:center;gap:26px;padding:23px 3px}.journey-label{font-size:11px;color:#84917b;white-space:nowrap}.journey-label span{margin-right:7px;font-size:16px}.level-buttons{display:flex;gap:8px;flex:1}.level-button{border:1px solid transparent;background:none;border-radius:99px;padding:9px 13px;font-size:11px;color:#99a08d;white-space:nowrap}.level-button.active{color:#55715e;background:#e8eddd;border-color:#dce4cf}.level-button.complete:before{content:'✓ ';color:#64896c}.journey-note{font-size:10px;color:#a4aa97}footer{display:flex;justify-content:space-between;padding:18px 0 26px;border-top:1px solid #e6e8dd;font-size:10px;color:#a6ad9e;letter-spacing:.6px}footer i{color:#bdc6ad;font-style:normal;margin:0 6px}dialog{border:1px solid #e3e6d8;border-radius:25px;padding:35px;max-width:460px;width:calc(100% - 36px);max-height:85dvh;overflow:auto;color:var(--ink);background:#fffef7;box-shadow:0 24px 90px #20362830}dialog::backdrop{background:#263e354d;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:12px;border:0;border-radius:50%;background:#f0f1e6;color:#87957d;width:29px;height:29px;font-size:20px}.modal-eyebrow{color:#bd9361;font-size:10px;letter-spacing:2px;margin:5px 0 12px}.modal-title{font-size:25px;margin:0 0 10px}.modal-copy{font-size:13px;line-height:1.9;color:#8b9584}.guide-step{display:flex;align-items:flex-start;gap:12px;margin:18px 0;font-size:13px;line-height:1.8}.guide-step>b{display:grid;place-items:center;flex:none;width:27px;height:27px;background:#eaf0df;border-radius:9px;color:#64866b}.guide-step small{display:block;font-size:11px;color:#8c9685}.primary-button{width:100%;border:0;background:#557c62;color:white;padding:13px 20px;border-radius:12px;font-weight:700;font-size:13px;margin-top:16px;box-shadow:0 3px 0 #3a5c48}.secondary-button{width:100%;border:1px solid #dee4d4;background:transparent;padding:11px 20px;border-radius:12px;margin-top:10px;font-size:12px}.success-icon{width:65px;height:65px;border-radius:22px;display:grid;place-items:center;background:#ecf1dc;font-size:36px;margin-bottom:20px}.result-stats{display:flex;justify-content:space-around;padding:19px 0;margin-top:20px;border-top:1px dashed #dfe5d5;border-bottom:1px dashed #dfe5d5}.result-stats strong{display:block;font-size:26px;text-align:center;color:#638568}.result-stats span{font-size:10px;color:#929e89}.review-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.review-tag{border:1px solid #e5e7da;background:#f7f7ec;border-radius:8px;padding:7px 9px;font-size:11px}.collection-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e9ecdf;font-size:13px}.collection-row small{display:block;color:#969f8c;font-size:10px;margin-top:5px}.collection-row>span:last-child{font-size:11px;color:#7b9678}.rope{transition:opacity .45s,transform .65s;transform-origin:center}.rope.released{opacity:0;transform:translateY(35px) scaleX(1.1)}.animal-body{transform-origin:200px 260px;animation:breathe 3.5s ease-in-out infinite}.rescued .animal-body{animation:happy-jump .8s ease-in-out 3}.rescued .tail{transform-origin:270px 230px;animation:wag .3s ease-in-out infinite alternate}.rescued .celebration-star{opacity:1;animation:twinkle 1s ease-in-out infinite alternate}.celebration-star{opacity:0}.animal-eye{transform-origin:center;transform-box:fill-box;animation:blink 6s infinite}.sparkle{color:#d7b96c}.just-helped .animal-body{animation:happy-jump .55s ease 1}.float-cloud{animation:cloud-drift 6s ease-in-out infinite alternate}@keyframes breathe{50%{transform:translateY(-3px)}}@keyframes happy-jump{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-15px) rotate(-4deg)}70%{transform:translateY(-6px) rotate(4deg)}}@keyframes wag{to{transform:rotate(18deg)}}@keyframes blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.1)}}@keyframes cloud-drift{to{transform:translateX(8px)}}@keyframes twinkle{to{transform:translateY(-9px);opacity:.5}}@keyframes hint-pulse{50%{box-shadow:0 0 0 5px #e9d59b33}}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media(min-width:1450px){.site-header{height:112px}.page-intro{padding:48px 0 36px}.scene-panel{min-height:630px}.scene{height:325px}.board{margin-top:18px}.word-card{height:68px}.play-panel{padding-top:36px}.play-panel h2{margin-top:30px}}
@media(max-width:950px){.mission-tag,.journey-note{display:none}.play-panel{padding:28px 24px}.scene-panel{padding:24px 20px}.tiny-label{font-size:9px}.play-panel h2{font-size:18px}.word-card{font-size:17px}.column-labels small{font-size:7px}.journey{gap:12px}.level-button{padding:8px 9px}h1{font-size:29px}}
@media(max-width:680px){.site-header{height:75px;padding:0 20px;margin:0 4px}.brand{font-size:16px;gap:9px}.brand-mark{width:35px;height:35px;font-size:31px;border-radius:12px}.brand small{font-size:7px;letter-spacing:2px}nav{gap:10px}.nav-button{font-size:0}.nav-button span{font-size:22px}.collection-button{padding:6px 10px;font-size:11px}.collection-button>span{margin-right:3px}.collection-button b{margin-left:3px;width:19px;height:19px;font-size:10px}main{padding:0 17px}.page-intro{padding:27px 3px 23px}.eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:10px}h1{font-size:24px;letter-spacing:0}.intro-copy{font-size:11px;margin-top:9px}.game-shell{grid-template-columns:1fr;border-radius:22px;overflow:clip}.scene-panel{position:sticky;top:0;z-index:5;min-height:0;padding:15px 20px 18px}.scene-top{height:28px}.level-badge{font-size:9px;padding:6px 9px}.icon-button{height:28px;width:28px;font-size:16px}.animal-intro{position:absolute;left:23px;top:66px;margin-top:0;text-align:left;z-index:2;max-width:120px}.pet-caption{font-size:8px;letter-spacing:1px}.animal-intro h2{font-size:18px;margin-top:5px;letter-spacing:1px}.scene{height:205px;max-width:275px;margin:-8px 2px -7px auto}.speech-bubble{position:absolute;left:20px;top:129px;font-size:10px;padding:9px 11px;max-width:118px;line-height:1.7;text-align:left}.speech-bubble:before{top:15px;left:auto;right:-6px;transform:rotate(135deg)}.rescue-progress>div:first-child{font-size:10px;margin-bottom:8px}.rescue-progress strong b{font-size:14px}.progress-segments span{height:5px}.flower-one{top:110px;font-size:140px}.flower-two{top:-20px;font-size:160px}.play-panel{padding:21px 20px 17px}.play-panel h2{font-size:18px;margin-top:18px}.play-description{font-size:10px}.column-labels{margin-top:18px}.word-card{height:54px;border-radius:11px;scroll-margin-top:290px}.word-column{gap:11px;width:41%}.board{min-height:184px}.column-labels>span{width:41%}.word-card[data-side=zh]{font-size:15px}.feedback{font-size:10px;min-height:44px;padding:12px 0 8px}.board-tools{padding-bottom:12px}.learning-note{padding-top:14px;font-size:10px}.learning-note small{font-size:9px}.note-icon{height:30px;width:30px}.journey{flex-wrap:wrap;padding:19px 0;gap:10px}.journey-label{font-size:10px;width:100%}.level-buttons{justify-content:space-between}.level-button{font-size:10px;padding:8px 12px}.journey-note{display:none}footer{font-size:8px;letter-spacing:0;padding-top:15px}dialog{padding:30px 24px}.modal-title{font-size:23px}}
@media(max-width:360px){h1{font-size:21px}.scene{max-width:235px}.animal-intro{left:18px}.speech-bubble{left:16px;max-width:100px}.tiny-label{display:none}.column-labels small{letter-spacing:.3px}.level-button{padding:8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Denser matching board: keep the rescue companion compact. */
.game-shell{grid-template-columns:29% 71%}
.scene-panel{min-height:0;padding:22px 20px;justify-content:center}
.scene-top{gap:7px}.level-badge{font-size:9px;letter-spacing:0;padding:7px 9px}.icon-button{flex-shrink:0}
.animal-intro{margin-top:35px}.animal-intro h2{font-size:23px}
.scene{height:220px;max-width:280px;margin:10px auto}
.speech-bubble{font-size:11px;padding:11px 12px;margin-bottom:28px}
.rescue-progress{margin-top:auto}.progress-segments{gap:4px}
.play-panel{padding:24px 32px 20px}.play-panel h2{margin-top:17px}
.column-labels{margin-top:18px}.board{min-height:352px;margin-top:10px}
.word-column{gap:10px}.word-card{height:50px;font-size:19px}
.learning-note{padding-top:12px}.feedback{min-height:39px;padding:9px 0}
.board-tools{padding-bottom:10px}
@media(max-width:950px) and (min-width:681px){.game-shell{grid-template-columns:32% 68%}.scene-panel{padding:18px 12px}.level-badge{font-size:8px}.scene{height:180px}.play-panel{padding:23px}.animal-intro h2{font-size:21px}}
@media(max-width:680px){
 .site-header{height:58px;padding:0 14px}.brand-mark{width:30px;height:30px;font-size:27px}.brand{font-size:14px}.brand small{font-size:6px}
 main{padding:0 12px}.page-intro{padding:15px 3px}.eyebrow,.intro-copy{display:none}h1{font-size:21px}
 .game-shell{grid-template-columns:1fr;border-radius:18px}
 .scene-panel{height:157px;min-height:157px;padding:10px 15px;display:block;position:sticky;top:0}
 .scene-top{height:24px;position:relative;z-index:3}.level-badge{font-size:8px;padding:4px 7px}.icon-button{height:25px;width:25px}
 .animal-intro{top:43px;left:16px;max-width:165px;margin:0}.pet-caption{font-size:8px;letter-spacing:0}.animal-intro h2{font-size:17px;margin:3px 0 0;line-height:1.4}
 .scene{position:absolute;right:15px;top:25px;width:142px;height:110px;max-width:none;margin:0;pointer-events:none}
 .speech-bubble{left:15px;top:91px;padding:0;max-width:170px;font-size:9px;line-height:1.6;margin:0;min-height:0;border:0;background:transparent}.speech-bubble:before{display:none}
 .rescue-progress{position:absolute;bottom:10px;left:15px;right:15px;margin:0}.rescue-progress>div:first-child{margin-bottom:5px;font-size:9px}.rescue-progress strong b{font-size:12px}.progress-segments span{height:4px}
 .scene-flower{opacity:.5}.flower-one{top:20px;font-size:130px}.flower-two{top:-15px;font-size:140px}
 .play-panel{padding:14px 18px}.play-panel h2{font-size:16px;margin:11px 0 5px}.play-description{font-size:9px}.chapter{font-size:10px;padding:4px 7px}.tiny-label{font-size:9px}
 .column-labels{margin-top:12px}.board{min-height:314px;margin-top:8px}.word-column{gap:8px;width:41%}.word-card{height:44px;font-size:17px;border-radius:9px;scroll-margin-top:168px}.word-card[data-side=zh]{font-size:15px}
 .feedback{min-height:34px;font-size:10px;padding:6px 0}.board-tools{padding-bottom:0;border:0}.subtle-button{font-size:10px}
 .learning-note{display:none}.journey{padding:13px 0;gap:7px}.journey-label{display:none}footer{padding:10px 0;font-size:8px}
}
@media(max-width:360px){.scene{right:9px;width:125px}.speech-bubble{max-width:152px}.animal-intro{left:15px}.tiny-label{display:block;font-size:8px}.level-button{padding:7px;font-size:9px}}
