:root{--ink:#163b38;--green:#196754;--paper:#f6f5ef;--line:#d3ded6;--orange:#f3b85b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.55 system-ui,sans-serif}.games-header,.games-main,.games-footer{max-width:1060px;margin:auto;padding:24px}.games-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}a{color:var(--green)}.brand{font:bold 32px Georgia;text-decoration:none}.brand span{color:#c87931}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px}h1{font:clamp(40px,7vw,68px)/1.1 Georgia;margin:24px 0}h1 em{color:var(--green);font-weight:400}.intro{max-width:640px;color:#526963}.settings{display:flex;flex-wrap:wrap;gap:16px;background:#e7ede5;padding:20px;border-radius:18px;margin:30px 0}.settings label{display:grid;gap:5px;flex:1;font-size:14px;font-weight:650}select,button{font:inherit}select{min-width:160px;padding:11px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink)}button{cursor:pointer;color:var(--ink);background:white;border:1px solid var(--line);border-radius:10px;padding:12px 18px;min-height:48px}button:hover:not(:disabled){border-color:var(--green);background:#eff5ed}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #be6b19;outline-offset:3px}button:disabled{cursor:default;opacity:.55}.games{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.games button{display:grid;text-align:left;gap:4px;padding:20px}.games [aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.games [aria-pressed=true]:hover{background:#145944}.games small{font-size:14px}.mini{font-size:26px;font-weight:bold}.play{margin-top:22px;background:white;border:1px solid var(--line);padding:26px;border-radius:20px;box-shadow:0 12px 35px #17392c08}.play-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.play h2{font:32px Georgia;margin:4px 0}#score{font-weight:bold;white-space:nowrap;background:#e9eee7;padding:8px 15px;border-radius:50px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#134e40;color:white}.arena{height:250px;background:linear-gradient(#e8f1ec,#f7faf6);border:1px solid var(--line);border-radius:16px;position:relative;overflow:hidden}.falling{position:absolute;left:50%;transform:translateX(-50%);text-align:center;background:white;border:2px solid #9cbea6;border-radius:14px;padding:10px 22px;max-width:95%;min-width:130px}.picture{font-size:62px;line-height:1.2;display:block}.clue{font-size:19px;display:block}.choices,.letters,.answer{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}.choices button{flex:1 1 36%;font-size:22px}.memory{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.memory button{height:105px;font-size:23px;overflow-wrap:anywhere}.memory button.hidden-card{background:#e5eee7;font:bold 30px Georgia;color:#36705f}.memory .matched{background:#d8eddb;border:2px solid #629a70;opacity:1}.spell-clue{text-align:center;padding:16px;background:#edf3ec;border-radius:14px}.letters button,.answer button{min-width:48px;font-size:24px}.answer{min-height:75px;background:#f6f5ef;border:1px dashed #b7cbbb;border-radius:12px;padding:10px}.correct{color:#1b6c3d;font-weight:bold}.wrong{color:#9b3c20;font-weight:650}#feedback{min-height:32px}#next{margin-top:10px}.saved,.note,.games-main details,.games-footer{font-size:14px;color:#536961}.note{max-width:760px}.saved{font-weight:bold}.games-main details{margin:24px 0}.games-footer{border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:600px){.games-header,.games-main,.games-footer{padding:18px}.games{gap:7px}.games button{padding:11px 8px;font-size:14px}.games small{font-size:12px}.play{padding:17px}.memory{grid-template-columns:repeat(3,1fr)}.memory button{font-size:20px;height:95px}h1{font-size:42px}.choices button{font-size:20px}.settings{padding:14px}.play h2{font-size:28px}}
