*{box-sizing:border-box}body{margin:0;background:#fff7f2;color:#493d42;font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif}main{max-width:920px;margin:auto;padding:28px 24px}header{display:flex;justify-content:space-between;align-items:center}.brand{font-size:12px;letter-spacing:2px;color:#987879;font-weight:800}button{font:inherit;cursor:pointer;border:1px solid #e6d4cc;border-radius:14px;background:#fff;color:inherit;padding:10px 17px}button:focus-visible{outline:3px solid #4f766e;outline-offset:3px}.intro{text-align:center;margin:28px 0 24px}.badge{font-size:10px;font-weight:800;letter-spacing:2px;color:#a45c62}h1{font-size:clamp(30px,5vw,46px);letter-spacing:-1.5px;margin:10px 0}.intro p{color:#8e7576;margin:0}.game{background:#fffdf8;border:1px solid #eeded3;padding:18px;border-radius:28px;box-shadow:0 18px 55px #a4756b12}.gamehead{display:flex;justify-content:space-between;font-size:16px}.gamehead span{color:#a77e75}#hint{font-size:13px;color:#8a7871;min-height:20px;margin:8px 0 12px}canvas{display:block;width:100%;height:auto;border-radius:18px;background:#f2ecdb}.controls{display:flex;gap:14px;align-items:center;margin-top:16px}.controls button{flex:1;padding:20px 10px;font-weight:800;letter-spacing:1px;border:0;touch-action:none;user-select:none;-webkit-user-select:none;background:#e6aea7;color:#653b3d}.controls #right{background:#aed0c2;color:#31584d}.controls button.active{box-shadow:inset 0 4px 0 #0002;transform:translateY(2px);filter:saturate(1.4)}.together{text-align:center;line-height:1.6;font-size:9px;color:#977f75;letter-spacing:1px}.bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:16px;font-size:13px}.bottom button{font-size:12px}.bottom button:disabled{opacity:.35;cursor:default}#status{text-align:center;color:#4c7964}.note{text-align:center;font-size:12px;line-height:1.7;color:#917f79;max-width:690px;margin:20px auto}@media(max-width:520px){main{padding:15px 10px}.game{padding:12px;border-radius:18px}.intro{margin:20px 0}.together{display:none}.controls button{font-size:12px;padding:23px 8px}.bottom{font-size:11px}}
select{font:inherit;background:#fff;border:1px solid #e6d4cc;border-radius:10px;padding:8px;color:#493d42;max-width:170px}.together{white-space:pre-line}.controls button{letter-spacing:0;font-size:13px}.controls{gap:10px}@media(max-width:520px){.controls button{font-size:10px}.brand{font-size:10px;letter-spacing:1px}}
