RESULT: done

### Summary of Changes

- **Lines 65–121 (`mp4Dimensions` helper)**: Added helper function `mp4Dimensions(buf: Buffer): { width: number; height: number } | undefined` that safely walks MP4 boxes (supporting standard 32-bit sizes, 64-bit sizes when size is 1, and box-to-end when size is 0), recurses into `moov` and `trak` boxes, and extracts track dimensions from the last 8 bytes of `tkhd` as 16.16 fixed-point values (`>> 16`). Returns dimensions for the first video track (width > 0 and height > 0) and returns `undefined` safely on errors without throwing.
- **Lines 166–169 (JobStatus unwrap)**: Parsed response into `const raw = await uploadResponse.json();` and extracted `const jobStatus = ((raw && raw.jobStatus) ? raw.jobStatus : raw) as AppBskyVideoDefs.JobStatus;` to correctly handle both wrapped responses (`{ jobStatus: ... }`) and direct responses.
- **Lines 171–189 (Refusal handling)**: Added refusal check `if (!jobStatus.jobId && !jobStatus.blob)` which logs `'Glass: Bluesky video upload refused'`, HTTP status, and `JSON.stringify(raw)`, and throws `BadBody` with `'Bluesky refused the video (' + status + '): ' + (jobStatus.error || '') + ' ' + (jobStatus.message || '')`, appending `' - confirm the account email in Bluesky settings to post video'` when `jobStatus.error === 'unconfirmed_email'`. Existing jobIds on HTTP 409 (`already_exists`) proceed to polling.
- **Lines 195–209 (Polling timeout)**: Added 10-minute total timeout enforcement in the polling loop that throws `BadBody` with `'Bluesky video processing timed out'`.
- **Lines 220–223 (Immediate break on blob)**: Breaks the loop immediately upon receiving `status.jobStatus.blob` instead of waiting after success.
- **Lines 225–235 (Detailed failure message)**: Evaluates `JOB_STATE_FAILED` before the wait and includes `status.jobStatus.error` and `status.jobStatus.message` in the `BadBody` error message.
- **Lines 237–238 (Poll interval)**: Changed poll delay from 30 seconds to 5 seconds (`await timer(5000)`).
- **Lines 243–249 (aspectRatio embedding)**: Called `mp4Dimensions(video.video)` on the downloaded buffer and added `aspectRatio: { width, height }` to the returned embed object when dimensions are present, preserving `satisfies AppBskyEmbedVideo.Main`.
