* { box-sizing: border-box; }
body { margin: 0; background: #cfd3d8; color: #1c2128; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.page { width: min(960px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 12px; }
h1 { margin: 0 0 8px; font-size: 30px; font-weight: 650; }
.intro { margin: 0 0 18px; max-width: 640px; line-height: 1.6; }
.pair { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 8px; align-items: stretch; }
.pane { min-height: 220px; background: #e6e9ed; border: 1px solid #8d949c; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; color: #5c6570; }
.pane input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
label.pane { cursor: pointer; }
.pane.is-over { background: #f4f6f8; }
.pane img, .pane video { width: 100%; height: 100%; object-fit: contain; background: #111; }
.arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; }
.file-list, .result-list { list-style: none; margin: 12px 0 0; padding: 0; }
.file-list li, .result-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #b7bdc4; }
.file-remove { border: 0; background: transparent; color: #1c2128; cursor: pointer; font: inherit; }
#convert-btn { margin-top: 14px; border: 0; background: #2c3642; color: #fff; padding: 10px 16px; font: inherit; cursor: pointer; }
#convert-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.progress { margin-top: 12px; height: 4px; background: #b7bdc4; }
.progress-bar { height: 100%; width: 0; background: #2c3642; }
.status.is-error, .result-list .is-error { color: #9b1c1c; }
.result-link { color: #1c2128; font-weight: 650; }
.bar { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #e6e9ed; border: 1px solid #8d949c; padding: 12px 14px; }
.bar a { flex: none; background: #2c3642; color: #fff; text-decoration: none; padding: 8px 14px; }
.foot { width: min(960px, calc(100% - 28px)); margin: 18px auto 32px; }
.related { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; list-style: none; }
.related a { color: #1c2128; }
@media (max-width: 720px) {
    .pair { grid-template-columns: 1fr; }
    .arrow { transform: rotate(90deg); }
    .bar { flex-direction: column; align-items: flex-start; }
}
