*{box-sizing:border-box}body{margin:0;background:#f5f7f1;color:#244333;font-family:-apple-system,"PingFang SC",sans-serif;padding:32px 18px;min-height:100vh;display:grid;place-items:center}.game{width:min(100%,430px);text-align:center}h1{font-size:27px;margin:0 0 10px}p{font-size:13px;color:#708171;line-height:1.8}.stats{display:flex;justify-content:space-between;margin:28px 0 20px;font-size:13px}.board{display:grid;gap:12px;margin:auto}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #418d67;outline-offset:3px}.tile{aspect-ratio:1;border:2px solid #dbe4d5;border-radius:14px;background:#dce5d7;box-shadow:0 4px 0 #c2d1bc;font-size:32px;color:#365c43}.tile.on{background:#f9eda1;border-color:#fff6c6;box-shadow:0 4px 0 #d1c784}.tile.matched{background:#cbe7d3;color:#28663e;border-color:#b6dbbd}.tile:disabled{cursor:default}.controls{margin-top:25px}.action{border:0;border-radius:9px;padding:12px 24px;background:#356b51;color:#fff;min-height:44px}#status{min-height:48px}
/* Shared toy-box presentation for embedded local games. */
html,body{min-height:0;height:auto}body{background:#fffdf6;color:#302b22;display:block;padding:32px 18px}.game{margin:auto}p{color:#8a7b65}.tile{border:2px solid #302b22;border-radius:5px;background:#efe3c7;box-shadow:3px 3px #302b22;color:#51452f}.tile.on{background:#f8d84a;border-color:#302b22;box-shadow:3px 3px #302b22}.tile.matched{background:#c5db9b;border-color:#302b22;color:#31462b}.action{background:#f8d84a;color:#302b22;border:2px solid #302b22;border-radius:0;box-shadow:3px 3px #302b22}
