*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 10%,#292449,#0e101c 70%);color:#f2edff;font:16px/1.5 system-ui,sans-serif;min-height:100svh}main{max-width:540px;margin:auto;padding:22px 20px max(22px,env(safe-area-inset-bottom))}header,footer{display:flex;justify-content:space-between;align-items:center;color:#afa9c7;font:11px monospace;letter-spacing:.1em}header b,small{color:#9bf4dd}h1{font:700 clamp(32px,8vw,48px)/1.1 Georgia,serif;letter-spacing:-2px;margin:18px 0}h1 em{color:#c7abff}.scene{position:relative;border:1px solid #514672;overflow:hidden;border-radius:10px}.scene canvas{width:100%;display:block;image-rendering:pixelated}.scene span{position:absolute;bottom:8px;left:10px;color:#bdaddb;font:10px monospace}section{padding:20px 0 4px}small{font:11px monospace;letter-spacing:.12em}h2{margin:6px 0;font-size:23px;line-height:1.2}p{margin:8px 0;color:#d3cde0}#stats{color:#a9e7da;font:13px monospace}#actions{display:grid;gap:8px;margin:14px 0}button{font:600 15px system-ui;text-align:left;padding:12px 16px;background:#24243e;color:#eee7ff;border:1px solid #50506c;border-radius:7px;cursor:pointer;min-height:44px}#actions button:first-child{background:#96e4d0;color:#122b29;border-color:#96e4d0}button:focus-visible{outline:3px solid #ffcc8d}footer{line-height:1.6;letter-spacing:0}footer button{font-size:12px}

#actions dl{margin:0;padding:12px 16px;border:1px solid #514672;border-radius:8px;background:#191a30}#actions dt{color:#c0b9d4;font-size:12px;margin-top:9px}#actions dd{margin:2px 0 9px;color:#ebf7ee;font-size:15px}
