.file-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #f7f8fa;
  border-radius: 6px;
  font-size: 13px;
}

.file-item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1d2129;
}

.file-item-size {
  color: #86909c;
  font-size: 12px;
  white-space: nowrap;
}

.file-item-remove {
  color: #c9cdd4;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.file-item-remove:hover {
  color: #F53F3F;
}

.compress-settings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.setting-row > label {
  font-size: 13px;
  color: #4e5969;
  white-space: nowrap;
  min-width: 70px;
}

.format-type-group {
  display: flex;
  gap: 6px;
}

.quality-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.quality-slider {
  flex: 1;
  accent-color: #165DFF;
  height: 4px;
}

.quality-value {
  font-size: 13px;
  color: #165DFF;
  font-weight: 600;
  min-width: 36px;
}

.resize-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.resize-input {
  width: 80px !important;
  padding: 6px 8px !important;
  font-size: 13px;
  text-align: center;
}

.resize-x {
  color: #86909c;
}

.rule-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #4e5969;
  cursor: pointer;
  white-space: nowrap;
}

.rule-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #165DFF;
}

.compress-output-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 500px;
  overflow-y: auto;
}

.compress-item {
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  padding: 12px;
}

.compress-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.compress-item-name {
  font-size: 13px;
  font-weight: 500;
  color: #1d2129;
}

.compress-item-ratio {
  font-size: 12px;
  color: #00B42A;
  font-weight: 600;
}

.compress-item-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.compress-before, .compress-after {
  text-align: center;
}

.compress-label {
  font-size: 11px;
  color: #86909c;
  margin-bottom: 4px;
}

.compress-size {
  font-size: 12px;
  font-weight: 500;
  color: #1d2129;
}

.compress-dl {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  font-size: 12px;
  color: #165DFF;
  cursor: pointer;
  background: #f0f5ff;
  border: none;
  border-radius: 4px;
}

.compress-dl:hover {
  background: #e0eaff;
}

@media (max-width: 600px) {
  .setting-row { flex-direction: column; align-items: flex-start; }
  .resize-group { width: 100%; }
  .compress-item-compare { grid-template-columns: 1fr; }
}