:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;background:#f5f3e9;color:#283d49}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;color:inherit;border:0;border-radius:14px;padding:12px 16px;font-weight:800;background:#edf0e6}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e3a53a;outline-offset:4px}button:disabled{cursor:default}header{max-width:1180px;padding:25px 28px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{color:#177d6f;text-decoration:none;font-size:25px;font-weight:900;letter-spacing:1px}.brand small{display:block;font-size:8px;letter-spacing:1.7px;margin-top:5px}nav{display:flex;gap:22px;font-size:13px;font-weight:bold}nav a{color:#526a6c}main{max-width:1120px;margin:auto;padding:10px 28px 30px}.hero{display:flex;justify-content:space-between;align-items:center;margin:12px 0 30px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:900;color:#688177}h1{font-size:clamp(42px,5.8vw,66px);letter-spacing:-2px;line-height:1.05;margin:12px 0}h1 em{font-style:normal;color:#178071}.hero p:last-child{color:#73817d;font-size:16px}.hero-art{padding-right:70px;text-align:center;transform:rotate(5deg)}.hero-art div{font-size:42px;padding:24px;border-radius:36px;background:#d8d0ee;border:4px solid #6d6198;box-shadow:8px 8px 0 #e7e1cf;color:#61518e}.hero-art i{position:absolute;font-style:normal;color:#e0a130;font-size:50px;right:18px;top:-24px}.hero-art span{display:block;margin-top:16px;font-size:13px;font-weight:bold;color:#6d6198}.game-menu{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:26px}.game-menu button{text-align:left;padding:20px;border:2px solid transparent;background:#dfeee5;box-shadow:0 4px 0 #344e4312}.game-menu button:nth-child(2){background:#eee6fc}.game-menu button:nth-child(3){background:#fff0cc}.game-menu button:nth-child(4){background:#e0edf6}.game-menu button[aria-pressed=true]{border-color:#1d7c6a;box-shadow:0 4px 0 #1d7c6a}.game-menu span{display:block;font-size:25px;color:#3f6860;margin-bottom:22px}.game-menu small{display:block;font-size:8px;letter-spacing:1.4px;color:#71807c}.game-menu b{display:block;font-size:18px;margin-top:7px}.game-menu p{font-size:11px;font-weight:400;color:#6d7b77;margin-bottom:0}.layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px}.panel{background:#fff;border:1px solid #e3e7de;border-radius:24px;padding:25px}.play-top{display:flex;justify-content:space-between;gap:10px;align-items:center}h2{font-size:24px;margin:6px 0 12px}.stars{white-space:nowrap;background:#fff0c9;border-radius:25px;padding:10px 15px;font-weight:900}.instruction{font-size:16px;line-height:1.6;color:#61726f;min-height:48px}#stage{min-height:285px;background:#f6f8f1;border-radius:20px;padding:22px;display:flex;flex-direction:column;justify-content:center}.sequence{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:26px}.token{display:grid;place-items:center;min-width:50px;height:60px;font-size:35px;border-radius:13px;background:white;border:1px solid #e4eadd}.token.mystery{background:#f9e8b2;color:#866420;font-weight:900}.answers{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.answer{min-height:80px;font-size:32px;border:2px solid #dce6d6;background:white}.answer:hover:not(:disabled){background:#e5f0dd;border-color:#94b987}.answer.wrong{opacity:.45}.answer.correct{background:#d4ebc9;border-color:#75a864}.memory-grid{display:grid;gap:10px}.memory-card{aspect-ratio:1;padding:0;background:#d9d1ec;border:2px solid #bfb3dc;font-size:30px;color:#79649f;display:grid;place-items:center}.memory-card.open{background:white;border-color:#d6dfd0}.memory-card.matched{background:#d8edcf;border-color:#85b974}.trail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.trail-tile{aspect-ratio:1;padding:0;font-size:24px;background:#e1edf4;border:2px solid #c5dce8}.trail-tile.found{background:#d3e9c9;border-color:#83b176}.trail-counter{text-align:center;color:#528373;font-weight:800;margin-bottom:16px}.feedback{min-height:54px;line-height:1.7;font-size:14px;color:#467668;margin:18px 0 10px}.actions{display:flex;flex-wrap:wrap;gap:8px}.actions button{font-size:12px}.primary{background:#187d6c;color:white;box-shadow:0 3px 0 #105e51}label{display:block;font-weight:800;font-size:13px;margin:20px 0 9px}select{width:100%;padding:12px;border:1px solid #d6dfd4;background:#fafcf5;border-radius:12px;color:#344f50}.muted{font-size:13px;line-height:1.7;color:#758580}.progress{display:flex;justify-content:space-between;gap:10px;margin:24px 0;padding:20px 0;border-top:1px solid #e4e9de;border-bottom:1px solid #e4e9de}.progress strong{font-size:27px;color:#237b69;display:block}.progress span{font-size:10px;color:#7c8982;display:block;margin-top:7px}.tip{padding:18px;border-radius:18px;background:#f5f2e5}.tip>span{font-size:30px;color:#c7a448}.tip h3{font-size:15px;margin:8px 0}.tip p,.fine{font-size:12px;line-height:1.7;color:#7d887e}.fine{font-size:10px}.more{display:flex;align-items:center;gap:14px;background:#e2e9f1;padding:20px;margin-top:16px;border-radius:18px;text-decoration:none;color:#405e73}.more>span{font-size:38px}.more p{font-size:11px}footer{text-align:center;margin-top:28px;font-size:11px;color:#89978c}[hidden]{display:none!important}@media(max-width:760px){header{padding:18px;align-items:flex-start}.brand{font-size:21px}.brand small{font-size:6px}nav{font-size:10px;gap:10px;flex-wrap:wrap;justify-content:flex-end}main{padding:0 14px 24px}.hero-art{padding-right:8px;transform:scale(.8) rotate(5deg)}.hero-art div{font-size:30px;padding:18px}.hero-art span{font-size:10px}.hero p:last-child{font-size:13px}.game-menu{grid-template-columns:repeat(2,1fr)}.game-menu button{padding:15px}.game-menu span{margin-bottom:14px}.layout{grid-template-columns:1fr}.panel{padding:18px}#stage{padding:14px}.token{min-width:36px;height:46px;font-size:26px}.sequence{gap:5px}.answer{font-size:25px;min-height:70px}.memory-card{font-size:25px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.memory-card{font-size:clamp(12px,2vw,24px);overflow-wrap:anywhere;padding:5px}.answer{overflow-wrap:anywhere}.answer[aria-label]{font-size:clamp(18px,3vw,30px)}
