@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#244e45;background:#f5f7ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,select:focus-visible{outline:3px solid #cf648e;outline-offset:3px}button:disabled{cursor:default}header{max-width:1340px;margin:auto;padding:12px 30px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{font:500 28px Fredoka,sans-serif}.brand>span{display:flex;flex-direction:column}.wordmark{white-space:nowrap;line-height:1.15;padding-top:.35em}.kitten-i{position:relative;display:inline-block}.logo-kitten{position:absolute;width:1.05em;height:.72em;left:50%;top:-.48em;transform:translateX(-50%);background:url('sprites.png') 0 0/4.2em 2.1em;mix-blend-mode:multiply}.brand small{font:700 9px 'DM Sans',sans-serif;letter-spacing:2px;margin-top:5px}.header-actions{display:flex;gap:8px}.header-actions button{border:1px solid #d6dfd4;background:transparent;border-radius:24px;padding:10px 15px;color:#3b6153;font-size:14px}main{max-width:1340px;padding:0 24px;margin:auto}.game-wrap{height:calc(100svh - 126px);min-height:560px;max-height:960px;display:flex;flex-direction:column;border:1px solid #c9dbcc;border-radius:23px;overflow:hidden;background:#fff;box-shadow:0 14px 42px #225f4210}.topline{flex:none;display:flex;justify-content:space-between;align-items:center;padding:13px 21px;background:#fffdf5;font-size:14px;font-weight:700;gap:10px}.topline>span:first-child{letter-spacing:1.2px;font-size:12px}.topline>span:last-child{color:#a14d64;white-space:nowrap}.field{position:relative;flex:1;min-height:0;background:#93b975;overflow:hidden}#game{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:safe center;justify-content:center;padding:12px;background:#123d3140;backdrop-filter:blur(3px);overflow:auto}.overlay[hidden]{display:none}.card{text-align:center;background:#fffdf5f7;border:2px solid #fff;border-radius:24px;box-shadow:0 12px 0 #224f3612,0 25px 60px #23472b24;padding:20px 28px;max-width:530px;width:100%;max-height:100%;overflow:auto;flex-shrink:0}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#688775}h1{font:500 37px/1.05 Fredoka,sans-serif;letter-spacing:-.5px;margin:8px 0 12px}p{font-size:15px;line-height:1.5;margin:8px 0 12px;color:#617064}#cat-preview{display:block;width:76px;height:76px;margin:0 auto;pointer-events:none}.mission-tips{display:flex;justify-content:center;flex-wrap:wrap;gap:5px 13px;margin:5px 0 12px;font-size:12px;color:#49674f}.choices{display:flex;gap:10px;margin:12px 0 16px;text-align:left}.choices label{flex:1;font-size:12px;font-weight:700;color:#6c7d6f}.choices select{display:block;width:100%;margin-top:5px;padding:9px 7px;border:1px solid #d8dfd0;background:#fff;border-radius:10px;font-size:14px;color:#304f42}.primary{background:#285e4c;border:0;border-bottom:4px solid #173e31;border-radius:14px;color:white;padding:13px 20px;font-weight:700;width:100%;font-size:17px}.primary:hover{background:#36745d}.primary span{float:right}.card>small{display:block;font-size:11px;line-height:1.5;margin-top:10px;color:#738274}.plain{border:0;background:none;padding:15px;color:#42624f}.big-icon{font-size:45px}.game-bottom{flex:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 18px}.game-bottom>div:first-child{max-width:290px}.game-bottom p{margin:5px 0 0;font-size:13px}.powers{display:flex;gap:7px}.power{position:relative;width:65px;min-height:66px;border:1px solid #d8dfc8;background:#fff8df;border-radius:12px;padding:8px 4px;color:#455f4a}.power span{display:block;font-size:24px}.power small{display:block;font-size:11px;margin-top:5px}.power .charge{position:absolute;right:3px;top:3px;border-radius:20px;min-width:17px;background:#285e4c;color:white;font-size:11px}.power:disabled{background:#eff1e9;opacity:.65}.power.active:disabled{opacity:1;background:#ffdf86;border-color:#d8b851}.toast{position:absolute;z-index:3;bottom:140px;left:50%;transform:translateX(-50%);padding:10px 16px;background:#fffdf1f5;border-radius:18px;font-size:14px;max-width:80%;text-align:center;pointer-events:none;opacity:0;transition:opacity .2s;box-shadow:0 4px 12px #1c392521}.toast.show{opacity:1}footer{display:flex;justify-content:space-between;font-size:11px;color:#7d8b7f;padding:12px 4px}#touch-controls{position:absolute;inset:0;pointer-events:none;z-index:2}#touch-controls[hidden]{display:none}.home-compass{position:absolute;top:16px;left:16px;padding:9px 13px;background:#fffdf1ed;border-radius:25px;font-size:13px;font-weight:700}.stick{position:absolute;bottom:22px;left:22px;width:110px;height:110px;border-radius:50%;background:#fffdf14d;border:3px solid #fffdf1af;box-shadow:0 3px 15px #17392225;pointer-events:auto;touch-action:none}.stick>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;background:#fff8dfed;border:2px solid #e5edc8;border-radius:50%;box-shadow:0 2px 6px #1a352b26}.stick small{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:2px;color:#fffdf1;pointer-events:none}.search-controls{position:absolute;bottom:24px;right:20px;text-align:right}.search-controls>span{display:block;background:#244d3acf;padding:5px 9px;color:#fffdf1;border-radius:20px;font-size:11px;margin-bottom:8px}.search-controls>div{display:flex;gap:8px;justify-content:flex-end}.search-controls button{pointer-events:auto;border:2px solid #fff9d8;border-bottom-width:4px;background:#fff3c2;color:#254a3d;border-radius:18px;min-width:92px;min-height:58px;font-size:16px;font-weight:700}.search-controls button:disabled{background:#e0e6d5;color:#5f725e;opacity:.8}.search-controls #search:not(:disabled){background:#ffe586}.urgent{animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{color:#dc365c;transform:scale(1.06)}}
@media(max-width:950px){.game-bottom{flex-direction:column;gap:7px;padding:9px 12px}.game-bottom>div:first-child{max-width:none;text-align:center}.game-bottom .eyebrow{display:none}.game-bottom p{margin:0;font-size:12px}.powers{width:100%;justify-content:center}.power{flex:1;max-width:85px;min-height:62px}.topline>span:first-child{max-width:175px;font-size:11px}.topline{font-size:13px}}
@media(max-width:600px){header{padding:10px 14px}.brand{font-size:24px}.brand small{font-size:8px}.header-actions button{font-size:12px;padding:9px}main{padding:0 8px}.game-wrap{height:calc(100svh - 103px);min-height:570px;border-radius:18px}.topline{padding:10px;font-size:11px}.topline>span:first-child{max-width:100px;font-size:9px}.power{padding:6px 2px}.power small{font-size:9px}.powers{gap:4px}.card{padding:16px 18px}h1{font-size:32px}.card p{font-size:14px}.choices{gap:6px}.choices select{font-size:12px}.mission-tips{font-size:11px}.stick{width:92px;height:92px;left:12px;bottom:16px}.search-controls{right:12px;bottom:16px}.search-controls button{min-width:76px;min-height:52px;font-size:14px}.search-controls>span{font-size:9px;max-width:190px}.toast{bottom:125px;font-size:12px;max-width:90%}.home-compass{font-size:11px;top:10px;left:10px}footer{justify-content:center;font-size:10px}footer>span:last-child{display:none}}
@media(min-width:600px) and (max-height:820px){.card{padding:12px 24px;max-width:540px}h1{font-size:28px;margin:5px 0}.card p{font-size:13px;margin:6px 0}.card #cat-preview{width:52px;height:52px}.choices{margin:8px 0}.choices select{padding:7px}.primary{padding:10px 16px;font-size:15px}.mission-tips{font-size:11px;margin:5px 0}.card>small{font-size:10px;margin-top:7px}.eyebrow{font-size:10px}.game-wrap{min-height:490px}}
@media(prefers-reduced-motion:reduce){.urgent{animation:none}}
