* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #1a1a2e; color: #e0e0e0; min-height: 100vh; padding: 20px; }
.container { max-width: 700px; margin: 0 auto; }
h1 { text-align: center; margin-bottom: 24px; color: #e94560; font-size: 1.8em; }
.card { background: #16213e; border-radius: 12px; padding: 24px; margin-bottom: 16px; }
label { display: block; margin-bottom: 4px; font-size: 0.9em; color: #aaa; }
input[type="text"], select { width: 100%; padding: 10px 12px; border: 1px solid #333; border-radius: 8px; background: #0f3460; color: #e0e0e0; font-size: 1em; margin-bottom: 12px; }
input[type="text"]:focus, select:focus { outline: none; border-color: #e94560; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > div { flex: 1; min-width: 140px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: #e94560; }
.checkbox-row label { margin: 0; color: #e0e0e0; }
button { padding: 12px 24px; border: none; border-radius: 8px; font-size: 1em; cursor: pointer; transition: background 0.2s; }
.btn-primary { background: #e94560; color: #fff; width: 100%; font-weight: 600; }
.btn-primary:hover { background: #c73e54; }
.btn-primary:disabled { background: #555; cursor: not-allowed; }
.btn-secondary { background: #0f3460; color: #e0e0e0; border: 1px solid #333; }
.btn-secondary:hover { background: #1a4a8a; }
#status-box { margin-top: 16px; padding: 16px; border-radius: 8px; display: none; }
#status-box.show { display: block; }
#status-box.downloading { background: #0f3460; }
#status-box.uploading { background: #1b4332; }
#status-box.done { background: #1b4332; }
#status-box.error { background: #4a1525; }
.progress-bar { width: 100%; height: 6px; background: #333; border-radius: 3px; margin-top: 8px; }
.progress-bar-fill { height: 100%; background: #e94560; border-radius: 3px; transition: width 0.3s; }
#formats-box { margin-top: 12px; font-family: monospace; font-size: 0.8em; white-space: pre; overflow-x: auto; max-height: 300px; overflow-y: auto; background: #0a0a1a; padding: 12px; border-radius: 8px; display: none; }
.hidden { display: none; }
