* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #161616; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.page { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 24px; }
h1 { margin: 0 0 12px; font-weight: 500; font-size: 40px; letter-spacing: -0.03em; }
.intro { margin: 0 0 36px; max-width: 520px; color: #5c5c5c; line-height: 1.7; }
.pick { display: inline-block; border-bottom: 1px solid #161616; padding-bottom: 2px; cursor: pointer; }
.pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pick.is-over { background: #f6f6f6; }
.file-name { margin: 18px 0; color: #5c5c5c; min-height: 1.4em; }
.range { display: flex; flex-direction: column; gap: 8px; max-width: 360px; margin-bottom: 28px; color: #5c5c5c; }
.range strong { color: #161616; font-weight: 600; }
.range input { width: 100%; accent-color: #111; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: stretch; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cell { aspect-ratio: 1; background: #f3f3f3; display: flex; align-items: center; justify-content: center; color: #b5b5b5; font-size: 28px; overflow: hidden; }
.cell img, .cell video { width: 100%; height: 100%; object-fit: cover; }
.promo { background: #f7f7f7; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.promo p { margin: 0; font-size: 20px; }
.promo span { color: #5c5c5c; font-size: 14px; line-height: 1.5; }
.promo a { margin-top: auto; text-align: center; background: #111; color: #fff; text-decoration: none; padding: 12px 8px; font-weight: 700; }
#convert-btn { margin-top: 28px; border: 0; background: #111; color: #fff; padding: 12px 18px; font: inherit; cursor: pointer; }
#convert-btn:disabled { background: #d0d0d0; cursor: not-allowed; }
.progress { margin-top: 16px; height: 2px; background: #eee; max-width: 360px; }
.progress-bar { height: 100%; width: 0; background: #111; }
.status { color: #5c5c5c; }
.status.is-error { color: #b42318; }
.result { margin-top: 12px; }
.result-link { color: #111; font-weight: 650; }
.foot { width: min(880px, calc(100% - 48px)); margin: 48px auto; color: #5c5c5c; }
.related { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.related a { color: #111; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; } .page { padding-top: 32px; } }
