*{box-sizing:border-box}
html,body{margin:0;height:100%;background:#f8f1df;color:#323b30;font:600 16px "Chalkboard SE","Trebuchet MS",system-ui,sans-serif}
main{margin:auto;height:100%;padding:clamp(8px,2vw,20px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;max-width:1080px}
header,footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
h1{margin:0;font-size:clamp(19px,5vw,32px)}.score{display:grid;text-align:right;font-variant-numeric:tabular-nums}.score small{color:#59614e;font-size:12px}
#scene{display:block;width:100%;height:100%;border:2px solid #384235;border-radius:18px;background:#bcd7cd;touch-action:none;user-select:none;-webkit-touch-callout:none}
p{margin:0;font-size:clamp(12px,2.5vw,16px);line-height:1.35;max-width:68%}button{font:inherit;color:inherit;background:#ed9b80;border:2px solid #384235;border-radius:18px;padding:7px 14px;min-height:42px;white-space:nowrap;box-shadow:1px 3px #b2aa91;touch-action:none}button:active{transform:translateY(2px)}
