* { box-sizing: border-box; }
body { margin: 0; background: #140e0b; color: #f3e6d4; font-family: Georgia, "Songti SC", "Microsoft YaHei", serif; }
.cinema { width: min(1100px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 18px; align-items: start; }
h1 { margin: 0 0 8px; font-weight: 500; font-size: 36px; letter-spacing: 0.06em; }
.intro { margin: 0 0 16px; color: #cbb8a2; line-height: 1.6; }
.frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    border: 1px solid #c4a574;
    background: radial-gradient(circle at center, #2a211b 0%, #100c0a 70%);
    cursor: pointer;
    text-align: center;
    padding: 16px;
}
.frame input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.frame.is-over { outline: 2px solid #e7c99a; }
#frame-label { font-size: 20px; letter-spacing: 0.08em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.stats div { padding: 10px 0; border-top: 1px solid #5c4634; }
.stats span { display: block; color: #b89b7c; font-size: 13px; font-family: "Segoe UI", sans-serif; }
.stats strong { font-size: 18px; font-weight: 500; }
.file-list, .result-list { list-style: none; margin: 8px 0 0; padding: 0; font-family: "Segoe UI", sans-serif; font-size: 14px; }
.file-list li, .result-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.file-remove { border: 0; background: transparent; color: #e7c99a; cursor: pointer; }
#convert-btn { margin-top: 8px; background: transparent; color: #e7c99a; border: 1px solid #e7c99a; padding: 8px 14px; font: inherit; cursor: pointer; }
#convert-btn:disabled { opacity: 0.4; }
.progress { margin-top: 12px; height: 4px; background: #3a2b22; }
.progress-bar { height: 100%; width: 0; background: #e7c99a; }
.status { color: #cbb8a2; }
.status.is-error, .result-list .is-error { color: #ffb4a2; }
.result-link { color: #e7c99a; }
.wing { background: #3a2418; min-height: 280px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.wing p { margin: 0; font-size: 22px; }
.wing span { color: #f3e6d4; line-height: 1.5; font-family: "Segoe UI", sans-serif; font-size: 14px; }
.wing a { margin-top: auto; display: block; text-align: center; background: #e7c99a; color: #2a160f; text-decoration: none; padding: 10px 8px; }
.foot { width: min(1100px, calc(100% - 28px)); margin: 0 auto 36px; color: #cbb8a2; font-family: "Segoe UI", sans-serif; }
.related { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 0; list-style: none; }
.related a { color: #e7c99a; text-decoration: none; }
@media (max-width: 800px) { .cinema { grid-template-columns: 1fr; } .wing { min-height: 0; } }
