:root{font-family:ui-monospace,Menlo,Consolas,"SFMono-Regular",monospace;color:#dce3ef;background:#121722}
*{box-sizing:border-box}body{margin:0}main{max-width:1240px;padding:18px 20px 30px;margin:auto}
header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.title{display:flex;gap:12px;align-items:center;letter-spacing:.08em}.title strong{font-size:20px}.title small{display:block;font-size:10px;color:#93a1b5;letter-spacing:.19em;margin-top:4px}.mark{font-size:30px;color:#f9a45c}
.actions{display:flex;gap:9px}button{font:inherit;color:#dce3ef;background:#1f2837;border:1px solid #435066;border-radius:4px;cursor:pointer;padding:9px 13px}button:hover{border-color:#9daeca}button:focus-visible{outline:2px solid #f8bc73;outline-offset:2px}
.stage{position:relative;border:1px solid #485166;background:#0e1119;overflow:hidden;box-shadow:0 16px 40px #0004}canvas{display:block;width:100%;height:auto;image-rendering:pixelated;cursor:crosshair;touch-action:none;user-select:none}
.hud{display:flex;justify-content:space-between;gap:8px;padding:8px 11px;font-size:11px;color:#b6c6d8;background:#121923;min-height:32px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;flex-wrap:wrap}.materials{display:flex;flex-wrap:wrap;gap:8px;flex:1}
.material-button{display:flex;align-items:center;gap:8px;padding:9px 11px;white-space:nowrap}.material-button[aria-pressed="true"]{border-color:#f8bc73;background:#354156;color:#fff}
.swatch{width:13px;height:13px;border:1px solid #fff2;display:inline-block}.brush{display:grid;gap:6px;min-width:145px;font-size:12px}.brush output{color:#f6ba79}.brush input{accent-color:#f6ba79}
footer{border-top:1px solid #293448;margin-top:18px;padding-top:8px;color:#9caabc;font-size:12px;line-height:1.65}footer p{margin:8px 0}
@media(max-width:660px){main{padding:10px}header{align-items:flex-start}.title strong{font-size:15px}.title small{font-size:9px}.mark{display:none}.actions{flex-wrap:wrap;justify-content:flex-end}.actions button{font-size:11px;padding:7px} .hud{font-size:10px;flex-wrap:wrap}.toolbar{gap:12px}.material-button{font-size:11px;padding:8px}}
