:root{color-scheme:light;--ink:#314f48;--soft:#779187;--mint:#4d8b74;--cream:#fffdf5;--pink:#cf748c;--line:#d7e4d7;font-family:ui-rounded,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;background:#f3f6ec;color:var(--ink)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 8% 15%,#f8e8df88,transparent 36%),radial-gradient(ellipse at 95% 35%,#d8eee480,transparent 36%);line-height:1.65}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:var(--ink);border:1px solid var(--line);background:var(--cream);border-radius:14px;padding:10px 18px;min-height:44px;font-weight:650;transition:background .18s,transform .18s,box-shadow .18s}button:hover:not(:disabled){background:#eef5e9;transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(0)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #bd5876;outline-offset:4px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button.primary{background:var(--mint);color:white;border-color:var(--mint);box-shadow:0 5px 0 #3b6a5a;font-weight:700}button.primary:hover{background:#3c785f}.ambient{position:fixed;z-index:-1;filter:blur(1px);border:1px solid #c8dec733;border-radius:50%;pointer-events:none}.ambient-one{width:500px;height:500px;left:-270px;top:300px}.ambient-two{width:700px;height:700px;right:-500px;top:50px}.site-header{max-width:1140px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:28px 34px;gap:16px;font-size:13px}.brand{display:flex;align-items:center;gap:10px;font-weight:750}.brand-mark{width:30px;height:30px;display:grid;place-items:center;border:1px solid #96b5a4;border-radius:11px;background:#e6f0df;font-family:Georgia,serif;font-size:20px}.site-header nav{display:flex;gap:22px;color:#688477}main{max-width:1024px;margin:auto;padding:0 34px 24px}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:35px 10px 35px}.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:750;color:#809889;margin:0 0 9px}.intro h1{font-size:clamp(34px,4.8vw,52px);letter-spacing:2px;line-height:1.25;margin:0 0 18px;font-weight:850}.intro h1 span{color:#6f9a7c}.intro h1 i{font-size:27px;color:#c98c95;margin-left:15px;font-style:normal}.intro-copy{font-size:15px;color:#799084;margin:0}.mobile-break{display:none}.hero-pets{display:flex;align-items:center;gap:0;padding-right:20px}.hero-pet{width:105px;height:120px;border-radius:50% 50% 45% 45%;background:#e2ebd9;display:grid;place-items:center;box-shadow:0 10px 0 #bcd1bd38;transform:rotate(-8deg);padding:10px;border:5px solid #fafbf1}.hero-pet:nth-child(2){margin-left:-15px;background:#f5e4dc;transform:translateY(-12px) rotate(5deg)}.hero-pet:nth-child(3){margin-left:-15px;background:#e4e9ef;transform:rotate(12deg)}.hero-pet svg{width:100%;height:100%}.map-card,.play-card{border:1px solid #dce5d8;border-radius:28px;background:#fffdf5e8;box-shadow:0 12px 40px #648d7010;padding:30px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading h2{font-size:21px;margin:0;font-weight:750}.star-total{font-size:14px;color:#96723b;background:#f8f0d5;border-radius:50px;padding:7px 15px;font-weight:750;white-space:nowrap}.level-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:27px 0}.island{position:relative;padding:19px 12px 14px;border-radius:20px;display:flex;align-items:center;gap:12px;text-align:left;background:#f3f6ec;border-color:#e0e8d9;min-height:114px}.island:nth-child(3n+2){background:#fbf0eb}.island:nth-child(3n){background:#edf3f2}.island.locked{filter:saturate(.4);opacity:.55}.island-art{width:58px;height:58px;flex:0 0 58px;background:#fff9;border-radius:19px;display:grid;place-items:center}.island-art svg{width:53px;height:53px}.island-label{display:flex;flex-direction:column}.island-number{font-size:9px;letter-spacing:1.4px;color:#94a396}.island-title{font-size:14px;font-weight:750}.island-stars{font-size:16px;letter-spacing:2px;color:#bd954c}.island-record{font-size:10px;color:#8da08e}.map-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px dashed #dce6d5;padding-top:22px}.map-bottom p{font-size:12px;color:#819582;margin:0}.map-bottom button{white-space:nowrap}.play-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.text-button{padding:5px 0;border:0;background:none;font-size:12px;color:#829487}.text-button:hover{background:none!important}.level-name{text-align:center}.level-name span{font-size:9px;letter-spacing:2px;color:#91a18f}.level-name h2{font-size:21px;margin:0}.icon-button{font-size:12px;min-width:66px;padding:7px 10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0 12px;text-align:center}.stats div+div{border-left:1px solid #e8ecdf}.stats span{display:block;font-size:10px;color:#859783}.stats strong{font-size:24px;font-weight:750;line-height:1.5;font-variant-numeric:tabular-nums}.time-track{height:6px;border-radius:8px;background:#e7eedf;overflow:hidden;margin:0 auto 17px;width:94%}.time-track span{display:block;height:100%;width:100%;background:#91b69a;border-radius:8px;transition:width .2s linear}.time-track.urgent span{background:#d28a96}.board-wrap{width:100%;overflow:hidden;display:flex;justify-content:center}.board{position:relative;flex:none;background:radial-gradient(circle,#bccfbb52 1px,transparent 1px);background-size:16px 16px;border-radius:24px}.pet-grid{display:grid;gap:var(--gap,6px);grid-template-columns:repeat(var(--columns,6),var(--cell,50px));padding:var(--edge,34px);position:relative}.pet-tile{width:var(--cell,50px);height:var(--cell,50px);min-height:30px;min-width:30px;border:1px solid #d5e0ce;box-shadow:0 3px 0 #cdddc8;background:#fffdf6;border-radius:12px;padding:3px;display:grid;place-items:center;position:relative;transition:transform .15s,background .15s}.pet-tile:hover:not(:disabled){transform:translateY(-2px);background:#fff}.pet-tile svg{width:100%;height:100%;pointer-events:none}.pet-tile.empty{visibility:hidden;pointer-events:none;box-shadow:none}.pet-tile.selected{background:#f8e0e4;border:2px solid #cb7a91;transform:translateY(-3px);box-shadow:0 3px 0 #cc94a0}.pet-tile.hinted{background:#f4efcf;border:2px solid #ba9e54;animation:hint-pulse 1s ease-in-out infinite}.pet-tile.wrong{animation:shake .22s}.path-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.path-layer polyline{stroke:#d48c9f;stroke-width:5;fill:none;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #fff);opacity:.95}.game-message{font-size:12px;text-align:center;color:#8a9d8b;min-height:21px;margin:9px 0 18px}.toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:580px;margin:0 auto}.toolbar button{padding:9px 8px;font-size:13px}.toolbar b{display:inline-block;font-size:10px;padding:0 5px;background:#edf2e3;border-radius:6px;margin-left:2px}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:34px 10px 23px}.guide-number{color:#b5bfa5;font-size:11px;letter-spacing:2px}.guide h3{font-size:14px;margin:5px 0}.guide p{font-size:12px;color:#8a9b89;margin:0;line-height:1.85}footer{border-top:1px solid #dce5d7;text-align:center;color:#9aa894;padding:19px 0 0;font-size:10px}footer p{margin:0 0 7px;font-size:12px;color:#7f957e}footer span{display:block}footer a{display:inline-block;margin-top:8px;color:#879b82}dialog{width:min(420px,calc(100% - 32px));border:1px solid #d8e4d4;border-radius:28px;background:#fffdf4;padding:30px;box-shadow:0 25px 100px #314f4830;color:var(--ink)}dialog::backdrop{background:#355a4d55;backdrop-filter:blur(6px)}.dialog-content{text-align:center}.dialog-pet{width:92px;height:92px;margin:0 auto 17px;background:#edf3e3;border-radius:50%;padding:6px}.dialog-pet svg{width:100%;height:100%}.dialog-content h2{font-size:25px;margin:8px 0 12px}.dialog-content>p:not(.eyebrow){font-size:14px;color:#819780;white-space:pre-line}.dialog-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}.result-stars{font-size:34px;letter-spacing:9px;color:#d0a653;line-height:1.4}.noscript{text-align:center;background:#fbe3dc;padding:20px}[hidden]{display:none!important}@keyframes hint-pulse{50%{box-shadow:0 0 0 4px #d9c27640}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@media(max-width:740px){.site-header{padding:20px 22px}main{padding:0 20px 20px}.intro{padding:22px 3px 28px;gap:15px}.hero-pet{width:75px;height:88px;border-width:3px}.hero-pet:nth-child(3){display:none}.hero-pets{padding-right:0}.map-card,.play-card{padding:22px;border-radius:22px}.level-map{gap:12px}.island{padding:14px 7px;gap:5px;flex-direction:column;text-align:center}.island-art{width:54px;height:54px;flex-basis:54px}.island-title{font-size:13px}.island-number{font-size:8px}.island-record{font-size:9px}.map-bottom{flex-direction:column;gap:15px}.map-bottom p{text-align:center}.map-bottom button{width:100%}.guide{gap:22px;padding:25px 3px}.guide h3{font-size:13px}.guide p{font-size:11px}.section-heading h2{font-size:18px}.eyebrow{font-size:9px;letter-spacing:1.5px}.star-total{font-size:12px;padding:5px 10px}.intro-copy{font-size:13px}.pet-tile{border-radius:9px}.toolbar{gap:7px}.toolbar button{font-size:12px;padding:8px 4px}}
@media(max-width:420px){.site-header{padding:16px 14px;font-size:10px}.brand{gap:6px}.brand-mark{width:26px;height:26px;font-size:17px}.site-header nav{gap:12px}main{padding:0 12px 18px}.intro{padding:22px 3px;gap:4px}.intro h1{font-size:32px;letter-spacing:0;margin-bottom:10px}.intro h1 i{font-size:18px;margin-left:5px}.intro-copy{font-size:12px}.intro .eyebrow{font-size:7px;letter-spacing:1px}.hero-pet{width:57px;height:68px;padding:4px}.hero-pet:nth-child(2){margin-left:-12px}.mobile-break{display:block}.map-card{padding:18px 13px}.play-card{padding:17px 8px}.section-heading h2{font-size:16px}.section-heading{gap:7px}.star-total{font-size:11px;padding:4px 8px}.level-map{gap:8px;margin:20px 0}.island{min-height:135px;padding:12px 3px}.island-title{font-size:12px}.island-art{width:46px;height:46px;flex-basis:46px}.island-art svg{width:45px;height:45px}.island-record{font-size:8px}.map-bottom p{font-size:10px}.guide{gap:14px}.guide h3{font-size:11px}.guide p{font-size:10px}.play-heading{padding:0 4px}.level-name h2{font-size:18px}.text-button{font-size:10px}.icon-button{font-size:10px;min-width:53px;padding:6px}.stats{margin-top:18px;gap:4px}.stats strong{font-size:21px}.stats span{font-size:9px}.toolbar{gap:5px}.toolbar button{font-size:11px;min-height:43px}.toolbar b{font-size:9px;padding:0 3px}.game-message{font-size:10px;margin:9px 2px 14px}.pet-tile{padding:1px;border-radius:8px}.path-layer polyline{stroke-width:4}footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
