/* Original gradient.css is kept byte-for-byte; canvas uses its original image geometry. */
canvas#target, img#cpu-image {
    display: block; margin-left: auto; margin-right: auto; zoom: .7;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 0;
}
[hidden] { display: none !important; }
#webgpu-status { position: fixed; left: 8px; bottom: 8px; z-index: 20; max-width: calc(100vw - 270px); padding: 5px 8px; background: #000a; color: #aaa; font: 11px/1.35 system-ui, sans-serif; pointer-events: none; }
#webgpu-status[data-error="true"] { color: #ffc0b0; }
#error { height: auto; max-width: calc(100vw - 30px); max-height: 30vh; overflow: auto; font: 12px/1.4 system-ui, sans-serif; }
#grapick-container { z-index: 30; }
@media (max-width: 700px) { #webgpu-status { max-width: calc(100vw - 16px); bottom: 2px; } }

#share-dialog { width: min(600px, 85vw); background: #222; color: #eee; border: 1px solid #777; font: 13px system-ui; }
#share-dialog input { display: block; width: 100%; box-sizing: border-box; margin: 8px 0; }
