:root{--cream:#fff7dc;--brown:#7b4c1d;--green:#92bf3f;--yellow:#ffd969}*{box-sizing:border-box}html,body{min-height:100%;margin:0;overflow:hidden}body{color:var(--brown);background:#dff2ef;font-family:Arial Rounded MT Bold,Microsoft YaHei,Arial,sans-serif}button{font:inherit;color:inherit}.viewport{background:linear-gradient(#d7f5ff,#e6f6d6);place-items:center;width:100vw;height:100vh;display:grid;overflow:hidden}.game-stage{aspect-ratio:16/9;isolation:isolate;background-position:50%;background-size:cover;width:min(100vw,177.78vh);height:min(100vh,56.25vw);position:relative;overflow:hidden}.game-stage:after{content:"";pointer-events:none;z-index:30;position:absolute;inset:0;box-shadow:inset 0 0 3vmin #4f45211f}.loading-screen{background:#e9f8d5;place-items:center;height:100vh;font-size:clamp(20px,3vw,42px);display:grid}.game-button{cursor:pointer;background:0 0;border:0;transition:transform .18s,filter .18s;position:relative}.game-button:hover{filter:brightness(1.04);transform:scale(1.045)}.game-button:active{transform:scale(.96)}.game-button img{width:100%;display:block}.game-button span{text-shadow:0 2px #ffffffb3;place-items:center;font-size:clamp(14px,1.65vw,30px);font-weight:900;display:grid;position:absolute;inset:0}.home-menu{gap:clamp(3px,.7vh,10px);width:clamp(190px,25%,400px);display:grid;position:absolute;top:36%;left:50%;translate:-50%}.home-menu .game-button span{font-size:25px;line-height:1;transform:translateY(-2px)}.top-nav{z-index:20;gap:1vmin;display:flex;position:absolute;top:3%;left:2%}.top-nav button{cursor:pointer;background:0 0;border:0;padding:0;transition:all .18s}.top-nav button:hover{transform:scale(1.08)}.top-nav img{width:clamp(42px,5vw,84px);display:block}.map-favorites-button{z-index:20;cursor:pointer;background:0 0;border:0;padding:0;transition:transform .18s,filter .18s;position:absolute;top:3%;right:2%}.map-favorites-button img{width:clamp(42px,5vw,84px);height:auto;display:block}:is(.map-favorites-button:hover,.map-favorites-button:focus-visible){filter:brightness(1.06);outline:none;transform:scale(1.08)}.scene-title{text-align:center;color:#8b5725;text-shadow:0 2px #fff;position:absolute;top:3%;left:50%;translate:-50%}.scene-title span{letter-spacing:.15em;font-size:clamp(12px,1vw,18px);display:block}.scene-title strong{font-size:clamp(20px,2.2vw,38px)}.island-hotspot{cursor:pointer;background:0 0;border:0;border-radius:50%;position:absolute}.island-hotspot span{white-space:nowrap;opacity:0;background:#fff6d5cc;border-radius:99px;padding:.45em .9em;font-size:clamp(9px,1vw,18px);transition:all .2s;position:absolute;bottom:0;left:50%;translate:-50%;box-shadow:0 4px 12px #6d633044}:is(.island-hotspot:hover span,.island-hotspot:focus-visible span){opacity:1}.island-hotspot.locked{cursor:not-allowed}.level-node{cursor:pointer;text-align:center;background:0 0;border:0;position:absolute;translate:-50% -50%}.level-node b{aspect-ratio:1;background:linear-gradient(#fff8ce,#efb841);border:.4vmin solid #fff;border-radius:50%;place-items:center;width:clamp(38px,5vw,80px);font-size:clamp(16px,2vw,32px);display:grid;box-shadow:0 .5vmin 1vmin #6c5e4077}.level-node span{white-space:nowrap;background:#fff7dddf;border-radius:20px;padding:.25em .6em;font-size:clamp(9px,.9vw,16px);display:block}.level-node.locked{filter:grayscale();cursor:not-allowed}.level-node.done b{color:#f4a700}.ui-level-hotspot{aspect-ratio:112/98;width:8.5%;transition:filter .18s,transform .18s}.ui-level-hotspot>.level-button-art{object-fit:contain;width:100%;height:100%;display:block}.ui-level-hotspot b{aspect-ratio:1;width:43%;box-shadow:none;color:#fff;text-shadow:0 .15vmin .25vmin #32618c88;background:0 0;border:0;border-radius:50%;place-items:center;font-size:clamp(18px,2.2vw,38px);line-height:1;display:grid;position:absolute;top:39%;left:50%;translate:-50% -50%}.ui-level-hotspot.locked b{color:#666;text-shadow:0 .1vmin #fff;background:0 0}.ui-level-hotspot>.level-title{display:none}.ui-level-hotspot>.level-stars{z-index:3;pointer-events:none;background:0 0;border-radius:0;justify-content:center;align-items:flex-end;gap:1%;width:82%;padding:0;display:flex;position:absolute;top:-34%;left:50%;translate:-50%}.ui-level-hotspot>.level-stars img{object-fit:contain;width:31%;height:auto;display:block}.ui-level-hotspot>.level-stars img:nth-child(2){transform:translateY(-18%)}:is(.ui-level-hotspot:not(.locked):hover,.ui-level-hotspot:not(.locked):focus-visible){filter:drop-shadow(0 0 1.2vmin #fff7a1);transform:scale(1.06)}.animal-level-title{aspect-ratio:340/128;text-align:center;color:#8b451d;z-index:5;flex-direction:column;justify-content:center;align-items:center;width:20%;display:flex;position:absolute;top:3.7%;left:5.4%}.animal-level-title img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.animal-level-title strong,.animal-level-title span{z-index:1;white-space:nowrap;line-height:1.15;position:relative}.animal-level-title strong{font-size:clamp(18px,2vw,36px)}.animal-level-title span{font-size:clamp(10px,.9vw,16px)}.mode-grid{z-index:2;grid-template-columns:repeat(3,1fr);gap:5%;display:grid;position:absolute;inset:30% 25.5% 16%}.mode-scene .scene-title{z-index:2;color:#fff3d6;text-shadow:0 2px #747474;top:29%}.mode-tutorial-overlay{object-fit:cover;pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0}.mode-grid button{cursor:pointer;background:0 0;border:0;transition:all .2s;position:relative}.mode-grid button:hover{transform:translateY(-2%)scale(1.04)}.mode-card-art{width:100%;position:relative}.mode-grid img{filter:drop-shadow(0 .8vmin 1vmin #5f4c3755);width:100%;display:block}.mode-grid span,.mode-grid small{display:none}.mode-grid .mode-match-final-character{z-index:2;color:#75451f;background:#fffaf0;border-radius:35%;place-items:center;width:13%;height:13%;font-size:clamp(14px,1.7vw,31px);font-weight:900;line-height:1;display:grid;position:absolute;bottom:6.5%;right:21.5%}.progress-pill,.movement-tip{z-index:10;background:#fff8dced;border:3px solid #efc45e;border-radius:999px;position:absolute;box-shadow:0 .4vmin 1vmin #65552544}.progress-pill{gap:1em;padding:.6em 1.2em;font-size:clamp(10px,1.05vw,19px);display:flex;top:3%;right:3%}.movement-tip{padding:.45em 1em;font-size:clamp(9px,.9vw,16px);bottom:2%;left:50%;translate:-50%}.word-hotspot{--word-scale:1;--word-tilt:0deg;translate:-50% -50%;transform:rotate(var(--word-tilt)) scale(var(--word-scale));aspect-ratio:160/82;cursor:default;background:0 0;border:0;width:10%;height:auto;position:absolute}.word-block-image{object-fit:contain;width:100%;height:100%;filter:brightness(var(--word-block-brightness,1)) saturate(1.08);pointer-events:none;display:block}.forest-scene{--word-block-brightness:1.16}.forest-camera-world{will-change:transform;background-position:50%;background-size:cover;width:140%;height:140%;transition:transform .11s linear;position:absolute;top:0;left:0}.word-block-label{color:#80520d;pointer-events:none;place-items:center;font-size:clamp(14px,1.7vw,30px);font-weight:700;line-height:1;display:grid;position:absolute;inset:0}.word-duck{--word-scale:.82;--word-tilt:1deg}.word-fish{--word-scale:.88;--word-tilt:2deg}.word-bird{--word-scale:.9;--word-tilt:1deg}.word-dog{--word-scale:.98;--word-tilt:2deg}.word-pig{--word-scale:1.06;--word-tilt:1deg}.word-cat{--word-scale:1.08;--word-tilt:2deg}.word-action-hint{z-index:3;white-space:nowrap;color:#66852c;opacity:0;background:#eff8bd;border-radius:20px;padding:.3em .6em;font-size:clamp(8px,.75vw,14px);position:absolute;top:100%;left:50%;translate:-50%}.word-hotspot.near{cursor:pointer;filter:drop-shadow(0 0 1.2vmin #fff48c);animation:1s infinite softPulse}.word-hotspot.near .word-action-hint,.word-hotspot.learned .word-action-hint{opacity:1}.word-hotspot.learned .word-action-hint{color:#e7a400;background:0 0;font-size:clamp(15px,2vw,32px);top:auto;bottom:100%;translate:-50%}.word-hotspot.learned .word-action-hint img{object-fit:contain;width:clamp(24px,2.4vw,44px);height:auto;display:block}.starry{aspect-ratio:1;width:8%;translate:-50% calc(-1 * var(--starry-foot-y));z-index:7;position:absolute;overflow:visible}.starry:after{content:"";left:50%;top:var(--starry-foot-y);z-index:0;filter:blur(.5px);pointer-events:none;background:radial-gradient(#464b236b 0%,#464b2333 48%,#0000 76%);border-radius:50%;width:34%;height:8%;position:absolute;translate:-50% -42%}.starry-frame{z-index:1;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}.starry-frame>img{object-fit:fill;width:300%;max-width:none;height:400%;position:absolute}.finish-button{color:#80520d;cursor:pointer;z-index:12;background:0 0;border:0;width:9%;padding:0;font-size:clamp(9px,.735vw,14px);font-weight:700;transition:transform .18s,filter .18s;position:absolute;bottom:8%;left:50%;translate:-50%}.finish-button img{width:100%;height:auto;display:block}.finish-button span{white-space:nowrap;background:0 0;place-items:center;padding:0 8%;display:grid;position:absolute;inset:0}:is(.finish-button:hover,.finish-button:focus-visible){filter:brightness(1.05)drop-shadow(0 .5vmin .7vmin #6b812f66);transform:scale(1.04)}.finish-button:active{transform:scale(.97)}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#30452c80;place-items:center;display:grid;position:fixed;inset:0}.word-popup{width:max-content;max-width:88vw;position:relative}.word-popup>img{object-fit:contain;width:auto;max-width:88vw;height:auto;max-height:88vh;display:block}.popup-confirm{aspect-ratio:426/179;cursor:pointer;background:0 0;border:0;width:19.5%;padding:0;position:absolute;top:calc(80% + 15px);left:40.75%}.popup-confirm img,.popup-hotspot img,.popup-close img{object-fit:contain;width:100%;height:100%;display:block}.popup-confirm span{color:#80520d;white-space:nowrap;place-items:center;font-size:clamp(14px,1.78vw,31px);font-weight:800;line-height:1;display:grid;position:absolute;inset:0}.popup-hotspot,.popup-close,.popup-confirm{transition:transform .16s,filter .16s,box-shadow .16s}.popup-hotspot{cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0;position:absolute}:is(.popup-hotspot:hover,.popup-hotspot:focus-visible,.popup-close:hover,.popup-close:focus-visible,.popup-confirm:hover,.popup-confirm:focus-visible){filter:brightness(1.08);outline:none;transform:scale(1.05);box-shadow:0 0 1.2vmin #ffd25ab3}.popup-hotspot:active,.popup-close:active,.popup-confirm:active{transform:scale(.96)}.popup-speaker-icon{aspect-ratio:78/76;width:5.625%;top:calc(15.65% - 2px);left:calc(24.95% + 19px)}.popup-favorite{aspect-ratio:45/51;width:3.75%;top:calc(15% + 13px);left:calc(41.5% + 37px)}:is(.popup-favorite:hover,.popup-favorite:focus-visible),:is(.popup-confirm:hover,.popup-confirm:focus-visible){box-shadow:none}.popup-play{aspect-ratio:160/82;width:10%;top:70%;left:47%}.popup-record{aspect-ratio:160/82;width:10%;top:70%;left:64%}.popup-record.active{animation:1s ease-in-out infinite recordPulse;box-shadow:0 0 1.4vmin .4vmin #f69e48bf}.popup-close{aspect-ratio:1;cursor:pointer;background:0 0;border:0;border-radius:50%;width:3.5%;padding:0;position:absolute;top:calc(3.4% + 9px);right:calc(2.2% + 7px)}.simple-panel{text-align:center;background:#fff8d9;border:8px solid #efc66c;border-radius:36px;width:min(580px,88vw);min-height:300px;padding:45px;font-size:18px;position:relative;box-shadow:0 20px 60px #33452166}.favorites-panel{color:#80520d;text-align:center;background:#fffaf0;border:8px solid #efc66c;border-radius:36px;width:min(680px,86vw);min-height:330px;padding:44px 54px 50px;position:relative;box-shadow:0 20px 60px #33452166}.favorites-panel h2{margin:0 0 32px;font-size:clamp(24px,2.4vw,38px)}.favorites-panel>p{margin:80px auto 0;font-size:clamp(15px,1.25vw,20px)}.favorites-close{cursor:pointer;background:0 0;border:0;width:36px;height:36px;padding:0;position:absolute;top:20px;right:20px}.favorites-close img{object-fit:contain;width:100%;height:100%;display:block}.favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;display:grid}.favorites-grid button{cursor:pointer;background:0 0;border:0;padding:0;transition:transform .18s,filter .18s;position:relative}:is(.favorites-grid button:hover,.favorites-grid button:focus-visible){filter:brightness(1.05);outline:none;transform:translateY(-3px)scale(1.04)}.favorites-grid img{width:100%;height:auto;display:block}.favorites-grid span{color:#80520d;place-items:center;font-size:clamp(18px,2vw,30px);font-weight:800;display:grid;position:absolute;inset:0}.simple-panel label{margin:20px;display:block}.simple-panel .switch-setting{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:24px;width:260px;min-height:44px;margin:12px auto;padding:0 4px 0 12px;display:flex}.switch-setting>input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.squish-switch{background:#d8ccb6;border-radius:999px;flex:none;width:62px;height:32px;padding:4px;transition:background-color .28s,transform .18s;position:relative;box-shadow:inset 0 2px 5px #7154332b}.squish-switch>span{transform-origin:50%;background:#fffdf1;border-radius:50%;width:24px;height:24px;transition:transform .32s cubic-bezier(.22,1.35,.35,1),width .13s;display:block;box-shadow:0 2px 5px #7045134d}.switch-setting:hover .squish-switch>span{transform:scale(1.06)}.switch-setting:active .squish-switch>span{border-radius:14px;width:31px}.switch-setting>input:checked+.squish-switch{background:#f3b83f}.switch-setting>input:checked+.squish-switch>span{transform:translate(30px)}.switch-setting:hover>input:checked+.squish-switch>span{transform:translate(30px)scale(1.06)}.switch-setting:active>input:checked+.squish-switch>span{transform:translate(23px)}.switch-setting>input:focus-visible+.squish-switch{outline-offset:3px;outline:3px solid #80cfff}.simple-panel .panel-title{font-size:30px}.game-info-copy p{margin:16px 0;line-height:1.7}.simple-panel .difficulty-setting{justify-content:center;align-items:center;gap:14px;display:flex}.glide-select{z-index:20;width:132px;position:relative}.glide-select-trigger{color:#7b4c1d;width:100%;height:48px;font:inherit;cursor:pointer;background:linear-gradient(#fffef7,#fff7dc);border:2px solid #efc66c;border-radius:16px;justify-content:space-between;align-items:center;padding:0 14px 0 18px;transition:transform .18s,box-shadow .18s;display:flex;box-shadow:0 4px #dfa748,0 8px 16px #9b67262b}.glide-select-trigger:hover{transform:translateY(-2px);box-shadow:0 6px #dfa748,0 11px 20px #9b672638}.glide-select-chevron{font-size:22px;line-height:1;transition:transform .22s cubic-bezier(.2,.8,.2,1)}.glide-select.is-open .glide-select-chevron{transform:rotate(180deg)translateY(-2px)}.glide-select-menu{opacity:0;visibility:hidden;transform-origin:top;background:#fffdf1;border:2px solid #efc66c;border-radius:16px;width:100%;padding:6px;transition:opacity .16s,transform .22s cubic-bezier(.2,.9,.25,1.15),visibility .16s;position:absolute;top:calc(100% + 10px);left:0;overflow:hidden;transform:translateY(-8px)scale(.94);box-shadow:0 12px 28px #754a1c38}.glide-select.is-open .glide-select-menu{opacity:1;visibility:visible;transform:translateY(0)scale(1)}.glide-select-menu button{z-index:1;color:#7b4c1d;width:100%;height:42px;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0 12px;display:flex;position:relative}.glide-select-highlight{background:#ffe7a7;border-radius:11px;height:42px;transition:translate .22s cubic-bezier(.2,.8,.2,1);position:absolute;top:6px;left:6px;right:6px}.glide-select-check{color:#c98014;font-weight:900}.volume-setting{justify-content:center;align-items:center;gap:14px;margin:20px;display:flex}.volume-controls{align-items:center;gap:10px;display:flex}.volume-controls input[type=range]{--volume-level:50%;-webkit-appearance:none;appearance:none;cursor:pointer;background:0 0;width:clamp(150px,14vw,220px);height:30px;margin:0}.volume-controls input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, #f4b93f 0 var(--volume-level), #fff7da var(--volume-level) 100%);border:2px solid #efc66c;border-radius:999px;height:10px}.volume-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fffdf1;border:3px solid #efb94f;border-radius:50%;width:26px;height:26px;margin-top:-10px}.volume-controls input[type=range]::-moz-range-track{background:#fff7da;border:2px solid #efc66c;border-radius:999px;height:7px}.volume-controls input[type=range]::-moz-range-progress{background:#f4b93f;border-radius:999px;height:7px}.volume-controls input[type=range]::-moz-range-thumb{background:#fffdf1;border:3px solid #efb94f;border-radius:50%;width:22px;height:22px}.volume-controls input[type=range]:focus-visible{outline-offset:3px;border-radius:999px;outline:3px solid #80cfff}.volume-controls output{min-width:52px;font-weight:700}.save-copy-button{width:140px;margin:24px auto 0;display:block}.save-copy-button span{color:#8b551d;font-size:18px;line-height:1}.save-copy-button:hover{filter:brightness(1.06);transform:translateY(-3px)scale(1.045)}.save-copy-button:active{transform:translateY(1px)scale(.96)}.continue-adventure-button{width:105px;margin:0;position:absolute;bottom:16px;left:50%;translate:-50%}.continue-adventure-button span{color:#8b551d;font-size:12px;line-height:1}.panel-x{background:0 0;border:0;font-size:30px;position:absolute;top:15px;right:20px}.tutorial-layer{z-index:80;background:#2436289c;position:absolute;inset:0}.tutorial-card{align-items:flex-end;width:62%;height:35%;display:flex;position:absolute;bottom:3%;left:3%}.tutorial-card.right{left:auto;right:3%}.tutorial-card.center{left:19%}.tutorial-phoebe-area{z-index:2;pointer-events:none;width:24%;height:100%;position:absolute;bottom:0;left:auto;right:100%;overflow:hidden}.tutorial-phoebe{object-fit:contain;width:auto;max-width:none;height:165%;position:absolute;bottom:-42%;left:-92%}.tutorial-copy{background:#fff9e9;border:.45vmin solid #efc76b;border-radius:2vmin;flex:1;margin-left:28%;padding:4% 5% 3%;position:relative;box-shadow:0 1vmin 3vmin #1f2b2444}.tutorial-copy p{white-space:nowrap;margin:0 0 4%;font-size:clamp(12px,1.25vw,23px);line-height:1.65}.tutorial-actions{z-index:3;align-items:center;gap:4%;font-size:clamp(9px,.8vw,15px);display:flex;position:relative}.tutorial-copy button{color:#fff;cursor:pointer;background:#a6cf48;border:0;border-radius:99px;padding:.55em 1em;transition:transform .18s,filter .18s}.tutorial-copy button:hover{filter:brightness(1.07);transform:translateY(-2px)scale(1.06)}.tutorial-copy button:active{transform:translateY(1px)scale(.95)}.tutorial-copy button.tutorial-skip{background:#d3b673;margin-left:auto}.tutorial-visual{z-index:83;object-fit:contain;position:absolute}.tutorial-visual.pointer{width:6.5%;animation:1s infinite point;top:30%;left:24%}.game-shell,.game-shell *{cursor:none!important}.custom-hand-cursor{z-index:9999;pointer-events:none;opacity:0;transform-origin:0 0;width:48px;height:auto;transition:opacity .12s;position:fixed;top:-7px;left:-7px}.custom-hand-cursor[data-visible=true]{opacity:1}@media (pointer:coarse){.game-shell,.game-shell *{cursor:auto!important}.custom-hand-cursor{display:none}}.tutorial-visual.wasd{width:12.5%;bottom:3%;right:7%}.game-panel{background:#fff8dfdd;border:.5vmin solid #e7bd61;border-radius:3vmin;position:absolute;box-shadow:0 1vmin 2vmin #4c462c55}.spell-panel{text-align:center;pointer-events:none;position:absolute;inset:0}.spell-progress{z-index:10}.spell-prompt{aspect-ratio:1942/809;pointer-events:auto;background:url(/assets/ui/ui_spell_word_panel.webp?v=20261024b) 50%/contain no-repeat;place-content:center;width:67.6%;height:auto;padding:5% 10% 4%;display:grid;position:absolute;top:0;left:16.2%}.spell-panel h2{margin:0 0 .15em;font-size:clamp(31.2px,5.2vw,91px)}.spell-panel .example{margin:0;font-size:clamp(15.6px,1.56vw,28.6px)}.answer-slots,.letter-bank{pointer-events:auto;justify-content:center;gap:15px;margin:0;display:flex;position:absolute;left:50%;translate:-50%}.answer-slots{top:calc(40% + 95px)}.letter-bank{min-width:28%;min-height:12%;top:calc(40% + 115px + clamp(78px,9vw,162px))}.answer-slots button,.letter-bank button{aspect-ratio:1;width:clamp(78px,9vw,162px);box-shadow:none;background-color:#0000;background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;border-radius:0;font-size:clamp(22px,3vw,54px);font-weight:900}.answer-slots button{cursor:default;background-image:url(/assets/ui/ui_spell_slot.webp?v=20261024b)}.answer-slots button:not(:empty){cursor:pointer}.letter-bank button{cursor:pointer;background-image:url(/assets/ui/ui_spell_letter_tile.webp?v=20261024b)}.letter-bank button:active,.answer-slots button:active{transform:scale(.94)}.letter-bank button:disabled{opacity:.35;cursor:default}.gentle-message{color:#668f30;margin:0;font-size:clamp(11px,1.1vw,20px);position:absolute;top:calc(40% + 123px + clamp(78px,9vw,162px) + clamp(78px,9vw,162px));left:50%;translate:-50%}.spell-hint-button{z-index:20;cursor:pointer;background:0 0;border:0;padding:0;transition:transform .18s,filter .18s;position:absolute;bottom:3%;left:2%}.spell-hint-button img{width:clamp(42px,5vw,84px);height:auto;display:block}:is(.spell-hint-button:hover,.spell-hint-button:focus-visible){filter:brightness(1.06);transform:scale(1.08)}.spell-hint-button:active{transform:scale(.94)}.hint-flash{border-radius:.25em;animation:1.8s ease-in-out spell-hint-flash;display:inline-block}@keyframes spell-hint-flash{0%,to{color:inherit;background:0 0;transform:scale(1)}18%,54%{color:#8a510b;background:#ffe36f;transform:scale(1.16)}36%,72%{color:inherit;background:0 0;transform:scale(1)}}.tutorial-layer:has(.target-spell-slot-2) .tutorial-visual.pointer{top:43%;left:49%}.tutorial-layer:has(.target-match-word) .tutorial-visual.pointer{top:36%;left:31.5%}.match-panel{box-shadow:none;background:0 0;border:0;border-radius:0;padding:2% 6%;inset:10% 15% 7%}.match-panel header{justify-content:space-between;align-items:center;display:flex}.match-panel h2{margin:0;font-size:clamp(20px,2vw,36px)}.match-panel p{text-align:center;font-size:clamp(10px,1vw,18px)}.match-columns{grid-template-columns:1fr 1fr;align-items:center;gap:16%;height:100%;display:grid;position:relative;transform:translateY(-10px)}.match-columns>div{justify-items:center;gap:.6vh;display:grid}.match-columns button{aspect-ratio:365/151;width:clamp(252px,21.6vw,450px);max-width:100%;height:auto;box-shadow:none;cursor:pointer;z-index:2;background:url(/assets/ui/ui_match_card.webp?v=20261024b) 50%/100% 100% no-repeat;border:0;border-radius:0;font-size:clamp(15px,1.5vw,28px);transition:transform .2s,filter .2s,opacity .2s;position:relative}.match-columns>div:last-child button{justify-content:center;align-items:center;gap:10%;display:flex}.match-columns b{font-size:clamp(22px,2.4vw,46px)}.match-columns span{font-size:clamp(9px,.8vw,15px)}.match-columns button.selected{filter:brightness(1.08)drop-shadow(0 0 10px #ffd85f);transform:scale(1.04)}.match-columns button.matched{color:#698932;opacity:.82;filter:saturate(.85)drop-shadow(0 0 8px #fff1a8)}.match-columns button.wrong{animation:.35s shake}.match-columns button.hinted{animation:1.2s ease-in-out match-hint-pulse}@keyframes match-hint-pulse{0%,to{filter:none;transform:scale(1)}35%,70%{filter:brightness(1.12)drop-shadow(0 0 16px #ffe067);transform:scale(1.06)}}.match-hint-button{z-index:20;cursor:pointer;background:0 0;border:0;padding:0;transition:transform .18s,filter .18s;position:absolute;bottom:3%;left:2%}.match-hint-button img{width:clamp(42px,5vw,84px);height:auto;display:block}:is(.match-hint-button:hover,.match-hint-button:focus-visible){filter:brightness(1.06);transform:scale(1.08)}.match-hint-button:active{transform:scale(.94)}.match-lines{pointer-events:none;z-index:3;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.match-line-glow,.match-line-core{fill:none;stroke-linecap:round}.match-line-glow{stroke:#ffcf45;stroke-width:26px;opacity:.58;filter:url(#match-glow)}.match-line-core{stroke:#fff7bf;stroke-width:9px;stroke-dasharray:34 20;animation:1.1s linear infinite match-line-flow}@keyframes match-line-flow{to{stroke-dashoffset:-54px}}.reward-scene:before{content:"";z-index:0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#324c2a40;position:absolute;inset:0}.reward-panel-shell{z-index:1;aspect-ratio:986/728;height:88%;position:absolute;top:50%;left:50%;translate:-50% -50%}.reward-panel-art{object-fit:contain;width:100%;height:100%;display:block}.reward-badge-art{z-index:2;object-fit:contain;width:auto;height:52.64%;animation:.8s rewardPop;position:absolute;top:calc(53.3% + 15px);left:50%;translate:-50% -50%}.reward-badge-forest{height:63.168%}.reward-level-message{z-index:3;color:#80520d;letter-spacing:.08em;text-align:center;margin:0;font-size:clamp(9.99px,2.1vw - 8.001px,29.99px);font-weight:800;position:absolute;top:calc(27% - 21px);left:50%;translate:-50% -50%}.reward-actions{z-index:3;justify-content:center;align-items:center;gap:5%;width:30%;display:flex;position:absolute;bottom:calc(2.5% + 23px);left:50%;translate:-50%}.reward-actions button{cursor:pointer;background:0 0;border:0;width:47.5%;padding:0;transition:transform .18s,filter .18s}:is(.reward-actions button:hover,.reward-actions button:focus-visible){filter:brightness(1.06)drop-shadow(0 .5vmin .7vmin #87621f55);transform:scale(1.05)}.reward-actions button:active{transform:scale(.97)}.reward-actions img{width:100%;height:auto;display:block}@keyframes softPulse{50%{filter:brightness(1.15)drop-shadow(0 0 1.5vmin #fff48c);transform:rotate(var(--word-tilt)) scale(calc(var(--word-scale) * 1.04))}}@keyframes recordPulse{50%{filter:brightness(1.12);box-shadow:0 0 1.8vmin .65vmin #f69e48d9}}@keyframes point{50%{transform:translate(1vmin,1vmin)}}@keyframes shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}@keyframes rewardPop{0%{transform:scale(.2)}70%{transform:scale(1.15)}}@media (max-aspect-ratio:4/5){.home-menu{width:34%}.mode-grid{inset-left:10%;inset-right:10%}.tutorial-card{width:80%}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
